Menu

SAP Function Module ASSORTMENT_WHICH_SEGMENTS

ermitteln, welche Stammsegmente je Werk bzw. Kunde u. Matnr anzulegen sind

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 ASSORTMENT_WHICH_SEGMENTS (ermitteln, welche Stammsegmente je Werk bzw. Kunde u. Matnr anzulegen sind) is a standard Function Module in SAP ERP and is part of the function group WSO1 within the package WSOR.

Technical Information

Function Module ASSORTMENT_WHICH_SEGMENTS
Short Text ermitteln, welche Stammsegmente je Werk bzw. Kunde u. Matnr anzulegen sind
Function Group WSO1
Package WSOR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ASORT LIKE WRS1-ASORT Sortiment (alternativ zu Werk)
CHAR_OF_USER LIKE WTDY-TYP01 SPACE siehe Quelltext (bei Verwendung)
HIER_AT_ALL LIKE WTDY-TYP01 'X' Hierarchiewertartikel überall listen
MATKL LIKE MARA-MATKL Warengruppe
MATNR LIKE MARC-MATNR Materialnummer
MTART LIKE MARA-MTART Materialart
SELECT_USERS LIKE WTDY-TYP01 SPACE alle User zum Sortiment immer lesen
WERKS LIKE MARC-WERKS Betriebsnummer (Werk)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MARC_MUST_BE LIKE WTDY-TYP01 MARC muß angelegt werden
MBEW_MUST_BE LIKE WTDY-TYP01 MBEW muß angelegt werden
MVKE_MUST_BE LIKE WTDY-TYP01 MVKW muß angelegt werden
VALUE_MATNR LIKE MARA-MATNR Wertartikel-Nummer, falls nicht artikelgenau
WLK1_MUST_BE LIKE WTDY-TYP01 WLK1 muß angelegt werden
WLK2_MUST_BE LIKE WTDY-TYP01 WLK2 muß angelegt werden

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MBEW_TABS LIKE WINT_BWTAR enthält alle notwendigen BWTAR für dieses Werk

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
MATKL_MUST_BE WaGru darf nur bei Hier.-Wertart. leer sein
NO_WERKS_OR_ASORT weder Werk noch Kunde vorgegeben
WRONG_ASORT Kundennummer falsch
WRONG_WERKS Werksnummer falsch