The Function Module LOCATION_DEPARTMENTS_WITH_TEXT (Abteilungen eines Werks einschl. Bezeichnung) is a standard Function Module in SAP ERP and is part of the function group WR02 within the package WFIL.
Function Module | LOCATION_DEPARTMENTS_WITH_TEXT |
Short Text | Abteilungen eines Werks einschl. 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_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_DEPARTMENTS | LIKE | BAPISITEDEP | Abteilungen des Werkes |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
INVALID_PLANT | Weder Werks- noch Kundennr. angegeben |
NO_DESCRIBTION_FOUND | Keine Abteilungsbezeichnungen gefunden |
PLANT_HAS_NO_CUSTOMER | Werk hat keinen Kunden zugeordnet |
PLANT_HAS_NO_DEPARTMENTS | Es wurden keine Abteilungen gefunden |
PLANT_IS_NO_RETAIL_SITE | Werk ist kein Handelsbetrieb |
PLANT_NOT_FOUND | Werk nicht vorhanden |