‎2008 Jun 10 7:26 AM
Hi,
Is there any way to store PDF spool file data into an internal table ? or is there a Function Module for the same.?
Scenario - I have an auto-generated spool file in a PDF format.This is post upgrade(ECC 6.0)
Previously an OTF(SAP Script) file used to get generated.
Problem is the existing program converts OTF to internal table and then eventually converting the data to PDF format and sending it across to a particular server.
Now, since the requirement remains the same,send the spool to a server,but now since the spool already is in PDF format the existing program does not work in the desired way.
Kindly help.!!!
Answers will be rewarded.
- Rohan
‎2008 Jun 10 7:46 AM
have you already looked at programm RSTXPDFT4 ?
kind regards
arthur de smidt
‎2008 Jun 10 7:54 AM
Hi,
What RSTXPDFT4 program does i what i am currently doing in my Z program.I want a functionality through which i can convert PDF spool into an internal table and eventually send it across to a particluar server.
This program is of no use,
Thanks for the reply !!!
- Rohan
‎2008 Jun 10 8:50 AM
I don't understand, the pdf is put into an internal table at
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF
the table is pdf and all info for the pdf is there already in a table?
if you continue the source code the only thing is that the table is combined with a file name and makes it happen that you get an actual file.
or do you want to have the pdf in a single field ?
or do you want to store the document on a server where the location is stored in an internal table ??
kind regards
arthur de smidt
‎2008 Jun 10 10:11 AM
Hi,
in the existing program data from the spool is converted into PDF(internal table returned) using CONVERT_OTFSPOOLJOB_2_PDF.But this FM works for OTF spool files right,so it wont work for spool files already in PDF format.
I need to devise a way by wich PDF data is avaliable without conversion in an internal table.
Hope this clears your query....
- Rohan