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

interactive alv report

Former Member
0 Likes
459

Hi,

   in normal interactive ALV report when ever user double click or by clicking push button will get item level data.

But, here my requirement is, after getting my basic list i need to select 3 to 4 header documents and click on push button i need to get all item data for all selected header documents i got selected previously.

please help me out using ALV and for and normal reports.

regards,

Ravi M.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
425

Ravi, your post is not clear.  Are you asking how to allow the user to select more than one row of an ALV, and show all the documents details for the selections?  If so, that's probably been asked (and answered) a few dozen times.  Look at the methods and settings for allowing multiple selections.  Once selected, get the rows selected by method call, loop through the rows table, read your alv output table with the rows index value, and call a transaction to display the documents one-by-one (you will need to do one at a time). SEARCH THE FORUM!  And, look at the many demonstration programs provided by SAP, named like SALV* and BCALV*, to find your program model.

2 REPLIES 2
Read only

Former Member
0 Likes
426

Ravi, your post is not clear.  Are you asking how to allow the user to select more than one row of an ALV, and show all the documents details for the selections?  If so, that's probably been asked (and answered) a few dozen times.  Look at the methods and settings for allowing multiple selections.  Once selected, get the rows selected by method call, loop through the rows table, read your alv output table with the rows index value, and call a transaction to display the documents one-by-one (you will need to do one at a time). SEARCH THE FORUM!  And, look at the many demonstration programs provided by SAP, named like SALV* and BCALV*, to find your program model.

Read only

Former Member
0 Likes
425

This previous post has some good examples:

http://scn.sap.com/thread/883016