Ansicht
Dokumentation

BAPI_MATERIALGROUP_GET_LIST - BAPI Read Material Group(s)/Material Group Description(s)

BAPI_MATERIALGROUP_GET_LIST - BAPI Read Material Group(s)/Material Group Description(s)

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The GetList method

  • uses the intervals or selection templates (for example 'B*') specified in the obligatory range table MaterialGroupRange to select material groups that are available in the SAP System and
  • checkswhether these material groups are available in the SAP System for individual values of the obligatory range table MaterialGroupRange.

If the MaterialGroupRange table contains no entries, then all the base material groups available in the SAP System are selected.

If the obligatory entry parameter ShortDescriptionFlag

  • is not selected, all the selected material groups MaterialGroups are displayed in the obligatory table,
  • If it is selected,
  • all the selected material groups MaterialGroups are displayed in the obligatory table, and

  • the descriptions of the selected material groups are displayed in the optional table ShortDescriptions in the language selected using the language key Language or language key ISO code LanguageIso.

Import Parameters

The following obligatory import parameters must be specified in order to select material groups and their descriptions:

  • ShortDescriptionFlag and
  • MaterialGroupRange.

If the parameter ShortDescriptionFlag is selected (using 'X'), either the language key Language or the language key ISO code LanguageIso must be entered as well.

Export Parameters

The selected material groups are displayed in the obligatory export parameter table MaterialGroups. If the material group descriptions are also requested using the ShortDescriptionFlag, these are displayed in the optional export parameter table ShortDescriptions.

Event/Error logs

The event/error logs for the method are returned in the obligatory Return export parameter.

Example

Notes

Further information





Parameters

LANGUAGE
LANGUAGEISO
MATERIALGROUPRANGE
MATERIALGROUPS
RETURN
SHORTDESCRIPTIONFLAG
SHORTDESCRIPTIONS

Exceptions

Function Group

WWG5

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3631 Date: 20240606 Time: 122303     sap01-206 ( 60 ms )