on 07-08-2009 10:38 AM
Hi Gurus - Any customizing settings to set pre defined message as email body. I've tested the mail text in NACE but it didn't worked. Email body is coming as blank. Is there any customizing settings to set the email body?
Thanks,
Sree
In nace in output type there is 'Mail title and texts' in which u define the body for email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rajesh for your response. I did saw your forum thread. As per the note " 1086090" our system doesn't come into specified support packs. The tocde SODIS doesn't work in our system.
Is there any other solution, if we want to code in any billing user exit only to display the body of the email? As attachement of the billing document was handled in customization.
Please help!!
Thanks,
Sree
Hi,
Yes there is a solution.
Even in our system we do not have the package nor the transaction SODIS.
If you see the latter half of the thread it talks about Implicit enhancement.
This implicit enhancement has to be done in function module SBCOMS_SEND_REQUEST_CREATE
Are you familiar with implicit enhancement ??
Open the function module in SE37 and click on Enhance Source code (SHIFT + F4)
Then EDIT --> Enhancement Operations --> Show Implicit enhancement options
Click on the yellow line at the start of the function module , Right click --> Enhancements --> Create
The code in the enhancement will be like . In the below code the body is attached only for output type 'ZRM0'. If this validation is not present the body will be attached to every mail from SAP
DATA
: WA_NOTE_TEXT TYPE SOLI,
VAR1 TYPE CHAR255.
FIELD-SYMBOLS
: <FS_INVOICE_NO> TYPE ANY,
<FS_MSG_TYPE> TYPE ANY.
CONSTANTS
: C_INV_NO TYPE CHAR255 VALUE '(RLB_INVOICE)NAST-OBJKY',
C_MSG_TYPE TYPE CHAR255 VALUE '(RLB_INVOICE)NAST-KSCHL',
C_LINE1_1 TYPE CHAR255 VALUE
'Please find enclosed our invoice no. '.
* Move Invoice Number
CLEAR VAR1.
VAR1 = C_INV_NO.
ASSIGN (VAR1) TO <FS_INVOICE_NO>.
* Move Message Type
CLEAR VAR1.
VAR1 = C_MSG_TYPE.
ASSIGN (VAR1) TO <FS_MSG_TYPE>.
IF <FS_INVOICE_NO> IS ASSIGNED AND
<FS_MSG_TYPE> IS ASSIGNED.
IF <FS_MSG_TYPE> = 'ZRM0'.
CONCATENATE C_LINE1_1
<FS_INVOICE_NO> "Invoice No
INTO WA_NOTE_TEXT
SEPARATED BY SPACE.
APPEND WA_NOTE_TEXT TO NOTE_TEXT.
ENDIF.
ENDIF.
Let me know if you have doubts in the code
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.