Fonction SAP BAPI_COMPANY_BOOK_LIST - Read all bookings of a group attendee

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 BAPICONAME-PARID C 45 Attendee key
OTYPE BAPICONAME-PATYP C 2 Participant Type
PLVAR BAPICONAME-PLVAR C 2 Plan version

Paramètre Reférence Type Long. Description
COMPANY_NAME BAPICONAME u 101 Name of group attendee
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Paramètre Reférence Long. Facultatif Description
COMPANY_BOOK_LIST BAPICODAT 260 Bookings of group attendee

Exception Description
NO_ACTIVE_PLVAR There is no active plan version
NO_EVENTS There are no business events
NO_ROOT No valid group attendee specified
UNKNOWN_EXCEPTION Other error

Functionality
You can use this method to display the
business events booked for a group attendeein a specific period.
A group attendee is, for example, a customer who can make bookings foreither unnamed attendees (N.N. bookings) or named attendees (individualbookings).

Example
Customer number 0000004711 made 3 N.N. bookings and one individualbooking for Ms Smith for January of the current year. All thesebookings are displayed (providing the selection period includes themonth of January of the current year).

Description
The structure contains the following data on a group attendee:
Attendee type
Attendee ID
Attendee (abbreviation)
Attendee (long name)

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 the attendee key in the correspondingdata element documentation:
    attendee key

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

    Description
    You can access information on the attendee type in the correspondingdata 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 data on the bookings of a groupattendee:
    Attendee type
    ID of related object
    Attendee abbreviation
    Attendee name