Ansicht
Dokumentation

LOCATION_DEPARTMENTS_WITH_TEXT - NOTRANSL: Abteilungen eines Werks einschl. Bezeichnung

LOCATION_DEPARTMENTS_WITH_TEXT - NOTRANSL: Abteilungen eines Werks einschl. Bezeichnung

Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module provides the departments, including department descriptions, for a plant/customer number.

All parameters are optional, but either a plant number or a customer number must be entered. If a plant and customer number are transferred, the customer number takes priority, as the plant does not explicitly have to be read. If only the plant number is transferred, the related customer number is determined via the plant.

If the plant is not a retail plant (VLFKZ = ' '), no departments can exist.

Likewise the system cannot find any departments if no customer number is assigned to the plant.

The department description is issued in the language entered. If a language is not entered, the descriptions are given in the log-on language.

Example

Notes

Further information





Parameters

I_KUNNR
I_LANGU
I_WERKS
O_DEPARTMENTS

Exceptions

INVALID_PLANT
NO_DESCRIBTION_FOUND
PLANT_HAS_NO_CUSTOMER
PLANT_HAS_NO_DEPARTMENTS
PLANT_IS_NO_RETAIL_SITE
PLANT_NOT_FOUND

Function Group

WR02

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1292 Date: 20240523 Time: 073048     sap01-206 ( 34 ms )