Menu

SAP Function Module WB2_CALCULATE_PROFIT50

Unsere Literaturempfehlung

ABAP Workbench - 100 Tipps & Tricks

Es gibt 100 gute Gründe, warum Sie dieses Buch kaufen sollten. Doch die verraten wir Ihnen hier nicht. Nur so viel: Wenn Sie die ABAP Workbench als Ihr zweites Wohnzimmer begreifen, ist dieses Buch genau das richtige für Sie! Die Mini-Tutorials in diesem Buch unterstützen Sie dabei, Software in ABAP effizienter zu entwickeln. Tipps und Tricks, wie Sie sich bei der Bearbeitung von Quelltext das Leben leichter machen, wie Sie häufig wiederkehrende Programmieraufgaben automatisieren oder umständliches Vorgehen früherer Tage endlich über Bord werfen. Sie werden die ABAP Workbench in einem ganz neuen Licht erleben. Eine klare Sprache, Klick-für-Klick-Anleitungen, Zusammenfassungen und Hervorhebungen sorgen dabei für einen schnellen und unkomplizierten Lernerfolg.

Bei amazon.de ansehen →

The Function Module WB2_CALCULATE_PROFIT50 () 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_PROFIT50
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 If association exists, 'X'
I_DOCUMENT TYPE WB2_DOCUMENT Document number
I_DOC_TYPE TYPE WB2_DOC_TYPE Document type
I_ITEM TYPE WB2_N2M_ITEM Item number
I_LIKP TYPE WB2_LIKP_STAB Delivery document header data
I_LIPS TYPE WB2_LIPS_STAB Delivery document item data
I_READ_EX TYPE C '1' Indicator of exchange rate
I_VBAK TYPE WB2_VBAK_STAB Sales document header data
I_VBAP TYPE WB2_VBAP_STAB Sales document item data
I_VBRK TYPE WB2_VBRK_STAB Billing document haeder data
I_VBRP TYPE WB2_VBRP_STAB Billing document item data

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 Currency of sales document
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
T_EKKO LIKE EKKO Purchasing Document Header
T_EKPO2 LIKE EKPO Purchasing Document Item
T_KOMLFK LIKE KOMLFK Comm. Structure: Vendor Billing Doc. Header
T_KOMV LIKE KOMV Trading-Kontrakt:
T_PROFIT_ITEM LIKE WB2_PROFIT_CALC_WITH_POS2 Pricing Communications-Condition Record
T_TPROF_SIM_TYPE LIKE TPROF_SIM_TYPE Profit Simulation Type
T_XKOMLFK LIKE KOMLFK Vendor billing document: billing document items
T_XKOMLFP LIKE KOMLFP Pricing Communications-Condition Record
T_XKOMV LIKE KOMV Pricing Communications-Condition Record
XKOMV LIKE KOMV Profit Simulation Type
XKOMVE LIKE KOMV Pricing Communications-Condition Record

Exceptions

This function module does not define any Exceptions.