Workflow Status Reports via the Internet (BC-BMT-WFM) 

Use

Employees in your enterprise whose work centers are not on the premises or who are often away on business trips do not always have direct access to R/3. As a result, these employees are often isolated from the information processes within the enterprise, which affect them.

SAP now offers your employees the opportunity to perform selected parts of workflow reporting via the Internet:

For demonstration purposes, the Easy Web Transaction Workflow status reports is configured so that the evaluations described above refer to the object type Purchase requisition (BUS2009) and its objects. But the Easy Web Transaction can easily be configured for other object types as well. This documentation contains the relevant information.

An employee can access the workflow information they require from any Internet connection. It is no longer necessary to install the R/3 frontend component and set up a connection to the R/3 System.

This helps your external employees who are often off the premises. The worldwide availability of the Internet also means access to the R/3 System at all times, without having to set up a time-limited connection to the "home" R/3 System via the telephone network.

There are also advantages for your internal employees who do not use any R/3 functionality other than querying status reports. The user interface of an Internet browser is often the familiar user interface to these users. They now no longer have to leave this to use workflow functions.

Type of Easy Web Transaction

Intranet

Prerequisites

Basic knowledge of SAP Business Workflow. For further information, refer to the documentation SAP Business Workflow.

Authorizations/security

The reports that are executed via the Internet are each assigned to an authorization group:

To be able to start a report a user must have the authorization to execute reports from the relevant authorization group.

This authorization is an authorization based on the authorization object S_PROGRAM (ABAP: Program flow checks), for which the following entries are made in the following fields:

The following authorizations based on the authorization object S_PROGRAM (ABAP: Program flow checks) are preconfigured accordingly:

Authorizations based on authorization object S_PROGRAM

Authorization

 

Meaning

S_WF_INF_OA

Select work items for a business object

" SUBMIT authorization" for reports from the authorization group SWI_OA

S_WF_INF_WLA

Execute workload analysis

" SUBMIT authorization" for reports from the authorization group SWI_WLA

Include the above authorizations into the authorization profile of the employee who is to execute the SAP Business Workflow selection reports via the Internet.

Standard presettings and predefined data

The following reports are executed via the Internet in the R/3 System for the purchase requisition example:

Report RMW3OINS (individual item of information: status of a purchase requisition)

Report RMW3OTYP (business processes: purchase requisition approval procedure)

Report RMW3DONE (decisions: purchase requisition releases/rejections)

Features

Adaptations

In the supplied reports RMW3OINS (individual item of information: status of a purchase requisition), RMW3OTYP (business processes: purchase requisition approval procedure) and RMW3DONE (decisions: purchase requisition releases/rejections) the reference for the object type BUS2009 and the decision task is predefined in the program coding. These reports should be seen as templates for the reports that you must program to extend and adapt the Easy Web Transaction to meet your requirements.

Copy the relevant report and make the following changes:

In the data declaration section, replace the object type BUS2009 with the object type of your choice (line 6) and declare the key fields of this object type as PARAMETERS (lines 3 and 4).

If there is more than one key field, concatenate the key fields into the variable OBJKEY (line 9).

In the data declaration section, replace the object type BUS2009 with the object type of your choice (line 5).

In the SUBMIT call of the encapsulated report, replace the task TS40007902 with a task of your choice (line 14).

Note that many of the texts that appear on the interface are text elements belonging to the report RMW3OINS.

All reports have a modular structure and each calls a report that executes the actual database selection. Do not change these reports!

Settings in the SAP Web Repository

Create your own HTML templates in the SAP Web Repository (transaction SMW0) in your R/3 System. Use the HTML templates WORKFLOW_STATUS_F* as models. These can be selected via development class ME.

Service name

The service name of this Easy Web Transaction is SWRP. All the relevant files are located under this service name in the SAP@WebStudio.

Adapting the templates

You must also adapt the templates that are stored on your Web server in the directory itsmnt\templates\swrp (= service name).