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

Create Spoolrequest for PO

Former Member
0 Likes
634

Hi,

I have a question how to create a spool request for a sapscript PO form.

In my case I want to write a program which sends a PO via Email. For this I need to create a spool request for the mail to convert it to PDF and send it out.

Converting to PDF and sending out via Email is working fine, but I don´t know how I can create the spool request. I thought about to run the Printprogram for the PO, but this is not really working.

Please provide me with some information, points will be rewarded.

Thanks,

Christoph

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
600

SAP have created a standard program RSTXPDFT4 to convert your Sapscripts spools into a PDF format.

Specify the spool number and you will be able to download the sapscripts spool into your local harddisk.

It look exactly like what you see during a spool display.

Please note that it is not restricted to sapsciprts spool only. Any reports in the spool can be converted using the program 'RSTXPDFT4'

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
601

SAP have created a standard program RSTXPDFT4 to convert your Sapscripts spools into a PDF format.

Specify the spool number and you will be able to download the sapscripts spool into your local harddisk.

It look exactly like what you see during a spool display.

Please note that it is not restricted to sapsciprts spool only. Any reports in the spool can be converted using the program 'RSTXPDFT4'

Read only

0 Likes
600

Hej Jay,

thanks for your answer. My problem is, that I do not have this Spool no., because it is not created so far. So I need to create a Spool no. for this SAPSCRIPT PO.

Thanks

Read only

0 Likes
600

You have to use the function modules

JOB_OPEN , JOB_SUBMIT, JOB_CLOSE.

Refer the link

http://help.sap.com/saphelp_nw04/helpdata/en/fa/096d4d543b11d1898e0000e8322d00/frameset.htm

Award points if helpful.

Read only

0 Likes
600

Solved,

I found a solution by using the print program for a PO.

Thanks,

Christoph