05-23-2017 1:12 PM
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
05-23-2017 2:50 PM
AFAIK there are no other BAPI (NB: this BAPI is available from Ehp 5) Why don't you consider a loop calling this one?
05-24-2017 9:20 AM
Loop calling will create multiple document for one plant,We want one ddocument per plant.
05-24-2017 1:32 PM
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)
05-23-2017 3:34 PM
05-23-2017 4:16 PM
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