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'
format = 'PDF'
bin_filesize = g_file
otf = otf
lines = pdf
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.