Home >Documents >Print Workbench

Print Workbench

Date post:15-Oct-2014
Category:
View:534 times
Download:19 times
Share this document with a friend
Transcript:

Print Workbench

Release 620

SAP Online Help

16.01.2004

Copyright Copyright 2003 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, NT, EXCEL, Word, PowerPoint and SQL Server 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 and Informix Dynamic ServerTM are trademarks of IBM Corporation in USA 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, 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. MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One. SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com 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 trademarks of their respective companies.

Print Workbench

620

2

SAP Online Help

16.01.2004

IconsIcon Meaning Caution Example Note Recommendation Syntax

Typographic ConventionsType Style Example text Description Words or characters that appear on the screen. These include field names, screen titles, pushbuttons as well as menu names, paths and options. Cross-references to other documentation. Example text EXAMPLE TEXT Emphasized words or phrases in body text, titles of graphics and tables. Names of elements in the system. These include report names, program names, transaction codes, table names, and individual key words of a programming language, when surrounded by body text, for example, SELECT and INCLUDE. Screen output. This includes file and directory names and their paths, messages, source code, names of variables and parameters as well as names of installation, upgrade and database tools. Keys on the keyboard, for example, function keys (such as F2) or the ENTER key. Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Pointed brackets indicate that you replace these words and characters with appropriate entries.

Example text

EXAMPLE TEXT Example text

Print Workbench

620

3

SAP Online Help

16.01.2004

Print Workbench Form class Properties and Attributes Form Class Library Smart Form Indicator Test Print Indicator Object Type (BOR) Document Type Status Package Assignment and Transport Documentation Hierarchy Form Levels 1:1 levels Structure Logic of the Hierarchy Source Text Display of the Form Class Hierarchy Form Class Library Automatically Generated Variable Declarations READ Subroutines GET Subroutines FILL Subprograms TOP Area for Own Variables Subroutine TEST_PRINT Subroutine SET_ARCHIVE_INDEX Subroutine PROCESS_AFTER_DOC Subroutine PROCESS_AFTER_FORM Controlled Terminations in Exception Situations Processing Form Classes Creating Form Classes Creating Form Levels Creating 1:1 Levels Enabling Test Prints Example: Flight Notification Application Forms Properties and Attributes Form Classes

7 8 9 9 9 10 10 10 10 11 12 12 13 14 14 16 16 17 18 18 19 20 21 22 23 23 24 25 25 26 27 27 28 28 29 29

Print Workbench

620

4

SAP Online Help Form Types SAPscript/Smart Forms User Includes Start/End Exit Generated Modules Languages Status The Hierarchy of an Application Form Form Levels 1:1 levels Texts (SAPscript Only) Flow Logic and Processing Definition of the Hierarchy Interaction of Application Forms with SAPscript/Smart Forms Access to Data Read Control Variable C Processing Application Forms Creating Application Forms Inserting Variables in Texts (SAPscript Only) Creating a Summation Reading Additional Data from the Database Dynamic Intervention in the Process Flow in User Exits Transferring Own Data to Smart Forms Optimizing Performance User Exits in Application Forms Declaration of Own Data Areas Exit Before loop Exit During Loop Exit After loop Text Exit (SAPscript only) Start/End Exit Triggering Controlled Terminations Utilities Test Print Breakpoints and Debugging Copying from Clients Uploading and Downloading Application Forms Creating References

16.01.2004 30 30 31 31 32 33 33 34 36 36 36 36 37 38 39 41 42 42 43 44 44 45 45 46 47 47 48 49 50 50 50 51 51 52 53 53 54

Print Workbench

620

5

SAP Online Help Finding Variables Form Information Administration and Transport Mass Processing Mass Activation Transporting Application Forms Using References Versioning and Archiving via Upload/Download Translating Application Forms Worklist Creating Worklists Processing Worklists Calling Form Printing in ABAP Programs Module EFG_PRINT Module EFG_PRINT_EXPANDED Print Parameter Structure EPRINTPARAMS Print Parameter Dialog (EFG_GET_PRINT_PARAMETERS) Initializing and Closing Print Transactions Open/Close Optimization Print Processes and Print Scenarios External Further Processing of R/3 Data Archiving/Archive Connection with ArchiveLink Sending as e-mail or Telefax via SAPconnect Dispatch Control Using the Print Workbench with the Correspondence Tool Using Print Action Records Print Action Records (Technical Background) Function Modules for Programming Customizing Individual Creation of Print Action Records Mass Creation of Print Action Records Reorganization Integrating Print Action Records in Application Forms

16.01.2004 55 55 56 56 57 57 58 59 60 60 63 63 64 65 66 67 70 71 72 73 74 74 76 78 79 79 80 81 81 82 83 83 84

Print Workbench

620

6

SAP Online Help

16.01.2004

Print WorkbenchPurposeThe Print Workbench is a central development environment for creating standardized outgoing correspondence. For the configuration and layout of correspondence forms, the Print Workbench uses the SAP standard components for form layout SAPscript or Smart Forms. The Print Workbench is divided into the following subobjects: Form classes Form classes are defined by SAP applications and contain a modeling and access instructions for all data that belongs to an application or to an application process. Based on the form classes you can create application forms in which you can access the data defined in the form classes. Invoices, dunning notices, and account statements are examples of form classes. The form classes are delivered with each application component that uses the Print Workbench. Changes to form classes delivered have modification status. Application forms You create application forms based on the form classes delivered. You can define several application forms for each form class, for example, different invoices for different business partner groups. SAP delivers example forms that you can use as a reference for your own application forms. You can use user exists to adjust the application forms to your requirements. The form creation is simplified by numerous auxiliary functions.

You can call up the Print Workbench via the area menu PWB.

IntegrationThe Print Workbench (CA-GTF-PWB) is a component of the Web Application Server (Release 6.20) and can be used by every SAP application with no further prerequisites. In the Print Workbench you can use Smart Forms (BC-SRV-SSF) and SAPscript (BC-SRV-SCR) alternately. Print Workbench Architecture

Print Workbench

620

7

SAP Online Help

16.01.2004

Application Call at runtime (EFG_PRINT) with correspondence requestdelivers

Layout & Design SAPscript Preparation Data interfaces

Generated Print programData : ... Select * from ... Call Smart Forms or SAPscript API

Form type

Application FormHierarchical display of processing logic

Form classData hierarchy

createdForm class library (ABAP Report)

SAP

Data (hierarchy) Data structures Access coding (if necessary)

Event-oriented processing User exits for all events Texts (only SAPscript) Form type controls whether procesing via Smart Forms or SAPscript

SAP customer

Form classDefinitionThe form class is an application-specific object that contains both the underlying data hierarchy for the application and the database access required for data procurement in the form of ABAP/4 coding. When creating the data hierarchy, particular emphasis was given to a logical view of the data model. Therefore, the form classes are comparable to logical databases. In contrast to logical databases however, they have the advantage that they can swap two equal levels and duplicate a level in application forms.

UseForm classes are used by application forms to create forms, that is, correspondence.

StructureA form class consists of a hierarchy representing a logical view of the datamodel for each application or an application process. The related Form Class Library contains acces

Popular Tags:

Click here to load reader

Embed Size (px)
Recommended