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.