50
Interactive Forms in Workflows and Guided Procedures (not including Internet Service Requests)

Interactive Forms in Workflows and Guided Procedures · PDF fileInteractive Forms in Workflows and Guided Procedures ... presentation rules for the form ... ABAP Web Dynpro 1 2 3

Embed Size (px)

Citation preview

Interactive Forms in Workflows and Guided Procedures(not including Internet Service Requests)

Forms in Guided Procedures

Overview

Forms in SAP Business Workflow

Summary and Appendices

Business Task Management in SAP NetWeaverSAP Interactive Forms by AdobeGuided Procedures and SAP Business Workflow

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 4

Business Task Management in SAP NetWeaver

User Productivity Enablement

Running an Enterprise Portal

Enabling User Collboration

Business Task Management

Mobilizing Business Processes

Enterprise Knowledge Management

Data Unification Master-Data Harmonization Master-Data Consolidation Central Master-Data Management Enterprise Data Warehousing

Business Information Management

Enterprise Reporting, Query, and Analysis

Business Planning and Analytical Services Enterprise Data Warehousing

Business Event Management Business Event Resolution Business Task Management

End-to-End Process Integration

Enabling Application-to-Application Processes

Enabling Business-to-Business Processes

Business Process Management

Enabling Platform Interoperability

Business Task Management

Custom Development Developing, Configuring, and Adapting Applications Enabling Platform Interoperability

Unified Life-Cycle Management Software Life-Cycle Management SAP NetWeaver Operations

Application Governance & Security Authentication and Single Sign-On Integrated User and Access Management

Consolidation Enabling Platform Interoperability SAP NetWeaver Operations Master-Data Consolidation Enterprise Knowledge

Management

Enterprise Service Architecture – Design & Deployment

Enabling Enterprise Services

IT Practices IT Scenarios

On the concept of IT Practices and IT Scenarios…

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 5

1995

EP 5.0

2003

SAP NetWeaver ‘04

SAP NetWeaver 2004s

BusinessWorkflow

UniversalWorklist

+ CollaborationTasksBPM

+ GuidedProcedures

Business Task Management is Evolutionary

Duet

Third PartyUWL

integration

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 7

Business Task Management Components

Universal WorklistSingle point of access for managing your workCan be personalized to suit each user’s working styleProcess-specific views can be customized for expert users

Collaboration TasksEnables end-users to create their own ad hoc processes and drive collaborationIncludes various types of collaboration tasks including actions, approvals, and feedbackUsers track progress of their delegated task

Guided ProceduresDesigned to implement process flows with greater ease and speed across multiple applicationsIntegrates backend system transactions and interactive formsIncludes process templates that can be easily re-used or copied and easily changed

Interactive FormsGenerate forms that contain data extracted from core systemsUse dynamic or static formsAccelerate forms-based business processes

SAP Business WorkflowStructured, repeatable, simple to complex business process Manages the tasks that need to be performed and who should perform the tasksEnsures business process deadlines and service agreements are appropriately monitored and enforced

AlertsException-triggered notificationsDefine follow-on activitiesInter-System alerting

DuetProcesses in Microsoft Outlook

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 8

Business Task Management – Definition

Business Task Management is the automation, execution and monitoring of tasks

Coordinate and execute tasks arising from automated process flows and spontaneous eventsTrack the progress of tasks

Tasks include a wide variety of activitiesBusiness TransactionAlertFormDesktop DocumentImpromptu Request

Business Task Management in SAP NetWeaverSAP Interactive Forms by Adobe

Guided Procedures and SAP Business Workflow

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 10

Understanding Forms

Forms typically offer a service, share knowledge, or collect andprovide answers.

A form is the document that an end user views or interacts with.

The form design specifies the layout, data capture, and final presentation rules for the form

No complex navigation or business rules

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 12

Key Capabilities

Integrate interactive PDF documents into business processes driven by SAP applications

Allow forms-based input combined with workflow to start automated follow-up steps

Generate forms that contain data extracted from SAP systems

Use dynamic or static forms

Complete forms online or offline

Submit data from the form back to SAP systems

Allow users to print forms

Interactive Forms Based on Adobe Software

1

2

3

4

5

6

7

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 14

Form Scenarios

Scenarios for capturing or displaying data in a Form1. Interactive forms

– Users complete the form (online/offline) – Select options online to submit the form data to a predefined process– Optional Support for data validations

2. Non-interactive forms – Designed to present information to end users– Pre-populated with data– Data can not be added or modified

3. Print and fill forms– End user opens and prints the form – Fills it out manually– Returns it by fax or mail

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 15

SAP/Adobe Partnership

SAP/Adobe Strategic PartnershipSolution first available with SAP NetWeaver ‘04

Adobe providesOpen technology, de-facto standard for formsBenefits of combination of PDF with XML

Benefits of SAP/Adobe collaborationAdobe Reader installed on virtually all desktops“Natural” look and feel of formsUser-friendly forms design tool lowers cost of operationsIntegration of Adobe’s PDF technology into SAP solutionsInteractive Forms based on Adobe Software (Java - ABAP)Generation of forms to mass print, email or archive (ABAP)Linking of processes and Interactive Forms (Java – ABAP)

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 16

