Fonction SAP BAPI_RETAILSITE_GETDEPARTMENTS - Determine departments of a plant (including description)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMER BAPIPLADET-CUSTOMER C 10 X Customer number
PLANT BAPIPLADET-PLANT C 4 Plant number

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return value

Paramètre Reférence Long. Facultatif Description
DEPARTMENTS BAPISITEDEP 34 Departments

Functionality
This function module determines the departments that belong to a plantor customer. The plant number must be entered. The departments in aretail plant are dependent on the plant's customer number. If thecustomer number of the retail plant is transferred as well, the systemdoes not need to determine it via the plant table.
The system displays all departments of the retail plant including thierdescriptions.

Description
Return structure in which the system copies a message when, forexample, an error occurs or a note follows.

Description
Key that the system uses to uniquely identify a site as a customer.

Description
Key that uniquely identifies a site.

Description
Table in which all the departments are returned that are determined forthe site you entered.