Fonction SAP BAPI_PREBOOK_ATTENDANCE - Prebook attendance

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ATTENDEEID BAPIATNAME-PARID C 45 Attendee key (personnel number etc.)
ATTENDEETYPE BAPIATNAME-PATYP C 2 Participant Type
BEGIN_DATE BAPIDATE-BEGDA D 8 X Start date of prebook period
END_DATE BAPIDATE-ENDDA D 8 X End date of prebook period
EVENTTYPEID BAPIETDAT-ETYID N 8 Key of business event type
PLVAR BAPIATDAT-PLVAR C 2 Plan version
PREBOOK_COUNT BAPIATDAT-MANZL P 2 X Number of requested bookings
PREBOOK_LANGUAGE BAPIEVDAT-EVLNG C 1 X Requested language of prebooking
PREBOOK_LOCATION BAPILOCDAT-LOCID N 8 X Requested location of prebooking
PREBOOK_PRIORITY BAPIATDAT-PRIOX C 2 X Booking priority of prebooking

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

Functionality
You can use this method to prebook attendance for business event types.

Further information
For more information on this, refer to the online Help and to the"Application Help" under 'Prebook attendance'.

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
    This field contains the object ID of an attendee. In the case ofattendee type P (employee) this is the personnel number.

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

    Description
    The field contains the attendee type of the attendee you are booking.For more information on attendee types, refer to the relevant dataelement documentation:
    attendee type

    Description
    The prebooking period specifies the period during which prebookings canbe created for the business event type.

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

    Description
    The prebooking period specifies the period during which prebookings canbe created for the business event type.

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

    Description
    This field contains the ID number of the business event type for whichthe attendee is to be booked.

    Description
    For information on the meaning of plan versions, refer to the relevantdata element documentation:
    plan version.

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

    Description
    This field contains the number of prebookings required for thespecified business event type. In the case of group attendees, you canenter the required number of prebookings for the group (organizationalunit, company etc.)

    Description
    This field contains the requested language of the prebooking. If youspecify a language for the prebooking, only dates scheduled for eventsheld in the specified langauge are relevant for the prebooking.

    Description
    This field contains the requested location of the prebooking. If youspecify a location for the prebooking, only dates scheduled for eventsheld at this location are relevant for the prebooking.

    Description
    This field contains the booking priority assigned to the prebooking.Assigning a priority is an option you can use for bookings andprebookings. For more information on booking priorities, refer to therelevant data element documentation:
    booking priority