Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
45Activity
0 of .
Results for:
No results containing your search query
P. 1
Manual SAPScript

Manual SAPScript

Ratings:

4.17

(6)
|Views: 3,643 |Likes:
Published by api-3856831

More info:

Published by: api-3856831 on Oct 19, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

1
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
HEADERDATA..............................................................................................................................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
CHARACTERFORMATS ANDATTRIBUTES...................................................................................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
PAGEWINDOWS..........................................................................................................................17
2.7
TEXT ELEMENTS.........................................................................................................................18
2.7.1
Default Text Element..........................................................................................................19
2.8
MAINWINDOW...........................................................................................................................19
3 T\u00c9CNICAS.......................................................................................................................................20
3.1
DISPLAYINGVERSIONS OFFORMS..............................................................................................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
FORMCOMPONENTS....................................................................................................................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 AFORM..............................................................................................................33
5 RELEASING FORMS.....................................................................................................................34
6 SAPSCRIPT CONTROL COMMANDS.......................................................................................35
6.1
SYNTAX OFCONTROLCOMMANDS.............................................................................................35
6.2
EXPLICITPAGEBREAK: NEW-PAGE.........................................................................................35
6.3
PREVENTINGPAGEBREAKS: PROTECT.....................................................................................36
6.4
NEXTMAINWINDOW: 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
FORMATTINGTIMEFIELDS: SET TIME MASK..........................................................................38
6.8
COUNTRY-DEPENDENT FORMATTING: SET COUNTRY............................................................38
2
6.9

POSITION OF THELEADINGSIGN: SET SIGN..............................................................................39 6.10 INITIALIZINGNUMBEREDPARAGRAPHS: RESET........................................................................39 6.11 INCLUDING OTHER TEXTS: INCLUDE........................................................................................40 6.12 CHANGING THE STYLE: STYLE..................................................................................................41 6.13 FORMATTINGADDRESSES: 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 HEXADECIMALDATA: 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 OFSYMBOLS.................................................................................................................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
PROGRAMSYMBOLS...................................................................................................................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
STANDARDSYMBOLS..................................................................................................................59
7.5
TEXT SYMBOLS...........................................................................................................................60
7.6
FORMATTINGOPTIONS................................................................................................................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 \u2018Thousands\u2019.............................................................................62
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..................................................................................63
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-DEPENDENTFORMATTING.........................................................................................65
3

Activity (45)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
radtst1 liked this
davidpyetan liked this
scribdjpd liked this
ReaderTim5 liked this
Nawaz Hasan liked this
Vicente Arellano liked this
elmo_2011 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->