Fonction SAP BAPI_BUS_EVENT_INIT - Read default values for creation of business event catalog

Paramètre Reférence Type Long. Description
BEGIN_DATE BAPIDATE-BEGDA D 8 Start date of selection period
END_DATE BAPIDATE-ENDDA D 8 End date of selection period
LANGUAGE BAPIEVDAT-EVLNG C 1 Business event language (key)
LOCATION_ID BAPIEVDAT-LOCID N 8 Business event location ID
PLAN_VERSION BAPIEVDAT-PLVAR C 2 Plan version
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Exception Description
NO_ACTIVE_PLVAR There is no active plan version
UNKNOWN_EXCEPTION Other error

Functionality
You can use this method to display the default values for selectingbusiness event dates. The criteria used torestrict the selection of business event dates are as follows:
plan version
business event language
business event location
start date of selection period
end date of selection period
RESET N1.
The default values for these criteria are as follows:
Active plan version
Logon language
Field blank
Current date (today's date)
Current date + preview period (from Training and Event ManagementCustomizing)

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
For information on what is meant by the business event language, referto the data element documentation:
business event language

Value range
Dictionary data type: LANG (field length 1)

Description
You can find information on what is meant by the business eventlocation ID in the data element documentation:
business event location ID

Value range
Dictionary data type NUMC (field length 8)

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

Value range
Dictionary data type CHAR (field length 2)

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.