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.
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 |
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) |
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 |
This function module does not define any CHANGING 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 |
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 |