This explanation describes the FAB process flow and how it interfaces with ABAP and the SAP database.
...
The code executed is on a control by control basis.
Each control can have its own front end code written in Javascript that validates or manipulates the entered data.
...
4. Next, you probably want to introduce a process flow to the form. This is achieved by using the Workflow Icon on the FAB Workbench.
This allows you to describe the roles, levels, tasks, and overview of the process flow.
...
The code in the onSubmitValidations() is written by the developer and available in the Script.
6. Usually for For saving a form as Draft no validations are usually defined. Therefore
Therefore in step 4, there is no function assigned in the Validation Function column next to Draft.
...
Discussed here are the ‘Form Saving’ methods. For an explanation of the ‘Form Loading’ methods go to step 13.
10. Data Submission Processing methods are before and when the user hits Draft or Submit or Approve.
...
depending on the value of status and action variables, execute custom methods.
For example, if the Current Action is ‘APPROVE’ then the developer can branch-off and run a custom-built
...
14. Having described the flow taking place when the form is submitted it now necessary to go back to
to describe the methods that are executed when the form is loaded.
...
This may be used for picking up some information about the submitter that is to be shown
on the screen so that at a later point in time the approver is shown any required details.
...
DETERMINE_FIELD_VALUES_ON_LOAD is executed each time the form is loaded. This
This can be used to interrogate FAB variables and adjust visibility on the form according to the stage at which a form is at.
...
For escalation, you need a background job to check on your setting. In
In this method, you can add approvers or change approvers or do whatever is required for your escalation scenarios.
...