Demo on input enabled table using Web Dynpro for ABAP

By Abhishek Nag, Wipro 

Summary: Simple example to make an input enabled table during run time. Here we will create one Application name ‘zwd_input_enable_tab’ in which we will create one table with the dictionary structure MARA and will make it input enabled so that the user can enter data in the table during runtime. 

1.       Go to the transaction SE80. Select “WebDynpro Comp./Intf” from the list (as shown below. 

             

2.       Create a new WebDynpro component by the name ‘zwd_input_enable_tab’. Give the description as ‘Input Enable Table’. 

3.       Double click on the Component Controller. And go to the Context tab of the Component Controller.

     

4.       Check if the application is in change mode. Then create a node as shown below.

5.       Create a node by the name ‘Material’. In this example we are taking the Dictionary Structure as ‘Mara’. And the Cardinality is 0..n.

6.       Now create attributes of the node ‘Material’ by clicking on ‘Add Attribute From Structure’. And then select the required fields of Mara and then click on ‘Continue’.

7.       Now double click in the default view that is ‘Main’ in this example & then click on the Context tab of that view as shown below.

8.       Now drag and drop the Node on the right side (Component Controller Node) to the context on the left side (View Node).

9.       Go to the Layout tab of the View and then right click on the ‘ROOTUIELEMENTCONTAINER’ and click on ‘Insert Element’. And then create a table as shown below.

Click here to continue....

 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image