SAP ABAP Function Module WB2_CALCULATE_PROFIT75 (Purchase price calculation)
Hierarchy
☛
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
⤷
LO-GT-TC (Application Component) Trading Contract
⤷
WB2B (Package) Trading contract
⤷
⤷
Basic Data
| Function Module | WB2_CALCULATE_PROFIT75 | Purchase price calculation |
| Function Group | WB2_PROFIT_SIM_CALC_FUNC2 | Profit Simulation: Sample F/Ms(Standard) |
| Program Name | SAPLWB2_PROFIT_SIM_CALC_FUNC2 | |
| INCLUDE Name | LWB2_PROFIT_SIM_CALC_FUNC2U05 |
Parameters
| Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass 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 | ||
| |
E_VALUE | TYPE | WB2B_WERTV8 | General value in status display | |||
| |
E_REF_FIELD | TYPE | WAERS | Currency Key | |||
| |
I_TKONN | TYPE | TKONN | Trading contract: Trading contract number | |||
| |
I_TPOSN | TYPE | TPOSN | Trading contract: item number | |||
| |
I_TCTYP | TYPE | TCTYP | Trading contract: Trading contract type | |||
| |
I_READ_EX | TYPE | C | '0' | Exchange rate index to simulate | ||
| |
ASSOCIATION | TYPE | C | Flag, 'M', 'V' or Blank | |||
| |
ASSOC_FLAG | TYPE | C | 'A':associated or 'R':received | |||
| |
I_SIDE | TYPE | WB2_SIDE | Side | |||
| |
I_SIM_INDEX | TYPE | C | '0' | Simulation pattern | ||
| |
T_KOMWBHK | TYPE | KOMWBHK | Trading Contract: Communication structure for header data | |||
| |
T_KOMWBHI | TYPE | KOMWBHI | Trading Contract: Communication structure for item data | |||
| |
T_KOMWBHD | TYPE | KOMWBHD | Trading Contract: Communication structure for business data | |||
| |
T_KOMEXP | TYPE | KOMEXP | Trading Contract: IO structure of planned cost | |||
| |
T_CALP | TYPE | CALP | Sales price calculation | |||
| |
T_EKOMV | TYPE | KOMV | Pricing Communication structure | |||
| |
T_VKOMV | TYPE | KOMV | Pricing Communication structure | |||
| |
T_TPROF_SIM_TYPE | TYPE | TPROF_SIM_TYPE | Profit simulation type | |||
| |
A_KOMWBHK | TYPE | KOMWBHK | Trading Contract: Communication Structure Header Data | |||
| |
A_KOMWBHI | TYPE | KOMWBHI | Trading Contract: Communication structure for item data | |||
| |
A_KOMWBHD | TYPE | KOMWBHD | Trading Contract: Communication structure for business data | |||
| |
A_EKOMV | TYPE | KOMV | Pricing Communications-Condition Record | |||
| |
A_VKOMV | TYPE | KOMV | Pricing Communications-Condition Record | |||
| |
T_WBASSOC | TYPE | WBASSOC | Global Trade: Link table | |||
| |
T_TB2BJ | TYPE | TB2BJ | Trading Contract: Item category | |||
| |
CALCULATION_ERROR | TYPE | |||||
Processing Type
| Normal Function Module | |
| |
BaseXML supported |
| Update Module | Start immediately |
| Immediate Start, No Restart | |
| Start Delayed | |
| Coll.run | |
| JAVA Module Callable from ABAP | |
| Remote-Enabled JAVA Module | |
| Module Callable from JAVA |
History
| Last changed by/on | SAP | 20020219 |
| SAP Release Created in | 110 |