Flow Builder is one of the most important programs which in charge of parsing the accounting document (via document chain) to relevant flows. With respect to the data volume of the real business, the flows generated by Flow Builder is the majority among all source application.
Flow Builder provides the running type ‘Delta Run’ which targets to handle the new posted or modified accounting document. The integration point between Accounting Document is via traditional RWIN modules. With this design and given an ideal environment (all configuration are correct and no Flow Builder is running), once an accounting document got posted, Flow Builder shall be triggered as a background job to perform Delta Run.
This blog try to reveal the different trigger mechanisms in used by Flow Builder within different release.
- When we introduce Flow Builder first time in Simplified Financials 200, the trigger mechanism is actually the ‘manually’ created jobs. We provided an utility program which allow you to control the job’s creation:
The checkbox ‘Trigger Job Automatically’ is the switch. Via other parameters, it can control the delay times, job variant, and background job for authority checking.
- Within S/4HANA OP 1610, we updated the previous manually created job to event-based jobs via SAP Note 2256759. And another Note 2560395 was provided to guide setup the event manually.
The change applied in that Note use event SAP_FCLM_FLOW_BUILDER to control the Flow Builder’s startup. And, as the influence of the change of trigger mechanism, Flow Builder won’t provide job control any more.
Please be aware that, this Note only apply to OP1610, it won’t impact the higher release.
- Since S/4HANA OP 1709, we decided to use ‘Technical Job‘ as the trigger mechanism for Flow Builder. The new defined Technical Background Job FCLM_FLOWBUILDER_JOB is also event based one, we use a different name SAP_FCLM_FLOWBUILDER_TRIGGER to avoid misuse of event-based job mechanism above.
We also define the new created technical job as scope dependence to reflect the facts not all clients need Flow Builder. Therefore, after you upgrade to OP1709 or higher, you need define the scope to enable Flow Builder in the specific client.
Ensure the FCLM_FLOWBUILD_JOB was insert as following:
Hope this blog can help understand the different trigger mechanism of Flow Builder.