Enable/Disable & Show/Hide UI Elements during runtime in Web Dynpro for ABAP

By Pritam Ghosh, YASH Technologies

1.      Go to transaction SE80 and select “WebDynpro Comp./Intf”.

2.      Create a new WebDynpro component by the name ZZ_EXAMPLE (as shown below), give window name as MAIN_WINDOW and view as FIRST_VIEW.  Save the Web Dynpro Application as local object as shown below: 

3.   Now go to the Component Controller Context tab and create two nodes as shown below with the name ‘RADIO_NODE1’ and ‘RADIO_NODE2’ with Cardinality ‘0..n’ and Selection ‘0..1’. 

 

4.   And now create one attributes under each node, here with the name RADIO_1 and RADIO_2, both type as CHAR10: 

 

 

5.   Now go to view context and map the attributes, which you want to use in your application under the view context from Component Controller Context by drag and drop as shown below: 

 

 

6.   Now create the attributes, which you want to use in your application under the view context, create an attribute name FIRST_NAME_1 type CHAR20 as shown below: 

 

7.   Repeat the same and create LAST_NAME_1, FIRST_NAME_2 and LAST_NAME_2, all of type CHAR20. 

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