Fonction SAP BAPI_SEARCH_EVENTTYPE_TEXT - Find Business Event Types Using String in Object Description

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
DESCRIPTION BAPIDESCIMP u 83 Object description
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 search for business event types by enteringa text string that exists in the Description infotype (1002) or thepertinent subtypes.

Example
You are looking for the business event type 'Fit in the Office'. Youenter 'Fitness' as a text term. The system finds the relevant businessevent type because the description of the event contains the textstring 'fitness'.

Notes
To utilize the text search function to the full, you should use as manykeywords in the description text as you think would be logically usedto search for the event type.

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 data selection period.

    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 table contains the following object description data from infotype1002 "Description" and subtypes:

    • Subtype numbers

    • Text of infotype 1002
    • Description
      This parameter specifies the end date of the data selection period.

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

      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).