How To Enable Business Workflow for SAP NetWeaver Gateway 2.0

Similar documents
How To... Promote Reports and Input Schedules Through Your System Landscape

SAP NetWeaver How-To Guide

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How to Use Function Keys in Mobile Applications for Handhelds

Simplified Configuration of Single System Update in Maintenance Optimizer

How To... Reuse Business Objects and Override Operations of a Business Object

How To... Configure Integrated Configurations in the Advanced Adapter Engine

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

How To...Configure Integration of CUP with SPM

SAP NetWeaver How-To Guide

How To... Master Data Governance for Material: File Down- and Upload

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

How-To... Add Sensitive Content into an Area

How To Generate XSD Schemas from Existing MDM Repositories

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

Setting Up an Environment for Testing Applications in a Federated Portal Network

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

MDM Syndicator Create Flat Syndication File

Install TREX for CAF Version 1.00 March 2006

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

How To... Use the BPC_NW Mass User Management Tool

Visual Composer - Task Management Application

Process Control 2.5 Implementation Checklist

Do Exception Broadcasting

SAP Composite Application Framework. Creating a Content Package Object

How to Set Up and Use the SAP OEE Custom UI Feature

How To... Configure Drill Through Functionality

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

How To Configure IDoc Adapters

How To Customize the SAP User Interface Using Theme Editor

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

link SAP BPC Excel from an enterprise portal Version th of March 2009

What s New / Release Notes SAP Strategy Management 10.1

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform

configure an anonymous access to KM

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How To Extend User Details

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

Consuming Web Dynpro components in Visual Composer.

How to Create a New SAPUI5 Development Component

Integrate a Forum into a Collaboration Room

Web Page Composer anonymous user access

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

Cache Settings in Web Page Composer

How to Browse an Enterprise Services Registry in Visual Composer

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee

How to Fast-Switch Integration Scenarios between SAP PI Runtimes Part II: Web Dispatcher

Configure SSO in an SAP NetWeaver 2004s Dual Stack

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

How To Troubleshoot SSL with BPC Version 1.01 May 2009

Building a Tax Calculation Application

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

Authentication of a WS Client Using a SAP Logon Ticket

How to... Build a Planning Function that Deletes Comments in BW

Enterprise Portal Logon Page Branding

Create Monitor Entries from a Transformation routine

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Create Monitor Entries from an update routine

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

SAP How-To Guide. Master Data Governance for Material. How To... Adjust MDG Homepage. Applicable Releases: EhP6, MDG 6.1

Handle. How-to Guide SAP NetWeaver 2004s. Version 1.00 Sept 2006

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

Send Multiple IDocs Within One XI Message

Extract Archived data from R3

Visual Composer Build Process

Installation Guide Business Explorer

How to Translate a Visual Composer Model Part I

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

Using Business Graphics

Setup an NWDI Track for Composition Environment Developments

How To... Transport Forum Content Between SAP NetWeaver Systems

SAP Centralized Electronic Funds Transfer 1.8

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

View Time Security for crystalreports.com

Setting up Single Sign On Between xmii and Enterprise Portal

How to receive and convert PDF-documents with SAP XI

How-To Use the SAP BusinessObjects Planning and Consolidation(BPC) Toolkit for LoadRunner

Introducing SAP Enterprise Services Explorer for Microsoft.NET

How To Create Publications with SAP NetWeaver MDM Using MDM Publisher- Advanced Topics

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Extracting Product Attributes in XML using Web Service

Consuming Directory API in ABAP

How To Set Up and Use the SAP ME Work Instructions Feature

Transcription:

SAP NetWeaver How-To Guide How To Enable Business Workflow for SAP NetWeaver Gateway 2.0 (Revised for version 2.0 SP03) Version 2.03 March 2012 Author: Marc Chan, SAP Customer Solution Adoption (CSA)

Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver How-to Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way.

Document History Document Version Description 1.00 First internal release of this guide 2.00 First official release of this guide that corresponds to the public release of SAP NetWeaver Gateway 2.02 Revised for SAP NetWeaver Gateway 2.0 SP02 2.03 Revised for SAP NetWeaver Gateway 2.0 SP03

Typographic Conventions Type Style Example Text Example text Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Cross-references to other documentation Emphasized words or phrases in body text, graphic titles, and table titles Icons Icon Description Caution Note or Important Example Recommendation or Tip Example text File and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. Example text User entry texts. These are words or characters that you enter in the system exactly as they appear in the documentation. <Example text> EXAMPLE TEXT Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. Keys on the keyboard, for example, F2 or ENTER.

