Application Development 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: 

internal number assignment material number in BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

Hi,

i´d like to create a new material with BAPI_MATERIAL_SAVEDATA. So far so good.

But i cant see, how the bapi get a new material number automatically. I only can input a material number manually. Worst case i call the function number_get_next, but i can imagine it must be possible with this great BAPI.

Is there an other solution maybe i havent seen.

Best regards

Andreas

1 REPLY 1

Former Member
0 Kudos

Hi

I think that BAPI can elaborate a material just created in the system, u should try to use BAPI_MATERIAL_SAVEREPLICA

Max