Hierarchy
⤷
⤷
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 | 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 | Constant | Public | Type reference (TYPE) | WER_ATTRIBUTE_NAME | 'APPLICATION_APP_COMPONENT' | ame of the attribute APPLICATION_COMPONENT | 20060929 | ||
| 2 | Constant | Public | Type reference (TYPE) | WER_ATTRIBUTE_NAME | 'DEVELOPMENT_PACKAGE' | Name of an attribute DEVELOPMENT PACKAGE | 20080722 | ||
| 3 | Constant | Public | Type reference (TYPE) | WER_ATTRIBUTE_NAME | 'APPLICATION_SOFT_COMPONENT' | ame of the attribute SOFTWARE_COMPONENT | 20060929 | ||
| 4 | Constant | Public | Type reference (TYPE) | WER_ATTRIBUTE_NAME | 'APPLICATION_WORKITEMS' | ame of the attribute WORKITEMS | 20060929 | ||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FDT_APPLICATION | FDT: Application | 20060710 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | WER_EVENT_TTY | Event names, IDs and objects | 20060713 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | WER_OUTPUT_TTY | Output data tables and corresponding line type | 20060914 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | WER_ITEM_SET_TTY | Item sets | 20060713 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | WER_APPLICATION_ID | Element unique identifier | 20120604 | |||
| 10 | 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 | Instance method | Public | Method | Adds a workitem for this application | 20060714 | |
| 2 | Instance method | Public | Method | Checks if the workitem type is valid and unique | 20060829 | |
| 3 | Instance method | Public | Method | Checks if a workitem is defined for the application | 20060918 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20061101 | |
| 5 | Instance method | Private | Method | Clones all the elements of an application | 20060918 | |
| 6 | Instance method | Public | Constructor | 20060714 | ||
| 7 | Instance method | Private | Method | Deletes all the elements of an application | 20070109 | |
| 8 | Instance method | Public | Method | Deletes a workitem of this application | 20060714 | |
| 9 | Instance method | Private | Method | Delete all workitems of this appliaction | 20060831 | |
| 10 | Instance method | Private | Method | Dequeues all elements of the application | 20070110 | |
| 11 | Instance method | Public | Method | Returns the application component of this application | 20060731 | |
| 12 | Instance method | Private | Method | Returns the new and deleted workitems | 20060809 | |
| 13 | Instance method | Public | Method | Returns copy from application | 20120604 | |
| 14 | Instance method | Public | Method | Returns the developmetn package of this application | 20080722 | |
| 15 | Instance method | Private | Method | Returns a list of all elements of the application | 20070110 | |
| 16 | Instance method | Private | Method | Returns a list of all elements enqueued | 20070109 | |
| 17 | Instance method | Private | Method | Returns the event corresponding to the suppied ID | 20060915 | |
| 18 | Instance method | Public | Method | Returns the data of the requested output | 20060714 | |
| 19 | Instance method | Public | Method | Returns the software component of this application | 20060731 | |
| 20 | Instance method | Private | Method | Returns the requested workitem entry | 20060914 | |
| 21 | Instance method | Public | Method | Returns the meta data of all workitems of the application | 20060714 | |
| 22 | Instance method | Public | Method | Returns true if the application has been activated | 20061031 | |
| 23 | Instance method | Private | Method | Load all events data without instantiating event objects | 20061101 | |
| 24 | Instance method | Private | Event handling method | Handler for event IF_WER_ACTION->SET_OUTPUT | 20061027 | |
| 25 | Instance method | Public | Method | Starts the processing of the given event | 20060714 | |
| 26 | Instance method | Private | Method | Refreshes the workitems from the supplied ones | 20060809 | |
| 27 | Instance method | Private | Method | Saves/deletes workitems of this application | 20060720 | |
| 28 | Instance method | Public | Method | Sets the application component of this application | 20060731 | |
| 29 | Instance method | Public | Method | Sets the name based on a clone prefix and a given name | 20070109 | |
| 30 | Instance method | Public | Method | Sets copy from application | 20120604 | |
| 31 | Instance method | Public | Method | Sets the development package of this application | 20080722 | |
| 32 | Instance method | Private | Method | Sets the event handlers | 20061027 | |
| 33 | Instance method | Public | Method | Sets the data of the given workitem | 20060714 | |
| 34 | Instance method | Private | Method | Sets the data for an output table | 20060914 | |
| 35 | 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 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Workitem type | 20060714 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The workitem already exists for this application | 20060714 | ||
| 2 | Invalid data supplied | 20060720 |
Method CHECK_WORKITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Field type | 20060829 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unique identifier exists | 20060829 | ||
| 2 | Invalid data supplied | 20060829 |
Method CHECK_WORKITEM_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WORKITEM | Call by reference | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20060918 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_NEW_APPLICATION | Call by reference | Type reference (TYPE) | WER_APPLICATION_ID | Application identifier | 20060919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization error | 20060919 | ||
| 2 | Value does not exist | 20060919 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_FDT_APPLICATION | Call by reference | Object reference (TYPE REF TO) | IF_FDT_APPLICATION | FDT: Application | 20060714 | |||
| 2 | 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 | Authorization error | 20070109 | ||
| 2 | Value does not exist | 20070109 |
Method DELETE_WORKITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | 20060720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20060714 | ||
| 2 | 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 | Invalid data supplied | 20071205 | ||
| 2 | Value does not exist | 20071205 | ||
| 3 | Operation failed exception | 20071205 |
Method DEQUEUE_ELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | CL_WER_CONST=>C_ACTIVITY_EDIT | Activity | 20070719 | ||
| 2 | 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 | E_COMPONENT | Value transfer | Type reference (TYPE) | AKHKOMPO | Application Component ID | 20060731 | |||
| 2 | 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 | ET_DELETED_WORKITEMS | Call by reference | Type reference (TYPE) | WER_ITEM_SET_TTY | Item sets | 20060809 | |||
| 2 | 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 | 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 | E_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20080722 | |||
| 2 | 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 | 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 | I_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | CL_WER_CONST=>C_ACTIVITY_EDIT | Activity | 20070201 | ||
| 2 | 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 | Authorization error | 20070109 | ||
| 2 | Operation failed exception | 20070109 |
Method GET_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EVENT | Call by reference | Type reference (TYPE) | WER_EVENT_NAME | Name of an event | 20060915 | |||
| 2 | RR_EVENT | Value transfer | Object reference (TYPE REF TO) | CL_WER_EVENT | Rule engine event | 20060915 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20060915 |
Method GET_OUTPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Workitem identified by its type | 20060914 | |||
| 2 | RR_OUTPUT | Value transfer | Object reference (TYPE REF TO) | DATA | 20060914 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_COMPONENT | Value transfer | Type reference (TYPE) | DLVUNIT | Application Component ID | 20060731 | |||
| 2 | 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 | I_RUNTIME | Call by reference | Type reference (TYPE) | WER_BOOL | CL_WER_CONST=>C_FALSE | Is the rule engine being processed? | 20120320 | ||
| 2 | I_WORKITEM | Call by reference | Type reference (TYPE) | FIELD_TYPE | Unique work item identifier (GUID) | 20060914 | |||
| 3 | RR_WORKITEM | Value transfer | Object reference (TYPE REF TO) | WER_ITEM_SET_STY | Item set | 20060914 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | ER_DATA | Call by reference | Attribute reference (LIKE) | 20061027 | |||||
| 2 | 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 | I_EVENT | Call by reference | Type reference (TYPE) | WER_EVENT_NAME | Name of the event to process | 20060720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization error | 20060914 | ||
| 2 | Event processing fatal error | 20060914 | ||
| 3 | Rule Engine execution error | 20060720 |
Method REFRESH_WORKITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NEW_WORKITEMS | Call by reference | Type reference (TYPE) | WER_ITEM_SET_TTY | Item sets | 20060809 | |||
| 2 | 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 | Invalid data supplied | 20071205 | ||
| 2 | Value does not exist | 20071205 | ||
| 3 | Operation failed exception | 20071205 |
Method SET_APPLICATION_COMPONENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COMPONENT | Call by reference | Type reference (TYPE) | AKHKOMPO | Application Component ID | 20060731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20060731 |
Method SET_CLONE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | I_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20080722 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Data invalid error | 20080722 |
Method SET_HANDLERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Workitem entries | 20060914 | |||
| 2 | I_RUNTIME | Call by reference | Type reference (TYPE) | WER_BOOL | CL_WER_CONST=>C_FALSE | Is the rule engine being processed? | 20120320 | ||
| 3 | I_WORKITEM | Call by reference | Type reference (TYPE) | FIELD_TYPE | Workitem identified by its type | 20060720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20060720 | ||
| 2 | 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 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Field type | 20060914 | |||
| 2 | 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 | I_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Application Component ID | 20060731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20060731 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |