Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Generate spool request and PDF

Hello Friends,

I have the below requirement in Scripts.

I need to generate spool request and also download the form as pdf simultaneously.

I can able to generate spool request and able to download as PDF separately, but I want to do both in a single open_form is it possible?

Regards.

Krishna.

Tags:
Former Member
replied

*for that do declarations like this

data: v_spoolid type ssfcrescl.

data: v_spoolno type rspoid

*at last process a loop like this

loop at v_spoolid-spoolids into v_spoolno.

endloop.

submit rstxpdft4 with spoolno = v_spoolno

the above is for smartforms.

and the below is the process for scripts

while executing the standard scripts driver progrram a spool id will be created

take that spoolid and go to transaction sp01. execute it

and goto se38 execute program rstxpdft4

type the spool request no.

and excute it , it will generate pdf for the spool no which u have given.

hope this will be useful for you.

with regards

S.Janagar

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question