BRFplus—Business Rule Management for ABAP Applications
eBook - ePub

BRFplus—Business Rule Management for ABAP Applications

  1. 437 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

BRFplus—Business Rule Management for ABAP Applications

About this book

In modern architectures, business rules are modeled and maintained in central engines. But how can you modify existing rules or develop your own? How can these rules be integrated into the applications? BRFplus is the tool of choice for developing business rules in ABAP. This book introduces BRFplus in all its aspects. It explains the tool's architecture and how its rules are structured. You will learn how to modify and develop rules, how to incorporate them into your own landscape, and how to extend BRFplus. Including extensive examples and tutorials, this book is a one-stop resource for developers as well as business analysts. 1. BRFplus Walk-Through and Tutorial Get started with a complete tour through all Workbench tools, follow the development cycle, and learn how to create applications in the Workbench or via the API. 2. Objects Learn how to define, use, and link objects to each other, and benefit from a comprehensive reference for all object types, such as expressions, actions, and more. 3. Tools, Deployment, and Administration The book covers the entire development cycle: Imports and exports, transports, administration, as well as remote and local scenarios, are all dealt with in detail. 4. Advanced Topics Once your applications are deployed, you'll want to tune them: Find out how to enhance performance, trace processing, extend BRFplus' functionality, and integrate it into custom user interfaces.

Highlights:

  • Business rules and business rules management (BRM)
  • Object management
  • Objects: functions, data objects, rules and rulesets, expression and action types
  • Tools and administration
  • Advanced topics: performance, tracing, extending BRFplus, UI integration
  • Deployment and methodology

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access BRFplus—Business Rule Management for ABAP Applications by Thomas Albrecht,Carsten Ziegler in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

This chapter provides an introduction to the business rules approach and business rule management systems in general. Afterwards, the business rule strategy at SAP will be explained.

1 About Business Rules

Companies have always had policies and rules in place to define what should or should not be done. Such rules can be found coded in software systems or in handbooks. Often, they even exist only as the expertise of a small group of employees in a department.

1.1 Definition

