Creating Custom button in ALV toolbar in webdynpro

By Deepan Ignaatious, Kaavian systems

Scenario: In this example, I demonstrate on how to Create Custom button in ALV toolbar in webdynpro.


1.     Create a webdynpro component ZD_ALV_ROWCOLOR in SE80.

2.    In the Used components tab add the ALV component to be used and give a name.  

3.    Go the component controller of the component then click the properties tab.

4.    Click on the create button to add the Components of ALV as shown below.

5.    Add both the components of the ALV after adding the used component tabs looks like below.

6.    Do above steps 3 and 4 for the main view also.

7.  Go the component controller context tab and create a node with an attribute of following type and add attributes from dictionary structure.


Cardinality: 0...n

Attribute: Add fields from table VBAP

I have just added 4 fields for explanation (VBELN / POSNR /MATNR /CHARG)

9. Go to main view context and map the node of the component controller to the view component controller.

Click here to continue...

SAP Virtual/Onsite Trainings

Document Categories:

What's New?


Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 

Join the Mailing List
Enter name and email address below:
Subscribe  Unsubscribe 

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