webdynpro configuration

21
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.

Upload: 123145

Post on 16-Apr-2015

82 views

Category:

Documents


8 download

DESCRIPTION

configure webdynpro for wda

TRANSCRIPT

Page 1: webdynpro configuration

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.

Page 2: webdynpro configuration

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

Page 3: webdynpro configuration

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.

Page 4: webdynpro configuration

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.

Page 5: webdynpro configuration

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.

Page 6: webdynpro configuration

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.

Page 7: webdynpro configuration

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

Page 8: webdynpro configuration

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.

Page 9: webdynpro configuration

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

Page 10: webdynpro configuration

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 10

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.

Page 11: webdynpro configuration

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 11

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.

Page 12: webdynpro configuration

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 12

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.

Page 13: webdynpro configuration

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 13

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.

Page 14: webdynpro configuration

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 14

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.

Page 15: webdynpro configuration

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 15

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.

Page 16: webdynpro configuration

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 16

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.

Page 17: webdynpro configuration

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 17

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.

Page 18: webdynpro configuration

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 18

Final Test after Configuration

1. 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.

Page 19: webdynpro configuration

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 19

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

Page 20: webdynpro configuration

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 20

Related Content

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

How can I connect with SAP NetWeaver 7.01 SR1 SP3 ABAP Developer Edition

NSP 7.02 SP6 - WebDynpro ABAP - problems

For more information, visit the Web Dynpro ABAP homepage.

Page 21: webdynpro configuration

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 21

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.