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

Error - BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
523

Hi All,

I am using BAPI_MATERIAL_SAVEDATA to update standard MM tables.

Can't I update an already existing entry in the table ? Like I want to update only one field of the complete entry in MARD, is it possible?

I am asking because BAPI is throwing error : Material already exist or extended

Please help

3 REPLIES 3
Read only

Former Member
0 Likes
475

Try passing only the material no . According to the BAPI documentation :

"You use this method to create new material master data or to change existing material master data. The data on a material can be transferred for each call.

When creating material master data, you must transfer the material number, the material type, and the industry sector to the method. You must also enter a material description and its language.

When changing material master data, you need enter only the material number."

Regards,

Deepthi

Read only

0 Likes
475

I am passing the Material Number to the Headata Structure.

Apart from that, material number is no where needed.

Read only

Former Member
0 Likes
475

Solved