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: 

BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

I am using 'BAPI_MATERIAL_SAVEDATA' to create new materials that have a interally assigned number range. the BAPI is asking for a material# to create. How do I create this material?

2 REPLIES 2

Former Member
0 Kudos

answered on my own

Former Member
0 Kudos

Hi,

Please read the function module documentation of BAPI_MATERIAL_SAVEDATA..

In HEADDATA you can find how to provide the internal number...

You have to call BAPI_MATERIAL_GETINTNUMBER before call the BAPI_MATERIAL_SAVEDATA.

Thanks

Naren