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

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

Post on 04-Aug-2015

76 views

Category:

Documents

3 download

Embed Size (px)

TRANSCRIPT

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.

SummaryA 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 BioFaisal Altaf is working as ABAP Consultant in Descon Engineering.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 1

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

Table of ContentsPrerequisite ......................................................................................................................................................... 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

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 2

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

PrerequisiteIf 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 ComponentStep 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.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 3

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

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.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 4

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

Create Web Dynpro Application1. 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.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 5

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

Active ObjectsNow 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 DynproYou 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.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 6

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

Start ConfigurationsFollowing 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

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 7

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

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.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 8

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

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 the parameter icm/host_name_full, we can set this using T-Code RZ10.

2. Following is the initial Screen of T-Code RZ10 when you will press F4 in the Profile filed to get the Profile name you will see the following Information message that No Profile found. For overcome this problem go the next step.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 9

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

3. Go to the Menu Path Utilities -> Import profiles -> Of active servers as shown below.

4. Following Log will appear go to the Initial Screen by selecting back button or F3.

5. Now you will be able to get the F4 Help in the field Profile, Select Default Profile and select the Copy Button as displaying below.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 10

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

6. After Copying you will see the following Error Message, Select Yes to display the Incorrect Parameter.

7. Following two Highlighted are with Incorrect Value, double click on these two one by one and delete using the way displaying in next Picture.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 11

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

8. Now from the initial Screen select copied profile (ZDEFAULT) select Radio Button Extended maintenance and Click on the Change button.

9. Select the New Parameter button as it is displaying below.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 12

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

10. Enter Parameter name and Value and Press F3 or Back Button.

11. It will ask for Save the Change in Parameter select Yes and again Press F3 or Back Button.

12. This time it will ask for Save the change in Profile again Select Yes.

13. After Selecting Yes it will conform from you that you want to Activate the Profile you can select Yes for Activate Profile.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 13

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

14. In Step 24 if you have Selected No than you will have to Activate the Profile using the way below.

15. You will show up a Information message that Profile Saved and Activated.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 14

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

16. The following Caution Shows that for effecting the change in Profile need to Restart the Application Server you need to get conform first about the parameter value and then have to restart Application Server.

17. From the Initial Screen of T-Code RZ10 select the last activated profile and Version this time select the Display button not the change.

18. You will see the Parameter icm/host_name_full there with the value you set.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 15

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

Restart Application Server 1. Right Mouse Click on minisap 0 as selected in below screen and from the Manu Select Restart, Select Radio Button Hard(SIGINT) and Press Ok button. Let the system restart. Now we are just when step away from Completing Configuration.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 16

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

Edit Hosts File 1. Now the system where you have Installed SAP GUI, you have to edit the Hosts File on the Path C:\WINDOWS\system32\drivers\etc Open the path the method given below.

2. Add a new line at the end of the file the IP of your ABAP server and the value of the Parameter icm/host_name_full as it was minisap.com so i am giving accordingly.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 17

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

Final Test after Configuration1. Now if you will go to the Application windows that is showing in Step 7, you will find a different URL which is following. http://minisap.com:8000/sap/bc/webdynpro/sap/zfsl_webdynpro_01 If the page is showing as below with out any error, it means we have configure Web Dynpro Successfully.

2. Now you can also show the Design View of the Layout that was showing error in Step 4. You may ask for User name and Password like the window below.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 18

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

3. After providing User name = bcuser and Password = minisap you will see the Design View like the following one.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 19

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

Related ContentStep by Step Installation of SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Ver...