SAP ABAP Class CL_WER_APPLICATION (Concrete application of the Rule engine)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-MM (Application Component) Material Master
     WER_BUSINESS (Package) Business Layer
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WER_ELEMENT Implementation base for FDT adapters 20060717
Properties
Class CL_WER_APPLICATION  
Short Description Concrete application of the Rule engine    
Super Class CL_WER_ELEMENT Implementation base for FDT adapters 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WER_BUSINESS   Business Layer 
Created 20060628   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_WER_CONST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_WER_APPLICATION has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_WER_DATA_TEST 20070308 Contains all the test data
2 CL_WER_ELEMENT_TEST 20070312 Test class for elements and the rule config. app.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ATTRIBUTE_APP_COMP Constant Public Type reference (TYPE) WER_ATTRIBUTE_NAME 'APPLICATION_APP_COMPONENT' ame of the attribute APPLICATION_COMPONENT 20060929
2 C_ATTRIBUTE_DEV_PACKAGE Constant Public Type reference (TYPE) WER_ATTRIBUTE_NAME 'DEVELOPMENT_PACKAGE' Name of an attribute DEVELOPMENT PACKAGE 20080722
3 C_ATTRIBUTE_SOFT_COMP Constant Public Type reference (TYPE) WER_ATTRIBUTE_NAME 'APPLICATION_SOFT_COMPONENT' ame of the attribute SOFTWARE_COMPONENT 20060929
4 C_ATTRIBUTE_WORKITEMS Constant Public Type reference (TYPE) WER_ATTRIBUTE_NAME 'APPLICATION_WORKITEMS' ame of the attribute WORKITEMS 20060929
5 MR_FDT_APPLICATION Instance attribute Private Object reference (TYPE REF TO) IF_FDT_APPLICATION FDT: Application 20060710
6 MT_EVENTS Instance attribute Private Type reference (TYPE) WER_EVENT_TTY Event names, IDs and objects 20060713
7 MT_OUTPUTS Instance attribute Private Type reference (TYPE) WER_OUTPUT_TTY Output data tables and corresponding line type 20060914
8 MT_WORKITEMS Instance attribute Private Type reference (TYPE) WER_ITEM_SET_TTY Item sets 20060713
9 M_COPY_FROM_APPLICATION Instance attribute Private Type reference (TYPE) WER_APPLICATION_ID Element unique identifier 20120604
10 M_EVENT_IN_PROCESS Instance attribute Private Type reference (TYPE) WER_EVENT_NAME Name of the event currently in process 20061027
Methods
# Method Level Visibility Method type Description Created on
1 ADD_WORKITEM Instance method Public Method Adds a workitem for this application 20060714
2 CHECK_WORKITEM Instance method Public Method Checks if the workitem type is valid and unique 20060829
3 CHECK_WORKITEM_EXISTS Instance method Public Method Checks if a workitem is defined for the application 20060918
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20061101
5 CLONE_ELEMENTS Instance method Private Method Clones all the elements of an application 20060918
6 CONSTRUCTOR Instance method Public Constructor 20060714
7 DELETE_ELEMENTS Instance method Private Method Deletes all the elements of an application 20070109
8 DELETE_WORKITEM Instance method Public Method Deletes a workitem of this application 20060714
9 DELETE_WORKITEMS Instance method Private Method Delete all workitems of this appliaction 20060831
10 DEQUEUE_ELEMENTS Instance method Private Method Dequeues all elements of the application 20070110
11 GET_APPLICATION_COMPONENT Instance method Public Method Returns the application component of this application 20060731
12 GET_CHANGED_WORKITEMS Instance method Private Method Returns the new and deleted workitems 20060809
13 GET_COPY_FROM_APPLICATION Instance method Public Method Returns copy from application 20120604
14 GET_DEVELOPMENT_PACKAGE Instance method Public Method Returns the developmetn package of this application 20080722
15 GET_ELEMENTS Instance method Private Method Returns a list of all elements of the application 20070110
16 GET_ENQUEUED_ELEMENTS Instance method Private Method Returns a list of all elements enqueued 20070109
17 GET_EVENT Instance method Private Method Returns the event corresponding to the suppied ID 20060915
18 GET_OUTPUT Instance method Public Method Returns the data of the requested output 20060714
19 GET_SOFTWARE_COMPONENT Instance method Public Method Returns the software component of this application 20060731
20 GET_WORKITEM Instance method Private Method Returns the requested workitem entry 20060914
21 GET_WORKITEMS_META_DATA Instance method Public Method Returns the meta data of all workitems of the application 20060714
22 IS_ACTIVE Instance method Public Method Returns true if the application has been activated 20061031
23 LOAD_EVENTS Instance method Private Method Load all events data without instantiating event objects 20061101
24 ON_SET_OUTPUT Instance method Private Event handling method Handler for event IF_WER_ACTION->SET_OUTPUT 20061027
25 PROCESS_EVENT Instance method Public Method Starts the processing of the given event 20060714
26 REFRESH_WORKITEMS Instance method Private Method Refreshes the workitems from the supplied ones 20060809
27 SAVE_WORKITEMS Instance method Private Method Saves/deletes workitems of this application 20060720
28 SET_APPLICATION_COMPONENT Instance method Public Method Sets the application component of this application 20060731
29 SET_CLONE_NAME Instance method Public Method Sets the name based on a clone prefix and a given name 20070109
30 SET_COPY_FROM_APPLICATION Instance method Public Method Sets copy from application 20120604
31 SET_DEVELOPMENT_PACKAGE Instance method Public Method Sets the development package of this application 20080722
32 SET_HANDLERS Instance method Private Method Sets the event handlers 20061027
33 SET_INPUT Instance method Public Method Sets the data of the given workitem 20060714
34 SET_OUTPUT Instance method Private Method Sets the data for an output table 20060914
35 SET_SOFTWARE_COMPONENT Instance method Public Method Sets the software component of this application 20060731
Events
Class CL_WER_APPLICATION has no event.
Types
Class CL_WER_APPLICATION has no local type.
Method Signatures

