SAPScript.pdf
(
2905 KB
)
Pobierz
BC SAPscript: Printing with Forms
BC SAPscript: Printing with
Forms
Release 4.6C
BC SAPscript: Printing with Forms
SAP AG
Copyright
© Copyright 2001 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
®
, 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 Server
TM
are registered trademarks of
Informix Software Incorporated.
UNIX
®
, X/Open
®
, OSF/1
®
, and Motif
®
are registered trademarks of the Open Group.
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, ABAP, 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.
2
April 2001
SAP AG
BC SAPscript: Printing with Forms
Icons
Icon
Meaning
Caution
Example
Note
Recommendation
Syntax
April 2001
3
BC SAPscript: Printing with Forms
SAP AG
Inhalt
BC SAPscript: Printing with Forms...................................................................8
BC - SAPscript: Printing with Forms........................................................................................... 9
Overview....................................................................................................................................... 10
Printing Texts Using Forms ....................................................................................................... 12
Structure of a Form ..................................................................................................................... 13
Header Data ............................................................................................................................. 14
Layout Example ..................................................................................................................15
Text Element ............................................................................................................................ 16
Paragraph and Character Formats ............................................................................................ 17
Windows and Text Elements...................................................................................................... 18
Pages ....................................................................................................................................... 19
Text Elements in the PC Editor ................................................................................................ 20
Window ............................................................................................................................... 21
Pages ............................................................................................................................................ 22
Page Window ............................................................................................................................... 23
Page Windows ......................................................................................................................... 24
Text Elements of a Form............................................................................................................. 26
Text Elements with Names ...................................................................................................... 27
Text Elements Without Names ................................................................................................ 29
Activate Text Elements ............................................................................................................ 30
Print Program .............................................................................................................................. 31
Using Print Programs ............................................................................................................... 32
Example of a Print Program................................................................................................ 33
Window Types ............................................................................................................................. 35
Constant Windows (CONST) ................................................................................................... 36
Variable Windows (VAR)..........................................................................................................37
Main Windows (MAIN) .............................................................................................................38
Output Areas in the Main Window ...................................................................................... 39
TOP Area ....................................................................................................................... 41
BOTTOM Area............................................................................................................... 42
How the Composer Works..........................................................................................................43
Page Control in Forms ............................................................................................................. 44
Defining a Subsequent Page Statically.................................................................................... 45
Defining a Subsequent Page Dynamically............................................................................... 46
Formatting a Form Page ..........................................................................................................47
Form Control................................................................................................................................ 48
Several Print Requests ............................................................................................................ 49
Starting a Form Again .............................................................................................................. 50
Switching Forms....................................................................................................................... 51
Finding Forms .......................................................................................................................... 52
Printing Text Lines and Text Elements ..................................................................................... 53
Output to the BODY Area of the Main Window........................................................................ 54
Output to a Window of Type VAR or CONST .......................................................................... 55
Output to the TOP or BOTTOM Areas of the Main Window .................................................... 56
Calling Control Statements ......................................................................................................57
The Programming Interface........................................................................................................ 58
4
April 2001
SAP AG
BC SAPscript: Printing with Forms
Structure of Texts........................................................................................................................ 59
Text Header ............................................................................................................................. 60
Text Lines................................................................................................................................. 61
ITF/OTF Format ..................................................................................................................63
Grouping Texts ............................................................................................................................ 64
Text Object ............................................................................................................................... 65
Text ID...................................................................................................................................... 66
Attributes of Texts....................................................................................................................... 67
Storage Mode........................................................................................................................... 68
Line Width ................................................................................................................................ 69
Editing Interfaces ..................................................................................................................... 70
Editor Title Line ........................................................................................................................ 72
Text Format .............................................................................................................................. 73
Style for Formatting Output ...................................................................................................... 74
Form for Formatting Output......................................................................................................75
INCLUDE Texts........................................................................................................................ 76
Structure of the Text Key............................................................................................................ 77
Storing Text Components .......................................................................................................... 79
SAPscript Data Formats ............................................................................................................. 80
Authorization Checks ................................................................................................................. 82
Storing Texts ............................................................................................................................... 83
Storing Texts Directly ............................................................................................................... 84
Storing Texts in Update Task................................................................................................... 85
Renaming Texts ....................................................................................................................... 87
Text Memory ................................................................................................................................ 88
Structure of the Text Memory................................................................................................... 89
Naming Conventions for the Text Memory .............................................................................. 90
Text Memory and CALL Mode ................................................................................................. 91
Keeping Texts in the Text Memory .......................................................................................... 92
Changing the Storage Mode Dynamically................................................................................ 93
Work Areas for Texts .................................................................................................................. 94
Text Header : THEAD .............................................................................................................. 95
Structure TLINE of the Lines Table.......................................................................................... 99
Example: Creating Work Areas in the Program ..................................................................... 102
SAPscript in Detail .................................................................................................................... 103
Integrating Text-Processing into Application Programs ...................................................... 104
Reading Texts ........................................................................................................................ 105
Saving Texts .......................................................................................................................... 106
Deleting Texts ........................................................................................................................ 107
Calling the Editor.................................................................................................................... 108
Finding Texts ............................................................................................................................. 109
Copying Texts ........................................................................................................................ 110
Inserting Text Lines into Application Screens ....................................................................... 111
Inserting Other Texts ................................................................................................................ 113
Including Texts ....................................................................................................................... 114
Referring to Texts................................................................................................................... 115
Processing Texts from Within Programs................................................................................ 116
Converting SAPscript Texts..................................................................................................... 117
Consistency Checks ................................................................................................................. 119
Printing Texts ............................................................................................................................ 120
April 2001
5
Plik z chomika:
maxrafal
Inne pliki z tego folderu:
BC416_ABAP_Web_Services_2006.pdf
(24943 KB)
BC470_EN_Form_Printing_With_SAP_Smart_Forms.zip
(21618 KB)
Komunikacja_w_projekcie.pptx
(7295 KB)
BC400 ABAP Workbench Fundations and Concepts.kep
(9429 KB)
WebDYNPRO.pdf
(6179 KB)
Inne foldery tego chomika:
ABAP - certyfikat
Basis
Berechtigunskonzept
FICO
film_ytd
Zgłoś jeśli
naruszono regulamin