Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update termination

VISHAL_JHA
Explorer
0 Likes
714

Hi All,

I am getting an Update termination errorin FM ARCHIV_BARCODE_INSERT giving error text

OA 413: Bar code 010006903148059504566 exists already

the above mentioned barcode does not already exist but still the error is happening.

please let me know how to avoid this error.

Thanks

Vishal

3 REPLIES 3
Read only

Former Member
0 Likes
599

check the below note:

Note 805682 - Update termination when you enter a bar code

Read only

0 Likes
599

Hi Poorna,

the note 80568 has already been implemented but still the error is happening.

thanks

Vishal

Read only

Former Member
0 Likes
599

You could also try this note :

Here is a part of the description from the note : 575608

Symptom

Transaction ME21N, ME22N

If, after entering a bar code for the order acknowledgment, you also change other purchase order data, the system generates an update termination in function module ARCHIV_BARCODE_INSERT with the error message:

OA413: Bar code & exists already

Other terms

Archive link, bar code

Services for Object, BUS2012, links

ARCHIV_BARCODE_INSERT_BATCH, ARCHIV_BARCODE_INSERT

Reason and Prerequisites

After the call of function module ARCHIV_BARCODE_INSERT_BATCH (in routine BUCHEN in SAPMM06E or SAPMEPO), the bar code fields (AR_OBJECT and BARCODE_ID) are not initialized. When the function module is called a second time (in transaction ME21N or transaction ME22N), the system then tries again to write a record with the same key, which results in the termination.

Function module ARCHIV_BARCODE_INSERT_BATCH was only called with the old transactions ME21 and ME22 once so that the error could not occur.

Solution

Implement this note 575608

Edited by: Ziv Katz on Sep 14, 2011 10:35 AM

Edited by: Ziv Katz on Sep 14, 2011 11:03 AM