Skip to Content

Occasional error -10 when creating A/R Invoice

Hi, I'm using SAP 9.1

Sometimes out of the blue, when my program tries to create an A/R Invoice (based on Sales Order), it gives me error -10 (error description is "Internal error (-2038) occurred").

When the user retried, the invoice will get created successfully.

Can anybody advise what's error -10 about?

Also FYI: sometimes I got the same error description, but the error code is -2038. Based on other SCN users' suggestions, if this happens I will simply retry and it will work fine.

So I'm stumped as why sometimes the error code is -10 instead of -2038....

Please advise.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 15, 2016 at 05:54 PM

    I can't say for sure but -2038 is RecordLock, there is an example in the SDK Help to avoid deadlocks, I have never tested myself.

    Look in the SDK Help for "Avoiding Database Deadlocks"

    pastedImage_1.png (24.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.