SAP Function BAPI_BUS_EVENTGROUP_LIST - Read Business Event Group Hierarchy

Parameter Reference Type Length Default Optional Text
BEGIN_DATE BAPIDATE-BEGDA D 8 X Start date of selection period
END_DATE BAPIDATE-ENDDA D 8 X End date of selection period
OBJID BAPIEGDAT-EGRID N 8 X Business event group (Key)
PLVAR BAPIEGDAT-PLVAR C 2 X Plan version

Parameter Reference Type Length Text
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Parameter Reference Length Optional Text
EVENTGROUP_LIST BAPIEGDAT 100 Business event group hierarchy

Exception Text
NO_ACTIVE_PLVAR There is no active plan version
ROOT_NOT_FOUND You did not specify a valid business event group
UNKNOWN_EXCEPTION Other error
WEGID_NOT_FOUND There is no valid hierarchy definition

Functionality
You use this method to display the business event group hierarchy. Youcan specify a business event group asthe root object. All of its subordinate business event groups aredisplayed as well.
If you do not specify a business event group, all business eventgroups and their hierarchical interrelationships are displayed.

Notes
The hierarchy displayed is the one that is valid during theselection period you specify.

Value range
If errors occur, this structure can contain the following information:

  • Message type (field TYPE), Dictionary data type: CHAR (field length 1)

  • Message code (field CODE), Dictionary data type: CHAR (field length 5)

  • Message text (field MESSAGE), Dictionary data type: CHAR (field length
  • 220)
    If no errors occur, the message type is S, and the structure isotherwise empty.

    Description
    The selection period specifies the period for which data should beread.

    Value range
    Dictionary data type: DATS (field length 8)

    Description
    The selection period specifies the period for which data should beread.

    Value range
    Dictionary data type: DATS (field length 8)

    Description
    You can access information on what is meant by a business event groupin the data element documentation:
    business event group (ID)

    Value range
    Dictionary data type: NUMC (field length 8)

    Description
    You can access information on what is meant by a plan version in thedata element documentation:
    plan version

    Value range
    Dictionary data type: CHAR (field length 2)

    Description
    List of business event groups withhierarchical interrelationships.

    Value range
    Return table