Table of Contents 1. Business Scenario...1 2. Background Information...1 3. Prerequisites...1 4. Step-by-Step Procedure...2 4.1 Preparing your workflow for Gateway scenario...2 4.2 Defining communication between Gateway and Backend...3 4.3 Maintaining Service in Gateway... 11 4.4 Executing Workflow items through RESTful services... 14 5. Appendix... 19 5.1 Sample Workflow used in this How-To Guide... 19 5.2 Roles needed for executing workflow... 21

1. Business Scenario With SAP NetWeaver Gateway, you can expose your workflow tasks from SAP Business Workflow as lightweight RESTful services. This integration between SAP NetWeaver Gateway and Business Workflow aims at providing a way for your business workflow users to work on the workflow items on any device or platform through SAP NetWeaver Gateway (referred as Gateway in this guide). 2. Background Information In this How-To Guide, we will show you how to do a Pull scenario with SAP NetWeaver Gateway and Business Workflow. That means, once you have a work item in your Business Workflow inbox, you can access this item and apply actions to the work item via SAP NetWeaver Gateway. This guide will show you the configuration required in SAP NetWeaver Gateway as well as in the SAP backend where your Business Workflow is located for enabling this scenario. The communications are all based on the OData Channel provided by SAP NetWeaver Gateway. 3. Prerequisites SAP NetWeaver Gateway 2.0 SP03 is used for illustration throughout this How-To Guide. In additions, the following are required to be installed or ready before using this guide: Administrator access to a SAP NetWeaver Gateway system. A SAP ERP system with Business Workflow (referred as backend in this document) and the corresponding SAP NetWeaver Gateway package (Backend Event Publisher BEP) installed. Please refer to the installation manual for the requirements of the installation and configuration procedure. A workflow is created in the backend. The workflow has to have at least 1 user decision task. Refer to or create a sample workflow described in section 5.1 as a preparation for the guide. Configuration for using assertion ticket has already been setup between Gateway and the backend. This is for passing on the logon ticket from Gateway to the backend. For detail on how to setup this up, please refer to the installation and configuration guide in http://help.sap.com. Firefox with REST Client installed for testing the RESTful services. March 2012 1

4. Step-by-Step Procedure There are 5 major steps you will have to go through in order to enable the Gateway scenario for your backend. Sections 4.1 to 4.5 show you how these steps should be done. 4.1 Preparing your workflow for Gateway scenario If you don t already have a workflow to work with, please create one. For reference, we will use a sample workflow described in Appendix 5.1. To enable the workflow for Gateway scenario, we will first need to define Workflow Pattern Customization. 1. Logon to the backend system where your business workflow is located. 2. Go to transaction SPRO. Click on the button SAP Reference IMG. 3. Open SAP Customizing Implementation Guide SAP NetWeaver Gateway Business Suite Enablement Workflow Settings. Click on Execute next to Maintain Task Names and Decision Options. 4. On the next screen, click on the button New Entries. Enter the following: Workflow ID: WS90000001 <refer to Appendix of the sample workflow we use> Step ID: 0000000004 <refer to Appendix> Description: User Decision <or any description you want> Click on Save. March 2012 2

5. Select the row you have just created. Then Double click on Decision Keys. Click on the button New Entries to define the decision keys. We will need to define 2 decision keys here like below. Key Description 0001 APPROVE 0002 REJECT Click on Save. 4.2 Defining communication between Gateway and Backend Before we can define the communication between Gateway and the Backend system, we have to setup bgrfc in the backend. The following steps guide you how to configure standard bgrfc configuration in Backend System. 1. Logon to the backend system, go to transaction SM59. 2. Define Supervisor Destination BGRFC_SUPERVISOR with connection Type 3 or L. March 2012 3

Note: If you choose 3, please choose No for load-balancing and do not enter any value for Target host and System number. If you choose L, the reference for the logical connection should be NONE or initial (blank). 3. Enter user, password for the logon info. Be reminded that the user you enter needs to at least have authorizations in the SAP_BC_BGRFC_SUPERVISOR role or is assigned with the role. 6. Go to transaction SBGRFCCONF. 7. On the Scheduler App Server tab, click on Create. March 2012 4

8. Enter a server name with F4 help and save. Note: Either inbound or outbound scheduler requires 3 dialog work processes per each scheduler. This workflow scenario only requires Outbound scheduler. 9. On Supervisor Destination tab, click on Change Button and enter the RFC Destination created in step 1. Then press the save button. March 2012 5

In the next steps, you will need to configure the Backend Event Publisher (BEP) in the backend system to define the connection between the Backend and Gateway through bgrfc. 10. Still in the backend system, go to transaction SPRO and click on the button SAP Reference IMG. 11. Open SAP Customizing Implementation Guide SAP NetWeaver Gateway Business Suite Enablement Backend OData Channel Connection Settings to SAP NetWeaver Gateway. Click on Execute next to Create RFC Destination for Outbound Queues. 12. This will bring us to the RFC Destination transaction (i.e. SM59). In the window of Configuration of RFC Connections, click on the Create button. 13. We now need to create a bgrfc destination. Enter the followings to the corresponding fields. RFC Destination: BEP_BGRFC_DEST <or any name you want> Connection Type: 3 Description 1: bgrfc for Backend Event Publisher <or your own description> Then hit Enter. March 2012 6

