ABAP Implementation
The ABAP Implementation Class contains a series of methods in which you can redefine to include your own processes. FAB provides the superclass /IQX/CL_FORMS_BASE_CLASS with many ABAP methods for redefinition. From any of these methods, the developer is free to branch out into their own ABAP code to cover their specific business scenarios.
Methods appear on the Form-Life Cycle screen according to the selected Workflow Mode. Below is a tabulated comparison of methods displayed in both Classic and Process Workflow modes:
Process | Method Description | ABAP Method Name | Classic Workflow | Process Workflow |
---|---|---|---|---|
Processing On Load | Set Model Data Each Time Form is Loaded | DETERMINE_DATA_ON_LOAD | Yes | Yes |
Data Submission Processing | Validate data before save | VALIDATIONS_ON_SAVE | Yes | Yes |
| Enhance data before save | ENHANCE_DATA_BEFORE_SAVE | Yes | Yes |
| Perform actions when status changes on save | PERFORM_ACTIONS_FOR_STATUS_CHG | Yes | Yes |
| Perform System/Background Task | /IQX/IF_FORMS_SYSTEM_TASK~PERFORM_SYSTEM_TASK | No | Yes |
| Check and send notification | CHECK_AND_SEND_NOTIFICATION | Yes | Yes |
Worklist | Format Attributes in Worklist | FORMAT_MY_FORMS_ATTRIBUTE_SAVE | Yes | Yes |
| Format Icon in Worklist | FORMAT_MY_FORMS_ICON | Yes | Yes |
| Set Search Fields in Worklist | FORMAT_MY_FORMS_SEARCH_FIELDS | Yes | Yes |
Run-Time Processing | Perform Action at any time | PERFORM_ACTION | Yes | Yes |
Workflow | Determine approvers when data is saved | DETERMINE_APPROVERS_ON_SAVE | Yes | Yes |
| Determine approvers for Roles | DETERMINE_APPROVERS_FOR_ROLE | No | Yes |
| Evaluate Task/ Outcome Requirements | REQUIREMENT_EVALUATE | No | Yes |
| Determine approvers when SAP workflow is used | DETERMINE_APPROVERS_WORKFLOW | Yes | Yes |
| Handle escalations | ESCALATION_PROCESS | Yes | Yes |
One List Integration | Provide Attachments for OneList | GET_ONELIST_ATTACHMENTS | Yes | Yes |