Fonction SAP BAPI_SALESORDSTCK_PRICE_CHANGE - Material Price Change

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MATERIAL BAPI_MATVAL_KEY-MATERIAL C 18 Material Number
MATERIAL_EVG BAPIMGVMATNR_COPY u 82 X Long Material Number
PRICEDATE BAPI_MATVAL_PRICEDATE u 30 Price Change Date
SDDOCUMENTITEM BAPI_MATVAL_KEY-ITM_NUMBER N 6 Item Number of the SD Document
SDDOCUMENTNUMBER BAPI_MATVAL_KEY-SD_DOC C 10 Sales and Distribution Document Number
VALUATIONAREA BAPI_MATVAL_KEY-VAL_AREA C 4 Valuation Area
VALUATIONTYPE BAPI_MATVAL_KEY-VAL_TYPE C 10 Valuation Type

Paramètre Reférence Type Long. Description
PRICECHANGEDOCUMENT BAPI_PRICECHANGE_DOCUMENT u 14 Material Price Change Document

Paramètre Reférence Long. Facultatif Description
PRICES BAPI_MATVAL_PRICES 26 Material Prices
RETURN BAPIRET2 548 Return Parameters

Functionality
You use this BAPI to change the prices of valuated sales order stocks.
If stock exists, a revaluation posting will be created.

Description
Document number for price change document

Description
Material number

Description
Parameter for the long material number.
You can use this parameter to transfer long material numbers up to amaximum length of 40 characters.
If you want to use this parameter, you have to activate the switch forbusiness function LAMA (long material number) in the system.
Business function LAMA can be obtained as part of the business functionset DIMP.

Value range
None

Default
None

Description
Structure with fiscal year, posting periods and date for the pricedetermination (Fields ..._SRC) and for posting price changes (remainingfields).

Description
Sales document item for valuated sales order stock.

Description
Sales document number for valuated sales order stock.

Description
Valuation area

Description
Valuation type

Description
This table contains the new material prices. If the material ledger isactivated, the prices can be changed in all currencies and valuationsmaintained in the material ledger.

Description
Return table with the messages generated from the BAPI