Where Our Integration Starts?

Paper-like layoutSelf-explanatoryNatural look and feel

User HandlingSave locallyDistribute via email / PortalApply digital signaturePrint locally

Background ServicesStructured data in XMLPre-filled application valuesPre-filled list boxes, help values, …Automatic data extraction and integration in application

Interactive PDF

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 18

Interactive Forms – Run-Time Architecture

Application Code (Java) Application Code (ABAP)

SAP NetWeaver Application Server

J2EE Stack ABAP Stack

Document ServiceEJB

Web Services

Adobe Document ServicesCore Components

PDF Object (ABAP)

Web Services

SOAP

SOAP

J2EE ABAPApplication Server

Adobe Document ServicesDB and OS Abstraction

Adobe LiveCycleDesigner

Adobe LiveCycleDesigner

PDF Object (Java)

Web Services

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 19

Adobe LiveCycle Designer

You are able to create the design of your form with the Adobe LiveCycle Designer.

The context elements that were bound to your form can be dragged and dropped onto the form layout.

1 2

3

Business Task Management in SAP NetWeaverSAP Interactive Forms by Adobe

Guided Procedures and SAP Business Workflow

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 21

Execution of Business Task Management

Task 1

TASK MANAGEMENT UI (Universal Worklist)

Task 2

Events trigger tasks(workitems, notifications)

User Interaction with BPM Runtime

Stable Processes

Human InteractionCollaborative ProcessesAd Hoc Processes

Dynamic Processes

Task x

BPM RUNTIME

Collaboration tasks

Guided Procedures

Business workflows

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 22

Business Department

“We need to supplementthe companies core processes with our own departmental procedures.”

Central IT

“We need to create flexible, robust and highly scalable standardized processes”

Individual

“I want to delegate some of my tasks to colleagues, andtrack their progress.”

Centralized vs. Decentralized Process Control

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 23

Business Department

“We need to supplementthe companies core processes with our own departmental procedures.”

Central IT

“We need to create flexible, robust and highly scalable standardized processes”

Individual

“I want to delegate some of my tasks to colleagues, andtrack their progress.”

Centralized vs. Decentralized Process Control

SAP NetWeaverTM

Guided Procedures

Collaboration Room

Unbounded Processes

Embedded Processes

SAP NetWeaverTM

Programmed Processes

Collaboration Tasks

SAP NetWeaverTM

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 24

You have developer resources to assist with emailing out forms for offline usage and creating Web Dynpros for form rendering online.

When the form is involved in a process that accesses several backend systems. For example, the form is used in CRM and ERP and SRM and various people will interact with the various systems throughout the process.

You want to take existing workflow functions and render them in a form rather than in the current UI.

When the process should email forms and wait for a reply, or when a form filled in offline should initiate a process.

You are already familiar with Business Workflow.

You want a simple offline scenario and you have no development resources available to you.

Users normally work online and want to process the forms via their Universal Worklist.

Your users normally will process the forms without connection to the system.

Use BWF for interactive forms when…

Use GP for interactive forms when….

Guidelines for Interactive Forms and Processes –When to Use What Tool…

The process requires has strict reporting requirements on form approval.

Forms in Guided Procedures

Overview

Forms in SAP Business Workflow

Summary and Appendices

Business Task Management in SAP NetWeaverSAP Interactive Forms by AdobeOverview of SAP Business Workflow Universal Worklist BasicsSAP Interactive Forms Integration

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 27

Workflow Definition

automation and monitoring of business processes

providing appropriate business knowledge of how to perform business processes

active flow of information bring the right information at the right time to the right peopledistribution of work according to business rulesexception handling and deadline monitoring

providing metrics on business processese.g. for benchmarking and continuous process improvement

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 28

Customer Workflows

Custom workflows workflow modellerCustomizable business triggers.Workflow-Wizards

Tool

SAP Workflows

Standard workflows ( more than 500)Shrink-wrapped / ´Best Practice´Customizeable

Stan

dard

Fast-Path Implementation

Workflow in SAP NetWeaver

Comfortable workbenchAccelerateSAP

Literature Training

User GroupsConsulting Partners

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 30

Workflow Builder

DetailHeader

Steps

Step Types

Birds-eyeView

Information

Business Task Management in SAP NetWeaverSAP Interactive Forms by AdobeOverview of SAP Business Workflow Universal Worklist BasicsSAP Interactive Forms Integration

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 37

Many Systems, Many Inboxes

MySAP CRM

mySAP ERP

R/3

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 38

ISV/Third Party R/3

mySAP ERP

MySAP CRM

Universal Worklist in Central SAP Enterprise Portal

UWL items can include: Business Workflow AlertsCollaboration Tasks KM NotificationsGuided Procedure Actions

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 39

R/3

mySAP ERP

MySAP CRM

Universal Worklist and External Task

Task

NetWeaverWeb Application Server

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 40

First Look at the Universal Worklist

UWL is part of the standard user end role, accessed via Home - Work

