Menu

SAP Function Module WB2_CALCULATE_QUAN_FOR_ASSOC

N2M: Umrechnung einer Mengeneinheit

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module WB2_CALCULATE_QUAN_FOR_ASSOC (N2M: Umrechnung einer Mengeneinheit) is a standard Function Module in SAP ERP and is part of the function group WB2_N2M_CONVERSION within the package WB2BPOSTYPMNGT.

Technical Information

Function Module WB2_CALCULATE_QUAN_FOR_ASSOC
Short Text N2M: Umrechnung einer Mengeneinheit
Function Group WB2_N2M_CONVERSION
Package WB2BPOSTYPMNGT
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_CHARGE TYPE CHARG_D Chargennummer
I_FACTOR_RELATION TYPE WB2_FACTOR_RELATION Umrechnungsfaktorbeziehungen
I_FROM_QUAN TYPE WB2_COMPLETE_QUAN umzurechnende Menge
I_FROM_UNIT TYPE MEINS Mengeneinheit der umzurechnenden Menge
I_MATNR TYPE MATNR Materialnummer
I_PORTFOLIO TYPE WB2_PORTFOLIO Global Trade: (interne) Portfolionummer
I_TO_UNIT TYPE MEINS Zielmengeneinheit
I_UMREN TYPE UMREN Umrechnungsfaktor Nenner (Belegeinheit -> BME)
I_UMREZ TYPE UMBSZ Umrechnungsfaktor Zähler (Belegeinheit -> BME)
I_WERKS TYPE WERKS_D Werk

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_CALC_QUAN TYPE WB2_COMPLETE_QUAN berechnete Menge
E_UMREN TYPE UMREN Nenner für die Umrechnung von 'from' -> 'to'
E_UMREZ TYPE UMBSZ Zähler für die Umrechnung von 'from' -> 'to'

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CONVERSION_ERROR Fehler bei der Umrechnung