To make the PO number appear in the email subject please do the
In configuration: Materials Management -> Purchasing -> Messages ->
Output Control -> Message Types -> Define Message Types for Purchase
Order -> Maintain message types for PO -> highlight your output type ->
select mail title and texts and enter the following in the title line:
PO number &EKKO-EBELN&
Then, double click on your PO output type to advance to the General data
tab. At the bottom of this tab there is an area called 'Replacement of
text symbols'. In the Program field, enter SAPMM06E, then in the FORM
routine field, enter: TEXT_SYMBOL_REPLACE. THIS SHOULD BE IN THE TAB EMAIL.
To Create Body of Message. GO to Tcode SODIS. Under Document Folder create a document named "Email" (or any other name) and write whaterver you want to appear in the body of the email message. Then go to above MAIL tab in output setting enter the document name EMAIL in the field DOCUMENT and Save it.
THat is all. Now when you send PO from SAP to Vendor to his email Id, the email will have the following:
1 . PO in PDF format.
2. Subject will have PO Number
3. Body of the message will have whatever you had typed under the document EMAIL in tcode SODIS.