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: 

MR22-Bulk change the material price

mahesh_jagnani
Participant
0 Kudos

Hello,

i have a requirement where i need to update many material price based on a particular plant and company code ,this we can do via MR22 but is there any BAPI which accepts multiple material at one time to do so.

i found one

BAPI_MATVAL_DEBIT_CREDIT but it is taking one matrial at one time so my purpose is not fulfilled.

Thanks

Mahesh

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

AFAIK there are no other BAPI (NB: this BAPI is available from Ehp 5) Why don't you consider a loop calling this one?

0 Kudos

Loop calling will create multiple document for one plant,We want one ddocument per plant.

0 Kudos

MR22 - The only released BAPI BAPI_MATVAL_DEBIT_CREDIT doesn't give you this option. Go for BDC... (sad)

MR21 - You could look for 'unreleased' (ie. at your own risk) FM like PRICES_PROPOSE, PRICES_CHANGE and PRICES_POST. Perform a where-used search on your system. Or look at unreleased FM BAPI_M_REVAL_CREATEPRICECHANGE (look for 'Im Standard deaktiviert') - I no longer use those... (warning)


Lakshmipathi
Active Contributor
0 Kudos

Execute LSMW, select BAPI with Business Object BUS1016 and Method PRICECHANGE

JL23
Active Contributor
0 Kudos

you should try to be clearer, if you want to change a price then it is actually MR21 transaction.

MR22 is used to debit or credit a material by a certain amount, the moving average price is then adjusted accordingly.

Depending on the need and transaction the input is quite different, in MR21 you would enter the new valuation price

In MR22 you enter the value which is to be deducted or added to the current value