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

Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

Former Member
0 Likes
710

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
Read only

Former Member
0 Likes
565

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

Read only

0 Likes
565

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.

Read only

Former Member
0 Likes
565

hii

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

[ BAPI_MATERIAL_SAVEDATA |]

regards

twinkal