Fonction SAP WB2_PROFIT_SIMULATION - Trading Contract: Profit Simulation

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_READ_DB C C 0 ' ' X
I_TCTYP TCTYP C 4 X Trading Contract: Trading contract type
I_TKONN TKONN C 10 Trading contract: Trading contract number
I_TPOSN TPOSN N 6 X Trading Contract: Item number

Paramètre Reférence Type Long. Description
E_PROFIT_CALC WB2_PROFIT_SIMULATION u 260 Trading contract: Delivery structure profit calculation

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_BASE_CURR WAERK C 5 X Currency of sales document
I_BASE_RATE UKURS_CURR P 5 X Exchange rate
I_BASE_TYPE KURST_CURR C 4 X Currency type
I_READ_EX WB2_RATE_INDEX C 1 '0' X Exchange Rate Index for Profit Simulation
I_SIM_INDEX WB2_SIM_INDEX C 1 '0' X Simulation index

Paramètre Reférence Long. Facultatif Description
E_T_ERROR WB2_ERROR 246 X Trading Contract: Error Handling
T_CALP CALP 831 X Sales Price Calculation: Item in a Price Calculation
T_EKOMV KOMV 360 X Pricing Communications-Condition Record
T_KOMWBHD KOMWBHD 1156 X Trading Contract: Communication Structure, Commercial Data
T_KOMWBHI KOMWBHI 1744 X Trading Contract: Communication Structure, Item Data
T_KOMWBHK KOMWBHK 1539 X Trading Contract: Communication Structure Header Data
T_KOMWBHP KOMWBHP 376 X Trading contract: Communication structure partner allocation
T_TB2BJ TB2BJ 35 X Trading Contract: Item Categories
T_VKOMV KOMV 360 X Pricing Communications-Condition Record

Exception Description
ASSOCIATION_DOCUMENT_NOT_FOUND
CUSTOMIZING_NOT_FOUND
INTERNAL_ERROR

Functionality
This function module is used in the Profit Simulation for TradingContracts and reporting function WB29_PROFIT.