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

RE: Cannot add Alternate EAN thru BAPI_MATERIAL_MAINTAINDATA_RT

colin_cheong
Contributor
0 Likes
564

Hi,

I am able to create an article with a Main EAN.

A scenario happened when I need to extend the article to another company and also at the same time, add in an alternate EAN.

I am able to extend and add in the alternate EAN to the article. However, the original EAN was being overwritten and can be displayed under the article changes. I tried using function '009' and '004'.

Both times, it overwrite for me.

Can someone guide me on what and how to put in the correct values?

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
439

Hi Colin ,

I guess you are trying to link multiple EANs to particular Material ( using MM02 - Basic data 1 tab).

According to standard procedure you can attach only One EAN to a partilcular material - this will be unique across all Plant or company codes. This EAN number is stored against the Material number in dbtable MARA. So i dont think - u ll be able to assign multiple EANS using standard SAP procedures.

Still if you want to achieve it - then create a custom table for this - and from the customer exits you have mentioned - populate the custom table with the changed values.

Read only

colin_cheong
Contributor
0 Likes
439

The problem lies in the valus to be filled for segment MARM and MEAN.

If it is for an alternate EAN and no change to UOM, then left the EAN and category in MARM as blank but with UPDATE checked.

In the MEAN, filled in the alternate EAN

Either way, 009 or 004 - it got updated.

Hurray.