Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>MaterialGroup



Index

MaterialGroup

MaterialGroup


The Business object Material group is a grouping together of
goods and services on the basis of their charcteristics.

Structure

A material group can be subdivided according to retail site so that the the properties of the material groups can be kept on this
organisational level.

Example


  • Ladies' fashion

  • Office equipment

  • Beverages

  • Maintenance work

  • 11-Dec-2005


    Methods

    Available Methods


    • GetList : BAPI Read Material Group(s)/Material Group Description(s) [ BAPI_MATERIALGROUP_GET_LIST ]
    • SaveReplica : Distribution of Material Groups [ BAPI_MATL_GROUP_SAVEREPLICA ]

    11-Dec-2005


    GetList

    GetList


    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

  • checks whether these material groups are available in the SAPSystem 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 codeLanguageIso.
  • 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.



    11-Dec-2005


    SaveReplica

    SaveReplica


    This BAPI posts master data for material groups and reclassificationinformation that has been sent via the ALE layer using an IDOC of type "W_WRGP01", in the R/3 system.


    11-Dec-2005