According to the Business Rules Group, an independent organization with the mission of formulating statements and supporting standards about business rules, a business rule is “a statement that defines or constrains some aspect of the business. It is intended to assert business structure or to control or influence the behavior of the business.”* Business rules describe the operations, definitions, and constraints that apply to an organization. They can apply to people, processes, corporate behaviors, and computing systems in an organization, and are put in place to help the organization achieve its goals.
* (David Hay and Keri Anderson Healy: Defining Business Rules – What Are They Really? Technical report, The Business Rules Group, http://www.businessrulesgroup.org/first_paper/br01c0.htm, 2000.)
Barbara von Halle formulated a similar definition: “Business rules are a formal expression of knowledge or preference, a guidance system for steering behavior (a transaction) in a desired direction. On the grand scale, business rules, then, are the guidance system that influences the collective behavior of an organization’s people and information systems.”**
** (Barbara von Halle: What is a Business Rules Approach? The Data Administration Newsletter – http://www.tdan.com/view-articles/4983, January 2002.)
These are very general definitions of business rules that include any number of and various different types of rules. The rule “Smoking is prohibited inside all company buildings” is a valid rule adhering to the definitions. Not all business rules are relevant to business operations and the scope of the rules in total needs to be narrowed to the relevant rules to better deal with them. This fact leads to another important constraint that is typically used when defining business rules: a “business rule expresses specific constraints on the creation, updating, and removal of persistent data in an information system.”***
*** (David Hay and Keri Anderson Healy: Defining Business Rules – What Are They Really? Technical report, The Business Rules Group, http://www.businessrulesgroup.org/first_paper/br01c0.htm, 2000.)
Using this definition of business rules makes management of business rules in an information system possible because business rules are concerned only with the data in an information system. This is the definition of business rules that will be used in this book.

1.2 Ubiquity of Business Rules

Business rules exist in each and every organization around the world. This, however, says nothing about an organization’s awareness of its business rules. Before business rules are analyzed and formalized, they exist in a multitude of forms: company policies, guidelines, industry standards, computer code, or as knowledge in the minds of employees. The first step toward the effective management of business rules is the creating awareness and compiling these different kinds of policies.
Figure 1.1 shows a simplified diagram of a mortgage process containing three major steps. For each of the steps, the business rules are depicted. For example, there are business rules that define whether the application is valid, whether all relevant data has been supplied, and whether the data is within expected ranges. Next a credit score can be determined with business rules, and special terms or conditions may become active or even mandatory. Finally, the approval decision is again based on business rules and a risk and compliance analysis for the complete process may be subject to a set of business rules as well. It becomes obvious that the quality and efficiency of the management of the rules becomes crucial for the organization’s success.
Figure 1.1 Business Rules in Mortgage Processing

Figure 1.1 Business Rules in Mortgage Processing
In general, business rules can be assumed whenever data has to be checked for errors or invalid states need to be detected. Another category of business rules deals with mapping or classification of data, including the derivation of new facts from existing facts. In addition, calculations are done based on business rules and, of course, all kinds of business decisions. Figure 1.2 shows various examples of the use of business rules.
Figure 1.2 Examples of Business Rules

Figure 1.2 Examples of Business Rules

1.3 Business Rule Management Systems

Business rules can be as simple as adding the value added tax to the retail price of a good. However, they can be also very complex, such as those involved in the organization and optimization of commodity flow. Unforeseen contingencies in such mission-critical applications require real-time amendment because every moment of failure produces high costs. No matter how simple or complex the business rules are, being able to create, maintain, and track the business rules that are governing the operational processes of an organization is critical to its success.
An effective way of managing business rules is a Business Rule Management System (BRMS). A BRMS is a software system used to define, deploy, execute, monitor, and maintain the variety and complexity of decision logic in the form of business rules that are used by operational systems within an organization. The purpose of a BRMS is to ease the identification and authoring of business rules, and to enable the management and execution of the right rules at the right time and in the correct order, without making changes in the application code that implements the processes.
Figure 1.3 Components of a Business Rule Management System

Figure 1.3 Components of a Business Rule Management System
Figure 1.3 shows the components a BRMS:
  • An authoring environment for the definition and maintenance of the business rules
  • A repository to allow the storage of the business rules separate from application code
  • A rules engine to execute the business rules upon invocation by application code

1.3.1 Rule Authoring Environment

The rule authoring environment is a set of user interface tools that target technical as well as non-technical users. IT professionals should not make business decisions in the form of business rules but instead help the business experts responsible for running a business area. The business experts have all the required business expertise to make the best decisions. The BRMS aims at empowerment of business users to enable them to change and to organize the business rules directly. Therefore, a BRMS has to provide different rule expression and representation formats, such as natural language-like text rules (IF condition THEN action) and rulesets, rule flows, decision tables, or decision trees.
For consistent and complete business rules, the BRMS has to provide tools for detecting contradictions or value combinations that are not yet covered in the rules. Also, tools for impact and dependency analysis are very important because the rules base can become very large. Related to the analysis of the rules is the question of rule testing. The authoring environment must provide simulation capabilities that allow tests to be performed with predefined sets of input data. Rule authors need to verify that the results are as expected, and they should be able to understand the decision path, that is, the involved business rules artifacts and how they have influenced the final results.
Besides plain rule authoring, the user interface of a BRMS also has to provide a means of rules organization and management as well as related tools for the management of the rules lifecycle and the access and release control. In an organization there can be easily several thousands of business rules in various representation formats. To make the work efficient, a BRMS needs to provide simple and transparent capabilities for organizing the rules for many projects. Business rules are often grouped b...

Table of contents

  1. Notes on Usage and on the Screen Presentation
  2. Table of Contents
  3. Dear Reader
  4. Foreword
  5. Introduction
  6. 1 About Business Rules
  7. 2 BRFplus—a Brief Walk-Through
  8. 3 Tutorials
  9. 4 Object Management
  10. 5 Objects
  11. 6 Tools and Administration
  12. 7 Advanced
  13. 8 Deployment
  14. 9 Methodology
  15. A Formula Functions
  16. B The Authors
  17. Index
  18. Service Pages
  19. Legal Notes