Method ADD_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Workitem type 20060714
# Exception Resumable Description Created on
1 CX_WER_DATA_EXISTS The workitem already exists for this application 20060714
2 CX_WER_DATA_INVALID Invalid data supplied 20060720

Method CHECK_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Field type 20060829
# Exception Resumable Description Created on
1 CX_WER_DATA_EXISTS Unique identifier exists 20060829
2 CX_WER_DATA_INVALID Invalid data supplied 20060829

Method CHECK_WORKITEM_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WORKITEM Call by reference Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20060918
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20060918

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WER_APPLICATION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_APPLICATION has no exception.

Method CLONE_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEW_APPLICATION Call by reference Type reference (TYPE) WER_APPLICATION_ID Application identifier 20060919
# Exception Resumable Description Created on
1 CX_WER_AUTHORIZATION Authorization error 20060919
2 CX_WER_OPERATION_FAILED Value does not exist 20060919

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FDT_APPLICATION Call by reference Object reference (TYPE REF TO) IF_FDT_APPLICATION FDT: Application 20060714
2 Importing IT_WORKITEMS Call by reference Type reference (TYPE) WER_ITEM_SET_TTY Item sets 20060714

Method CONSTRUCTOR on class CL_WER_APPLICATION has no exception.

Method DELETE_ELEMENTS Signature

Method DELETE_ELEMENTS on class CL_WER_APPLICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WER_AUTHORIZATION Authorization error 20070109
2 CX_WER_OPERATION_FAILED Value does not exist 20070109

Method DELETE_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE 20060720
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20060714
2 CX_WER_OPERATION_FAILED Operation failed exception 20070110

Method DELETE_WORKITEMS Signature

Method DELETE_WORKITEMS on class CL_WER_APPLICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20071205
2 CX_WER_DATA_NOT_FOUND Value does not exist 20071205
3 CX_WER_OPERATION_FAILED Operation failed exception 20071205

Method DEQUEUE_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH CL_WER_CONST=>C_ACTIVITY_EDIT Activity 20070719
2 Returning RR_ELEMENTS Value transfer Object reference (TYPE REF TO) WER_ELEMENT_OBJECT_TTY Element Identifications (id, name, description, type) 20070110

Method DEQUEUE_ELEMENTS on class CL_WER_APPLICATION has no exception.

Method GET_APPLICATION_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMPONENT Value transfer Type reference (TYPE) AKHKOMPO Application Component ID 20060731
2 Exporting E_COMPONENT_DESCRIPTION Call by reference Type reference (TYPE) DF14T-NAME Short text 20060731

Method GET_APPLICATION_COMPONENT on class CL_WER_APPLICATION has no exception.

Method GET_CHANGED_WORKITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DELETED_WORKITEMS Call by reference Type reference (TYPE) WER_ITEM_SET_TTY Item sets 20060809
2 Exporting ET_NEW_WORKITEMS Call by reference Type reference (TYPE) WER_ITEM_SET_TTY Item sets 20060809

Method GET_CHANGED_WORKITEMS on class CL_WER_APPLICATION has no exception.

Method GET_COPY_FROM_APPLICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_APPLICATION Value transfer Type reference (TYPE) WER_APPLICATION_ID Element unique identifier 20120604

Method GET_COPY_FROM_APPLICATION on class CL_WER_APPLICATION has no exception.

Method GET_DEVELOPMENT_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20080722
2 Exporting E_PACKAGE_DESCRIPTION Call by reference Type reference (TYPE) AS4TEXT Short Description of Repository Objects 20080722

Method GET_DEVELOPMENT_PACKAGE on class CL_WER_APPLICATION has no exception.

Method GET_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_ELEMENTS Value transfer Object reference (TYPE REF TO) WER_ELEMENT_OBJECT_TTY Element Identifications (id, name, description, type) 20070110

Method GET_ELEMENTS on class CL_WER_APPLICATION has no exception.

