Skip to Content
0
Former Member
Sep 08, 2009 at 08:31 AM

data not being displayed in PDF

31 Views

Hi All

In a transaction when i try to send the Purchase Order in PDF form to mail as an attachment it does not display any data in some pages .

But when i try to Print or see Preview the Purchase Order then they are displayed correctly .

Same print program and the SAP script are being used in all the cases . In the case of PDF conversion and after the Print program call is over it is imported into otf from the SAP Global memory using

IMPORT otf FROM MEMORY ID 'PDF_EMAIL:'.

then it is converted into PDF using

CALL FUNCTION 'CONVERT_OTF'

EXPORTING

format = 'PDF'

IMPORTING

bin_filesize = g_file

TABLES

otf = otf

lines = pdf

EXCEPTIONS

err_max_linewidth = 1

err_format = 2

err_conv_not_possible = 3

OTHERS = 4.

The table contains the data but still in the attachment received data is not displayed .

Can you please tell me how can this be resolved.

Thanks

Ramakanth