Fonction SAP BAPI_BUS_EVENT_INFO - Read Business Event Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BEGIN_DATE BAPIDATE-BEGDA D 8 X Start date
END_DATE BAPIDATE-ENDDA D 8 X End date
EVENTTYPEID BAPIETDAT-ETYID N 8 X Business event type ID
LANGUAGE BAPIEVDAT-EVLNG C 1 X Business event language
OBJID BAPIEVDAT-EVEID N 8 Business event ID
PLVAR BAPIEVDAT-PLVAR C 2 Plan version

Paramètre Reférence Type Long. Description
EVENT_COST BAPICOST u 60 Business event costs
EVENT_ORGAN BAPIORGA u 115 Organizer
EVENT_PRICE BAPIPRICE u 44 Business event price
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Paramètre Reférence Long. Facultatif Description
EVENT_DESC BAPIDESC 123 X Description
EVENT_QUALI BAPIQUALIF 78 X Qualifications imparted
EVENT_RESOU BAPIRESOU 176 X Resources

Exception Description
NO_ACTIVE_PLVAR There is no active plan version
NO_ROOT_FOUND The business event specified does not exist
UNKNOWN_EXCEPTION Other error

Functionality
You can use this method to retrieve various types of information abouta business event. This information mightinclude:
a description of the content of the business event
the business event organizer
the business event costs and price
the resources that have been reserved, and so on.

Description
This structure contains the following data on the cost center of abusiness event:
Controlling area
Cost center
Name of cost center
Validity start date
Validity end date

Description
This structure contains the following data on the organizer:
Organizer type
Organizer
Abbreviation of organizational assignment (abbreviation oforganizational unit to which organizer is assigned)
Organizer (name)
Start date
End date

Description
This structure contains the following data on the business event price:
internal price
currency key of internal price
external price
currency key of external price
validity start date
validity end date

Value range
In the event of an error, this structure contains the followinginformation, for example:

  • 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 at 'S', and
    the structure 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
    This parameter contains the object ID of a business event type.

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

    Description
    You can access information on the business event language in thecorresponding data element documentation:
    business event language

    Value range
    Dictionary data type: LANG (field length 1)
    You can access information on what is meant by a business event IDin the corresponding data element documentation:
    business event ID

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

    Description
    You can access information on what is meant by a plan version in therelevant data element documentation:
    plan version

    Value range
    Dictionary data type: CHAR (field length 2)

    Description
    This table contains the following data on a business event:
    Extended business event text
    Business event contents
    Notes

    MEANING&
    This table contains the following data on required and impartedqualifications:
    Object type of qualification
    Object ID of qualification
    Qualification abbreviation
    Qualification name
    Validity start date of qualification
    Validity end date of qualification

    Description
    This table contains the following data on a business event resourcelist:
    Object type
    Object ID of related object
    Object abbreviation
    Name of resource
    Validity start date of resource
    Validity end date of resource
    Start time
    End time
    Object ID
    Name of resource type
    Resource type indicator: material, room, instructor, other resource