SAP Business Workflow

An Introduction to SAP Business Workflow

SAP Business Workflow is a tool to automate complex business processes where there is more than one user involved. SAP workflow maps the position in organization because SAP believes that Positions are more stable than the people.

SAP Workflow is a process tool that is designed to facilitate and automate business processes involving the tasks sequence performed by the users (people in the workplace) and ensure that the right work is assigned in the right sequence at the right time to the right person in the workflow.

The SAP workflow can be linked to other software tools such as Microsoft Outlook or Lotus Notes. Using SAP Workflow, each step of a business transaction can be easily monitored throughout the initiation and completion of the business processes.

SAP Business Workflow is the R/3 tool for handling the process automation within R/3 or between R/3 systems and other systems involved in the business process. It is flexible enough to handle ad hoc processes such as the circulation of an electronic document.

SAP Business Workflow

Using SAP Workflow, each step of a business transaction can be easily monitored throughout the initiation and completion of the business processes. The SAP Workflow enables the process owners to track deadlines, determine the workload as well as provide statistics on the length of time to complete work processes.

sap-workflow

Automatic workflow customizing

Path: ABAP Workbench->Development->SAP Business Workflow->Utilities->Automatic Workflow Customizing-code: SWU3

Creation of business objects

The business object types are identified and described with their object methods in the Business Object Repository (BOR) of the R/3 System.
Object Type:

It’s a data with which you want to work in a workflow (e.g. Material, Customer) Objects are created at runtime and are specific instances of defined object types. Many object types are delivered by SAP.

the customer can create new object types or extend SAP objects by creating subtypes (child objects).

New customer objects or subtypes may be desired if the delivered SAP object does not contain all the characteristics (attributes) or processing options (methods) desired.

Hands On An Existing Object Type

Transaction Code: SWO1 for Object type:

a)New Custom Business Object

b) Enhancement of existing BO (Delegation Required)

Internal technical key of a business object in the Business Object Repository (BOR).

Business objects are identified in the BOR by object type (for example BUS2000270) and a descriptive English name (for example CRM Grantor application). Both identifiers must be unique across all object types.

Also See: What is SAP Workflow?

Interfaces:

Interfaces are a combination of attributes, methods, and events to be used in common among multiple object types.

The purpose of interfaces is to define common functionality in one object type, and to assign that common functionality via an interface to multiple object types across the Business Object Repository.

This avoids redundancy of data and functionality definition.


Key Fields: Key fields are designed to uniquely identify the object type.

Attributes:

Carries the properties for the key field. It provides access to data.

The majority of attributes are data-dictionary fields (for example, the current user status attribute is defined by CRMT_STATUS_INFO-USER_STAT). When you access an attribute of an object, you execute a SQL statement that retrieves the corresponding field in the database.

Creation of Sub objects type

A subtype of an object is another object whose creation is based upon a parent object (see the preceding manager/employee example).

The subtype maintains references to all the attributes and methods of its parent object. This means that any methods and attributes defined on the parent can be executed and accessed on the child object

If a subtype object were merely a copy of its parent, then all the code contained within the parent would be physically copied to the child. This is not the case.

The subtype simply maintains references to its parents methods and attributes. The real difference is that the subtype lets you redefine these methods and attributes.

You can easily add your own business rules to the parent methods by redefining the subtypes method. In the following example, I will show why this distinction is so important.

Create sub business object type:

Path: ABAP Workbench ->Development->Business Object Builder

T-code: SWO1.

Enter standard business object name for which you need to create sub type.

Delegation:

Now that you have implemented a new zrmsfmwfgetdetails method, you need to tell the SAP system to use the defined version of zrmsfmwfgetdetails and not the version that was delivered on the bus2000270 object. This is similar to object-oriented inheritance but the two concepts do have fundamental differences.

This delegation is powerful because it lets you implement your own business logic without modifying any SAP code. As long as the objects are properly delegated, your method will be executed.

Also See: When do you use SAP workflow?

Online Training Tutorials

  • project charterThe Main Key Features of SAP R/3Flexible & comprehensive SAP R3 improves flexibility and enables quicker response.  It lets the company to concentrate on strategically expanding their business to address new […]
  • SAP R/3What Does SAP R/3 Involve?SAP R/3, SAP stands for System Application and Product for data processing. In German language it stands for "Systeme, Anwendungen und Produkte in der Datenverarbeitung". SAP R/3 doesnt […]
  • SAP certificationSAP Certification, SAP Course and Training for BeginnersEveryone knows getting SAP certification is not a big deal in the market. You just register for SAP certification exam online with many approved partners to pay around 500-800USD, and to […]
  • r/3 architectureSAP R/3 Architecture hardware viewThe SAP R/3 Architecture hardware view is called a development view, the view of the R/3 architecture, is hard functionality, or we can the process functionality of information with in the […]
  • project charterWhat is a Project Charter and Why is it important?The project charter is a collection of documents that, together, establish the foundation of a SAP implementation project by defining its dimensions and completion criteria. Additionally, […]
  • SAP R3 ArchitectureWhat is R/3 Architecture?SAP R3 Architecture: To start entering into project implementation activities every one of the project related, should at least know the R/3 architecture. It gives an immense knowledge […]
  • Investment management ModuleIntroduction to investment Management Module in SAPInvestment management Module refers to planning and managing of investments in long term activities. The long term investments may be for the purpose of creation of fixed assets for […]
  • Bill of MaterialsWhat is Bill of Materials (BOM)?Bill of Materials : BOM is a complete, formally structured list of components (raw or semi finished materials), which are needed to manufacture a finished product. The BOM list contains […]