Top 19 Sap Scripts Interview Questions You Must Prepare 24.Jun.2024

Q1. How To Create Standard Text In Sapscripts?

SO10

Q2. What Is The Use Of Protect & Endprotect?

to give page protection

Q3. How Do We Define Text Symbols?

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

Q4. How Do We Set The Date, Time Format?

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

Q5. How Do You Create Boxes In Sap Script?

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

Q6. What Is Difference Between Window & A Page Window?

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.

Q7. How To Download/upload Image Sapscripts From & To Your Pc?

SE78 or RSTXLDMC

Q8. What Is The Table Name That Will Contain All The Script Form Names And Print Program Names?

TNAPR

Q9. How To Insert Symbols In Smart Form?

Select the Text node.

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

Q10. How Many Main Windows Can Be Created For A Script?

99

Q11. How Can You Copy Forms From One Client To Other?

SE71, Utilities -> Copy from client

Q12. How Do You Number Pages In Sap Script Layout Outputs?

  • & page &
  • &next Page &

Q13. Where Do We Define Tab Space For Data In Sapscript?

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.

Q14. What Does Read_text?

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

Q15. In What Format Does Sap Script Store Text ?

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.

Q16. What Are The Types Of Windows?

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.

Q17. Can You Create A Script With Out A Main Window?

No

Q18. How To Debug A Script?

This can done in two ways:

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

Q19. What Are The Components/elements/layout Sets In Sap Script ?

Components of scripts: 

Layout sets, ABAP print program.    

Components of layoutset:: 

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