Fonction SAP BAPI_GET_EVENTTYPE_FOR_DEVPLAN - Determine Business Event Types Using Development Plan

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BEGIN_DATE BAPIDATE-BEGDA D 8 X Start date of selection period
CHECK_EVENT_OFFERS BAPIETDAT-CHILD C 1 X Check whether event catalog exists for business event type
DEVPLAN_ID BAPIDEVPLAN-DEVID N 8 Development plan number
END_DATE BAPIDATE-ENDDA D 8 X End Date of Selection Period
PLVAR BAPIETDAT-PLVAR C 2 Plan version

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Message return structure

Paramètre Reférence Long. Facultatif Description
EVENTTYPE_LIST BAPIETDAT 79 Business event types

Functionality
You can use this method to find business event types using thedevelopment plans defined for them as search criteria.

Example
You enter a development plan. The search finds all business event typesthat have been related with the development plan.

Notes
Development plans are related as object type 'B' with business eventtypes (via relationship A044 "consists of").

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
    This parameter specifies the start date of the selection period forwhich data is to be read.

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

    Description
    You can find information on what is meant by the business event catalogin the relevant data element documentation:
    business event catalog

    Description
    This parameter contains the ID of the development plan.

    Description
    This parameter specifies the end date of the selection period for whichdata is to be read.

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

    Description
    You can find information on what is meant by the plan version in thedata element documentation:
    Plan version

    Value range
    Dictionary data type CHAR (field length 2)

    Description
    This table contains the following data on business event types:

    • Plan version

    • Business event type ID

    • Business event type name (abbreviation)

    • Business event type name (long text)

    • Validity period of business event type (start and end dates)

    • Existence of a business event catalog (containing information on
    • whether event dates have already been scheduled)