Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Combined checkbox and pushbutton functionality in ALV Grid.

0 Likes
758

Hi all...

I have the first column of my ALV grid as a checkbox and there is a user defined pushbutton in the ALV toolbar .

When i check a checkbox and then click on the pushbutton on the toolbar .. another transaction needs to be called passing the values of the selected row..

Can anyone help me in acheiving this functionality..??

Hi all...

I have the first column of my ALV grid as a checkbox and there is a user defined pushbutton in the ALV toolbar .

When i check a checkbox and then click on the pushbutton on the toolbar .. another transaction needs to be called passing the values of the selected row..

Can anyone help me in acheiving this functionality..??

5 REPLIES 5
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
705

Hi,

Refer the below wiki by me:-

ALV Grid Display with checkbox to process selected records at runtime

https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/alv%252bgrid%252bdisplay%252bwith%252bch...

Hope this helps you.

Regards,

Tarun

Read only

Former Member
0 Likes
705

Hi,

Search the SCN....this has been answered many times.

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
705

In PAI , register event for handle user command .

Find the row number first and then check whether cehckbox is marked or not , if marekd , then use 'call transaction using 'bdc_options'.

Read only

Former Member
0 Likes
705

after marking the check box and clicking the button the code has to be written in PAI for calling the other transaction. U need to get the row number which is checked and display the transaction for the same.

in the user command module. check if the button has been clicked. if clicked, get the row number that is checked and display the transaction.

Read only

Former Member
0 Likes
705

Hi Shilpa ,

Take a look At this wiki Link

this link will definately Help you out for Checkbox and pushbuttons in ALv Grid

https://wiki.sdn.sap.com/wiki/display/ABAP/ALVTUTOTIALFORBEGINERSWITH+EXAMPLES

Regards

Saurabh goel