on 04-22-2014 2:05 PM
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
Hi VeeraBrahmam,
I don't think it is possible without changing the driver-program itself.
Of course, a solution would be to set the get_otf = abap_true and afterwards send the email by your own, that means develop a additional part using cl_bcs.
That is the only solution I got now in my mind. Now you have to decide, if it is worse to develop this. This will take some hours for sure
~Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.