Monday, January 26, 2009

Tutorial on BPM / BRM

It took some time to get the movie recorded and uploaded to the internet. Finally my demo scenario of the last two posts is visible available in a tutorial movie on BPM/BRM.



I hope it will help you explore things in the new SAP NetWeaver BPM world, despite the fuzziness of the movie.

I have added it to the SDN blog, Easy process implementation with SAP NetWeaver BPM / the BRM sequel.

Tuesday, January 20, 2009

BRM troubles resolved

Pff, thanks to Arti from SAP Product Management BRM I found out that my BRM troubles were caused by my download release of SAP NetWeaver CE 7.1.

I was using: Build id: 200809132152, downloaded in October 2008. After a fresh download and a complete re-install of CE, I am now using Build id: 200811082206.

Installation of both CE and the IDE is still nog plug and play. But fortunately a very well written manual is delivered with the download: Install&Configure_CE_Preview71EHP1-Dec2008.pdf.

When you experience an error during the CE installation, just click 'Retry' somewhere around step 20. And do that again when the same error pops up. That did the trick during my installation.

I started the installation at 11:06 and it was finished at 12:42, including starting up the CE environment. A new record, 1,5 hour!

The new installation resolved my BRM issues and you can read more about this in my SDN blog: Easy process implementation with SAP NetWeaver BPM / the BRM sequel.

Sunday, January 11, 2009

BRM troubles

During SAP TechEd08 I really got enthusiastic on SAP NetWeaver BPM, formerly known as Galaxy and in 2008 again branded as Galaxy. Especially the integration of the Business Rules engine made me want to try this at home. Personally I feel that BRM is not optional within BPM, it is not a feature, it belongs to the total concept of process orchestration. Without it, BPM is not complete.
So I built a BPM demo for the TopForce Learning Day. A recap of this demo can be found in my SDN blog Easy process implementation with SAP NetWeaver BPM. A simple process but effective enough to show the power of the concept.

I updated this process to implement BRM:

Now I want to implement a business rule with BRM. But unfortunately I can’t get this to work. What I want to do is extend the process with a mapping step in which the rule get called. Within this rule the expense amount gets checked: Under €25 the expense gets validated automatically and above that the manager needs to approve or reject. In BRM this looks like:

In the mapping of the mapping step (strange line ;-) the rule gets called:

On base of a tip given by Arti from SAP on my forum question: Integration of BRM within BPM doesn’t work, I even created a new context in stead of re-using the Web Dynpro context:

Creating a new context is a bit strange, re-using is better/easier. But anyway I tried as I can no longer think of any other options myself.

Unfortunately I can’t get it to work. The process will start but the rule does not behave as expected. Every expense statement gets rejected.

The one thing that is different compared to what I heard during TechEd08 and what I read on SDN, is that I implemented the rule directly in BPM. I did not create a stand alone BRM application that contains the rules and gets called via Java code in a Web Dynpro application. Maybe it will work that way, but that is not how the targeted users of BRM want to implement business rules. They, the BPX-ers, don’t read or write Java code. They orchestrate the business process and rules should be directly implemented while modeling the process.

Who has the answer or solution? I personally think that the integration of BRM within SAP NetWeaver BPM is not finished completely.