Ansicht
Dokumentation
BAPI_COSTESTIMATE_UPDATE_PRICE - Update of Prices in Material Master
RFUMSV00 - Advance Return for Tax on Sales/Purchases rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
You use the method BAPI_COSTESTIMATE_UPDATE_PRICE to update the results of multiple cost estimates to the material master based on selection criteria.
Only one of the material master prices is updated:
- Planned price 1 - 3
- Commercial price 1 - 3
- Tax price 1 - 3
You can use the following parameters as selection criteria:
- IN_MATERIALS (material)
- IN_COMP_CODE (company code)
- IN_PLANTS (plant)
- COSTINGRUN (costing run)
- COSTINGRUN_DATE (costing run date)
All selection criteria are optional. If you don't specify any selection criteria, all standard cost estimates with status KA are selected.
Required Parameters
- CSTG_VRNT (costing variant)
- VALID_FROM (costing date valid from)
- VERSION (costing version)
- PRICE_FIELD (price field)
If the price field is a planned price, the field PLANNED_PRICE_ADDITIONS must be filled as well.
If the indicator CONSIDER_MATERIAL_COMPONENTS is not selected, (normal case), the raw materials are not updated.
The costing variant/costing type controls whether the following prices are updated:
- Commercial price
- Tax price
- Other price except standard price
This method locks selected materials and associated cost estimates.
Example
Notes
Further information
Test program SAPBAPITESTUPDATEPRICES provides an example scenario.
The functionality of these interfaces corresponds to the functionality Other Prices of CK24 Price Update.
More information is available in transaction CK24 under Help → Application Help.
Parameters
CONSIDER_MATERIAL_COMPONENTSCOSTINGRUN
COSTINGRUN_DATE
CSTG_VRNT
IN_COMP_CODE
IN_MATERIAL
IN_PLANT
OUT_LIST
PLANNED_PRICE_ADDITIONS
PRICE_FIELD
RETURN
TESTRUN
VALID_FROM
VERSION
Exceptions
Function Group
2044BAL Application Log Documentation CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 3938 Date: 20240523 Time: 115844 sap01-206 ( 44 ms )