cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-Mail through system

former_member303755
Participant
0 Kudos

Hi,

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

Kindly provide us the steps.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

former_member209265
Active Contributor
0 Kudos

Hi,

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 http://scn.sap.com/docs/DOC-50488

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

Regards,

Krishnendu.

Answers (1)

Answers (1)

former_member211676
Contributor
0 Kudos

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.

Regards

Kesava