This explanation describes the FAB process flow and how it interfaces with ABAP and the SAP database.
...
From any of these methods, the developer is free to branch out into their own ABAP code to cover their specific business scenarios.
Staring Starting here is a typical scenario of a FAB for the development cycle.
...
Each control can have its own front end code written in Javascript JavaScript that validates or manipulates the entered data.
...
These final front end validations are done in a function within the FAB Script and they are written in JavascriptJavaScript.
In this FAB Workflow definition, the developer chose to have the function onSubmitvalidations() executed
...
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.
...
The code in this method usually does more in depth validations than those done by the Javascript JavaScript in the front end.
Using an ABAP case statement the developer can control what code gets executed at what stage in the process flow.
...
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
...