SAP Function WB2_CALCULATE_PROFIT31 -

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 '1' X Index to read exchange rate
I_TCTYP TCTYP C 4 X Trading contract item category
I_TKONN TKONN C 10 X 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 Net value for Open status value

Parameter Reference Type Length Default Optional Text
I_BASE_CURR WAERK C 5 X SD document currency
I_BASE_RATE UKURS_CURR P 5 X Exchange rate
I_BASE_TYPE KURST_CURR C 4 X Exchange rate type

Parameter Reference Length Optional Text
A_KOMWBHD KOMWBHD 1156 X Trading Contract: Communication Structure, Commercial Data
A_KOMWBHI KOMWBHI 1744 X Trading Contract: Communication Structure, Item Data
T_CALP CALP 831 X
T_EKOMV KOMV 360 X
T_KOMEXP KOMEXP 623 X
T_KOMWBHD KOMWBHD 1156 X
T_KOMWBHI KOMWBHI 1744 X
T_KOMWBHK KOMWBHK 1539 X
T_TB2BJ TB2BJ 35 X Trading Contract: Item Categories
T_TPROF_SIM_TYPE TPROF_SIM_TYPE 13 X Profit Simulation Type
T_VKOMV KOMV 360 X
T_WBASSOC WBASSOC 292 X

Exception Text
CALCULATION_ERROR

Functionality
This function module is not released.