Top 19 Sap Scripts Interview Questions You Must Prepare 20.Apr.2024

Using the control command DEFINE &xy& = ‘100’

  • SET TIME MASK : CONTROLS THE TIME FIELD FORMAT.
  • SET DATE MASK : CONTROLS THE DATE FIELD FORMAT.

BOX XPOS ‘1’ CM YPOS ‘1’ WIDTH ‘10’ CM HEIGHT ‘10’ CM FRAME 10 TW

Window: An area that is predefined in the layout set.  Windows are text modules, which are positioned on a document page. We define the window type, Default Paragraph, specify the text elements or a SAPscript text to be included etc in the Windcow Component.

PageWindow: we define the parameters of the earlier defined Window, appearance on the document like left or right margins, Width & Height.

Select the Text node.

Go to menu Include->Characters->SAP Symbols.

When defining the paragraph for the text element we can define the TABS then.  There is parameter called TABS to be defined in paragraph definition.

Reads a text module and passes it to the specified work areas.

SAPscript texts are stored in Interchange Text Format (ITF).  SAPscript offers conversion programs for the text file formats Rich Text Format (RTF) and ASCII as an interface to other word processors.

MAIN – Main window in which continuous text is output.  This is the window used by dialog users of a print program and layout set.  For example the body text of a letter would be entered in MAIN.

VARIABLE – Window with variable contents.  The text can vary on each page in which the window is positioned.  Variable windows are formatted for each page.

CONSTANT – Window with constant contents which is only formatted once.

This can done in two ways:

  1. In the form Utilities->Activate debugger
  2. Using Report -  RSTXDBUG 

Components of scripts: 

Layout sets, ABAP print program.    

Components of layoutset:: 

Header data, paragraph formats, charcter formats, windows, page windows, pages.