14. Under the tab Technical Settings, enter the host info of the system where Gateway is located. Target Host: < hostname of the Gateway box > System Number: < system # of the Gateway box > 15. Click on the tab Logon & Security. Enter the Logon info for logging on to the Gateway box. Click on Save to save the changes. 16. Click on the tab Special Options. Under the area of Select qrfc Version, select 1 bgrfc for qrfc Version. March 2012 7

17. Click Save. A dialog of Warning about selection of qrfc version will be displayed. Click on Yes to proceed. 18. On the bottom of the screen, you should see a message Destination BEP_BGRFC_DEST saved. Click on the button Connection Test to test the destination. A successful test should look like below. 19. Go to transaction SPRO and click on SAP Reference IMG. Open SAP Customizing Implementation Guide SAP NetWeaver Gateway Business Suite Enablement Backend OData Channel Connection Settings to SAP NetWeaver Gateway. Click on Execute next to SAP NetWeaver Gateway Settings. March 2012 8

20. In the window of Change View Gateway Settings : Overview, click on New Entries. Then enter the followings in the corresponding fields. Destination System: T2D < i.e. System ID of your Gateway box > Client: 001 < i.e. Client Number in your Gateway box > System Alias: T2D_GWDEMO < an unique alias name > RFC Destination: BEP_BGRFC_DEST < the bgrfc destination created in step 11 of this section > 21. Click on Save. Create your Customizing Request when prompted. 22. Go back to transaction SPRO and open SAP Reference IMG. 23. Open SAP Customizing Implementation Guide SAP NetWeaver Gateway Business Suite Enablement Backend OData Channel Backend Event Publisher Administration. Click on the Activity icon next to Event Definition. 24. In the Change View Event Definition : Overview window, select Event definition under Dialog Structure and click on the button New Entries. 25. Enter the following in the Event definition table. Event ID: WORKFLOW Active: < check this to enable the event for Gateway > March 2012 9

Event Description: < enter your description > 26. Click on Save. Create a Customizing Request when prompted. 27. Logon to the Gateway box. Then go to transaction SM59. You will need to create a RFC destination to the backend system of Business Workflow if you don t have one yet. Create a destination with the info below (you can skip this part if the destination has already been created during your installation): RFC destination: Connection Type: 3 <Backend SID>CLNT<client #> (in this case, EC6CLNT001) Target Host: < hostname to your Workflow backend > System Number: < system # of your Workflow backend > Save and test the connection to make sure it works. March 2012 10

28. Go to transaction SPRO and open SAP Reference IMG. 29. Open SAP Customizing Implementation Guide SAP NetWeaver Gateway OData Channel Configuration Connection Settings SAP NetWeaver Gateway to SAP System. Click on the Execute icon next to Manage SAP System Alias. 30. Click on the button New Entries. Define a SAP system alias with info below: SAP System Alias: EC6_001 < or any unique name you want > Description: < any description > RFC Destination: < choose the RFC destination defined in step 1 > Software Version: < choose the system type of your backend > Click on Save. 4.3 Maintaining Service in Gateway 1. Still in the Gateway system, go to transaction SPRO. Explore SAP Customizing Implementation Guide SAP NetWeaver Gateway OData Channel Administration General Settings. Click on the Activity icon next to Maintain Services March 2012 11

2. Click on the Add Service button. 3. On the field System Alias, enter the system alias defined in section 4.2 step 30 (e.g. EC6_001) and then hit Enter. Select the service /IWWRK/WFSERVICE by clicking on its link. March 2012 12

4. On the pop-up window, enter a package (e.g. $TMP) and then click on the Add Service button. 5. You should be able to see a successful message Service WFSERVICE successfully created. 6. Still in the Maintain Services screen (i.e. t-code: /iwfnd/maint_service), select the newly added ZWFSERVICE by clicking on its link. On the bottom of the screen, activate the ICF Node for ODATA Standard Mode. Also, assign the System Alias to it (e.g. EC6_001 as described in section 4.2 step 30). It should look like below. March 2012 13

