Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Issue with job and its spool

$
0
0

Hi All,

      I have an issue with one of my requirement.

 

I have a calling program which contains a submit program

 

PROGRAM1

      SUBMIT PROGRAM2.....

      Display ALV(creates spool 1,if set in back ground)

 

PROGRAM2

      DISPLAY ALV(creates spool 2,if program 1 is ran in background)

 

 

I am submitting a job with program 1 and spool parameters given.

This creates 2 spools(1 for program1, and the other for program 2)

 

Requirement is Whatever spool parameters i define for job of program1,same spool parameters needs to be applied for spool of program2.

 

Issue is: Even though I have hard coded the spool parameters(same as defined in job) for program2 in submit program2 using spool....,I am getting different spool parameters.

 

For instance, Program 1 is set in background with printer NULL spool1 is generated with NULL printer whereas spool2 is generated with LOCL printer

 

How do I get same spool parameters for the both spools genrated?(Spool1 and spool2 with printers as NULL)

 

Let me know if the question is not clear.

Awaiting for you replies....

 

 

Thanks,

Madan


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>