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