Skip to Content

Auto-Mail through system


We want the system to send every morning at 10am dispatch details from mb51 to specific email id.

Kindly provide us the steps.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 10, 2014 at 04:59 PM


    Go to MB51. Select the parameter and then move to GOTO->VARIANT->SAVE THE VARIANT. You can create variant by plant, movement type, posting date( date will be dynamic variant) etc etc (I mean your desired report).

    Go to SM36 and schedule a Job with program RM07DOCS and the variant already created.

    For mail trigger process please refer the document

    For mail trigger to multiple recipient you have to create a distribution list which is also discussed in the document.



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2014 at 03:19 PM

    Hi Sun

    Fallow the below steps with the ABAP team help.

    1) Create a Z report program.

    2) Call the standard SAP program in Zreoprt program for this tcode MB51 and pass the required variants accordingly.

    3) Write the code accordingly for sending the mail in Zreport program.

    4) Create a batch job scheduling for daily execution of this Zreport.



    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.