Fonction SAP BAPI_BUS_EVENT_LIST - Read business event dates for event type

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
LANGUAGE BAPIEVDAT-EVLNG C 1 X Business event language (key)
LOCATION_ID BAPIEVDAT-LOCID N 8 X Business event location (key)
OBJID BAPIEVDAT-ETYID N 8 Business event type (key)
PLVAR BAPIEVDAT-PLVAR C 2 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
EVENT_LIST BAPIEVDAT 133 List of business event dates

Exception Description
NO_ACTIVE_PLVAR There is no active plan version
NO_EVENTS There are no business event dates
UNKNOWN_EXCEPTION Other error

Functionality
You can use this method to display a list ofbusiness event dates for a givenbusiness event type within a givenselection period.

Example
You can display all dates scheduled for the business event type
English Courses for the current month.

Notes
By specifying a language, you can restrict your selection tobusiness event dates that are held in the language in question.
By specifying a location, you can restrict your selection tobusiness event dates that are held at the location in question.

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 in which data is 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 what is meant by business event languagein the corresponding data element documentation:
    business event language

    Value range
    Dictionary data type: LANG (field length 1)

    Description
    You can access information on what is meant by business event locationin the corresponding data element documentation:
    business event location

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

    Description
    This field contains the object ID of a business event type.

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

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

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

    Description
    This table contains the following data on business event dates of adata type:
    Plan version
    Business event ID
    Name of business event (abbreviation)
    Name of business event
    Start date of business event
    End date of business event
    Business event type ID
    Business event language (key)
    Minimum capacity
    Optimum capacity
    Maximum capacity
    Number of places available
    Number of bookings
    Number of waiting list bookings
    Business event location (key)
    Name of business event location
    Planning status
    Indicator: External business event