Menu

SAP Function Module WB2_CALCULATE_PROFIT76

Estimated profit calculation

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module WB2_CALCULATE_PROFIT76 (Estimated profit calculation) is a standard Function Module in SAP ERP and is part of the function group WB2_PROFIT_SIM_CALC_FUNC2 within the package WB2B.

Technical Information

Function Module WB2_CALCULATE_PROFIT76
Short Text Estimated profit calculation
Function Group WB2_PROFIT_SIM_CALC_FUNC2
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 '0' Exchange rate index to simulate
I_SIDE TYPE WB2_SIDE Side
I_SIM_INDEX TYPE C '0' Simulation pattern
I_TCTYP TYPE TCTYP Trading contract: Trading contract type
I_TKONN TYPE TKONN Trading contract: 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 General value in status display

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 Currency of sales document
I_BASE_RATE TYPE UKURS_CURR Exchange rate
I_BASE_TYPE TYPE KURST_CURR 'M' Currency type

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
A_EKOMV LIKE KOMV Pricing Communications-Condition Record
A_KOMWBHD LIKE KOMWBHD Trading Contract: Communication structure for business data
A_KOMWBHI LIKE KOMWBHI Trading Contract: Communication structure for item data
A_KOMWBHK LIKE KOMWBHK Trading Contract: Communication Structure Header Data
A_VKOMV LIKE KOMV Pricing Communications-Condition Record
T_CALP LIKE CALP Sales price calculation
T_EKOMV LIKE KOMV Pricing Communication structure
T_KOMEXP LIKE KOMEXP Trading Contract: IO structure of planned cost
T_KOMWBHD LIKE KOMWBHD Trading Contract: Communication structure for business data
T_KOMWBHI LIKE KOMWBHI Trading Contract: Communication structure for item data
T_KOMWBHK LIKE KOMWBHK Trading Contract: Communication structure for header data
T_TB2BJ LIKE TB2BJ Trading Contract: Item category
T_TPROF_SIM_TYPE LIKE TPROF_SIM_TYPE Profit simulation type
T_VKOMV LIKE KOMV Pricing Communication structure
T_WBASSOC LIKE WBASSOC Global Trade: Link table

Exceptions

This function module does not define any Exceptions.