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

  • Upload
    jgago

  • View
    50

  • Download
    6

Embed Size (px)

Citation preview

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 forRunning Web Dynpro in SAPNetWeaver 7.01 SR1 SP3 ABAPTrial Version

    Applies to:

    SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version. For more information, visit theWeb Dynpro ABAPhomepage.

    Summary

    A few days back after Installing SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version, I just tried to run WebDynpro in it. It was not working and giving some error, when I tried to search with that error, I come to knowthat some Initial Configuration required running Web Dynpro there. I tried my best to search out the solutionand got much info from different sources but not all settings under one platform from where I could do it fromstart to end. Now I have done with all this setting and able to run Web Dynpro so I am going to share with allof 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.

    https://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabap
  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

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

    Step 1: ............................................................................................................................................................. 3Step 2: ............................................................................................................................................................. 3Step 3: ............................................................................................................................................................. 4Step 4: ............................................................................................................................................................. 4

    Create Web Dynpro Application ......................................................................................................................... 5Active Objects ..................................................................................................................................................... 6Test Web Dynpro ................................................................................................................................................ 6Start Configurations ............................................................................................................................................ 7

    Activate Services ............................................................................................................................................. 7Add Profile Parameter for Fully Qualified Domain Name ............................................................................... 9Restart Application Server ............................................................................................................................ 16Edit Hosts File ............................................................................................................................................... 17

    Final Test after Configuration ........................................................................................................................... 18Related Content ................................................................................................................................................ 20Disclaimer and Liability Notice .......................................................................................................................... 21

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

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

    Step by Step Installation of SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version in Oracle VirtualBox Part 1/3Step 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 tocreate using the following way in SE80by Right Mouse Click.

    Step 2:

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

    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20390http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20390http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20467http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20467http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20668http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20668http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20668http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20467http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20390
  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 Clickon the View Node (ZFSL_VIEW_01)as shown below go to Layout Tab and click on the buttonShow/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.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 5mean (by right clicking on theComponent) than you will find the Component and Interface View as field otherwise you will have to fill thesemanually as per your Component.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 + F3Short Cut Key or Active buttonfrom Tool Bar or From Menu PathWeb 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 yourBrowser or Press F8 to execute. After Execution you will see the following error message in your Browser. Itis another evidence that it is not working properly. In fact some services need to be active, so let's move foractivating services using T-Code SICF.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

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

    Activate Services

    1.From the screen below which will show after Execution you can Activate Service. You will have to Activateall 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

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-s

    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 willactivate 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 ClientLanguage and button Log On, Leave the fields unchanged and Click the button Log On. After Clicking thisbutton you will ask for User Name and Password, enter default User Name = bcuser and Password =minisap and select Ok Button.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-s

    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 FullyQualified Domain Name in our URL. For this we will have to set the parameter icm/host_name_full, we canset 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 Profilename you will see the following Information message that No Profile found. For overcome this problem gothe next step.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 usingthe way displaying in next Picture.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 maintenanceand Click on the Change button.

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

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

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

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 ApplicationServer 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 theDisplay button not the change.

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

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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, SelectRadio Button Hard(SIGINT) and Press Ok button. Let the system restart. Now we are just when step awayfrom Completing Configuration.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 HostsFile on the PathC:\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 Parametericm/host_name_full as it was minisap.com so i am giving accordingly.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 whichis 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 Viewof the Layoutthat was showing error in Step 4. You may askfor User name and Password like the window below.

    http://minisap.com:8000/sap/bc/webdynpro/sap/zfsl_webdynpro_01http://minisap.com:8000/sap/bc/webdynpro/sap/zfsl_webdynpro_01
  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 = bcuserand Password = minisapyou will see the Design Viewlike thefollowing one.

  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 theWeb Dynpro ABAP homepage.

    http://weblogs.sdn.sap.com/cs/blank/view/wlg/20467http://forums.sdn.sap.com/thread.jspa?threadID=1842362http://forums.sdn.sap.com/thread.jspa?threadID=1878077https://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttps://www.sdn.sap.com/irj/sdn/nw-wdabaphttp://forums.sdn.sap.com/thread.jspa?threadID=1878077http://forums.sdn.sap.com/thread.jspa?threadID=1842362http://weblogs.sdn.sap.com/cs/blank/view/wlg/20467
  • 5/25/2018 Step by Step Configuration for Running Web Dynpro ABAP in SAP NetWeaver 7.01 SR...

    http:///reader/full/step-by-step-configuration-for-running-web-dynpro-abap-in-sa

    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 notsupported 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 orcode sample, including any liability resulting from incompatibility between the content within this document and the materials andservices offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of thisdocument.