SAP Function WB2_CALCULATE_PROFIT58 -

Parameter Reference Type Length Default Optional Text
ASSOCIATION C C 0 X If association exists, 'X'
I_DOCUMENT WB2_DOCUMENT C 18 Document number
I_DOC_TYPE WB2_DOC_TYPE C 2 Document type
I_ITEM WB2_N2M_ITEM C 10 Item number
I_LIKP WB2_LIKP_STAB h 1272 X Delivery document header data
I_LIPS WB2_LIPS_STAB h 1888 X Delivery document item data
I_READ_EX C C 0 '1' X Indicator of exchange rate
I_VBAK WB2_VBAK_STAB h 924 X Sales document header data
I_VBAP WB2_VBAP_STAB h 1616 X Sales document item data
I_VBRK WB2_VBRK_STAB h 671 X Billing document haeder data
I_VBRP WB2_VBRP_STAB h 1392 X Billing document item data

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 Currency of sales document
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_DOC_FLOW1 N2M_ITEM_QUANS 183 X
A_DOC_FLOW2 N2M_PRED_SUCC 132 X
T_DOC_FLOW1 N2M_ITEM_QUANS 183 X
T_DOC_FLOW2 N2M_PRED_SUCC 132 X
T_EKKO EKKO 765 X Purchasing Document Header
T_EKPO2 EKPO 1560 X Purchasing Document Item
T_KOMLFK KOMLFK 2036 X Comm. Structure: Vendor Billing Doc. Header
T_KOMV KOMV 360 X Pricing Communications-Condition Record
T_KOMWBGT KOMWBGT 448 X
T_PROFIT_ITEM WB2_PROFIT_CALC_WITH_POS2 288 X Trading-Kontrakt:
T_TPROF_SIM_TYPE TPROF_SIM_TYPE 13 X Profit Simulation Type
T_XKOMLFK KOMLFK 2036 X Comm. Structure: Vendor Billing Doc. Header
T_XKOMLFP KOMLFP 1377 X Vendor billing document: billing document items
T_XKOMV KOMV 360 X Pricing Communications-Condition Record
XKOMV KOMV 360 X Pricing Communications-Condition Record
XKOMVE KOMV 360 X Pricing Communications-Condition Record

Exception Text
CALCULATION_ERROR

Functionality
This function module is not released.