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

Create material master using BAPI .(Mat. internal number range)

Former Member
0 Likes
1,556

I would like to create the material using BAPI. (Material is internal number range).

I am trying to create the material using BAPI BAPI_MATERIAL_SAVEDATA, but material number is required field as per BAPI documentation .

Can you please suggest me the function modules or BAPI to load materials which are in internal number range.

Regards

Badari

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
664

Hi ,

Use FM 'MATERIAL_NUMBER_GET_NEXT' to get next available material #.

You can use that material # in BAPI 'BAPI_MATERIAL_SAVEDATA'.

Cheers,

Vikram

1 REPLY 1
Read only

Former Member
0 Likes
665

Hi ,

Use FM 'MATERIAL_NUMBER_GET_NEXT' to get next available material #.

You can use that material # in BAPI 'BAPI_MATERIAL_SAVEDATA'.

Cheers,

Vikram