Saturday, February 25, 2012

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


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 buttonShow/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 PathWeb 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 usingT-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 PathC:\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 Parametericm/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

1 comment:

Unknown said...

I am a SAP ABAP/ITS Consultant. I am working for one of the largest MNC in India as a SAP ABAP/ ITS developer from past one year. During this period I have been working on ABAP and Internet Transaction Server(ITS). My major work has been on ITS(Both of my Projects). So I would like to know whether I should continue working on ABAP/ITS or I should pursue a career in SAP WebDynpro and later go SAP EP Cretfication. Which would add much better value to my Career? Working on ABAP or a career in SAP WebDynpro?
Well got across this online course for SAP as well. http://www.wiziq.com/course/8153-sap-web-dynpro-pro-abap-training
Wonder it works for me.