Skip to Content
avatar image
Former Member

ABAP runtime error during cancellation of Invoice

Hello Gurus,


I have an Invoice document which has around 2500 line items. When I am trying to cancel the Invoice document using VF11 it gives a Runtime error as "TIME_OUT" - Time limit exceeded.  The program "SAPLV60A" has exceeded the maximum permitted runtime without interruption and has therefore been terminated. It ran around 2 hours.


Can someone please tell me the procedure to cancel this Invoice. I know that we can try LSMW or BDC for this, but is there any other option apart from this.

Regards,

SNK.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 13, 2013 at 11:52 PM

    Hi,

    Check the below Notes as well

    Note 362057 - Runtime error w/
    collectv billing, text determinatn

    Note 65987 - Performance problems when cancelling with VF11

    Note 69880 - Runtime error TIME_OUT when you cancel

    Try to apply relevant notes in DEV environment and see the results. if you don't get positive results, i would suggest to reach out SAP.

    Regards, Sai Krishna.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14, 2013 at 09:30 AM

    an Invoice document which has around 2500 line items

    Interesting and eager to know whether system has generated Accounting Document successfully.  As you would be aware, in normal circumstances, if a billing document have more than 500 line items it would give an error message "F5727 - Max no. of line items reached in FI".  This being the case, I am not sure, how come it was possible to save the billing document with 2500 line items ?

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The system did not generate an Accounting document. I am not sure about the saving of the billing document. I am also surprised.

  • Mar 13, 2013 at 07:19 PM

    If the SAP version is at/below 4.6C, then take a look at OSS Note 494013 - Serious runtime problems when cancelling billing documents

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 14, 2013 at 07:05 AM

    Hi, this might also be a performance issue if some wrong coding is done in the invoice user exits. Before applying notes and contacting SAP, It's better you check the exact place where timeout is happening(you can get the code info from the dump itself) and check whether it is due to custom code. If so, your ABAP team can rectify this.

    Add comment
    10|10000 characters needed characters exceeded