on 05-27-2009 8:05 AM
Hello,
An update termination is occured while cancelling the invoice.
Termination is in function module RV_INVOICE_POST
Error message : 00 671: ABAP-Prozessor: SAPSQL_ARRAY_INSERT_DUPREC
Could any one help to find the reason for the same, as it is happening reguarly in the system.
474 ENDIF.
475 ENDCASE.
476 ENDLOOP.
477 UPDATE (OBJECT) FROM TABLE DA_XVBPAU.
478 UPDATE VBPA3 FROM TABLE DA_XVBPA3U.
479
>>> INSERT (OBJECT) FROM TABLE DA_XVBPAI.
481 INSERT VBPA3 FROM TABLE DA_XVBPA3I.
482
483 IF SY-SUBRC > 0.
484 MESSAGE A700 WITH OBJECT SY-SUBRC DA_XVBPAI(21).
485 ENDIF.
Thanks in advance
Kiran
Most probably, this could be due to number range problem. You would not have maintained number range for cancellation document type. Check in VOFA what number range object is maintained for S1 billing type and ensure that the same is maintained in VN01 also.
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check in TCode : ST22 - Runtime error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran
Please sit with your ABAPer and put a break point on line 479.
Try to find out whether the value you are pass in OBJECT is acceptable to table or not.
try and revert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.