Hint: To Refresh your lists of tasks, use the drop down menu near the Hide Preview link.

Process-specific views to display context-related columns or details

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 45

R/3

R/3

MySAP CRM

Universal Worklist and External Task

Task

1. Workflow

Process ControlDeadlinesInvoke ServicesTask Dispatching

3. Task Definitions

User InterfaceContext access

2. Universal Worklist

Display TasksInvoke TasksGeneric Task Control

NetWeaverWeb Application Server

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 46

Launch Work Transaction

Parameterized launching forBSPiViewURLWeb Dynpro (Java or ABAP)SAP GUI (for HTML)

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 47

Launch Customization: ABAP Web Dynpro

XML Example<Action name="launchWebDynProABAP" handler="SAPWebDynproABAPLauncher“>

Launches an ABAP Web Dynpro

1

2

3

Business Task Management in SAP NetWeaverSAP Interactive Forms by AdobeOverview of SAP Business Workflow Universal Worklist BasicsSAP Interactive Forms Integration

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 54

Adobe LiveCycle Designer

You are able to create the design of your form with the Adobe LiveCycle Designer.

The context elements that were bound to your form can be dragged and dropped onto the form layout.

1 2

3

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 64

Inbound: Web Dynpro Plugs and Navigation

Window

View ControllerView

Inbound Plug

IN

Workflow

Work item

UWL

WI_ID

WI_ID

Web Dynpro Applicationwith Parameter WI_ID

IN WI_ID

Web Dynpro Componentwith Parameter WI_ID

Forms in Guided Procedures

Overview

Forms in SAP Business Workflow

Summary and Appendices

Business Task Management in SAP NetWeaverSAP Interactive Forms by AdobeUnderstanding Guided ProceduresIntegrating Forms in Guided Procedures

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 72

Composite Applications: a Technical View

Technical characteristics

Usage- and process-centric

Based on services

Loosely coupled to backend systems

Abstracting from backend systems

Dependent on service enabling

Composite Applications make use of data and functions provided as services by platforms and applications, combining these into user-centric processes and views, supported by own business logic and specific user interfaces.

Composite Applications make use of data and functions provided as services by platforms and applications, combining these into user-centric processes and views, supported by own business logic and specific user interfaces.

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 73

Guided Procedures and Composite Applications

Service Enablement

Services Services Services

mySAP CRM SAP NW BI mySAP ERP

Services

UI BuildingBlocks

BusinessProcesses

(Composites)

Composite Process<<Step>>

Create Patient

<<Step>>Request

Appointment

<<Step>>Create

AppointmentYes <<Step>>

NotifyPatientExists?

No

<<Step>>Find Patient

BusinessLogic

ServiceDevelopment

ServiceComposition

User InterfaceName

Title

Check

WorkcenterRole 1 Role 2

Actions

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 75

Process Building Blocks

Reusable Components

Callable Objects

Process Instance

Phase Phase Phase …Block Block Block ...

StepAction

StepAction

n-StepsBlock

…...

VC UIs Adobe Forms Web Services CAF Services …

Process TemplateRuntime

Design Time

Business Users

Developers

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 77

Designing a Process

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 85

Types of Callable Objects

Guided Procedures provides a set of callable object implementations that you can use by simply configuring them in the GP design time. These predefined callable objects are of two main types: ● Web Dynpro Component (GP Interface)● Java Callable Object for Background Execution

The predefined callable objects are available in the list of callable object categories that is displayed in the first step of the procedure for creating callable objects. To use a predefined object, you just select it as a type from the relevant category.

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 89

Working in the Editor (II)

Click on the square next to an object to select it and work with it

To insert either a new or existing object, select the correct place in the flow, make sure the appropriate object type shows in the Item drop-down, and click either the Insert or the Create New icon.

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 104

Adobe LifeCycle Designer

Layout Editor

Palettes

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 105

Button Properties in the Submit Tab

Control Type –type SubmitSubmit Format – format XML Data (XML)Submit to URL %com.sap.caf.gp.if.PostProcessorUrl%

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 106

Runtime From the End User Perspective

1. Open PDF form

2. Fill in data field

3. ValidationBusiness Partner format Required Fields Entered

4. Click Submit

5. Success Message

HTTP

Forms in Guided Procedures

Overview

Forms in SAP Business Workflow

Summary and Appendices

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 121

Public Web:www.sap.comSAP Developer Network: www.sdn.sap.comIn order for appearance:https://www.sdn.sap.com/irj/sdn/developerareas/itpracticeshttps://www.sdn.sap.com/irj/sdn/interactiveformshttps://www.sdn.sap.com/irj/sdn/developerareas/caf

SAP Customer Services Network: www.sap.com/services/

Related SAP Education Training Opportunitieshttp://www.sap.com/education/Book: Practical Workflow for SAP Book: SAP xApps and the Composite Application Framework

Further Information

© SAP AG 2006, Usergroup / Workflow and Forms – Alan Rickayzen / 122

THANK YOU FOR YOURATTENTION !

QUESTIONS – SUGGESTIONS – DISCUSSION