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

BAPI_MATERIAL_SAVEDATA: error Matnr is inconsistent

Former Member
0 Likes
1,973

Hi folks

I am trying to create material with details ,i am encountering the error below

T ID NUM MESSAGE

E MG 046 Field MATNR has been transferred inconsistently or is blank

I am sending correct matnr value only ,why is it showing this error ?? im not able to debug the scenario also .Its not taking me there ..

pls suggest .

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
1,425

if you are manually entering the matnr check if you are sending the same number with padded zeros in the front into all the structures marc mara mbew etc....

Read only

Former Member
0 Likes
1,425

HI

I am testing it directly through se37 .I am only passing header and mara data to create material .ys ,am using matnr at only one place ,tats the header .HEADDATA

Read only

0 Likes
1,425

search SCN with the BAPI name you will find many examples.. use that code and test ur scenario....

J@Y