Skip to Content
avatar image
Former Member

BRF+ for Calculated field is not working after the business rule is transported & the import of BRF plus xml

   Hi,

We are encountering errors after ther transport of business rules with brf plus and import the brf functions in xml. This mainly occurs in calculated fields. No records are being retrieved when we use apply rule within the business rule. When we try using simulation on the function within the brf plus workbench we found that the function seems to execute properly until the updating of calcualted field. It's simply not updated.

The other business rules with BRF plus but no calculated field seem to be doing okay.

The calculated field is not updated with the number or amount obtained through the brf function.

1. The current steps we folllowed was resetting the data source and business rules' status and connectors and adding them into the transport through SPRO.

2. Transporting the business rules and data sources within the target system.

3. Adding the connectors and activating the business rules and data sources using SPRO.

4. Exporting the BRF plus from the origin system.

5. Importing the BRF plus into the target system.

6. Testing the business rules through adhoc query.

We don't know what may be causing the issue, but we did apply this SAP note recently: 1588564 to regenerate the GRFN_AM_RUNTIME application. We don't think this is the cause since the issue is affecting business rules and data sources created after the regeneration of the application ID.

Does anyone know what may be causing this issue and how to resolve it?

Thank you.

Best Regards,

Raphael R. R. Ramos

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 15, 2014 at 04:47 PM

    Hi Raphael,

    Is the issue occurring in the system where the rules are transported/imported into?

    Does the Application/Function/Expressions "Activate" without errors?

    If so, the issue could be caused by discrepancies in configuration between the Dev and QA (assuming it is QA) system.

    Also double check the related Master data (in relation to the calculated fields) and if any changes or SNOTES require to be moved from the originating system (assuming Dev) to the other system (assuming QA).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Harinam,

      Yes, the issue is occuring in the system where the rules were transported into. And we've found not errors when importing the xml file and activating the business rules.

      I will look through the descrepencies between Dev and QA. If you can provide what configurations that I can look into, that would be greatly appreciated.

      I'll check in SNOTES as well.

      Thank you.

      Best regards,

      Raphael R. R. Ramos

  • avatar image
    Former Member
    Oct 15, 2014 at 05:48 PM

    Hi Raphael,

    Are you sure that you transported and imported the BRF+ application correctly?

    Were you able to capture all the objects in the TR..?

    Hope that you would have saved this application in a package, which is again captured in TR to get transported to the follow on systems.

    If you have the same version and patch level in the follow systems, then there shouldn't be any issue a reported by you. This issue is occurring just because of objects not getting captured in TR.

    Regards,

    Ameet

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      One more point to note:

      if you follow the link on how to copy the application from local package to SAP Package which is again transportable. ... you would see an option to include all the contained objects as well. Whether or not the application is for acceas control or process control, it doesn't matter. You can make it transportable.

      Not sure if you can have the same functionality using SPRO. Never used that.

      Ameet

  • Oct 17, 2014 at 03:11 AM

    Hi Raphael,

    Run program FDT_TRANS using SE38 Tcode and you will be able to include your entire application into transport request.

    There will be 2 options:

    1. First add entire application

    2. Then include Application,Function, Decision table IDs by selecting DEEP option.

    This will capture entire application into new transport request and then you can transport across.

    Regards,

    Madhu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2014 at 09:25 PM

    Thank you for the suggestions. But one of the main concerns with this is getting the BRF plus import and export functionality of PC to work properly.

    After looking into the BRF plus functions it was found that the sequence of some operations seems to have become inverted.

    The following image is how it is in the destination system.

    The following system is how it was originally in origin system.

    I would like to ask what could cause this change in the sequence of the function after the import.

    Thank you.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Raphael,

      Sequence of the functions shouldn't be altered.

      Not sure what caused this thing to happen.

      Could you please try saving -> activating the functions in the sequesnce they are available in your source system. It might sound a bit silly though 😉

      One more thing, are you facing any issues due to this change in the functions position? From my assumptions, when the condition will be mapped you should be able to get the output; regardless of the position of the functions. Point is to get the functions' condition satisfied.

      Regards,

      Ameet