
Workflow Status Reports via the Internet
Use
Employees in your enterprise who do not work on the premises or who are often away on business trips cannot always get direct access to the SAP System. 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 SAP front end component and set up a connection to the SAP System.
This helps your external employees who are often off the premises. The worldwide availability of the Internet also means access to the SAP System at all times, without having to set up a time-limited connection to the "home" SAP System via the telephone network.
There are also advantages for your internal employees who do not use any SAP functions 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 exit this to use workflow functions.
Prerequisites
Basic knowledge of SAP Business Workflow is required. For more information, see 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 belongs to the authorization object S_PROGRAM ( ABAP: Program procedural check), for which the following errors are used:
The following authorizations for the authorization object S_PROGRAM ( ABAP: Program procedural checks) are already prepared 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 SAP System for the purchase requisition example:
Report
Report
Report
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 to the object type BUS2009 and to the decision task are already predefined in the source text. 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, collect the key fields in 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 user 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 SAP System. Use the HTML templates WORKFLOW_STATUS_F* as models. These can be selected via package 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).