Skip to Content
Author's profile photo Michal Krawczyk

PI/XI: how to call BRM and BRFPlus from PI mappings without writing any UDFs

In a few articles written quite recently you could have found out how to call rules maintained in BRM and BRFPlus

– how to call rules from BRM via web services:

Access SAP NetWeaver Business Rules Management from SAP NetWeaver Process Integration

– how to call rules from BRFPlus from ABAP mappings

PI/XI: BRFPlus – an alternative for value mapping tables and Z-tables for integration

The point is that both of those approches require some development:

– in order to call a web service from a graphical mapping you need to write a user defined fuction (UDF)

– in order to call a rule in BRFPlus you need to use abap mapping – so you need to write the abap mapping

Question: is there any alternative then if you’d like to call it without writing one line of code? 🙂

It turns out there is and let me just sum it up for you as all the configuration info is already described but just in many articles.

So how to do it? The idea is to use RFC graphical lookups which as of PI 7.1 release do not require writing a line of code as per: 

SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups

1. How to call BRFPlus with graphical RFC lookup?

Just have a look at my previous blog showing how to create an RFC module from the rule maintained in BRFPlus:

PI/XI: Calling BRFPlus engines across ABAP systems for value mappings.

Once you create the RFC you can easily call it from PI’s graphical mapping using the graphical RFC lookup. 

2. How to call BRM with graphical RFC lookup?

With this the situation is a little bit more complex but can be easily done. BRFPlus offers a possilibity to call rules from BRM via something that is called BRMS connector as shown in this article:

Using BRFplus Connector Expression

After you call a rule from BRM from BRFPlus you can again expose BRFPlus as an RFC module and call it easily from PI’s graphical RFC lookup.

Hope you can use this compilation in order to start calling both rule engines that SAP provides BRM on java stack and BRFPlus on ABAP stack.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.