2007 Aug 29 2:17 PM
Hi ,
I am trying to print the barcode in a PO, using SAP script and then converting it into PDF document using
using the SAP Function module ...CONVERT_OTF_2_PDF.
The PO prints fine when I try to print it from me22n. But I have a problem while converting to PDF.The Barcode doesnot print properly.Anyone please help me solve this problem ASAP.
Hi ,
I am trying to print the barcode in a PO, using SAP script and then converting it into PDF document using
using the SAP Function module ...CONVERT_OTF_2_PDF.
The PO prints fine when I try to print it from me22n. But I have a problem while converting to PDF.The Barcode doesnot print properly.Anyone please help me solve this problem ASAP.
2007 Aug 29 2:19 PM
hi
good
go through this
TYPES: l_ty_tab_objbin TYPE solisti1 OCCURS 0.
data: l_otf TYPE STANDARD TABLE OF itcoo.
DATA: l_objbin TYPE l_ty_tab_objbin.
DATA: l_docs TYPE STANDARD TABLE OF docs.
data: i_line TYPE STANDARD TABLE OF tline.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
BIN_FILESIZE =
TABLES
otf = l_otf
doctab_archive = l_docs
lines = i_line
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3
thanks
mrutyun^
2007 Aug 29 2:50 PM
Thanks for you answer..
But I have tried all the several ways like I tried it through the spool and like you said , but it is the same .
Am I making some mistake even before that?
Or I even have a question regarding the Barcode conversion to PDF ...does it work this way or is there any other way?
2007 Aug 29 3:33 PM
2007 Aug 29 7:03 PM