2008 Mar 25 2:16 PM
Hi all,
I have a requirement which requires me to give a Subject for the email that is sent . I have used the Badi 'COMPLETE_PROC_PPF' .
For changing the subject line I use the class CL_BCS as per the following code:
LV_SUBJECT = 'Hello!!!!Good Morning!!!!'.
CALL METHOD io_send->SET_MESSAGE_SUBJECT
EXPORTING
IP_SUBJECT = LV_SUBJECT.
But the message subject line does not get changed.
Please help me out in resolving the above issue .
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
Hi all,
I have a requirement which requires me to give a Subject for the email that is sent . I have used the Badi 'COMPLETE_PROC_PPF' .
For changing the subject line I use the class CL_BCS as per the following code:
LV_SUBJECT = 'Hello!!!!Good Morning!!!!'.
CALL METHOD io_send->SET_MESSAGE_SUBJECT
EXPORTING
IP_SUBJECT = LV_SUBJECT.
But the message subject line does not get changed.
Please help me out in resolving the above issue .
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
2008 Mar 25 2:21 PM
hi
I have worked on sending E-Mail using the class..
Does the BADI trigger, just verify it once by setting a break point
Here goes the code sample
*setting the option to send an e-mail more than 50 characters
DATA: t_sub TYPE string.
CALL METHOD send_request->set_message_subject
EXPORTING
ip_subject = t_sub.Also check whether SCOT setting enable SMTP Node.. otherwise the subject line will not be more than 50 characters..
2008 Mar 25 4:35 PM
Hi Rahul,
Thanks for your reply . I am using the following code:
DATA : io_send type ref to CL_BCS.
DATA : LV_SUBJECT type string.
LV_SUBJECT = 'Hello'.
CALL METHOD io_send->SET_MESSAGE_SUBJECT
EXPORTING
IP_SUBJECT = LV_SUBJECT.
But the following code does not change the subject line of the email .
Please help me out in setting the subject of the email to 'Hello'.
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
2008 Mar 25 5:41 PM
It seems you are using COMPLETE_SEND method of BADI 'COMPLETE_PROC_PPF' .
Have you tried putting break-point at your code..?Is control coming overthere?
G@urav.
2008 Mar 25 5:55 PM
Hi Gaurav,
Yes...The control goes to the method 'COMPLETE_SEND' of the badi 'COMPLETE_PROC_PPF'.
Kindly help me to resolve the issue.
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
2008 Mar 25 6:01 PM
what is the value of sy-subrc after execution of
CALL METHOD io_send->SET_MESSAGE_SUBJECT
EXPORTING
IP_SUBJECT = LV_SUBJECT.
G@urav.
2008 Mar 25 6:18 PM
Hi,
The value of sy-subrc is 0.
Kindly reply imediately as this is bit urgent.
Regards,
Vijay
2008 Mar 25 6:25 PM
That means after this assignment.. value is getting overwritten somewhere else.
A bit effortful .. but you need to debug it. I am out of answers this time.. sorry.
G@urav.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |