01-09-2015 3:07 AM
Hello guys,
Need help your help in solving the below issue.
I have used fm 'SO_NEW_DOCUMENT_ATT_SEND_API1' in my custom program to print the Delivery.
I am getting the short dump "COMMIT_IN_POSTING when the I try to do the repeat output IN VL02N and save it.
It says Commit work cannot be used in Update FM. Due to this bussiness the facing problem and requested us to fix it ASAP.
I have searched for the threads, but could not get the exact solution. I have seen the 1867409 note, but dont know whether it will fix the issue.
Meanwhile I will also continue to search for the solution.
Could you please help me out in fixing this ?
Thanks in Advance..!!!
Best regards,
Karthik Ganti.
01-09-2015 4:11 AM
Set COMMIT_WORK = space while calling FM SO_NEW_DOCUMENT_ATT_SEND_API1.
01-09-2015 4:55 AM
Hi Karthik ,
Please check the values what you are passing to mailing functionality and please post the error screen shot.
Regards,
Krishna
01-14-2015 10:51 AM
Hi,
Thanks for your quick response and Sorry could not reply you all as I was busy with some other work.
I have solved it on my own.
Solution : I have created a Z function module with DESTINATION 'NONE'. In this function module I have handled the logic to send email. It worked perfectly.
This could help anyone who faces the same issue going forward.
Best regards,
Karthik Ganti.