Method GET_ENQUEUED_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH CL_WER_CONST=>C_ACTIVITY_EDIT Activity 20070201
2 Returning RR_ELEMENTS Value transfer Object reference (TYPE REF TO) WER_ELEMENT_OBJECT_TTY Element Identifications (id, name, description, type) 20070109
# Exception Resumable Description Created on
1 CX_WER_AUTHORIZATION Authorization error 20070109
2 CX_WER_OPERATION_FAILED Operation failed exception 20070109

Method GET_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EVENT Call by reference Type reference (TYPE) WER_EVENT_NAME Name of an event 20060915
2 Returning RR_EVENT Value transfer Object reference (TYPE REF TO) CL_WER_EVENT Rule engine event 20060915
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20060915

Method GET_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Workitem identified by its type 20060914
2 Returning RR_OUTPUT Value transfer Object reference (TYPE REF TO) DATA 20060914
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND The requested output does not exist 20060720

Method GET_SOFTWARE_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMPONENT Value transfer Type reference (TYPE) DLVUNIT Application Component ID 20060731
2 Exporting E_COMPONENT_DESCRIPTION Call by reference Type reference (TYPE) DF14T-NAME Short text 20060731

Method GET_SOFTWARE_COMPONENT on class CL_WER_APPLICATION has no exception.

Method GET_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RUNTIME Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_FALSE Is the rule engine being processed? 20120320
2 Importing I_WORKITEM Call by reference Type reference (TYPE) FIELD_TYPE Unique work item identifier (GUID) 20060914
3 Returning RR_WORKITEM Value transfer Object reference (TYPE REF TO) WER_ITEM_SET_STY Item set 20060914
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20060914

Method GET_WORKITEMS_META_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_META_DATA Value transfer Object reference (TYPE REF TO) WER_ITEM_FIELD_META_DATA_TTY Item field meta data objects and fields names 20060807

Method GET_WORKITEMS_META_DATA on class CL_WER_APPLICATION has no exception.

Method IS_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ACTIVE Value transfer Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20061031

Method IS_ACTIVE on class CL_WER_APPLICATION has no exception.

Method LOAD_EVENTS Signature

Method LOAD_EVENTS on class CL_WER_APPLICATION has no parameter.
Method LOAD_EVENTS on class CL_WER_APPLICATION has no exception.

Method ON_SET_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ER_DATA Call by reference Attribute reference (LIKE) 20061027
2 Importing E_TYPE Call by reference Attribute reference (LIKE) 20061027

Method ON_SET_OUTPUT on class CL_WER_APPLICATION has no exception.

Method PROCESS_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EVENT Call by reference Type reference (TYPE) WER_EVENT_NAME Name of the event to process 20060720
# Exception Resumable Description Created on
1 CX_WER_AUTHORIZATION Authorization error 20060914
2 CX_WER_DATA_NOT_FOUND Event processing fatal error 20060914
3 CX_WER_RUNTIME Rule Engine execution error 20060720

Method REFRESH_WORKITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NEW_WORKITEMS Call by reference Type reference (TYPE) WER_ITEM_SET_TTY Item sets 20060809
2 Importing I_RUNTIME Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_FALSE Is the rule engine being processed? 20120320

Method REFRESH_WORKITEMS on class CL_WER_APPLICATION has no exception.

Method SAVE_WORKITEMS Signature

Method SAVE_WORKITEMS on class CL_WER_APPLICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20071205
2 CX_WER_DATA_NOT_FOUND Value does not exist 20071205
3 CX_WER_OPERATION_FAILED Operation failed exception 20071205

Method SET_APPLICATION_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPONENT Call by reference Type reference (TYPE) AKHKOMPO Application Component ID 20060731
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20060731

Method SET_CLONE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) WER_APPLICATION_NAME Name of an application element 20070109

Method SET_CLONE_NAME on class CL_WER_APPLICATION has no exception.

Method SET_COPY_FROM_APPLICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPLICATION Call by reference Type reference (TYPE) WER_APPLICATION_ID Element unique identifier 20120604

Method SET_COPY_FROM_APPLICATION on class CL_WER_APPLICATION has no exception.

Method SET_DEVELOPMENT_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20080722
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Data invalid error 20080722

Method SET_HANDLERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVATION Call by reference Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20070110

Method SET_HANDLERS on class CL_WER_APPLICATION has no exception.

Method SET_INPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE Workitem entries 20060914
2 Importing I_RUNTIME Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_FALSE Is the rule engine being processed? 20120320
3 Importing I_WORKITEM Call by reference Type reference (TYPE) FIELD_TYPE Workitem identified by its type 20060720
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20060720
2 CX_WER_DATA_NOT_FOUND The input workitem does not exist 20060720

Method SET_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Field type 20060914
2 Changing XR_DATA Call by reference Object reference (TYPE REF TO) DATA Data table 20061103

Method SET_OUTPUT on class CL_WER_APPLICATION has no exception.

Method SET_SOFTWARE_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPONENT Call by reference Type reference (TYPE) DLVUNIT Application Component ID 20060731
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20060731
History
Last changed by/on SAP  20130531 
SAP Release Created in 700