Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

urgent

Former Member
0 Kudos
75

how many no of system symbols, standard symbols,program symbols does scripts will have?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
54

Hi,

You can use system symbols in all kinds of text. SAPscript supplies the values for system symbols. The names of the system symbols are fixed.

Current Date

Current Day Number

Current Month Number

Current Year Number

Local Date (Currently Only for Japan)

Current Day Name (Long Form)

Current Month Name (Long Form)

Current Time

Hours Component of Current Time

Minutes Component of Current Time

Seconds Component of Current Time

Current Page Number

Page Number of the Next Page

Selected Device Type

Spaces

Underline

Vertical Line

Standard symbols are defined in table TTDTG. This table contains both the name of each symbol and its value. The value, which is language-dependent, can contain up to 60 characters. SAP supplies this table filled with standard entries. You can extend it with customer-specific symbols.

The SAPscript control commands are described in the following sections.

Explicit Page Break: NEW-PAGE

Preventing Page Breaks: PROTECT

Next Main Window: NEW-WINDOW

Assigning a Value to a Text Symbol: DEFINE

Formatting Date Fields: SET DATE MASK

Formatting Time Fields: SET TIME MASK

Country-Dependent Formatting: SET COUNTRY

Position of the Leading Sign: SET SIGN

Initializing Numbered Paragraphs: RESET

Including Other Texts: INCLUDE

Changing the Style: STYLE

Formatting Addresses: ADDRESS

Setting a Header Text in the Main Window: TOP

Setting a Footer Text in the Main Window: BOTTOM

Conditional Text: IF

Finding a Match: CASE

Calling ABAP Subroutines: PERFORM

Inserting Print Controls: PRINT-CONTROL

Boxes, Lines, Shading: BOX, POSITION, SIZE

Hexadecimal Data: HEX, ENDHEX

Summing a Program Symbol: SUMMING

Regards

Sudheer

3 REPLIES 3

Former Member
0 Kudos
55

Hi,

You can use system symbols in all kinds of text. SAPscript supplies the values for system symbols. The names of the system symbols are fixed.

Current Date

Current Day Number

Current Month Number

Current Year Number

Local Date (Currently Only for Japan)

Current Day Name (Long Form)

Current Month Name (Long Form)

Current Time

Hours Component of Current Time

Minutes Component of Current Time

Seconds Component of Current Time

Current Page Number

Page Number of the Next Page

Selected Device Type

Spaces

Underline

Vertical Line

Standard symbols are defined in table TTDTG. This table contains both the name of each symbol and its value. The value, which is language-dependent, can contain up to 60 characters. SAP supplies this table filled with standard entries. You can extend it with customer-specific symbols.

The SAPscript control commands are described in the following sections.

Explicit Page Break: NEW-PAGE

Preventing Page Breaks: PROTECT

Next Main Window: NEW-WINDOW

Assigning a Value to a Text Symbol: DEFINE

Formatting Date Fields: SET DATE MASK

Formatting Time Fields: SET TIME MASK

Country-Dependent Formatting: SET COUNTRY

Position of the Leading Sign: SET SIGN

Initializing Numbered Paragraphs: RESET

Including Other Texts: INCLUDE

Changing the Style: STYLE

Formatting Addresses: ADDRESS

Setting a Header Text in the Main Window: TOP

Setting a Footer Text in the Main Window: BOTTOM

Conditional Text: IF

Finding a Match: CASE

Calling ABAP Subroutines: PERFORM

Inserting Print Controls: PRINT-CONTROL

Boxes, Lines, Shading: BOX, POSITION, SIZE

Hexadecimal Data: HEX, ENDHEX

Summing a Program Symbol: SUMMING

Regards

Sudheer

Former Member
0 Kudos
54

Hi,

Check the following link:

http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html

From that link select Script Symbols.

Regards,

Bhaskar

Former Member
0 Kudos
54

For standard symbols... check STXH

Regards