What is the tcode for SAPScript forms?
SE71 is the tcode for SAPScript forms.
What is PROTECT & ENDPROTECT?
PROTECT & ENDPROTECT is a command used to protect a paragraph against a page break.
What are the different types of SAPScript symbols?
4 different types of SAPScript symbols are as follows.
- System symbols
- Standard symbols
- Program symbols
- Text symbols
What are the different window types in SAPScript?
- MAIN – Main window
- VAR – Variable window
- CONST – Constant window
How many MAIN windows are allowed in SAPscript?
99 main windows are allowed in SAPscript
How do you control printer functions from SAPscript?
By using PRINT-CONTROL command.
How can we omit a leading sign and a leading zero in SAPScript?
Leading sign can be omitted by using ‘S’ with the sapscript symbol i.e. &symbol(S)&. Leading zero can be omitted by using ‘Z’ with the sapscript symbol i.e. &symbol(Z)&.
How to debug a SAPScript?
To switch on the debugger for SAPScript use the menu path Utilities->Debugger or use the program RSTXDBUG.
What are the different function modules used in SAPScript?
How to call a subroutine in SAPScript?
Use PERFORM to call a subroutine.
Syntax for PERFORM statement is as follows
/: PERFORM <subroutine> IN PROGRAM <program> /: USING &INVAR1& /: USING &INVAR2& /: CHANGING &OUTVAR1& /: CHANGING &OUTVAR2& /: ENDPERFORM
Syntax for FORM statement in the program is as follows.
FORM <subroutine> TABLES IN_TAB STRUCTURE ITCSY OUT_TAB STRUCTURE ITCSY. ... ENDFORM.