How to use BRFplus system function "IU_BRF_EXEC_TIMESTAMP_ADJUST", an example
With this Document we will show you the steps needed to use the BRFplus Function introduced with note 2156070
Your are in a situation where you have created a BRFplus function assigned it to a product and released this version. After that you have seen that the BRFplus function has an failure. If you now correct this failure, it will not work for the released version of that product only for later version. With this note and the BRFplus function introduced with it, you have the possibility to run a product with a later version.
Lets go through the steps needed.
- Correct the wrong BRFplus function which is already assigned to a released product version
- Open BRFplus workbench by entering transaction brfplus and search for function IU_BRF_EXEC_TIMESTAMP_ADJUST
- If you have already created a own ruleset, you can use this one.
- To create a new ruleset, you need a new BRFplus application
Therefore please go to the menu "Workbench" and "Create Application".
Assign a name and decide whether you only need a local copy or you want to transport it to an other system
- Go inside of the new application to "Details" and here to "Default Settings". On this tab you need to activate the Versioning Mode and to check the flag "Numeric Comparison for NUMC fields".
- Now go back to the assigned rulesets and open the ruleset IU_BRF_EXEC_TS_ADJUST_TEMPLATE
Now make a copy of that ruleset using the menu "more" and here "Copy".
Select your own application on the shown pop up and click "apply".
On the following pop up assign a new name and make sure the flag at "Include Referenced Objects" is NOT set
- Activate the new Ruleset.
To do this you need to open the Ruleset Header on the Deteil Screen and set the flag Enabled, after this click the "Activate" Button from the Toolbar.
- After the activation you can go to the rule means to the decision table
After you have insert a new row, you can fill out the decision table by selecting each entry.
This row means that the function assigned to the product (first column) runs in the version which was actual at the time shown in the column "Executing Timestamp". If you want to use this rule for every product in your system, you can leave the "Product ID" and "Product Version" blanc.
If you want to run your function always with the newest version, you need to use a time stamp within the future like you see in the following picture