cancel
Showing results for 
Search instead for 
Did you mean: 

SAP script control commands

Former Member
0 Kudos

hi what is the

wht are the

SAP script control commands

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

The purpose of SAP script control commands is to allow control of the

output formatting. These commands are not interpreted by the SAPscript

editor, but are passed through to the SAPscript Composer for processing. The

composer is the program that converts text from the form displayed in the editor to

the form used for printing.

reward if usefull

Answers (2)

Answers (2)

varma_narayana
Active Contributor
0 Kudos

Hii..

The commands the we can use in Layout set Text Elements are called Control Commands.

These are always entered using /:

Eg:

To Trigger page break

/: NEW-PAGE

To Generate header in page for Main window TOP

/: TOP

/: ENDTOP

To Generate Footer in page for Main window Botton

/: BOTTOM

/: ENDBOTTOM

To Check the conditions

/: IF &PAGE& = 1

/: ELSE

/: ENDIF

Or

/: CASE &SY-UNAME&

/: WHEN 'ABC'

/: ENDCASE

<b>Reward if Helpful</b>

Former Member
0 Kudos

Hi,

IF....ENDIF

DEFINE

PERFORM.........ENDPERFORM

NEW PAGE

PROTECT.........ENDPROTECT

reward points if it is helpful.

Regards,

Satish.