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 no range in BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

DEAR FRIENDS,

I am working with creation of material master with BAPI_MATERIAL_SAVEDATA. material is createing but it is taking external material no, but i have to proceed with internal number range.

can any one help me where and how to proceed for that. is the any filed that we have to pass X to make internal and external?

thanks and regards,

venkat suman.

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

Try BAPI_MATERIAL_GETINTNUMBER

link:[http://help.sap.com/saphelp_NW70EHP1/helpdata/en/c5/e4ad64453d11d189430000e829fbbd/content.htm]

Sorry the above fm is replaced by BAPI_STDMATERIAL_GETINTNUMBER & BAPI_MATERIAL_GETINTNUMBERRET

Edited by: ksd on Nov 26, 2009 4:19 PM

5 REPLIES 5

kesavadas_thekkillath
Active Contributor
0 Kudos

Try BAPI_MATERIAL_GETINTNUMBER

link:[http://help.sap.com/saphelp_NW70EHP1/helpdata/en/c5/e4ad64453d11d189430000e829fbbd/content.htm]

Sorry the above fm is replaced by BAPI_STDMATERIAL_GETINTNUMBER & BAPI_MATERIAL_GETINTNUMBERRET

Edited by: ksd on Nov 26, 2009 4:19 PM

0 Kudos

hi,

the FM BAPI_MATERIAL_SAVEDATA work with internal number range or they are other options?

regards,

venkat suman.

0 Kudos

Hi,

I think you need to change the setting for the material number is fetched by a functional consultant in SPRO-->MM.

Regards,

Aditya

0 Kudos

that was internal number range itself.

0 Kudos

Documentation of BAPI_MATERIAL_SAVEDATA.

Only external number assignment is supported for the material number

(MATERIAL). If you want the material number to be assigned

internally, the method BAPI_MATERIAL_GETINTNUMBER must first be

called. This method determines an internal number for the material

to be created. You must enter this internal number in field

HEADDATA-MATERIAL.