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

Delete EANs using BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
2,032

Hi all,

I am trying to delete Additional EAN row using BAPI_MATERIAL_SAVEDATA by populating del_flag as X

in BAPI_MEAN structure. I am passing header data & bapi_mean structure for this purpose.

But Additional EAN record is not getting deleted. Please provide solution.

5 REPLIES 5
Read only

Former Member
0 Likes
1,249

Hi

Did u used transaction_commit after this function module.

Regards,

Raghu.

Read only

Former Member
0 Likes
1,249

Yes I used commit.

Read only

Former Member
0 Likes
1,249

Hi Manasa,

Per documentation, you have to transfer data to unitsofmeasure as well in case of change.

Hope it helps.

Read only

0 Likes
1,249

Hello Sujay,

I need to change the EAN numbers for the material master. The old number should be overwritten with the new entry. I am trying to do this with the BAPI and passing data to UNITOFMEASURE and internationalartnos. but this is not working.

Kindly help.

Thanks and Regards,

Neha

Read only

Former Member
0 Likes
1,249

You can delete the main EAN by Clearing the field EAN_UPC and EAN_CAT (use UNITSOFMEASUREX).

Deletion by using the delete flag DEL_FLAG is not possible for main EAN (EAN_CAT = HE).

Edited by: Jochen Haase on May 19, 2011 11:45 AM