‎2009 Jan 20 8:50 AM
is it possible to print only the selected rows using alv grid? anyone knows how?
‎2009 Jan 21 8:01 AM
Hi,
Use this link for a demo code for ALV display with each record with a checkbox.
And if user selects some records in ALV, then these records are displayed in another ALV grid using another internal table.
You can use this new internal table which comprises of the records selected by user at runtime.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
‎2009 Jan 20 2:45 PM
using ALV in Grid or OO mode, both give you methods to determine selected rows. Code to retrieve just those rows to a seperate table and print from there.
I would use an added button to the standard ALV Toolbar to allow control of it much easier.
‎2009 Jan 20 2:54 PM
HI,
You can do it in ALV. Selected records can be porinted. You can [find|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=checkboxin+alv&adv=false&sortby=cm_rnd_rankvalue] lot of links how to acheive the functionality. Search the SCN.
‎2009 Jan 21 6:35 AM
‎2009 Jan 21 8:01 AM
Hi,
Use this link for a demo code for ALV display with each record with a checkbox.
And if user selects some records in ALV, then these records are displayed in another ALV grid using another internal table.
You can use this new internal table which comprises of the records selected by user at runtime.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
‎2009 Jan 22 1:41 AM