Understand, Extend and Customize Alloy by IBM and SAP

40
AD403: Understand, Extend and Customize Alloy by IBM and SAP Christian Holsing | Product Manager Alloy by IBM and SAP Wei-Lee Jamrog | Development Manager Alloy by IBM and SAP

description

Lotusphere 2010 Presentation on Alloy on how to extend Alloy. This presentation was given in the Application Development Track

Transcript of Understand, Extend and Customize Alloy by IBM and SAP

Page 1: Understand, Extend and Customize Alloy by IBM and SAP

AD403: Understand, Extend and Customize Alloy by IBM and SAP

Christian Holsing | Product Manager Alloy by IBM and SAPWei-Lee Jamrog | Development Manager Alloy by IBM and SAP

Page 2: Understand, Extend and Customize Alloy by IBM and SAP

2

Financial Disclaimer The information on the new product is intended to outline our general product direction and it should

not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion

Page 3: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 4: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 5: Understand, Extend and Customize Alloy by IBM and SAP

AlloyTM by IBM and SAP 1.0 Out-of-the-Box Functionality

● Easy access to SAP BI, SAP ERP and line of business reports

● Self service subscription and personalization

● Forward or access reports off-line

● Links to related reports and information

Reports Management

● Schedule and approve trip requests

● Approve expense requests

● Links to key information, e.g. travel and expense policies

● Ensure data consistency and compliance

Travel Management

● Schedule and approve leave requests

● Link to collaboration tools to discuss and resolve quickly

● Ensure data consistency and compliance

Leave Management

Page 6: Understand, Extend and Customize Alloy by IBM and SAP

Alloy 1.0 Workflow Decisions ManagementManage SAP Workflow decision steps in IBM® Lotus® Notes®

● Bring decision steps from workflow to Lotus Notes

● Simple configuration-no customization needed

● Transparently supports multiple decision options

● Extensive customization options for specific requirements

LeaveApprovals

Invoice Approval

Marketing Funds

ApprovalShopping Cart

Approval

Travel Approval

Purchasing Order

Hiring Approvals

... Think of Your Workflows …

Page 7: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 8: Understand, Extend and Customize Alloy by IBM and SAP

IBM LotusNotes Client

IBM Lotus Domino

Mail Servers

Alloy Software by IBM and SAP

IBM Lotus Domino

Alloy Add-on

IBM LotusDomino Server

SAP NetWeaver Application Server

(J2EE)

SAP Alloy Add-on

Alloy 1.0 Architecture

SAP NetWeaverBusiness

Warehouse

SAP Business Suite

Page 9: Understand, Extend and Customize Alloy by IBM and SAP

Alloy 1.0 Architecture - Communication

IBM LotusNotes ClientIBM LotusNotes ClientIBM Lotus

Notes ClientIBM LotusNotes ClientIBM Lotus

Notes ClientIBM LotusNotes Client

IBM Lotus DominoMail ServersIBM Lotus DominoMail Servers

SAP Business SuiteSAP Business Suite

SAP NetWeaver™Business WarehouseSAP NetWeaver™Business Warehouse

SAP NetWeaver™Web Application Server Java 7.00 SP17IBM Lotus

Domino Server

SAP AlloyTM Add-on

IBM Lotus DominoAlloy Add-on

Mailbox

Sidebar

Metadata

MailboxInbound Proxy

Outbound Proxy

Metadata

Synchronous Call

Asynchronous Call

Mail Router

Mail Router

optional componentComponent delivered by SAPComponent delivered by IBM

Enterprise SOA

Ticket Issuer

Item HandlerService

Service Bundle BW Report ExecutorReportingAdapter

Page 10: Understand, Extend and Customize Alloy by IBM and SAP

Alloy 1.0 Architecture - Security

optional componentComponent delivered by SAPComponent delivered by IBM

IBM LotusNotes ClientIBM LotusNotes ClientIBM Lotus

Notes ClientIBM LotusNotes ClientIBM Lotus

Notes ClientIBM LotusNotes Client

IBM Lotus DominoMail ServersIBM Lotus DominoMail Servers

SAP Business SuiteSAP Business Suite

SAP NetWeaver™Business WarehouseSAP NetWeaver™Business Warehouse

SAP NetWeaver™Web Application Server Java 7.00 SP17IBM Lotus

