SAP ABAP Data Element SWEEVTFBCD (Funct. module for determining the event ID: Change document)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWE (Package) Business Workflow: Events
Basic Data
Data Element SWEEVTFBCD
Short Description Funct. module for determining the event ID: Change document  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FUNCNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table TFDIR    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short  
Medium 20 FM for event ID 
Long  
Heading  
Documentation

Definition

The function module is used for determining event IDs from the data passed by the change document. An event ID can be entered with the linkage. This event ID is passed to this function module at runtime. Within the module, you can change the event ID, add more events or delete the event ID dynamically. The interface therefore has the event ID as output parameter and the change data to be saved as input parameter.

The interface of the function module is described using the following templates:

  • SWE_CD_TEMPLATE_EVENT_FB
  • SWE_CD_TEMPLATE_EVENT_FB_2

Use

The function module SWE_CD_TEMPLATE_EVENT_FB is used to describe the interface for handling BOR objects. This is still supported for reasons of compatibility.

Since BOR objects and classes are supported, a new version of the interface has been defined. This is described using the function module SWE_CD_TEMPLATE_EVENT_FB_2. This interface enables processing of both BOR objects and classes.

The new interface should be used for new modules, but existing modules can still be used providing no data is lost.

Dependencies

The change data that can be used to make decisions about events to be triggered is also passed to the function modules. However, this data cannot be manipulated, since the determination of further events for the change document may be dependent on this data.

Example

History
Last changed by/on SAP  20110908 
SAP Release Created in