Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Converting PDF spool file data into an internal table

Former Member
0 Likes
551

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

4 REPLIES 4
Read only

Former Member
0 Likes
502

have you already looked at programm RSTXPDFT4 ?

kind regards

arthur de smidt

Read only

0 Likes
502

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

Read only

0 Likes
502

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

Read only

0 Likes
502

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