1 Conceptos...................................................................................................................................................... 5
1.1 Modifying SAP Forms........................................................................................................................... 5
1.2 Forms: Concepts..................................................................................................................................... 5
1.3 Client and Language Versioning: Concepts............................................................................. 6
2 Componentes............................................................................................................................................... 7
2.1 Header Data............................................................................................................................................ 7
2.2 Paragraph Formats and Attributes.............................................................................................. 9
2.2.1 Standard Paragraph Attributes...................................................................................................... 9
2.2.2 Font Attributes for Paragraphs.................................................................................................... 10
2.2.3 Tabs in Paragraph Formats.......................................................................................................... 11
2.2.4 Paragraph and Heading Numbering.......................................................................................... 11
2.3 Character Formats and Attributes........................................................................................... 12
2.3.1 Standard Attributes for Character Formats.............................................................................. 13
2.3.2 Font Attributes for Character Formats....................................................................................... 13
2.4 Windows................................................................................................................................................... 14
2.4.1 Default Paragraph.......................................................................................................................... 15
2.5 Pages......................................................................................................................................................... 15
2.5.1 Defining Follow-On Pages in Duplex Print Modes.................................................................. 16
2.5.2 Testing Tray Selection and Print Mode Selection.................................................................... 17
2.6 Page Windows........................................................................................................................................ 17
2.7 Text Elements...................................................................................................................................... 18
2.7.1 Default Text Element...................................................................................................................... 19
2.8 Main Window......................................................................................................................................... 19
3 Técnicas........................................................................................................................................................ 20
3.1 Displaying Versions of Forms........................................................................................................ 20
3.2 Including Graphics............................................................................................................................. 20
3.2.1 Using Boxes, Lines, and Shading................................................................................................. 20
3.2.2 Supported Printers.......................................................................................................................... 21
3.2.3 Boxes, Lines, Shading: BOX, POSITION, SIZE.......................................................................... 21
3.2.4 Pre-Setting BOX Position Arguments.......................................................................................... 23
3.2.5 Using the Commands in Texts and Forms................................................................................... 24
3.2.6 Tips and Guidelines........................................................................................................................ 24
4 Design Tools.............................................................................................................................................. 26
4.1 Form Components................................................................................................................................ 26
4.2 Processing in Overview..................................................................................................................... 27
4.2.1 Defining Header Data.................................................................................................................... 27
4.2.2 Defining Paragraph Formats....................................................................................................... 28
4.2.3 Defining Character Formats......................................................................................................... 29
4.2.4 Defining Pages................................................................................................................................ 29
4.2.5 Defining Windows........................................................................................................................... 30
4.2.6 Using Text Elements in Page Windows....................................................................................... 30
4.2.7 Defining Page Windows................................................................................................................ 31
4.2.8 Using Text Elements in Page Windows....................................................................................... 32
4.2.9 Defining Main Windows in Page Windows............................................................................... 32
4.3 Test-Printing a Form.......................................................................................................................... 33
5 Releasing Forms.................................................................................................................................... 34
6 SAPscript Control Commands..................................................................................................... 35
6.1 Syntax of Control Commands...................................................................................................... 35
6.2 Explicit Page Break: NEW-PAGE................................................................................................... 35
6.3 Preventing Page Breaks: PROTECT............................................................................................. 36
6.4 Next Main Window: NEW-WINDOW.............................................................................................. 36
6.5 Assigning a Value to a Text Symbol: DEFINE........................................................................ 37
6.6 Formatting Date Fields: SET DATE MASK................................................................................ 37
6.7 Formatting Time Fields: SET TIME MASK................................................................................. 38
6.8 Country-Dependent Formatting: SET COUNTRY.................................................................. 38
6.9 Position of the Leading Sign: SET SIGN..................................................................................... 39
6.10 Initializing Numbered Paragraphs: RESET.............................................................................. 39
6.11 Including Other Texts: INCLUDE................................................................................................ 40
6.12 Changing the Style: STYLE............................................................................................................ 41
6.13 Formatting Addresses: ADDRESS................................................................................................. 41
6.13.1 Parameters........................................................................................................................................ 42
6.14 Setting a Footer Text in the Main Window: BOTTOM........................................................ 45
6.15 Calling ABAP Subroutines: PERFORM....................................................................................... 47
6.16 Inserting Print Controls: PRINT-CONTROL............................................................................ 48
6.17 Boxes, Lines, Shading: BOX, POSITION, SIZE............................................................................ 48
6.17.1 BOX Command................................................................................................................................. 49
6.17.2 POSITION Command...................................................................................................................... 50
6.17.3 SIZE Command................................................................................................................................ 50
6.18 Hexadecimal Data: HEX, ENDHEX............................................................................................... 51
6.19 Summing a Program Symbol: SUMMING.................................................................................... 51
6.19.1 Summing and Carrying Forward is Incorrect........................................................................... 52
7 SAPscript Symbols................................................................................................................................ 54
7.1 Syntax of Symbols.............................................................................................................................. 54
7.2 System Symbols.................................................................................................................................... 55
7.2.1 Current Date.................................................................................................................................... 55
7.2.2 Current Day Number...................................................................................................................... 55
7.2.3 Current Month Number.................................................................................................................. 55
7.2.4 Current Year Number..................................................................................................................... 55
7.2.5 Current Day Name (Long Form)................................................................................................... 55
7.2.6 Current Month Name (Long Form).............................................................................................. 55
7.2.7 Current Time.................................................................................................................................... 56
7.2.8 Hours Component of Current Time.............................................................................................. 56
7.2.9 Minutes Component of Current Time.......................................................................................... 56
7.2.10 Seconds Component of Current Time.......................................................................................... 56
7.2.11 Current Page Number.................................................................................................................... 56
7.2.12 Page Number of the Next Page..................................................................................................... 56
7.2.13 Selected Device Type...................................................................................................................... 56
7.2.14 Spaces................................................................................................................................................ 56
7.2.15 Underline.......................................................................................................................................... 57
7.2.16 Vertical Line..................................................................................................................................... 57
7.3 Program Symbols................................................................................................................................ 57
7.3.1 SYST: System Fields in the ABAP Programming Environment............................................... 58
7.3.2 USR03: User Address Data............................................................................................................ 58
7.3.3 SAPSCRIPT: General SAPscript Fields...................................................................................... 59
7.4 Standard Symbols.............................................................................................................................. 59
7.5 Text Symbols......................................................................................................................................... 60
7.6 Formatting Options............................................................................................................................ 60
7.6.1 Offset.................................................................................................................................................. 60
7.6.2 Output Length.................................................................................................................................. 61
7.6.3 Omitting the Leading Sign............................................................................................................ 61
7.6.4 Leading Sign to the Left................................................................................................................. 61
7.6.5 Leading Sign to the Right.............................................................................................................. 62
7.6.6 Omitting Leading Zeros................................................................................................................. 62
7.6.7 Space Compression......................................................................................................................... 62
7.6.8 Number of Decimal Places............................................................................................................ 62
7.6.9 Omitting the Separator for ‘Thousands’..................................................................................... 63
7.6.10 Specifying an Exponent for Floating Point Numbers.............................................................. 63
7.6.11 Right-Justified Output.................................................................................................................... 63
7.6.12 Fill Characters................................................................................................................................ 63
7.6.13 Suppressing Output of Initial Values.......................................................................................... 64
7.6.14 Ignoring Conversion Routines..................................................................................................... 64
7.6.15 Changing the Value of a Counter................................................................................................ 64
7.6.16 Preceding and Subsequent Texts (Pre-Text / Post-Text).......................................................... 64
7.7 Country-Dependent Formatting.................................................................................................. 65
7.7.1 Date Mask......................................................................................................................................... 65
7.7.2 Time Mask......................................................................................................................................... 66
7.8 Formatting Conventions................................................................................................................. 66
7.8.1 Primary Formatting of System Symbols...................................................................................... 66
7.8.2 Primary Formatting of Standard Symbols................................................................................. 67
7.8.3 Primary Formatting of Program Symbols.................................................................................. 67
7.8.4 Primary Formatting of Text Symbols........................................................................................... 68
7.8.5 End Formatting............................................................................................................................... 68
Download attached file: You must be Loged in to download file