Menu

SAP Function Module WB2_CALCULATE_PROFIT35

The Function Module WB2_CALCULATE_PROFIT35 () is a standard Function Module in SAP ERP and is part of the function group WB2_PROFIT_SIM_CALC_FUNC within the package WB2B.

Technical Information

Function Module WB2_CALCULATE_PROFIT35
Short Text
Function Group WB2_PROFIT_SIM_CALC_FUNC
Package WB2B
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ASSOCIATION TYPE C flag, 'M', 'V' or Blank
ASSOC_FLAG TYPE C 'A':associated or 'R':received
I_READ_EX TYPE C '1' Index to read exchange rate
I_TCTYP TYPE TCTYP Trading contract item category
I_TKONN TYPE TKONN Trading contract number
I_TPOSN TYPE TPOSN Trading contract item number

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_REF_FIELD TYPE WAERS Currency Key
E_VALUE TYPE WB2B_WERTV8 Net value for Open status value

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_BASE_CURR TYPE WAERK SD document currency
I_BASE_RATE TYPE UKURS_CURR Exchange rate
I_BASE_TYPE TYPE KURST_CURR Exchange rate type

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
A_KOMWBHD LIKE KOMWBHD Trading Contract: Communication Structure, Commercial Data
A_KOMWBHI LIKE KOMWBHI Trading Contract: Communication Structure, Item Data
T_TB2BJ LIKE TB2BJ Trading Contract: Item Categories
T_TPROF_SIM_TYPE LIKE TPROF_SIM_TYPE Profit Simulation Type

Exceptions

This function module does not define any Exceptions.