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

problem with BAPI_MATERIAL_SAVEDATA ...!

Former Member
0 Likes
570

Hi All,

I am using BAPI_MATERIAL_SAVEDATA to extend the materials from on plant to another plant. the program is working fine for first time when i am extending from source plant (ex. 1000) to destination plant (eg.2000) . but the problem is when i am extending from another plant like 3000 to 2000 , it is not trowing the error stating that it has been already extended instead of that it is allowing to extend which is not a right case.

Please suggest , any additional parameters i need to pass to restrict this one.

Regards,

Suresh 

1 ACCEPTED SOLUTION
Read only

former_member183529
Participant
0 Likes
535

Good afternoon Suresh,

you have to confirm if the plant you are extending the material has the material. if it does not have the material , you should not have that error message. again hope while you were extending the material you did not change the name of the material

3 REPLIES 3
Read only

Former Member
0 Likes
535

Please reply.

Read only

JL23
Active Contributor
0 Likes
535

Do you do any check in your program to see if the material already exists.

If not- do it

if yes, explain  how you react on this circumstance.

Read only

former_member183529
Participant
0 Likes
536

Good afternoon Suresh,

you have to confirm if the plant you are extending the material has the material. if it does not have the material , you should not have that error message. again hope while you were extending the material you did not change the name of the material