cancel
Showing results for 
Search instead for 
Did you mean: 

Return Order output email send to Creator as PDF

Former Member
0 Kudos

Hi All,

Please let me know, how to configure Return sales order output as email send to creator(end user).

Business don't want to send it to customer, They need it in their mailbox as PDF and later they will send it to customer when ever they wants...

Please provide some solution on this issue.

Regards,

Sathiesh pillai.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

You need to configure the output determination for return order type. The "Internal Output (MAIL)" output type can be used. For sending PDF copy to user himself, the user data should be maintained as "mail partner".

From what i read from your question, you want to send PDF file to user who logged into system to create return order. If yes, then the program need to pick user-id who logged into the system and use his/her email id as communication for sending PDF file. For this, minor code changes will be required to make mail partner defaulted to end-user and not look at customer account partners of the return order.

If user going to be same for every return order, then you may use TVARVC variant table to store his/her email id and check that table while sending email.

regards,

Vaibhav

Answers (2)

Answers (2)

Former Member
0 Kudos

Folks,

When you use EM01 in communication method, system will look for user profile SMTP address ( mail id) only, existing partner pn and output type config and all suppressed.

Then it goes to mail Q Tcode - SOST execute the output to mail server. (normally this step is automatic in production thru scheduled jobs)

Former Member
0 Kudos

Actually Answer is very simple, SAP standard has simple option.

Logical destination - EM01 (E-Mail output to SMTP address) in comm..method..U have to maintain 1. Print out only and active print immediately check box..

No need to maintain any thing else like partner fu..Out put type...etc..

If you use EM01 system look only the creator AMTP address and naturally its PDF.

Then go to T-code : SOST and find your order execute it, you will receive the mail. Normally SOST is done it through background jobs.

Thanks All.

Former Member
0 Kudos

Can you please step wise explain the solution how to assign the output as desired in your query.