‎2011 Nov 04 6:33 AM
Hi ,
Our requirement is to send a mail to the client when the user changes Reservation Relevance/Generation of Purchase Requisition status to u201CImmediatelyu201D.
We have coded our logic in BADI ME_REQ_POSTED (method = IF_EX_ME_REQ_POSTED~POSTED ) used the standard FM u201CSO_NEW_DOCUMENT_SEND_API1u201D.
But the problem is whenever the user saves the changes in CJ20N the FM SO_NEW_DOCUMENT_SEND_API1 internally calls commit transaction & we get the dump u201CSAPSQL_ARRAY_INSERT_DUPRECu201D. We have tried sending mails via OOPS method as well but it still gives the same dump.
Can anybody suggest any other EXIT / BADI name where we can write the code for sending the email without causing dump or any other way to handle the current issue ?
‎2011 Nov 04 6:50 AM
Hi balraj
I Provide you some SAP note number Please implement it .
0001158109
0001544367
0001553851
949194
851850
852935
960273
This Will help you to remove runtime Error problem .
Regards
Ajit