Fonction SAP BAPI_RETAILSITE_GETMATGROUPS - Material groups for a plant (retail plant) incl. description

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMER BAPIPLADET-CUSTOMER C 10 X Customer number
DEPARTMENT BAPISITEDEP-DEPARTMENT_NO C 4 X Department for which material groups are determined
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
MERCHGROUPS BAPISITEMGRP 43 Material groups for the plant/plant department

Functionality
This function module determines all material groups for a retail plantor the material groups for a department in a retail plant. The plantnumber must be transferred. As the material groups of a retail plantcan be assigned via the customer, the customer number of the retailplant can also be transferred. The system then does not need todetermine the customer number via the plant table.
The system displays all material groups of the retail plant, includingdescriptions, or the material groups of the particular department ofthe retail plant.

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
Department of a site for which the assigned material groups should bedetermined.

Description
Key that uniquely identifies a site.

Description
Table of the material groups that are to be determined for the site anddepartment you entered.