2012 Apr 16 2:30 PM
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.
2012 Apr 16 2:51 PM
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.
2012 Apr 16 2:51 PM
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.
2012 Apr 16 2:56 PM