2012 Sep 12 3:47 PM
Hi,
I had data in the internal table.I need to save the data as PDF file.
currently i am using logic like this
CALL FUNCTION 'GET_PRINT_PARAMETERS'
NEW-PAGE PRINT ON PARAMETERS lwa_params NO DIALOG.
all write statements
NEW-PAGE PRINT OFF.
and then calling CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
For displaying popup
CALL METHOD cl_gui_frontend_services=>file_save_dialog
And finally
CALL FUNCTION 'GUI_DOWNLOAD'
Here spool is generating and it is directly printing after execution of program.
I dont want spool to be generated and it should save in the presentatuion server.
Can any one help me in this regard.
Regards
Ram
Here spool is generating and it is directly printing after execution of program.
Is this the actual problem, if yes force the non-immediate printing of the spool (IMMEDIATELY = space) and delete it after conversion to PDF (FM like RSPO_R_RDELETE_SPOOLREQ).
Regards,
Raymond
2012 Sep 12 4:42 PM
Hi
I believe the only solution to convert an abap list to pdf is to generate the spool and the convert it: just like you're doing
Max
2012 Sep 13 1:46 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |