10-25-2010 5:45 PM
Hi all,
I am trying to do something done with a Z* program and I would like to hear some ideas that may help me. I have already a way to build this but would like to listen to experts.
I have a Z program that is executed in background by an scheduled job with a log in a spool request.
What I would like to implement is what follows:
Everytime the program is executed by a job in background I would like to send an email to a user telling him the program has been executed and attaching a PDF with the spool request printed (this can be easily done with standard report RSTXPDFT4
Thanks in advance for your interest and help,
best regards.
10-25-2010 5:52 PM
Did you search the forum? I believe I've answered this one before, as have others.
10-25-2010 7:58 PM
There are so many threads on this subject. Refer demo program BCS_EXAMPLE_6. This will give you some direction.
Regards,
Pranav
10-26-2010 9:03 AM
Hi,
I have looked in the forum but don't finde anything. If you have posted the solution, would you be so kind as to post a link to this thread?
Thanks and regards.
10-26-2010 12:01 PM
Dear,
Its Very simple... While creating a background job (wizard option) you get an option to enter spool list recipients.
As soon as the background job completes an email will be triggered.
Step 1.
Go to SM36
Step 2.
Click on Job Wizard
Step 3.
Enter Job Name
Step 4.
ABAP Prog Step
Step 5.
Enter Prog name, variant if any & Click on spool list recipient...
Then creat the background job...
Edited by: SHREE WADEKAR on Oct 26, 2010 4:32 PM