Quantcast
Channel: SCN : All Content - Output Management
Viewing all articles
Browse latest Browse all 1353

How to find Spool id for background process - driver program smartform?

$
0
0

Hello Geeks,

 

Current scenario:  I am setting output options as below,

                          lst_output_options-tddelete   = abap_true.

                           lst_output_options-tdnewid    = abap_true.


          1. generating new spool id when driver program is executed in background.

          2. converting spool id to PDF and sending mail.

          3. so i am able to see SP02 - spool id entry.

 

               Every thing is fine with current scenario.

 

 

Expected Scenario:

                                  Business don't want to see spool id generated in SP02 , After driver program is executed in background.

                          

            so i set output options as below

 

                           lst_output_options-tdnewid    = space.


                Problem with this way of doing is when driver program is executed in background i am seeing all the outputs in signle PDF in the mail , which contains previous background execution outputs as well.


               when i execute driver program in foreground and making sy-batch is X , i am able to see spool id generated and output is coming correctly with single pdf{even though i specified lst_output_options-tdnewid    =  space}.


Question:  Is it possible to send smartform output to E-mail , in Background processing of driver program with out setting OUTPUT_OPTIONS-TDNEWID to X) ? because business don't want to see - SP02 Entry.


Currently when tried as mentioned i am getting previous batch jobs PDF also merged with the current one.


Waiting for your inputs..


 

 

 

 

                             t

                            

 

 


Viewing all articles
Browse latest Browse all 1353

Trending Articles



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