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: 

Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

Former Member
0 Kudos

Hi All,

I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.

but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .

Can any one have some pointers towards this ?

Thanks & Regards,

Praveen

3 REPLIES 3

Former Member
0 Kudos

Hi,

this FM BAPI_MATERIAL_SAVEDATA

is used to extend a material to another plant

for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA

also check with

BAPI_STANDARDMATERIAL_CREATE Create/Extend Material

Thanks&Regards,

Naresh

0 Kudos

Hi Pana,

The BAPI BAPI_MATERIAL_SAVEDATA can be used to create the material and i have created 10 materials numbers as per the my requirement in the development system.

BAPI is not working only when i called it from the remote system.

is there any authorization is needed to make the RFC call for creation of documents ?

Thanks ,

Praveen.

Former Member
0 Kudos

hii

you can refer code from given lin..i hope it will help you.

[ BAPI_MATERIAL_SAVEDATA |]

regards

twinkal