Menu

SAP Function Module WB2_PROFIT_SIMULATION

Trading Contract: Profit Simulation

The Function Module WB2_PROFIT_SIMULATION (Trading Contract: Profit Simulation) is a standard Function Module in SAP ERP and is part of the function group WB2_PROFIT_SIM_CALC within the package WB2B.

Technical Information

Function Module WB2_PROFIT_SIMULATION
Short Text Trading Contract: Profit Simulation
Function Group WB2_PROFIT_SIM_CALC
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
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_PROFIT_CALC TYPE WB2_PROFIT_SIMULATION Trading contract: Delivery structure profit calculation

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 Currency type
I_READ_EX TYPE WB2_RATE_INDEX '0' Exchange Rate Index for Profit Simulation
I_SIM_INDEX TYPE WB2_SIM_INDEX '0' Simulation index

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_T_ERROR LIKE WB2_ERROR Trading Contract: Error Handling
T_CALP LIKE CALP Sales Price Calculation: Item in a Price Calculation
T_EKOMV LIKE KOMV Pricing Communications-Condition Record
T_KOMWBHD LIKE KOMWBHD Trading Contract: Communication Structure, Commercial Data
T_KOMWBHI LIKE KOMWBHI Trading Contract: Communication Structure, Item Data
T_KOMWBHK LIKE KOMWBHK Trading Contract: Communication Structure Header Data
T_KOMWBHP LIKE KOMWBHP Trading contract: Communication structure partner allocation
T_TB2BJ LIKE TB2BJ Trading Contract: Item Categories
T_VKOMV LIKE KOMV Pricing Communications-Condition Record

Exceptions

This function module does not define any Exceptions.