Professional Documents
Culture Documents
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
SAP ABAP Focus On SAP ABAP Articles And Training SAP BI / BW Dive Into SAP BI & BW Articles And Training SAP Consulting SAP Consulting Freelance And Permanent Everything SAP Up To Date SAP Industry News From Around The Web Videos Video Presentations & How-To Tutorials. Home Everything SAP, Featured, SAP ABAP
Summary: This is a step by step guide for those ABAP consultants who want to try their hand at Web Dynpro ABAP. By following these 5 easy steps anyone who has knowledge of ABAP can create their first fully functioning Web Dynpro ABAP Application which fetches data from an SAP back-end system. This example Web Dynpro Applications displays the personal information of an employee whose personal number (PERNR) is provided.
Sign up below
Name: Email:
1 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
3. Enter the description and choose the Type radio button as Web Dynpro Component.
Web dynpro ABAP 4 Click To See Larger Image 2. Provide a Node Name as PA0002 and Dictionary Structure as PA0002 and then select Add Attribute from Structure.
Sign up below
Name: Email: Submit
2 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
This is how the context should look like after you have completed Step 2.3.
Sign up below
2. Go to the Context in the view and then drag and dropName: the PA0002 node which appears in Email: Submit
3 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
Web dynpro ABAP 9 Click For Larger Image 3. Now, go to the Layout Tab in View and right click the ROOTUIELEMENTCONTAINER and then choose Insert element.
5. Again right click the ROOTUIELEMENTCONTAINER and then choose Insert element. Select InputField UI element this time.
6. Now select the EMPLOYEE_NUMBER_LBL and provide the Text property as Employee Number in the Property Editor.
Sign up below
Name: Email: Submit
4 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
7. Now, we will bind the Value property of the InputField UI element to the context. This is done by clicking on the selected area and then selecting the context attribute PERNR.
Web dynpro ABAP 14 Click for A Larger Image 8. This is how the value property will look after binding it with the required Context Attribute.
9. Insert a Button UI element which will be used to fetch the data from the back-end. Bind the event property of the UI element with action SHOW_DETAILS.
Sign up below
Name: Email: Submit
5 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
10. Similarly, insert a Label and TextView UI elements for First Name, Last Name, Date of Birth and Nationality Output Fields.
11. This is how the ROOTELEMENTCONTAINER should look after all the required UI elements are inserted.
Submit
6 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
3. Below is a screenshot of the ABAP Code that goes between method and endmethod.
Sign up below
Name: Email: Submit
7 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
4. Click on Save and Activate all the inactive objects created in this tutorial.
4. Output : Right click on the application and select Test to run your application.
Sign up below
Name: Email: Submit
8 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
Update: A follow on article is now available here: How To Use Inbound And Outbound Plugs In SAP Web Dynpro ABAP Programs 5 Easy Steps To Create A Web Dynpro ABAP Application, 5.0 out of 5 based on 2 ratings
Share:
Name:
Email:
5 Comments
JOCA says: April 12, 2012 at 9:56 am This documentation was very helpfull, it is quite simple and easy to follow. Could you please provide an example with more than one view using the outbound and inbounds plugs. Kind regards and many thanks Jos Carneiro
Pete says: April 12, 2012 at 10:03 am Hi Jos, Thanks for the kind words. I will add your request to tutorial queue. Pete
Sign up below
Name: Email: Submit
9 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
kaustubh says: May 25, 2012 at 6:38 pm hi Can u please send me how to configuration of alert in r/3 please provide the step by with screen shot Thanks Kaustubh Mane
Pete says: May 25, 2012 at 7:13 pm Hi Kaustubh, I will add it to the list of topics that have been requested Thanks, Pete
Leave a comment!
Add your comment below, or trackback from your own site. You can also Comments Feed via RSS. Be nice. Keep it clean. Stay on topic. No spam.
Name (required) Mail (will not be published) (required) Website (optional)
You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.
Sign up below
Name: Email: Submit
10 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
SAP Training
Social
Follow @PeterMoxon
Privacy Information
Latest
Popular
Comments
The Best 31 SAP ABAP Programming Training Videos January 30, 2013 AUTOMATIC PAYMENT PROGRAM IN SAP January 13, 2013 Book Extract Introduction To Using The SAP ABAP Debug Tools January 11, 2013 CONCEPT OF THE NEW GENERAL LEDGER IN SAP January 10, 2013 Dont Miss The Seasonal Video + eBook SAP Training Special December 27, 2012
Archives
January 2013
Sign up below
Name: Email: Submit
11 of 12
6/02/2013 10:36 AM
http://www.saptraininghq.com/5-easy-steps-to-create-a-web-dy...
December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 April 2012 March 2012 February 2012 December 2011 October 2011 September 2011 March 2011
Recent Posts
The Best 31 SAP ABAP Programming Training Videos AUTOMATIC PAYMENT PROGRAM IN SAP Book Extract Introduction To Using The SAP ABAP Debug Tools CONCEPT OF THE NEW GENERAL LEDGER IN SAP Dont Miss The Seasonal Video + eBook SAP Training Special
Pages
About Beginner Guide SAP ABAP Training Contact Us Cookie Policy Guest Articles Welcome Policies
Categories
Everything SAP Featured SAP ABAP SAP BI / BW SAP Consulting Videos
This website is not affiliated with, sponsored by, or approved by SAP AG.
This site uses cookies More info
Sign up below
Name: Email: Submit
12 of 12
6/02/2013 10:36 AM