Application Development and Automation 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: 
Read only

Data getting truncated in PDF document generated from Spool Number

Former Member
0 Likes
1,292

Hi Experts,

I am using FM REUSE_ALV_BLOCK_LIST_DISPLAY to write the data into the spool number. But after conversion of spool number to pdf document the data is getting truncated.

Please let me know how to get the complete data of the Spool number to be displayed in the PDF document without any truncation.

Thanks in Advance,

Regards,

Sunil Kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,118

Hello Sunil,

Along with checking your printer settings in terms of number of lines/columns , check how much can you reduce in terms of column width in your ALV report, in case, it is a custom report. Sometimes, just reducing the header descriptions, in custom reports, gives a lot of space.

Thanks,

uma

Hi Experts,

I am using FM REUSE_ALV_BLOCK_LIST_DISPLAY to write the data into the spool number. But after conversion of spool number to pdf document the data is getting truncated.

Please let me know how to get the complete data of the Spool number to be displayed in the PDF document without any truncation.

Thanks in Advance,

Regards,

Sunil Kumar

5 REPLIES 5
Read only

Former Member
0 Likes
1,118

Hi,

Are you using this FM "CONVERT_ABAPSPOOLJOB_2_PDF"

if yes then check the parameter 'dst_device' you have to pass a printer name which has 1024 line_size

CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'

EXPORTING

src_spoolid = w_rqident

no_dialog = 'X'

dst_device = 'LP01' " This has 1024 chars Line_size

pdf_destination = 'X'

TABLES

pdf = t_pdf.

Regards

Krshna

Read only

0 Likes
1,118

Hi Krshna,

It did not work still data is getting truncated. Even after passing the parameters destination device has 'LP01'. It did not resolve the issue.

Regards,

Sunil Kumar

Read only

Former Member
0 Likes
1,119

Hello Sunil,

Along with checking your printer settings in terms of number of lines/columns , check how much can you reduce in terms of column width in your ALV report, in case, it is a custom report. Sometimes, just reducing the header descriptions, in custom reports, gives a lot of space.

Thanks,

uma

Read only

Former Member
0 Likes
1,118

Solved

Read only

0 Likes
1,118

Hi Sunil,

Could you please explain me in detail how you have solved this?

Thanks,

RV