Show TOC

Writing Rules on Java ClassesLocate this document in the navigation structure

Prerequisites

Knowledge Required

  • You have basic knowledge in rules modeling

  • You are familiar with Business Rules Management System

Software Requirements

  • You work in SAP NetWeaver Developer Studio

  • Your SAP NetWeaver Developer Studio version includes the Rules Composer perspective

Note

In SAP NetWeaver Developer Studio, choose Start of the navigation path Window  Next navigation step Open Perspective  Next navigation step Other.  End of the navigation pathIn the dialog box that appears, choose Rules Composer and choose OK .

Context

This tutorial helps you get started with the rules composer. A business use case has been created for the purpose. Given details such as buyer's name, credit history, spending habit, the discount for the product purchased is set. This tutorial guides you to create rules to calculate discount for buyers.

Procedure

  1. Creating the Rules Composer DC
  2. Adding the Classes
  3. Creating the Ruleset
  4. Creating the Rules
  5. Deploying the Rules
  6. Executing the Rules