Domino ServerVersion 8.02

SAP AlloyTM Add-onIBM Lotus DominoAlloy Add-on

Mailbox

Sidebar

Metadata

MailboxInbound Proxy

Outbound Proxy

Metadata

Synchronous Call

Asynchronous Call

Mail Router

Mail Router

Ltpa

Ltpa

Ltpa

SSL

As

se

rtio

n

Tic

ke

ts

SAML Request

1

1

SSO SAP Logon Ticket2

2

Enterprise SOA

Ticket Issuer

Item HandlerService

Service Bundle BW Report ExecutorReportingAdapter

Page 11: Understand, Extend and Customize Alloy by IBM and SAP

Alloy Metadata Handling Concept

● One of the common Integration problems is that only data is integrated, but configuration settings are not reflected

● Alloy reads SAP configuration (e.g. Leave Types or Report Templates) and provides them to the user

▬ Client updates automatically▬ Application logic is driven from SAP customizing▬ Notes developer does not need to update Key mappings anymore

● The Sidebar Elements are stored in the Metadata repository, too▬ Provided in HTML which allows full customization and extension (e.g. Charts in the sidebar)▬ developers can easily do more customization than just changing the existing blocks▬ Integration of Real-time content from other server / services, e.g. communication through Ajax

or a WebService or Google Charts▬ Applying corporate UI Guidelines or CSS Stylesheets

● New Metadata / HTML fragments don't require Notes Design updates but are distributed through the Metadata mechanism down to the Notes Clients (WebService Call)

Page 12: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 13: Understand, Extend and Customize Alloy by IBM and SAP

Administration Lotus Side: Server● Alloy extends the standard mail8.ntf with a set of additional

DesignElements▬ Reason for 8.02 is beyond performance the fact that the 8.02 mail template already holds Alloy

Design elements – so nothing is overwritten

● Role out of the Alloy Design is very easy and done via designer task● Other tasks are normal Domino Admin tasks▬ Sign Design Elements▬ Setup of Alloy Databases / Deployment of jar Files▬ Setup the username mapping for the SSO

▬ Tivoli Directory Integrator can help

Page 14: Understand, Extend and Customize Alloy by IBM and SAP

Administration Lotus Side: Server

● SAP J2ee Server Address

● SAML User Mapping

● SAML Security Settings

● SLD Registration

● Clustering (targeted SP1)

Page 15: Understand, Extend and Customize Alloy by IBM and SAP

Administration Lotus Side: Server

● Mail-In Database Name

● Metadata Sync schedule

Page 16: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 17: Understand, Extend and Customize Alloy by IBM and SAP

Customizing / Extensibility in Alloy● Customizing and Extensibility

happens through normal mechanisms:

▬ SAP Side▬ ABAP User Exits▬ Standard configuration

▬ Lotus Side▬ Normal Notes Design Elements with

Domino Designer

● No additional skills are needed to extend the functionality

● Alloy itself acts as a BlackBox which establishes connectivity and save delivery of Messages

Page 18: Understand, Extend and Customize Alloy by IBM and SAP

Quick Guide to Expose Workflow Decisions in Alloy

Step 1 Step 2 Step 3 Opt: Step 4

IMG and

Custom Handlers

Configure IBM

Lotus Domino

Server with

the application id

and bound type

created in step 2

ConfigureSAP

Backend

ConfigureIBM Lotus

DominoServer

The IBM

Lotus Domino

configuration

generates a user

role on SAP

Alloy Add-on.

Assign user to

this role.

Configure SAP

Alloy Add-on

Magnify and enrich

the decision UI with

additional

information in the

decision body

and the Alloy

sidebar

MagnifyDecision UI

IBM Lotus Domino Server

IBM Lotus Domino Designer

SAPBusiness Workflow

SAPBackend

SAPAlloy Add-on

Page 19: Understand, Extend and Customize Alloy by IBM and SAP

Configure Workflow to use Alloy

Configuration of the WF Details is performed and the BoundItemType added

Page 20: Understand, Extend and Customize Alloy by IBM and SAP

