Skip to Content

COMMIT_IN_POSTING runtime error when repeat output is used and saved in VL02N

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 09, 2015 at 04:11 AM

    Set COMMIT_WORK = space while calling FM SO_NEW_DOCUMENT_ATT_SEND_API1.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2015 at 04:55 AM

    Hi Karthik ,

        Please check the values what you are passing to mailing functionality and please post the error screen shot.

    Regards,

    Krishna

    Add comment
    10|10000 characters needed characters exceeded

    • 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.