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

Can I use BAPI_MATERIAL_MAINTAINDATA_RT to create standard material?

Former Member
0 Likes
1,083

Hi Friends,

I was looking for a BAPI/RFC to create Material Basic, Extended, Classification and Inforecord Data in ECC 6.0 and I found a standard BAPI - BAPI_MATERIAL_SAVEREPLICA to create/update material, but this BAPI cannot create classfication data and inforecord data. And there is another BAPI related to Retail i.e. BAPI_MATERIAL_MAINTAINDATA_RT to create material master data. This BAPI has parameters to pass Material Classification and Inforecord data apart from Basic & extended data. After some intial testing, am able to create Basic and Inforecord data but not Classification and extended data(plant, valuation etc) and it throws the errors like 'this plant is neither a store or distribution center' and in case of classifiaction its not showing any error but classfication view is not getting created.

Could I use this BAPI to create Meterial not related to Retail?

Please help me if anyone of you worked on this BAPI.

Regards,

Dev

Hi Friends,

I was looking for a BAPI/RFC to create Material Basic, Extended, Classification and Inforecord Data in ECC 6.0 and I found a standard BAPI - BAPI_MATERIAL_SAVEREPLICA to create/update material, but this BAPI cannot create classfication data and inforecord data. And there is another BAPI related to Retail i.e. BAPI_MATERIAL_MAINTAINDATA_RT to create material master data. This BAPI has parameters to pass Material Classification and Inforecord data apart from Basic & extended data. After some intial testing, am able to create Basic and Inforecord data but not Classification and extended data(plant, valuation etc) and it throws the errors like 'this plant is neither a store or distribution center' and in case of classifiaction its not showing any error but classfication view is not getting created.

Could I use this BAPI to create Meterial not related to Retail?

Please help me if anyone of you worked on this BAPI.

Regards,

Dev

3 REPLIES 3
Read only

Former Member
0 Likes
770

Could anyone help me on this.

Regards,

Dev

Read only

0 Likes
770

hi,

you can try this bapi:

BAPI_OBJCL_GETDETAIL

Thanks

Sun

Read only

Former Member
0 Likes
770

I am not sure about that BAPI but I would try BAPI_MATERIAL_SAVEDATA. I am not 100% sure on the location of the '_' but those are the words in the BAPI. I am using it now and, if memory serves me correctly, it will do what you ask.