Register Workflow on Lotus sideThe registration is done in the NDERPWS.nsf Application by mapping to the Application Key and the BoundItemType (Maps to definition in the SAP System

Page 21: Understand, Extend and Customize Alloy by IBM and SAP

Generate UX Elements for Alloy in NotesAnd the field names as they are coming from SAP and appear in the Notes Document. The Fields should be set to computed to prevent editing

Page 22: Understand, Extend and Customize Alloy by IBM and SAP

Customizing: Adding Google Charts to the sidebar

● As the Sidebar Widget is simply constructed out of HTML fragments

● In this example▬ Google Charts are added to display

Business Data which is achieved by▬ A Lotus Script agent that constructs

the necessary HTML code on document PostOpen

▬ Data is read from Notes Document and written into HTML stream

▬ Default Element from Metadata Repository is extended

Page 23: Understand, Extend and Customize Alloy by IBM and SAP

New scenarios available through OpenNtf● Available now through Open NTF are additional Approval scenarios

No. Workflow Scenarios Application Area

Application ID

Application Description Workflow ID

1 Purchase Order Approval MM/SRM ZPO1 Purchase Order Approval WS91000240

2 Material Approval MM/SRM ZMM02 Material Approval WS90000244

3 Supplier Validation MM/SRM ZMM01 Supplier Validation Approval WS90000243

4 Change Request for Purchase Order

MM/SRM Change Request for Purchase Order

5 Change Request for Sales Order

SD/CRM Change Request for Sales Order

6 Sales Deal Approval SD/CRM ZSD01 Sales Deal Approval WS90000242

7 Hiring Approval HCM ZHR01 Hiring Approval WS90000241

8 Time Recording Approval HCM ZHR02 Time Recording Approval WS90000247

9 Invoice Approval FI ZFI01 Invoice Approval WS90000249

10 Project Resource Allocation Approval

PLM ZPLM01 Resource Allocation Approval WS90000248

Page 24: Understand, Extend and Customize Alloy by IBM and SAP

RIM BlackBerry Integration- current development

Page 25: Understand, Extend and Customize Alloy by IBM and SAP

RIM BlackBerry Integration Architecture

SAP Alloy Components

Domino Server (Alloy)

Domino Mail Server

BES ServerUser

MailDB

SAP ERP

●Solution does not require any changes to BlackBerry Device or BES Server●Handling of Alloy Item as regular eMail that hits device●User sees summary and can access item in MailServer via Link (requires HTTP Task)●Approval through WebFrontend

Page 26: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 27: Understand, Extend and Customize Alloy by IBM and SAP

The key development / design Patterns are simple:

● The business process remains at one place – The ERP System

● Business Configuration is driven through ERP System only

● No rebuilding of the SAP System / UI if not necessary

● Open and extensible concepts on Notes Side – so Notes developer can add functionality

Page 28: Understand, Extend and Customize Alloy by IBM and SAP

Alloy items in Notes are regular Notes documents

● Any Alloy item in Notes is a regular Notes Document and has a Notes form associated with it

● A Notes Developer can for example:▬ Adjust the Layout of the included Notes Forms / Examples from OpenNTF▬ Create new Forms for Additional SAP Workflows▬ Hook Alloy into other Collaborative Applications like Lotus Connections, Lotus Quickr and Lotus

Sametime▬ Integrate with Lotus Workflow to provide Ad-Hoc Workflow capabilities

● Alloy Server components handle the routing and the SSO to the SAP Backends

▬ Based on signing the message sent w/ the current UserID

Page 29: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 30: Understand, Extend and Customize Alloy by IBM and SAP

TimeRecording POC● The solution is a Proof of Concept that the Business Partner has

developed to provide ability to record working Time in Lotus Notes and submit it to the SAP System

● Notes Application to provide Time Recording Interface to User▬ UI to enter Data▬ Application creates message and send it to NDERPWS Application▬ Alloy handles the item, transfers it to the Backend and triggers Approval workflow

● Approver (dependent on BackEnd Configuration) receives Approval Item and can approve via Workflow Capabilities

▬ Works as designed▬ New Notes Form for Time Approval

● Alloy Workflow is configured to handle the new Items (BoundItemTypes) and recognizes them as TimeRecording Approvals

Page 31: Understand, Extend and Customize Alloy by IBM and SAP

IBM and SAP CONFIDENTIAL

Q1/2009

Alloy v1.0 -Reporting & Analytics -Workflow Approval Pattern- Leave Request- Trip Request

The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion notice

Q4/2009

Alloy 1.0.1- Data Consistency Checker- Clustering support- Notes 8.5 & 8.5.1 Support

Future Directions for Alloy by IBM and SAP

Alloy 1.x- Extended Programmability - Direct access to SAP data - Programmability via Xpages etc. - Additional Sidebar customization e.g. Live Text and Widgets- Additional Mail and Calendar Integration - RIM support - Additional workflow features - Additional sample customization's (open NTF)- Key reports pre-packaged from SAP - Additional Languages- Notes 8.5.x support- Win 7

Alloy next- Event/Alert Framework to enable solutions- Frameworks to enable industry specific solutions

- Contact management - Calendar management

- Business Analytics- More Lotus portfolio integration:

-ST, Connections Symphony, Quickr- Unstructured activity management in support of processes- Read only access to business data for unlicensed delegate- Additional mobile device support - Languages- Platforms - Server: AIX, Linux (tbd) - Client: Mac, Linux (tbd)

Page 32: Understand, Extend and Customize Alloy by IBM and SAP

Software Requirements for Alloy 1.0IBM Lotus Notes Client 8.0.2, 8.5 and 8.5.1

IBM Lotus Domino Server 8.0.2, 8.5 and 8.5.1

SAP ERP SAP ERP 6.0 SPS 14 running on SAP NetWeaver 7.0 SPS17 with Enterprise Service Architecture (ESA) Add-On ECC-SE 602 or higher

SAP BI (optional) SAP Business Warehouse 3.5 – SP23 orSAP Business Warehouse 7.0 – SPS 17

Alloy Server Software SAP Alloy Add-On running on Netweaver 7.0 SPS17 (JavaTM Stack)IBM Lotus Notes Alloy Add-On running on Domino 8.0.2, 8.5 or 8.5.1

IBM Lotus Notes Client Microsoft® Windows® XP or Vista

IBM Lotus Domino Server Microsoft® Windows® 2003 Server

SAP Alloy Add-On All Netweaver 7.0 Java stack platform constellations

The Operating Systems of the SAP Business Suite Software or the IBM Lotus Domino Servers are not restricted, but the Alloy components currently require the following Operating Systems:

Page 33: Understand, Extend and Customize Alloy by IBM and SAP

Agenda:1) Alloy Scenarios / Value

