Thursday, November 4, 2010

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

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
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.
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.
image
2. In the following dialog Give the Component Name, Description, Window Name, View Name and Select Radio Button Web Dynpro Component.
image
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.
image
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.
image
5. 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.
image
6. Give the Application name and Description as in the below Picture.
image
7. 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.
image
8. 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
image
9. 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.
image
10. Following is the Initial Screen of T-Code SICF, leave it as it is and execute using F8 Key or button shown below.
image
11. 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.

image
12. 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.
image
13. 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.
image
14. 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.
image
15. 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.
image
16. Go to the Menu Path Utilities -> Import profiles -> Of active servers  as shown below.
image
17. Following Log will appear go to the Initial Screen by selecting back button or F3.
image
18. 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.
image
19. After Copying you will see the following Error Message, Select Yes to display the Incorrect Parameter.
image
19. Following two Highlighted are with Incorrect Value, double click on these two one by one and delete using the way displaying in next Picture.
image

image

image
20. Now from the initial Screen select copied profile (ZDEFAULT) select Radio Button Extended maintenance and Click on the Change button.
image
21. Select the New Parameter button as it is displaying below.
image
 22. Enter Parameter name and Value and Press F3 or Back Button.
image
23. It will ask for Save the Change in Parameter select Yes and again Press F3 or Back Button.
image
24. This time it will ask for Save the change in Profile again Select Yes.
image
25. After Selecting Yes it will conform from you that you want to Activate the Profile you can select Yes for Activate Profile.
image
26. In Step 24 if you have Selected No than you will have to Activate the Profile using the way below.
image
27. You will show up a Information message that Profile Saved and Activated.
image
28. 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.
image
29. From the Initial Screen of T-Code RZ10 select the last activated profile and Version this time select the Display button not the change.
image
30. You will see the Parameter icm/host_name_full there with the value you set.
image
31. 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.
image
32. 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.
image
33. 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.
image
34. Now if you will go to the Application windows that is showing in Step 7, you will fine 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.
image
35. 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.
image
36. After providing User name = bcuser and Password = minisap you will see the Design View like the following one.
image

32 comments:

  1. you are the best man.I searching a lot on the net regarding configuration of webdynpro.your document is best one.I have a request if you please tell me the steps to configure ADS in minisap.I have installed adobe life cycle designer but unable to do the setting.
    Thanks once again,you have great knowledge and future.
    Md-gaush
    gaush_r@yahoo.co.in

    ReplyDelete
  2. the images are not appearing on the screen
    plz mail me the solution on my mail

    sachin6538@gmai.com

    i am using IDES ECC 6. version
    best regards,

    ReplyDelete
    Replies
    1. if u got the screen shot please mail me

      mail2.vimalraj@gmail.com

      Regards
      vimal raj

      Delete
  3. seems to be a great article but images are not shown...plz mail on sachinsamhita@gmail.com

    ReplyDelete
  4. Hi Faisal

    I followed all your steps and it worked...cheers thanks.....great contribution from your side.

    Sachin Jain
    Senior SAP ABAP Consultant
    Rohini, Delhi, India
    sachinsamhita@gmail.com

    ReplyDelete
  5. Unable to understand without screen shots..could u provide them?

    ReplyDelete
  6. if it is not feasible,pls. mail at baratamsantosh012@gmail.com

    ReplyDelete
  7. can u pls share u r screen shots kari.somesh@gmail.com, any on e pls

    ReplyDelete
  8. Akgermain34@gmail.com
    can u pls share u r screen shots pls

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. please can you provide the screenshots? email: salmanakram@gmail.com

    ReplyDelete
  11. hi Faisal Altaf ,

    This is best one webdynpro configuration... thank u

    ReplyDelete
  12. Thanks a lot for the information you are providing on SAP Webdynpro and the topics that are covered up.are very helpful.
    i would like to ask that what is the scope of SAP webdynpro ABAP training what all topics
    should be covered and has anyone studies from this course
    http://www.wiziq.com/course/8153-sap-web-dynpro-pro-abap-training of SAP webdynpro ABAP training ??
    or tell me any other guidance…
    would really appreciate help… and Also i would like to thank for all the information you are
    providing on SAP Webdynpro ABAP training.

    ReplyDelete
  13. hi faisal,

    Request to please email me the document on sbasarkar1@yahoo.com, as the images are not appearing. Thank you

    Shrikant

    ReplyDelete
  14. Hello, great article. Request to please email me the document on acevedomariano@gmail.com,

    ReplyDelete
  15. plz mail this document to mailtoaravindh90@gmail.com

    ReplyDelete
  16. Hello
    Pls could you email me the document on francis.saho@gmail.com ?

    ReplyDelete
  17. hi. could you please email me the document to madhan.muppala@gmail.com.
    thanks,
    Madhan.

    ReplyDelete
  18. Hi. Need the images too. ramon.v@hotmail.com

    Thanks.

    ReplyDelete
  19. Plz mail the images on gupta.sushant4384@gmail.com

    ReplyDelete
  20. hi sir would you plz mail me screenshots my mail id chandra.kiran@live.in

    ReplyDelete
  21. hi sir would you plz mail me screenshots my mail id chandra.kiran@live.in

    ReplyDelete
  22. hi,
    plz mail me the solution on my mail with images,

    metehankocaoglu@gmail.com

    ReplyDelete
  23. Hey, please mail me the screenshots hafizahamed@gmail.com

    ReplyDelete
  24. I found online

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30129979-011c-2e10-fb9b-a60e0d704c1d?QuickLink=index&overridelayout=true&50457276038926

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. Thank you Faisal for this great tutorial. Thanks Shaik as well for providing the link.

      Delete
  25. Why your posted images not shown to me. Is there any problem?
    sap mm online training | SAP SD Online Training

    ReplyDelete
    Replies
    1. Hi Jack,
      No, there is no image there. Kindly go to this link, it's the same. http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30129979-011c-2e10-fb9b-a60e0d704c1d?QuickLink=index&overridelayout=true&50457276038926.

      Delete
  26. How can we change port number in URL. For some existing component it is getting default port and for another it is getting different port when creating webdynpro application.

    ReplyDelete