The Function Module LOCATION_MERCHGROUPS_WITH_TEXT (Werkswarengruppen zu Werk/-abteilung mit Bezeichnung) is a standard Function Module in SAP ERP and is part of the function group WR02 within the package WFIL.
Function Module | LOCATION_MERCHGROUPS_WITH_TEXT |
Short Text | Werkswarengruppen zu Werk/-abteilung mit Bezeichnung |
Function Group | WR02 |
Package | WFIL |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_ABTNR | LIKE | WRF6-ABTNR | Abteilungsnummer | |
I_KUNNR | LIKE | T001W-KUNNR | Kundennummer des Werks | |
I_LANGU | LIKE | SY-LANGU | Sprache | |
I_WERKS | LIKE | T001W-WERKS | Werksnummer |
This function module does not define any EXPORTING parameters.
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 |
---|---|---|---|---|
O_MERCHGROUPS | LIKE | BAPISITEMGRP | Warengruppen zum Werk |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DEPARTMENT_HAS_NO_MERCHGROUPS | Abteilung sind keine Warengruppen zugeordnet |
INVALID_DEPARTMENT | Abteilung existiert nicht im Werk |
INVALID_PLANT | Werks- und Kundennummer nicht angegeben |
NO_DESCRIBTION_FOUND | Keine Bezeichnungen gefunden |
PLANT_HAS_NO_CUSTOMER | Werk hat keinen Kunden zugeordnet |
PLANT_HAS_NO_MERCHGROUPS | Es wurden keine Warengruppen gefunden |
PLANT_IS_NO_RETAIL_SITE | Werk ist keine Handelsbetrieb |
PLANT_NOT_FOUND | Werk existiert nicht |