4.4 Executing Workflow items through RESTful services At this point, the configurations required are basically done. We can now test the workflow operations through the RESTful services from Gateway. 1. To get a list of Tasks created in the workflow, issue a GET request to the following URL to the Gateway box: http://< Hostname of Gateway box >:< HTTP port of Gateway box > / sap/opu/odata/iwwrk/wfservice/workflowtaskcollection?$format=xml For Example: http://vew2k364la032.dhcp.wdf.sap.corp:8000/sap/opu/odata/iwwrk/wfserv ICE/WorkflowTaskCollection?$format=xml You should be able to get a collection of tasks like below. March 2012 14

2. To get a decision list of a particular work item, you can issue a GET request to the following URL: http://< Hostname of Gateway box >:< HTTP port of Gateway box > / sap/opu/odata/iwwrk/wfservice/workflowtaskcollection ( < workitem_id > )/DecisionOptions?format=xml For example: http://vew2k364la032.dhcp.wdf.sap.corp:8000/sap/opu/odata/iwwrk/wfserv ICE/WorkflowTaskCollection('000000000011')/DecisionOptions?$format=xml You will get a list of decision available for this work item like below. March 2012 15

3. Now we can apply a decision (e.g. approve) to the work item. Starting from SAP NetWeaver Gateway 2.0 SP03, you need to obtain a CSRF (Cross-Site Request Forgery) Token before you can actually POST to Gateway for applying the decision. In this How-To Guide, we will use Firefox REST Client to demonstrate this operation. To obtain (i.e. GET) a CSRF Token, open your Firefox REST Client. Select GET under Method, then put in the following URL next to it: http://< Hostname of Gateway box >:< HTTP port of Gateway box > / sap/opu/odata/iwwrk/wfservice/workflowtaskcollection For example: http://vew2k364la032.dhcp.wdf.sap.corp:8000/sap/opu/odata/iwwrk/wfserv ICE/WorkflowTaskCollection In the request header, you will need 2 headers: Authorization: < click on the Login button to add your login info > Header X-CSRF-Token with value Fetch Click on Send. You should get a return status code of 200. In the response HTTP header, record the value of X-CSRF-Token. This is the token you will need for applying the decision. March 2012 16

To apply (i.e. POST) a decision, still in the Firefox REST Client, click on the Clear button. Then change the method to POST and enter the following URL next to it. http://< Hostname of Gateway >:< HTTP port of Gateway > /sap/opu/odata/iwwrk/wfservice/applydecision?workitem_id='< workitem_id >'&dec_key='< dec_key >'&comments='< your comment >' For example: http://vew2k364la032.dhcp.wdf.sap.corp:8000/sap/opu/odata/iwwrk/wfserv ICE/ApplyDecision?workitem_id='000000000011'&dec_key='0001'&comments=' demo' In the POST request header, you will need 2 headers: Authorization: < click on the Login button to add your login info > Header X-CSRF-Token with the value as the token you obtained in the previous step (e.g. 19Pn1P9JeLXa-TYTBzzsdg==) Click on Send. This will send a POST request to Gateway and apply the decision to the work item. A successful response will look like below. March 2012 17

For any other operations you may want to apply to the RESTful services of your workflow, please refer to the online help (SAP NetWeaver Gateway Workflow Guide) from http://help.sap.com. March 2012 18

5. Appendix 5.1 Sample Workflow used in this How-To Guide Through this How-To Guide, we use the following sample workflow to explain how the Gateway scenario works. Below you can find the detail about this sample workflow. Design of the workflow: 1 User Decision step. Step ID is 000004. Workflow ID is WS90000001. Task ID of the user decision step is TS00008267. March 2012 19

March 2012 20

5.2 Roles needed for executing workflow The enable your users with the necessary authorization to execute on Business Workflow via Gateway, you will need to assign the users with a role assigned on the Backend system with the following authorization in addition to the standard Gateway role (e.g. Z_GATEWAY) you may already have. For illustration purpose, let s say we create a role called Z_GW_WORKFLOW at the backend and assign it with the necessary authorization. To do it: 1. Go to transaction PFCG, create a new role called Z_GW_WORKFLOW 2. Go to Edit and in the Authorizations tab, click on Change Authorization Data. 3. Click on Edit Insert Authorization From Template. Add the following templates one after one: - /IWBEP/RT_BEP_USR - /IWBEP/RT_MGW_USR - /IWWRK/RT_WF_GW_USR 4. Click on Edit Insert Authorization Manual Input, add the Auth. Object S_SERVICE with configuration below: March 2012 21

5. Depends on the scenario of your workflow, you may need authorization to run the workflow. For example, you may need authorization on HR to execute. Click on Edit Insert Authorization Manual Input, add the Auth Object PLOG with the following configuration (again, you need to know what authorization you need when executing the workflow, this Auth Object is only for illustration purpose). 6. Save and Generate. Then go back and click on the User tab to assign your users to this role. Don t forget the click on User Comparison before you save. March 2012 22

www.sdn.sap.com/irj/sdn/howtoguides