cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

   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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

former_member197694
Active Contributor
0 Kudos

Hi Raphael,

might be i cannot give you solution,but while searching for the same i got the below information for you

look into below document

BR

Baithi

Former Member
0 Kudos

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

madhusap
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ameet,

The applicaiton is saved locally so we are unable to transport it. We are instead using the inbuilt functionalities within SPRO to transport the business rules and data sources as well as export the BRF functions for process control.

Thank you.

Best Regards,

Raphael R. R. Ramos

Former Member
0 Kudos

Hi Raphael,

You need to copy the brf+ application from local or temporary package to transportable package.

For detailed information you can refer to:

There is some SAP note with the instructions for the same but not remember that as of now. Will let you know that soon.

Let us know if you have any concerns.

Regards,

Ameet

Former Member
0 Kudos

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

Former Member
0 Kudos

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).

Former Member
0 Kudos

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