Application Development 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: 

Export to PDF functionality in PF Status in Editable ALV

Former Member
0 Kudos

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.

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

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 ).

s0006898782
Participant
0 Kudos

Hello, Archit Chhabra.

Check the link below:

https://archive.sap.com/discussions/message/5866893#5866893

Best Regards.

Welinton Rocha