SAP Interactive Forms by Adobe SAP NetWeaver Application Server - ABAP Course Version: 93 Course Duration: 2 Day(s) Publication Date: 27-02-2013 Publication Time: 0959
Copyright Copyright 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. Additionally this publication and its contents are provided solely for your use, this publication and its contents may not be rented, transferred or sold 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. Trademarks Microsoft, WINDOWS, NT, EXCEL, Word, PowerPoint and SQL Server are registered trademarks of Microsoft Corporation. IBM, DB2, OS/2, DB2/6000, Parallel Sysplex, MVS/ESA, RS/6000, AIX, S/390, AS/400, OS/390, and OS/400 are registered trademarks of IBM Corporation. ORACLE is a registered trademark of ORACLE Corporation. INFORMIX -OnLine for SAP and INFORMIX Dynamic ServerTM are registered trademarks of Informix Software Incorporated. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, the Citrix logo, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, MultiWin and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc. HTML, DHTML, XML, XHTML 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, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mysap.com Logo and mysap.com are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other products mentioned are trademarks or registered trademarks of their respective companies. Disclaimer THESE MATERIALS ARE PROVIDED BY SAP ON AN "AS IS" BASIS, AND SAP EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR APPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THESE MATERIALS AND THE SERVICE, INFORMATION, TEXT, GRAPHICS, LINKS, OR ANY OTHER MATERIALS AND PRODUCTS CONTAINED HEREIN. IN NO EVENT SHALL SAP BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES OF ANY KIND WHATSOEVER, INCLUDING WITHOUT LIMITATION LOST REVENUES OR LOST PROFITS, WHICH MAY RESULT FROM THE USE OF THESE MATERIALS OR INCLUDED SOFTWARE COMPONENTS. g20147652652
Contents Contents Course Overview... v Course Goals... v Course Objectives... v Unit 1: SAP Interactive Forms by Adobe: Scenarios... 1 SAP Interactive Forms by Adobe Scenarios... 1 Unit 2: SAP Interactive Forms by Adobe: Basics... 2 The Form Interface... 2 The Form Context... 2 The Form Layout... 2 The Application Program... 2 Unit 3: Interactive UI Elements and Scripting... 3 Introduction to Scripting with FormCalc... 3 Frequently Used UI Elements... 3 Validations and Patterns... 3 Advanced Scripting... 3 Unit 4: Parsing and Extracting PDF Data... 5 Download and Upload of Forms... 5 The DOM Table... 5 XML Transformation... 5 Inbound Processing of Interactive Offline Forms... 5 Unit 5: E-Mailing PDFs... 6 Sending Forms via E-Mail... 6 Implement the Receiving Process... 6 Unit 6: Web Dynpro Integration... 7 Form Integration Basics... 7 Integrate New Forms in Web Dynpro... 7 Integrate Existing Forms in Web Dynpro... 7 27-02-2013 SAP AG. All rights reserved. iii
Contents 27-02-2013 SAP AG. All rights reserved. iv
Course Overview Course Overview In this course, you will learn how to design interactive forms by using Adobe LiveCycle Designer UI elements and scripting functionality. Target Audience This course is intended for the following audiences: Project team members, developers, and consultants who are interested in SAP Interactive Forms Course Prerequisites Required Knowledge BC400, BC401, programming experience with ABAP BC480 PDF-based print forms Recommended Knowledge Experience with SAPscript or SAP Smart Forms is strongly recommended, but not required Web Dynpro ABAP fundamentals Course Goals This course will prepare the participant to: Create interactive forms with SAP Interactive Forms by Adobe Describe the difference between print form, offline form, and online form Create interactive forms and manipulate data and layout by scripting with FormCalc and JavaScript Download, upload, extract, and parse form data Course Objectives After completing this course, the participant will be able to: Create and model interactive forms with Adobe LiveCycle Designer Integrate interactive forms with ABAP programs Integrate forms with Web Dynpro ABAP applications Manipulate form content and form layout by scripting 27-02-2013 SAP AG. All rights reserved. v
Course Overview 27-02-2013 SAP AG. All rights reserved. vi
Unit 1 SAP Interactive Forms by Adobe: Scenarios Unit Overview Lesson: SAP Interactive Forms by Adobe Scenarios Name the benefits of PDF-based Interactive Forms Describe the steps of print, offline, and online Interactive Forms scenarios 27-02-2013 SAP AG. All rights reserved. 1
Unit 2 SAP Interactive Forms by Adobe: Basics Unit Overview Lesson: The Form Interface Describe the components of an interface and create your own interface components Lesson: The Form Context Describe the layout types and when they should be used Use the "Inbound Handler" field Explain basic context elements and when to use them Lesson: The Form Layout Create a form layout for interactive forms with Adobe LiveCycle Designer Use content areas, body pages, and subforms to build the layout of interactive forms Lesson: The Application Program Explain the relevant ABAP parameters for interactive form scenarios Implement an ABAP program for an interactive offline scenario 27-02-2013 SAP AG. All rights reserved. 2
Unit 3 Interactive UI Elements and Scripting Unit Overview Lesson: Introduction to Scripting with FormCalc Use the script editor Name different events and explain what they can be used for Create scripting with FormCalc Access form objects, their values, and their properties Lesson: Frequently Used UI Elements Use and populate a dropdown listbox Use buttons, checkboxes, and radio buttons to control the visibility and protection of fields Lesson: Validations and Patterns Use some important techniques for field validations and field patterns Code a validation script for the Validate event Lesson: Advanced Scripting Manipulate all kinds of fields and attributes 27-02-2013 SAP AG. All rights reserved. 3
Manipulate the number of rows in tables Use calculations and further designer functions 27-02-2013 SAP AG. All rights reserved. 4
Unit 4 Parsing and Extracting PDF Data Unit Overview This unit shows you how to download, upload, and parse data, and three ways to extract data. Lesson: Download and Upload of Forms Download a created form to the file system for further processing steps Lesson: The DOM Table Extract form data by parsing the DOM table Lesson: XML Transformation Extract form data with the XML transformation process Lesson: Inbound Processing of Interactive Offline Forms Extract form data with the inbound processing technique 27-02-2013 SAP AG. All rights reserved. 5
Unit 5 E-Mailing PDFs Unit Overview Lesson: Sending Forms via E-Mail Send PDF forms via e-mail Lesson: Implement the Receiving Process Receive PDF forms via e-mail and make the PDF content available for further processing 27-02-2013 SAP AG. All rights reserved. 6
Unit 6 Web Dynpro Integration Unit Overview You can build online form scenarios using the Web Dynpro framework. Lesson: Form Integration Basics Analyze an existing Web Dynpro online scenario with an integrated PDF form Lesson: Integrate New Forms in Web Dynpro Integrate a new form into a Web Dynpro online scenario Lesson: Integrate Existing Forms in Web Dynpro Integrate an existing form in Web Dynpro 27-02-2013 SAP AG. All rights reserved. 7