Thursday, December 12, 2013

SAP ABAP Interview Questions and Answers - 10

26. Type F datatype cannot be used to define parameters.
27. Rounding off of values can be carried out using the write statement. (T/F).
TRUE
28. How would you define the exponents for a type 'f' field?
Exponent .
29. How would you format the output as left, centered or right-justified using the write
statement.
Left-justified, Centered, Right-justified.
30. If the same formatting options were used for a WRITE statement that follows the
FORMAT statement, which settings would take precedence.
The settings in the Write Statement.
31. For each new event, the system resets all formatting options to their default values (T/F)
TRUE.
32. All formatting options have the default value OFF. (T/F).
TRUE.
33. How would you set the formatting options statically and dynamically within a report?
Statically: FORMAT [ON|OFF]….
Dynamically: FORMAT = =….
34. The page footer is defined using the statement END-OF-PAGE.
35. The processing block following END-OF-PAGE is processed only if you reserve lines
for the footer in the LINE-COUNT option of the REPORT statement. (T/F)
TRUE.
36. To execute a page break under the condition that less than a certain number of lines is
left on a page is achieved by RESERVE n lines.
37. The RESERVE statement only takes effect if output is written to the subsequent page.
No blank pages are created and it defines a block of lines that must be output as a whole.
(T/F).
TRUE.
38. To set the next output line to the first line of a block of lines defined with the RESERVE
statement the statement BACK is used.
39. What is the limit for the length of a page if the page length is not specified in the report
statement.
60,000 lines.
40. How would you start the printing process from within the program while creating a
list?
NEW-PAGE PRINT ON.
41. You can change the width of pages within list levels triggered by page breaks. (T/F).
FALSE.
42. Hotspots are special areas of an output list used to trigger events. (T/F).
TRUE.
43. To designate fields as hotspots at runtime, use FORMAT HOTSPOT = .
44. Horizontal lines created with ULINE and blank lines created with SKIP can be
formatted as hotspots. (T/F).
FALSE.
45. How would you suppress the display of a parameter on the selection screen?
Parameters
………..No-Display.
46. Can you assign a matchcode object to a parameter? If so how?
Yes. PARAMETERS
……..MATCHCODE OBJECT ……..
47. For each SELECT-OPTIONS statement, the system creates a selection table. (T/F)
TRUE.
48. To position a set of parameters or comments on a single line on the selection screen, you
must declare the elements in a block enclosed by
SELECTION-SCREEN BEGIN OF LINE.
……..
SELECTION-SCREEN END OF LINE.
49. How can Symbols or R/3 icons be output on the screen?
WRITE AS SYMBOL.
WRITE AS ICON.
50. In the standard setting, you cannot create empty lines with the WRITE statement alone.
(T/F).
TRUE.

No comments:

Post a Comment