cancel
Showing results for 
Search instead for 
Did you mean: 

Help ........ appending to existing spool id

Former Member
0 Kudos

Hi

I have a requirement in which i am supposed to use same spool id.

The problem is i am executing the print program of SMARTFORM and after that i am going to another print program of SAP SCRIPT.

The print program of smartform is generating a spool id. After this when i am about to print the second sapscript with the addition of new spool id it creates a new spool id and prints the form.

My requirement is to print both the programs in such a way that it uses the same spool id.

kindly let me know the possible solutions.

Imran

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Imran,

please check the system variables of structure SFSY or SY.

OR

try to select from the database table TSP01.

Regards,

shaik bhasha

Former Member
0 Kudos

Hi,

If we try getting the correct spool id from the table TSP01, then which variable of ITCPO mentions the usage of spool id. I had a look at the various structure variables but could not found out the one which mentions the spool id.

Kindly mention the structure variable in ITCPO

Former Member
0 Kudos

hi,

Get the spool no generating in Smartform and pass it to OPEN_FORM fm of the script. by filling the structure ITCPO.

Sudheer.A

Former Member
0 Kudos

Hi Sudheer,

How to get the spool no in the smartform and in which field do we use the spool no in the OPEN_FORM FM ?