BC SAPscript: Printing with Forms
BC - SAPscript: Printing with Forms
Overview
Printing Texts Using Forms
Structure of a Form
Header Data
Layout Example
Text Element
Paragraph and Character Formats
Windows and Text Elements
Pages
Text Elements in the PC Editor
Window
Pages
Page Window
Page Windows
Text Elements of a Form
Text Elements with Names
Text Elements Without Names
Activate Text Elements
Print Program
Using Print Programs
Example of a Print Program
Window Types
Constant Windows (CONST)
Variable Windows (VAR)
Main Windows (MAIN)
Output Areas in the Main Window
TOP Area
BOTTOM Area
How the Composer Works
Page Control in Forms
Defining a Subsequent Page Statically
Defining a Subsequent Page Dynamically
Formatting a Form Page
Form Control
Several Print Requests
Starting a Form Again
Switching Forms
Finding Forms
Printing Text Lines and Text Elements
Output to the BODY Area of the Main Window
Output to a Window of Type VAR or CONST
Output to the TOP or BOTTOM Areas of the Main Window
Calling Control Statements
The Programming Interface
Structure of Texts
Text Header
Text Lines
ITF/OTF Format
Grouping Texts
Text Object
Text ID
Attributes of Texts
Storage Mode
Line Width
Editing Interfaces
Editor Title Line
Text Format
Style for Formatting Output
Form for Formatting Output
INCLUDE Texts
Structure of the Text Key
Storing Text Components
SAPscript Data Formats
Authorization Checks
Storing Texts
Storing Texts Directly
Storing Texts in Update Task
Renaming Texts
Text Memory
Structure of the Text Memory
Naming Conventions for the Text Memory
Text Memory and CALL Mode
Keeping Texts in the Text Memory
Changing the Storage Mode Dynamically
Work Areas for Texts
Text Header : THEAD
Structure TLINE of the Lines Table
Example: Creating Work Areas in the Program
SAPscript in Detail
Integrating Text-Processing into Application Programs
Reading Texts
Saving Texts
Deleting Texts
Calling the Editor
Finding Texts
Copying Texts
Inserting Text Lines into Application Screens
Inserting Other Texts
Including Texts
Referring to Texts
Processing Texts from Within Programs
Converting SAPscript Texts
Consistency Checks
Printing Texts
SAPscript Control Tables and Structures
TTXOB: Definition of the Text Objects
TTXOT: Description of the Text Objects
TTXID: Definition of Text IDs
TTXIT: Description of the Text IDs
SAPscript Structures
Print Output
Controlling Print Output
Return Parameters of the Print Output
Editor Control
Controlling the Editor
Return Parameter of the Editor
SAPscript Function Modules
READ_TEXT
READ_TEXT_INLINE
READ_REFERENCE_LINES
SAVE_TEXT
DELETE_TEXT
COPY_TEXTS
SELECT_TEXT
REFER_TEXT
RENAME_TEXT
COMMIT_TEXT
INIT_TEXT
EDIT_TEXT
EDIT_TEXT_INLINE
CHECK_TEXT_AUTHORITY
CHECK_TEXT_ID
CHECK_TEXT_LANGUAGE
CHECK_TEXT_OBJECT
CHECK_TEXT_NAME
TEXT_SYMBOL_COLLECT
TEXT_SYMBOL_PARSE
TEXT_SYMBOL_REPLACE
TEXT_SYMBOL_SETVALUE
TEXT_CONTROL_REPLACE
TEXT_INCLUDE_REPLACE
PRINT_TEXT
PRINT_TEXT_ITF
OPEN_FORM
CLOSE_FORM
START_FORM
WRITE_FORM
WRITE_FORM_LINES
END_FORM
CONTROL_FORM
READ_FORM_ELEMENTS
READ_FORM_LINES
CONVERT_TEXT
EXCHANGE_ITF
IMPORT_TEXT
EXPORT_TEXT
TRANSFER_TEXT
CONVERT_TEXT_R2
CONVERT_OTF_MEMORY