on 09-07-2014 6:12 PM
Hi Experts,
Send mail step in workflow is not working when passing type id 'U', i.e internet mail. It is not sent to SOST & even not in Inbox.
In workflow log system returns message Method SELFITEM->SENDTASKDESCRIPTION executed successfully.
This functionality was working fine. Recently our system is upgraded to EHP7. After upgrade this is not working.
It seems like some setting is changes in system. All configuration, SICF setting & SO16 settings are done.
Send mail steps is working with type id 'G' ( organization unit ) passing userid. Also using FM SO_DOCUMENT_SEND_API it is working.
What all things does the workflow check before sending email using receiver type 'U' in workflow?
Thanks & Regards,
Manjiri Kamthe
Hello,
Is it working in the Test system?
Check if WF-BATCH has SAP_ALL and SAP_NEW and if it has an email address.
regards
Rick Bakker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anjan,
I have implemented note 1995095.
We want mail subject line more than 50 char, so we set field 'Long Mail Title'. This was working before EHP7 Upgrade.
The mail is sent if 'Long Mail Title' is not set.
If 'Long Mail Title' is active then system is throwing exception cx_swf_run_wim in method SEND (CL_SWF_UTL_MAIL_FACADE)
Is there any more setting required for long subject line.
Please help.
Thanks & Regards,
Mounj K
Hi Anjan,
The status of note 1658491 is also cannot not be implemented.
I checked the correction given in this note. All changes exists into system.
Following is code of method SEND ( (CL_SWF_UTL_MAIL_FACADE)
*- check if document has recipients at all
lt_recipients = lo_send_request->recipients( ).
if lt_recipients is initial.
lo_send_request->delete( ).
ls_t100msg-msgid = 'WZ'.
ls_t100msg-msgty = 'E'.
ls_t100msg-msgno = 619.
raise exception type cx_swf_run_wim
exporting
t100_msg = ls_t100msg.
else.
*- Send document
call method lo_send_request->send( ).
endif.
The exception is thrown, because lt_recipients table is blank.
With same parameter the workflow is running successfully if 'Long mail title' is not set in SWPA.
When is field is active, workflow returns message Document <> could not be sent
The method "SELFITEM->SendTaskDescription" does not send mail if Long Mail Title" indicator is set .
Thanks & Regards,
Mounj K
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.