Upload
iafrodit
View
134
Download
9
Embed Size (px)
Citation preview
1
ALM275
Creating PDF-Based Print Forms
Martin Plummer, SAP AG
Juergen Hauser, Adobe Systems Incorporated
28.08.2009
© SAP AG 2009. All rights reserved. / Page 2
Disclaimer
The information in this presentation is confidential and proprietary to SAP and may not be
disclosed without the permission of SAP. This presentation is not subject to your license
agreement or any other service or subscription agreement with SAP. SAP has no obligation to
pursue any course of business outlined in this document or any related presentation, or to
develop or release any functionality mentioned therein. This document, or any related
presentation and SAP's strategy and possible future developments, products and or platforms
directions and functionality are all subject to change and may be changed by SAP at any time
for any reason without notice. The information on this document is not a commitment, promise
or legal obligation to deliver any material, code or functionality. This document is provided
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. This
document is for informational purposes and may not be incorporated into a contract. SAP
assumes no responsibility for errors or omissions in this document, except if such damages
were caused by SAP intentionally or grossly negligent.
All forward-looking statements are subject to various risks and uncertainties that could cause
actual results to differ materially from expectations. Readers are cautioned not to place undue
reliance on these forward-looking statements, which speak only as of their dates, and they
should not be relied upon in making purchasing decisions.
2
© SAP AG 2009. All rights reserved. / Page 3
Agenda
1. Introduction to SAP Interactive Forms by Adobe
2. Form Builder & Adobe LiveCycle Designer
3. Administration
4. Performance
5. Summary
© SAP AG 2009. All rights reserved. / Page 4
SAP and Adobe
Strategic partnership since 2002
SAP Interactive Forms by Adobe
Integrated in SAP NetWeaver
Available in SAP ERP and CRM as print and interactive forms
Interactive forms enabling new, forms-based engagement model
for SAP users
Enterprise learning
Acrobat Connect Professional integrated in SAP Enterprise Learning
and available standalone
Enabling virtual classrooms and meeting rooms for SAP users
Rich Internet Applications
Components of Adobe Flex integrated in SAP Visual Composer
Enables easy creation of engaging Flash dashboards for SAP Analytics
Making user experiences with SAP software easy and engaging - everywhere
3
© SAP AG 2009. All rights reserved. / Page 5
Challenges in Forms-Based Processes
Paper-based form processes have limitations
Error-prone and easily outdated
Manual data re-entry
Process status is hard to track
High costs (for example, production and storage)
Casual users (including executives) are typically unfamiliar with enterprise
software
Access to enterprise applications needs to be intuitive.
External users (for example, suppliers) are disconnected from the process
System-relevant data capture is cumbersome.
© SAP AG 2009. All rights reserved. / Page 6
SAP Interactive Forms by Adobe
Key Capabilities
Integrate interactive PDF documents into business processes driven by SAP applications
Allow form-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
Backend printing
4
© SAP AG 2009. All rights reserved. / Page 7
Forms Scenarios
Online Interactive Form Scenario
SAP system access needed
Full integration into Web Dynpro for Java and ABAP frameworks
Context-sensitive value help, online checks
Offline Interactive Form Scenario
No SAP system access needed
Static value help, static checking, simple arithmetic calculations
Self-contained PDF (XML data+layout)
Form Printing Scenario
‘Classic’ form processing, not interactive
Output documents are printed, e-mailed, archived, or faxed
Browser with
Adobe Reader plug-in
Adobe Reader
offline
Archive
Down- /
Upload
E-mail /
HTTP
© SAP AG 2009. All rights reserved. / Page 8
SAP Interactive Forms Delivered in SAP ERP
6.0
SAP Enhancement Package 4 for SAP ERP 6.0
Almost all forms are available as PDF-Based Print Forms
Approximately 2300 forms
PDF-Based Print Forms are used for new deliveries
Approximately 500 forms have no Smart Form or SAPscript alternative
Visit http://service.sap.com/erp for lists of forms in each Enhancement Package
Media Library - SAP ERP Overview -> Detailed information cross ERP -> Adobe Forms for
SAP ERP
5
© SAP AG 2009. All rights reserved. / Page 9
SAP Forms Strategy
“The SAP forms strategy is based on SAP Interactive Forms by Adobe
(IFbA). This applies to both print and interactive forms. In this context, most
Business Suite solutions have already been converted to the IFbA
technology (more than 2300 forms), and new standard SAP forms will be
created using IFbA instead of Smart Forms or SAPscript.
SAPscript and Smart Forms shall continue to be supported inline with SAP’s
maintenance strategy, thereby ensuring the ability to protect existing
customer investment.”
© SAP AG 2009. All rights reserved. / Page 10
Run-Time Architecture
Central ADS Hub
Application Code (Java)
SAP NetWeaver (Java)
Document ServicesEJB
Web Services
Adobe Document ServicesCore Components
Application Code (ABAP)
SAP NetWeaver (ABAP)
PDF Object (ABAP)
Web Services
SOAP
PDF Object (Java)
Web Services
An ADS on SAP NetWeaver 7.0 SP13 or higher
can be used by several ABAP stacks on different
releases and SP levels (SAP NetWeaver 7.0
SP13 or higher)
SAP NetWeaver
(ABAP)
SAP NetWeaver
(ABAP)
6
© SAP AG 2009. All rights reserved. / Page 11
Agenda
1. Introduction to SAP Interactive Forms by Adobe
2. Form Builder & Adobe LiveCycle Designer
3. Administration
4. Performance
5. Summary
© SAP AG 2009. All rights reserved. / Page 12
Printing with PDF-Based Forms
1. Print Program
2. Print Dialog
3. Preview or Print
7
© SAP AG 2009. All rights reserved. / Page 13
Runtime – Calling the ADS
PDF Object
Print Output
PCL, PS, or ZPLPDF
Adobe Document Services
Form Data
Form
Template
(XDP)
© SAP AG 2009. All rights reserved. / Page 14
Form Builder: Access to Forms Processing
ABAP Workbench (SE80) Transaction SFP
8
© SAP AG 2009. All rights reserved. / Page 15
Tools and Objects at Design Time
Form Template FUNCTION
/1BCDWB/SM0000000
1.
DATA: %OUTPAR
TYPE SFPOUTPAR,
%DOCPAR TYPE
SFPDOCPAR,
...
Form Builder (SFP or SE80)
LayoutContext
Interface
Generate Function Module
© SAP AG 2009. All rights reserved. / Page 16
Form Interface: Properties
9
© SAP AG 2009. All rights reserved. / Page 17
Form Interface
ABAP types
Dictionary types
© SAP AG 2009. All rights reserved. / Page 18
Application Program
* (1) Data retrieval and processing
SELECT ... FROM ...
...
* (2) Find out name of generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'...
* (3) Start form processing
CALL FUNCTION 'FP_JOB_OPEN'...
LOOP AT ...
* (4) Call function module dynamically
CALL FUNCTION <generated function module> ...
ENDLOOP.
* (5) End form processing
CALL FUNCTION 'FP_JOB_CLOSE'...
10
© SAP AG 2009. All rights reserved. / Page 19
FP_FUNCTION_MODULE_NAME
* (2) Find out name of generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_form
IMPORTING
e_funcname = fm_name.
...
* (4) Call function module dynamically
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
customer = customer
bookings = bookings
connections = connections
EXCEPTIONS
usage_error = 1...
SELECT
NAME?
OPEN
CALL
CLOSE
© SAP AG 2009. All rights reserved. / Page 20
Starting and Ending Form Processing
DATA:
fp_outputparams TYPE sfpoutputparams.
...
* set output parameters like printer, preview...
fp_outputparams-dest = 'LP01'.
* (3) Start form processing
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1...
...
* (5) End form processing
CALL FUNCTION 'FP_JOB_CLOSE'...
SELECT
NAME?
OPEN
CALL
CLOSE
11
© SAP AG 2009. All rights reserved. / Page 21
Form Context: Overview
Interface
Properties/details/conditions of
context element
Context
© SAP AG 2009. All rights reserved. / Page 22
Creating a Context
Drag & drop
from interface
New fields
(form-specific)
12
© SAP AG 2009. All rights reserved. / Page 23
Translation of ABAP-Based Forms
Fully integrated into standard
environment
Use of long-text editor
Ideally in combination with
translation memory
© SAP AG 2009. All rights reserved. / Page 24
Adobe LiveCycle Designer: Overview
13
© SAP AG 2009. All rights reserved. / Page 25
Data Binding
Association between form template and data source
Created automatically through drag & drop from Data View
Can be created manually
DEMO
14
© SAP AG 2009. All rights reserved. / Page 27
Agenda
1. Introduction to SAP Interactive Forms by Adobe
2. Form Builder & Adobe LiveCycle Designer
3. Administration
4. Performance
5. Summary
© SAP AG 2009. All rights reserved. / Page 28
Administration: Job Profile Editor
When an application calls the ADS, it can specify a job profile to modify the way ADS
processes the job (for example, OUTPUTPARAMS-JOB_PROFILE = ‘Adobe/Print/DuplexLongEdge’.)
A UI for editing job profiles is part of the SAP NetWeaver Administrator in SAP
NetWeaver 7.11
15
© SAP AG 2009. All rights reserved. / Page 29
Administration: XDC Editor
XDC files are configuration files for the ADS
Standalone Eclipse-based tool for editing XDC files
Download the XDC Editor from SDN
© SAP AG 2009. All rights reserved. / Page 30
Agenda
1. Introduction to SAP Interactive Forms by Adobe
2. Form Builder & Adobe LiveCycle Designer
3. Administration
4. Performance
5. Summary
16
© SAP AG 2009. All rights reserved. / Page 31
Print Performance Optimization Through
Bundling
Prerequisite: SAP NetWeaver 7.0 SPS 12
Principle of bundling:
Collect several output requests
Call Adobe document services for bundle of documents
Bundling is disabled by default and needs to be enabled
General setting in database table FPCONNECT
Application program can override the database setting
fp_outputparams-bumode = ‘M‘.
CALL FUNCTION ‘FP_JOB_OPEN‘
CHANGING
ie_outputparams = fp_outputparams
DESTINATION Connection to ADS
DIR_GLOBAL X for double-stack systems, space for distributed systems
BATCHING Space (BATCHING is obsolete)
MBATCHING X to activate bundling
© SAP AG 2009. All rights reserved. / Page 32
Performance Considerations
Form Design
Keep the file size of the forms as small as possible. Minimize the number of objects.
Print forms are non-interactive so avoid interactive features.
Avoid scripts if possible.
FormCalc used to be preferred to JavaScript but this is not so significant now.
Print Program
Structure the print program correctly to allow bundling. Do not put FP_JOB_OPEN and
FP_JOB_CLOSE inside loops.
See the documentation for Adobe LiveCycle Designer and the SAP Library for more
information.
17
© SAP AG 2009. All rights reserved. / Page 33
Performance Improvement for Large Print
Jobs
ADS on a 4-processor (2.4 GHz) system
0
50000
100000
150000
200000
250000
10 100 1000 10000 100000 1000000
Number of pages in job
Pag
es/h
ou
r
Serial
Parallel (3 MDBs)
Parallel (4 MDBs)
3 2 1
A
B
C
D
1
222
3….Bundles…..P
rocessors
Print Job
Requires:
SAP NetWeaver
7.02 (ABAP)
ADS on Application
Server Java 7.2
ADSNew parameter PARALLEL in
function module FP_JOB_OPEN
© SAP AG 2009. All rights reserved. / Page 34
Performance Improvement for Large Print
Jobs - Configuration
The application must set the new optional parameter PARALLEL in function module
FP_JOB_OPEN
Create logical ports (they must by identical) for:
FpPrintRequest (Web service Parallelization)
FpQueueAdmin (Web service for Monitoring UI)
In table FPCONNECT, for RFC Destination ADS set the logical port of the Web
service
Configure the system for bundling
Use the SAP NetWeaver Administrator to configure the number of processors
Set maxPoolSize property
Set PoolMax property
18
© SAP AG 2009. All rights reserved. / Page 35
Agenda
1. Introduction to SAP Interactive Forms by Adobe
2. Form Builder & Adobe LiveCycle Designer
3. Administration
4. Performance
5. Summary
© SAP AG 2009. All rights reserved. / Page 36
Summary
SAP Interactive Forms by Adobe:
Is used to create PDF-based print forms
Is fully integrated into SAP NetWeaver
Provides a user-friendly development environment
Is used for many SAP-delivered forms
19
© SAP AG 2009. All rights reserved. / Page 37
Virtual SAP TechEd :
Extend your SAP TechEd Year Round
Best of SAP TechEd at Your fingertips
View sessions that you missed
Replay and review sessions that you
attended
Quality SAP TechEd Training
Best Practices
Product Roadmaps
Learn at your own pace
Gain Access to sessions recorded in
2006, 2007, 2008 and
2009* (*available December 2009)
24/7 Access online/offline
Flexible Course Syllabus
Volume Licensing
Special Pricing for multiple subscribers
http://www.sdn.sap.com/irj/scn/virtualteched-allsessions
© SAP AG 2009. All rights reserved. / Page 38
Further Information
Related Workshops/Lectures at SAP TechEd 2009
ALM210, Overview of Printing from SAP Systems, Lecture (1 hour)
UP105, Introduction to SAP Interactive Forms by Adobe, Lecture (2
hours)
Related SAP Education and Certification Opportunities
http://www.sap.com/education/
BC480: Creating PDF-Based Print Forms
SAP Public Web:
SAP Developer Network (SDN): www.sdn.sap.com
SAP Interactive Forms by Adobe: www.sdn.sap.com/irj/sdn/adobe
20
Thank You!
ContactFeedback
Please complete your session evaluation.
Be courteous — deposit your trash,
and do not take the handouts for the following session.
21
© SAP AG 2009. All rights reserved. / Page 41
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.
Copyright 2009 SAP AG
All Rights Reserved