Fonction SAP BAPI_BUS_EVENT_LOCATION - Business event locations

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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 BAPILOCDAT-LOCID N 8 X Current business event location (key)
PLVAR BAPILOCDAT-PLVAR C 2 X Plan version

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Paramètre Reférence Long. Facultatif Description
LOCATION_LIST BAPILOCDAT 64 List of valid business event locations

Exception Description
NO_ACTIVE_PLVAR There is no active plan version
ROOT_NOT_FOUND Current business event location does not exist
UNKNOWN_EXCEPTION Other error

Functionality
You can use this method to display all availablebusiness event locations.

Value range
In the event of an error, this structure contains the followinginformation:

  • 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 there are no errors, the message type is set to S and thestructure is otherwise empty.

    Description
    The selection period specifies the period for which data should be read

    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 the business event location ID in thecorresponding data element documentation:
    business event location ID

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

    Description
    You can access information on the plan version in the correspondingdata element documentation:
    plan version

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

    Description
    This table contains the following data on valid event locations:
    Plan version
    Object type
    Business event location (ID)
    Business event location (abbreviation)
    Business event location (name)