2) Architecture

3) Administration Interfaces

4) Extensibility

5) Development patterns

6) Alloy Time recording POC

7) How to engage / getting started

Page 34: Understand, Extend and Customize Alloy by IBM and SAP

Ways to engage on Alloy as a Partner

● Alloy Design Partner Program

● We are planning to initiate a special Program in Q1 & Q2 to ▬ Educate partners on Alloy▬ Allow Lotus Partner to network w/ SAP Partners and establish relationships

● Alloy Beta (currently planned for Q3)

● Drive Alloy into your customer base in Q4

Page 35: Understand, Extend and Customize Alloy by IBM and SAP

Learn more about Alloy @ Lotusphere● Sessions:▬ ID209: Transform Your Business with Alloy by IBM and SAP (Wed 1:30p Swan

1-2)▬ SHOW114 (Tue 2p Swan Osprey)▬ BOF304 (Wed 5:45p Swan Toucan 1)

● See the Team Members in the▬ Meet the Developer Lab▬ On the Showfloor▬ Business Partner Cafe

Page 36: Understand, Extend and Customize Alloy by IBM and SAP

36

Lotus Domino and SAP Business Suite – A powerful combination to leverage integrated business processes

The best of two worlds !

Page 37: Understand, Extend and Customize Alloy by IBM and SAP

37

Christian Holsing

eMail: [email protected]

Wei-Lee Jamrog

eMail: [email protected]

Page 38: Understand, Extend and Customize Alloy by IBM and SAP

38

Legal Disclaimer© IBM Corporation 2009. All Rights Reserved.

The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.

References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.

IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.If you reference Linux® in your presentation, please mark the first use and include the following; otherwise delete:Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.Other company, product, or service names may be trademarks or service marks of others.

Page 39: Understand, Extend and Customize Alloy by IBM and SAP

Copyright 2009 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, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

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.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, 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 other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.

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 warrant.

Page 40: Understand, Extend and Customize Alloy by IBM and SAP

40