SAP Function WB2_CALCULATE_PROFIT71 - Sales price calculation

Parameter Reference Type Length Default Optional Text
ASSOCIATION C C 0 X Flag, 'M', 'V' or Blank
ASSOC_FLAG C C 0 X 'A':associated or 'R':received
I_READ_EX C C 0 '0' X Exchange rate index to simulate
I_SIDE WB2_SIDE C 1 X Side
I_SIM_INDEX C C 0 '0' X Simulation pattern
I_TCTYP TCTYP C 4 X Trading contract: Trading contract type
I_TKONN TKONN C 10 X Trading contract: Trading contract number
I_TPOSN TPOSN N 6 X Trading contract: item number

Parameter Reference Type Length Text
E_REF_FIELD WAERS C 5 Currency Key
E_VALUE WB2B_WERTV8 P 8 General value in status display

Parameter Reference Type Length Default Optional Text
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 'M' X Currency type

Parameter Reference Length Optional Text
A_EKOMV KOMV 360 X Pricing Communications-Condition Record
A_KOMWBHD KOMWBHD 1156 X Trading Contract: Communication structure for business data
A_KOMWBHI KOMWBHI 1744 X Trading Contract: Communication structure for item data
A_KOMWBHK KOMWBHK 1539 X Trading Contract: Communication Structure Header Data
A_VKOMV KOMV 360 X Pricing Communications-Condition Record
T_CALP CALP 831 X Sales price calculation
T_EKOMV KOMV 360 X Pricing Communication structure
T_KOMEXP KOMEXP 623 X Trading Contract: IO structure of planned cost
T_KOMWBHD KOMWBHD 1156 X Trading Contract: Communication structure for business data
T_KOMWBHI KOMWBHI 1744 X Trading Contract: Communication structure for item data
T_KOMWBHK KOMWBHK 1539 X Trading Contract: Communication structure for header data
T_TB2BJ TB2BJ 35 X Trading Contract: Item category
T_TPROF_SIM_TYPE TPROF_SIM_TYPE 13 X Profit simulation type
T_VKOMV KOMV 360 X Pricing Communication structure
T_WBASSOC WBASSOC 292 X Global Trade: Link table

Exception Text
CALCULATION_ERROR

Functionality
This function module is used in Trading Contracts to calculate net salesvalue.