Fonction SAP BAPI_ATTENDEE_PREBOOK_LIST - Read attendee prebookings

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 BAPIPREBO-LANGU C 1 X Business event language
OBJID BAPIATNAME-PARID C 45 Attendee key
OTYPE BAPIATNAME-PATYP C 2 Participant Type
PLVAR BAPIPREBO-PLVAR C 2 X Plan version

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

Paramètre Reférence Long. Facultatif Description
ATTENDEE_PREBOOK_LIST BAPIPREBO 154 Prebooking list

Exception Description
NO_ACTIVE_PLVAR There is no active plan version
NO_PREBOOK There are no prebookings
NO_ROOT You did not specify a valid attendee
UNKNOWN_EXCEPTION Other error

Functionality
You can use this method to display an attendee's prebookings forbusiness event types within a givenperiod.

Example
The attendee whose prebookings you want see for the current month is,say, a person (i.e. a company employee) with personnel number 00004711.

Notes
By specifying a language, you can restrict your selection toprebookings that were made for the business event language in question.

Description
This parameter contains the name of the attendee whose prebookings youwant displayed.

Value range
In the event of error, this structure can contain 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 '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 the business eventlanguage in the corresponding data element documentation:
    business event language

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

    Description
    You can access information on the attendee ID in the relevant dataelement documentation:
    attendee ID

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

    Description
    You can access information on what is meant by an attendee type in thecorresponding data element documentation:
    attendee type

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

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

    Value range
    Dictionary data type: CHAR (field length 2)Description
    This table contains the following information on an attendee'sprebookings:
    Plan version
    Business event type ID
    Name of business event type (abbreviation)
    Name of business event type
    Start date of prebook period
    End date of prebook period
    Planning status
    Business event language (key)
    Business event location (key)
    Name of business event location
    Priority of booking
    Booking date in document
    Number of attendees
    Attendance and cancellation fees
    Currency (key) for fees