SAP NetWeaver Business Rules Management: Tips for Testing and Working with Business Rules

  • by Dr. Volker Stiehl, Professor, Ingolstadt Technical University of Applied Sciences
  • July 20, 2010
After you create business rules, you need to test them to ensure they work as expected. Find out the best way to test your rules. Then see how you can create Web services from them and run your rules using the Web service navigator. Finally, obtain an understanding about how a rules engine works in detail and how you can influence the rule’s execution sequence.
Key Concept
The Test Scenario tab in SAP NetWeaver Developer Studio allows you to provide input parameters to your rule set by filling out appropriate fields in an XML file. This XML file is automatically generated for you based on the fields you have selected in the Project Resources editor.

In “SAP NetWeaver Business Rules Management: Externalize Critical Business Logic for Enhanced Flexibility” you learned how to model Rete-based business rules using SAP NetWeaver Business Rules Management (SAP NetWeaver BRM). You used the Rules Composer to define a set of IF-THEN-ELSE rules for calculating discounts — a typical example for the use of business rules.

Now that you have your rule set in place, I explain what you need to do after you create it:

  • Test rules within SAP NetWeaver Developer Studio
  • Deploy your rule set to the server and run them
  • Create Web services out of your rules and run them within the Web service navigator
  • Read the logs the rules engine generates during runtime and understand how they were created

Dr. Volker Stiehl

Prof. Dr. Volker Stiehl studied computer science at the Friedrich-Alexander-University of Erlangen-Nuremberg. After 12 years as a developer and senior system architect at Siemens, he joined SAP in 2004. As chief product expert, Volker was responsible for the success of the products SAP Process Orchestration, SAP Process Integration, and SAP HANA Cloud Integration (now SAP HANA Cloud Platform, integration service). He left SAP in 2016 and accepted a position as professor at the Ingolstadt Technical University of Applied Sciences where he is currently teaching business information systems. In September 2011, Volker received his Ph.D. degree from the University of Technology Darmstadt. His thesis was on the systematic design and implementation of applications using BPMN. Volker is also the author of Process-Driven Applications with BPMN as well as the co-author of SAP HANA Cloud Integration and a regular speaker at various national and international conferences.
 

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.