cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script Command

Former Member
0 Kudos

Hi All,

Can anyone please provide me the list of all commands used SapScript?

Thanks in Advance!!!

~Rohini.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Go to SAP help,

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm">SAPscript help</a>

and navigate to 'SAPscript control commands'. This lists them all with full explanations and examples.

Regards,

Nick

Former Member
0 Kudos

Thank You All !!!!

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rohini I am forwarding you all the SAP ACRIPT Commands, Reward points if helpful

SAPscript Commands Description

ADDRESS Formatting of addresses

BOTTOM, ENDBOTTOM Define footer text in a window

BOX, POSITION, SIZE Boxes, lines and shading

CASE, ENDCASE Case distinction

DEFINE Value assignment to text symbols

HEX, ENDHEX Hexadecimal values

IF, ENDIF Conditional text output

INCLUDE Include other texts

NEW-PAGE Explicit forms feed

NEW-WINDOW Next window MAIN

PERFORM, ENDPERFORM Calling ABAP Subroutines

PRINT-CONTROL I nsert print control character

PROTECT, ENDPROTECT Protect from page break

RESET Initialize outline paragraphs

SET COUNTRY Country-specific formatting

SET DATE MASK Formatting of date fields

SET SIGN Position of +/- sign

SET TIME MASK Formatting of time fields

STYLE Change style

SUMMING Summing variables

TOP Set header text in window MAIN

former_member196280
Active Contributor
0 Kudos

1) /: NEW-PAGE [page_name]

2) /: PROTECT

:

/: ENDPROTECT

3)/: DEFINE &symbol_name& = 'value'

4) /: NEW-WINDOW

5) /: SET DATE MASK = 'date_mask'

6) /: SET SIGN LEFT

7) /: SET SIGN LEFT

😎 /: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]

[NEW-PARAGRAPH np]

9) /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

10) /: IF condition

:

:

/: ENDIF

Close the thread if your question is answered.

Regards,

Sairam

Former Member
0 Kudos

Hi Rohini,

Trigger page break

/: NEW-PAGE

Generate header in page for Main window TOP

/: TOP

/: ENDTOP

Generate Footer in page for Main window Botton

/: BOTTOM

/: ENDBOTTOM

Check the conditions

/: IF &PAGE& = 1

/: ELSE

/: ENDIF

Or

/: CASE &SY-UNAME&

/: WHEN 'ABC'

/: ENDCASE

<b>Reward Points if Useful</b>

Regards

Gokul