Application Development 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: 

How to create spool id for an INCLUDE pogram running in FOREGROUND?

Former Member
0 Kudos

Hi all,

Kindly let me know how I can create create a spool id for an include program that is running as FOREGROUND process and not background.I am not able to use the following code as the program that is called is an include program and not an executable program.

submit ZMAIL

with p_online = 'X'

to sap-spool

spool parameters %_print

archive parameters %_print

without spool dynpro

and return.

Hope my problem is clear to all.Kindly help.

1 REPLY 1

Former Member
0 Kudos

Hi,

You can include that include into your program using the statement

INCLUDE <Incl_Prog_name> .

Regards,

Richa.