Skip to Content
author's profile photo Former Member
Former Member

Create mails from a Z program

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 25, 2010 at 04:52 PM

    Did you search the forum? I believe I've answered this one before, as have others.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2010 at 11:01 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.