|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Dynamic creation of component usage in ABAP WebDynpro
in Method list create a new event handler method and in even column pick
ON_CLICK event of the interface controller of the component usage ALV_USAGE.
method will automatically have one importing reference parameter named R_PARAM.
This variable’s Value field will have the value of the clicked column of ALV
this method we will first write the logic for fetching the data for secondary
list for clicked value of primary list.
is the screen shot of the code which is meant for creating the component usage
dynamically. For that we have first created a component usage group and then
created a component usage. The code in screen shot is self explanatory. I have
put a lot of comment there to make everything clear. And yes…put this code in
ACTIONCLICK method itself.
test your application again. This time click on the Sales Doc. column’s value
of primary list to get the secondary list. The result is like below.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards