2008 Feb 11 11:23 AM
Hi
I faced a problem while working upgradation project i.e 4.6c to ecc6.0. Here the function module is same both in 4.6c and ECC6.0 *SX_OBJECT_CONVERT_OTF_PDF*
But in ECC6.0 the function module doesn't contain any TABLES AND IMPORT statement as per 4.6c.
insted of this function module is their any function module for converting data from OTF format to PDF format.
mail me :[email protected]
Hi
I faced a problem while working upgradation project i.e 4.6c to ecc6.0. Here the function module is same both in 4.6c and ECC6.0 *SX_OBJECT_CONVERT_OTF_PDF*
But in ECC6.0 the function module doesn't contain any TABLES AND IMPORT statement as per 4.6c.
insted of this function module is their any function module for converting data from OTF format to PDF format.
mail me :[email protected]
2008 Feb 11 11:25 AM
1. Use FM CONVERT_OTF_2_PDF.
U can also use the following FM:
2. CONVERT_OTFSPOOLJOB_2_PDF : To convert otf spooljob to PDF
2008 Feb 11 11:33 AM
hiiiiiiii
DATA: BEGIN OF PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF PDF_OUTPUT.
SPOOL_NR = SY-SPONO.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = SPOOL_NR
IMPORTING
PDF_BYTECOUNT = FILESIZE
TABLES
PDF = PDF_OUTPUT.
*****************************************************************
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
BIN_FILESIZE = FILESIZE
FILENAME = 'File path'
FILETYPE = 'BIN'
CHANGING
DATA_TAB = PDF_OUTPUT[].
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |