06-09-2017 5:21 PM
Hi I am new to ALV Reports, Especially non-OOPs ALV.
I have written a code for ALV which has 2 editable fields which, on clicking the save button, should pass the entire records of the editted fields back to program to be written to a custom SE11 table.
It also has an export to PDF option in the toolbar, which should export to a PDF the screen ALV data.
I have added the PDF button, but need to know how to add the download functionality to the button. I copied from some standard PF STATUS, which already has the export to Excel functionality (another requirement), but this newly added EPDF button doesn't.
Also, on clicking on save, how do I get the editted fields in my program using the SAVE user_command? I am using GUI GRID class class for ALV.
Kindly help with these 2 issues, or redirect appropriately. Thanks in advance.
06-09-2017 10:10 PM
The ABAP-based system doesn't have a built-in PDF generator (it's not its goal to propose generators or converters) except the old ABAP list/OTF converter (function module CONVERT_OTF and family, or CONVERT_*SPOOLJOB_2_PDF ).
06-10-2017 3:29 AM
Hello, Archit Chhabra.
Check the link below:
https://archive.sap.com/discussions/message/5866893#5866893
Best Regards.
Welinton Rocha