Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to add invoice u00B0 and CnyCode in mail title for ERS invoice by mail

Hello,

We manage to send ERS invoice doc as .pdf file in a mail.

We would like to add the invoice document number and the company code in the mail title.

This is what we have done so far :

1) we add the words CMEMO doc n°&RBKP-BELNR& from &RBKP-BUKRS&

in the Output type/Mail title and text/document title part of the output type

where &RBKP-BELNR& and &RBKP-BUKRS& are respectively invocie doc nber

and company code of the document.

2)We add Z_RM08NAST (copy of RM08NAST program) in the program field of "Replacement of text and symbol" box (Output type / General data)

3)We also add Form routine "TEXT_SYMBOL_REPLACE" in "Replacement of text and symbol" box.

When doing tests mail are generated but &RBKP-BELNR& and &RBKP-BUKRS& are not replace by the document value.

Has something special to be done in Z_RM08NAST program ?

Many thanks in advance for your replies.

Anthony

Former Member
Not what you were looking for? View more on this topic or Ask a question