on 08-28-2008 7:35 AM
Hi All,
My task : ALV report to PDF format (from a abap report)
after calling REUSE_ALV_LIST_DISPLAY in sp01 it showing all columns (9 coulmns) .
I used FM CONVERT_ABAPSPOOLJOB_2_PDF and download the file, there I can see only 4 coulmn.
When I use sy-batch = 'X' , it popup a device windows , if I change the FORMAT from X_PAPER to X_65_255 . Now , using convert process it is showing all.
My question is how to set x_65_255 dynamically. (no user input).
Thanks in Advance
Balamurugan.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try submitting the layout as below to this program which does the conversion process in your code so that the conversion process triggers as soon as this code is encountered in your code.
SUBMIT RSTXPDF5
WITH SPOOLNO EQ SRC_SPOOLID
WITH DSTDEVIC EQ DST_DEVICE
VIA JOB BTC_JOBNAME NUMBER BTC_JOBCOUNT
TO SAP-SPOOL DESTINATION DST_DEVICE
IMMEDIATELY ' '
NEW LIST IDENTIFICATION 'X'
LAYOUT 'X_65_80'
SAP COVER PAGE 'N'
WITHOUT SPOOL DYNPRO
AND RETURN.
Regards,
Bhaskar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhaskar,
You have mentioned to use rstxpdf5 , this is nothing but FM
CONVERT_ABAPSPOOLJOB_2_PDF.
My problem is , in spool I am able to see whole report. But I try to convert using above FM , I can see only half of the report.
(ie in PDF file).
While running ALV report it is taking layout as 'X_PAPER'.
In that case using conversion I am getting half Coulumn (PDF).
But when I activate sy-Batch = 'X'. ALV report prompt for device information , there i Changed layout into X_65_255.
Now the conversion working fine.
My question is how to change the layout in ALV without user input.
Note : tried your tips also, again half coulmn only.
Thanks
Balamurugan.R
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.