Hi All,
In one of a workflow for PPM , I am using this Function module to send email. But this FM is getting dumped and no information received by the WF and hence it remains in process.
The dump details are as follows:
Short text of error message:
COMMIT WORK during ON COMMIT or ON ROLLBACK
Calls trace
33 METHOD CL_DPR_TRANSACTION_MANAGER====CP CL_DPR_TRANSACTION_MANAGER====CM009 18
CL_DPR_TRANSACTION_MANAGER=>ON_TRANSACTION_FINISHED
32 METHOD CL_SYSTEM_TRANSACTION_STATE===CP CL_SYSTEM_TRANSACTION_STATE===CM001 2
CL_SYSTEM_TRANSACTION_STATE=>RAISE_TRANSACTION_FINISHED
31 FORM SAPMSSY0 SAPMSSY0 464
%_AFTER_COMMIT
30 FUNCTION SAPLSOI1 LSOI1U32 172
SO_DOCUMENT_SEND_API1
29 FUNCTION SAPLSOI1 LSOI1U25 30
SO_NEW_DOCUMENT_ATT_SEND_API1
Any Helps !
Thanks
Request clarification before answering.
Hi,
you should use the workflow log to determine the content of the parameters that you are sending to this task and method. Then either in SWO1 (if it is a BOT Method) or in se24 (Class method) you can then debug it to find out where it is going awry.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Linda,
Who is the actual user which executes this method? If it is WF-BATCH then make sure that this user has a valid email address, it doesn't have to exist just as long as it conforms to mail address conventions i.e. [email protected]
Kind regards, Rob Dielemans
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.