configuration for running web dynpro abap in sap netweaver 7.01 sr1 sp3 abap trial version

Download Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

Post on 26-Dec-2015

14 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

Step by step configuration for Running Web Dynpro ABAP

TRANSCRIPT

  • SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 1

    Step by Step Configuration for

    Running Web Dynpro in SAP

    NetWeaver 7.01 SR1 SP3 ABAP

    Trial Version

    Applies to:

    SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version. For more information, visit the Web Dynpro ABAP homepage.

    Summary

    A few days back after Installing SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version, I just tried to run Web Dynpro in it. It was not working and giving some error, when I tried to search with that error, I come to know that some Initial Configuration required running Web Dynpro there. I tried my best to search out the solution and got much info from different sources but not all settings under one platform from where I could do it from start to end. Now I have done with all this setting and able to run Web Dynpro so I am going to share with all of you Friends with one Example.

    Author: Faisal Altaf

    Company: DESCON Engineering

    Created on: 27 January 2011

    Author Bio

    Faisal Altaf is working as ABAP Consultant in Descon Engineering.

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 2

    Table of Contents

    Prerequisite ......................................................................................................................................................... 3

    Create Web Dynpro Component ........................................................................................................................ 3

    Step 1: ............................................................................................................................................................. 3

    Step 2: ............................................................................................................................................................. 3

    Step 3: ............................................................................................................................................................. 4

    Step 4: ............................................................................................................................................................. 4

    Create Web Dynpro Application ......................................................................................................................... 5

    Active Objects ..................................................................................................................................................... 6

    Test Web Dynpro ................................................................................................................................................ 6

    Start Configurations ............................................................................................................................................ 7

    Activate Services ............................................................................................................................................. 7

    Add Profile Parameter for Fully Qualified Domain Name ............................................................................... 9

    Restart Application Server ............................................................................................................................ 16

    Edit Hosts File ............................................................................................................................................... 17

    Final Test after Configuration ........................................................................................................................... 18

    Related Content ................................................................................................................................................ 20

    Disclaimer and Liability Notice .......................................................................................................................... 21

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 3

    Prerequisite

    If you didn't installed SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version follow the steps given in following Blogs.

    Step by Step Installation of SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version in Oracle VirtualBox Part 1/3 Step by Step Installation of SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version in Oracle VirtualBox Part 2/3 Step by Step Installation of SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version in Oracle VirtualBox Part 3/3

    Create Web Dynpro Component

    Step 1:

    Let's Start with an Example where I am going to test that Web Dynpro is working or not. For this I have to create using the following way in SE80 by Right Mouse Click.

    Step 2:

    In the following dialog Give the Component Name, Description, Window Name, View Name and Select Radio Button Web Dynpro Component.

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 4

    Step 3:

    Double Click on the View Node (ZFSL_VIEW_01) as shown below go to Layout Tab and click on the button Show/Hide Layout Preview.

    Step 4:

    You will display the following message that This program cannot display the webpage. Here is the point that Web Dynpro is not configured properly.

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 5

    Create Web Dynpro Application

    1. Let's get some more proves than we will go for settings. We have to create the Web Dynpro Application. Following is the way. Right Mouse Click on your Component and do the way shown below.

    2. Give the Application name and Description as in the below Picture.

    3. If you will create the Application by using the way display in the Step 5 mean (by right clicking on the Component) than you will find the Component and Interface View as field otherwise you will have to fill these manually as per your Component.

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 6

    Active Objects

    Now Active all the objects using Ctrl + F3 Short Cut Key or Active button from Tool Bar or From Menu Path Web Dynpro Component -> Active

    Test Web Dynpro

    You can see the URL in the Application window in the Screen Shot in Step 7 Copy and Past this URL to your Browser or Press F8 to execute. After Execution you will see the following error message in your Browser. It is another evidence that it is not working properly. In fact some services need to be active, so let's move for activating services using T-Code SICF.

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 7

    Start Configurations

    Following is the Initial Screen of T-Code SICF, leave it as it is and execute using F8 Key or button shown below.

    Activate Services

    1. From the screen below which will show after Execution you can Activate Service. You will have to Activate all List of Service as given below one by one.

    /default_host/sap/public/bc/ur

    /default_host/sap/public/bc/icons

    /default_host/sap/public/bc/icons_rtl

    /default_host/sap/public/bc/webicons

    /default_host/sap/public/bc/pictograms

    /default_host/sap/public/bc/webdynpro

    /default_host/sap/public/myssocntl

    /default_host/sap/public/icman

    /default_host/sap/public/icf_info

    /default_host/sap/bc/webdynpro

    /default_host/sap/bc/wdvd

    /default_host/sap/bc/echo

    /default_host/sap/bc/error

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 8

    2. Following Question can be ask during activation Select the 2nd Yes Button from Left hand, which will activate current service and its all sub services.

    3. Now again enter the URL in your Browser this time you will see the Page having Editable fields Client Language and button Log On, Leave the fields unchanged and Click the button Log On. After Clicking this button you will ask for User Name and Password, enter default User Name = bcuser and Password = minisap and select Ok Button.

  • Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

    2011 SAP AG 9

    Add Profile Parameter for Fully Qualified Domain Name

    1. This time you will see another error message after Log On Screen. It is because we don't have Fully Qualified Domain Name in our URL. For this we will have to set