cancel
Showing results for 
Search instead for 
Did you mean: 

Change materials standard price via BAPI

kiranmouliyadav
Explorer
0 Kudos

Hi,

I have been trying to change standard price of materials

(MR21
) with BAPI_MATERIAL_SAVEDATA and the return message says, "Material cannot be changed as no maintainable data transferred". And for the same inputs, the BAPI is able to create the standard price for new valuation areas and types which are not in table MBEW.

So, I see this message only for changing the standard price for existing valuation area and type not for creation scenario.

I have also tried to test a few other BAPI's like BAPI_MATVAL_PRICE_CHANGE,
BAPI_MATERIAL_SAVEREPLICA,
CKML_UPDATE_MATERIAL_PRICE.

Please suggest me a solution for changing the standard price via BAPI.

Thanks in advance! 🙂
Kiran Mouli

Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

BAPI_MATERIAL_SAVEDATA is not MR21, rather MM01 and MM02. And now try MM02 to change a standard price, it is not possible, the field is grey and protected from changes.

What was the problem with the other BAPIs? "I tried" is not telling much more than you did not succeed, but it is not telling why.

MR21 BAPI site:sap.com as search term in Google returns 148 results, did you bother to look into it?