Fonction SAP BAPI_SEARCH_EVENTTYPE_NAME - Find Business Event Types Using String in Object Text

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
END_DATE BAPIDATE-ENDDA D 8 X End date of selection period
EVENTTYPE_SHORT BAPIETDAT-ETSHT C 12 X Business event type abbreviation
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
This method enables you to search for business event types usingelements of the name (text strings) that are stored in the Objectinfotype (1000) as the business event long or short text.

Example
You are searching for a business event type with the short name:Economics English I', and the long text: 'Business English forBeginners'. You could enter as a text term 'Economics', 'Business', or'English' and system finds the business event type.

Notes
You must use a wildcard (*) if you enter incomplete names or strings toindicate to the system that the search term is only part of the fulltext. If you initate a generic search (for example, English*), thesystem lists all event types that contain the string entered.

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 parameter specifies the start date of the selection period forwhich data should 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 specifies the end date of the selection period for whichdata should be read.

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

    Description
    This field contains the business event type short text.

    Description
    For more information on plan versions, refer to the relevant dataelement 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 the business event type (start and end dates)

    • Existence of a business event catalog (information as to whether dates
    • have been scheduled for the event type).