Fonction SAP BAPI_ATTENDEE_CHECKEXISTENCE - Check existence of 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 BAPIATNAME-PARID C 45 Attendee key
OTYPE BAPIATNAME-PATYP C 2 Participant Type
PLVAR BAPIATDAT-PLVAR C 2 Plan version

Paramètre Reférence Type Long. Description
OBJECT_BEGIN BAPIATDAT-EVBEG D 8 Validity start date of attendee
OBJECT_END BAPIATDAT-EVEND D 8 Validity end date of attendee
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Exception Description
NOT_FOUND Attendee does not exist in time period
NO_ACTIVE_PLVAR There is no active plan version

Functionality
You can use this method to establish whether an attendee exists in therelevant attendee database (for example, a personnel number in HRmaster data or a customer in the customer master).
If you specify a start and end date, a check is carried out to see ifthe attendee exists in this period.
If the attendee does not exist in the period specified, this triggersan exception.
If the attendee exists in the period specified, the attendee's validityperiod is also displayed.

Description
The validity period specifies the period of time during which an objectexists in the system.

Description
The validity period specifies how long an object is valid or exists inthe system.

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 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 attendee ID in thecorresponding data element 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)