ABAPTM Interview Questions

Thanks to all contributors for these questions.

Previous..

61. Which one of the following is output to the job log when included in an ABAP program running in the background? 
a) Write statements 
b) message statements 
c) report parameters 
d) Submit statements 

62. Your program specs call for you to read the first 10 records from a text file (fname1), and write them out to another text file (fname2). 

Which block of code will accomplish the result desired in the above scenario? 
a) Open dataset fname2 for input in text mode. 
Do 10 times. 
Read dataset fname1 into hold_var. 
Transfer hold_var to fname2. 
Enddo. 

b) open file fname1 for output. 
Open file fname2 for input. 
Read dataset fname1 into hold_var 10 times. 
Transfer hold_var to fname2. 

c) open file fname1 for input. 
Open file fname2 for output. 
Do 10 times. 
Read file fname1 into hold_var. 
Transfer hold_var into fname2. 
Enddo.

d) open dataset fname1 for input in text mode. 
Open dataset fname2 for output in text mode. 
Do 10 times. 
Read fname1 into hold_var. 
Write hold_var to fname2. 
Enddo. 

63. sy-dynpro is 
a) screen no
b) program
c) table
d) field name

64. Which of the following are NOT correct usage of BDC_cursor?
a) To position the cursor on a particular field.
<bdc_tab>-FNAM = 'BDC_CURSOR'.
<bdc_tab>-FVAL = ‘fieldx’ .

b) To position the cursor on a particular field.
<bdc_tab>-FNAM = ‘fieldx’ 
<bdc_tab>-FVAL = 'BDC_CURSOR'. .

c) For fifth row of Table control 
<bdc_tab>-FVAL = 'fieldx(5)'.

d) For fifth row of Table control 
<bdc_tab>-FNAM = 'BDC_CURSOR(5) '.

65. In case of background processing of a BI session, which authorization is checked?
a) Developer of the program that schedules BI Session 
b) User who executes the BI session 
c) User who executes the program that schedules BI Session 
d) User ID that is passed to the BDC_OPN_GROUP function module inside the calling program 

66. Which of the following are TRUE about Transaction Recorder?
a) Transaction Code is SHDB 
b) Transaction Code is SM35 
c) It can generate ABAP code for the BDC program automatically 
d) It can generate ABAP code for the Call Transaction program automatically 
SAP Script

67. The following are true about SAPscript control commands. 
a) If a control command is unknown or it contains syntax errors, the line containing it will be printed out as it is.
b) If a control command is unknown or it contains syntax errors, the line containing it will be treated as a comment line.
c) A maximum of one control command may appear in each line.
d) A maximum of six control commands may appear in each line.


68. To output SAPscript layout sets, in the print program
a) You must always start the output with OPEN_FORM and end it with CLOSE_FORM.
b) Within one transaction, you can use only one OPEN_FORM and CLOSE_FORM to open and close a layout set.
c) WRITE_FORM should be used within an OPEN_FORM and CLOSE_FORM.
d) WRITE_FORM can be used without an OPEN_FORM and CLOSE_FORM.

69. Which transaction do we use for debugging SAP Script?
a) SE61
b) SE72
c) SE71
d) None of the above.
SAP Enhancements

70. The transaction cmod and smod are
a) Used to create enhancements to standard SAP programs.
b) Used to create enhancements to ABAP queries.
c) Used to create the user exits, menu exits and screen exits.
d) Used to modify the standard function groups.


Interfaces and Queries

71. What happens if we write COMMIT WORK is written within SELECT..END SELECT.
a) All the transactions will be committed.
b) The first transaction is committed and the program exits the loop.
c) Program will create a short dump
d) A runtime error will occur.

72. How many function modules can be present in a function group?

a) 30
b) 49
c) 99
d) There is no such limit

73. Can you call a subroutine of one program from another program, which is not an include program?
a) True
b) False
c) Not Applicable
d) Not Applicable

74. Which of the following statements is TRUE?
a) The ABAP statement ‘IMPORT ... TO MEMORY’ overwrites the old data in ABAP memory.
b) The ABAP statement ‘EXPORT ... TO MEMORY’ appends to the already existing data in ABAP memory.
c) The ABAP statement ‘EXPORT ... TO MEMORY’ overwrites the old data in ABAP memory.
d) The ABAP statement ‘IMPORT ... TO MEMORY’ appends to the already existing data in ABAP memory.

75. SAP Memory and ABAP/4 memory refer to the same memory space?
a) True
b) False
c) Not Applicable
d) Not Applicable

76. Which statement is INCORRECT when referring to SAP memory or ABAP memory? 

a) SAP memory is also referred to as Global Memory. 
b) SAP memory is available across transactions. 
c) IMPORT/EXPORT (TO MEMORY) statements are used for SAP memory. 
d) You can use ABAP memory to pass data between internal sessions. 

77. Which one of the following are true about a function module? 
a) Function modules CANNOT be created by a programmer. 
b) Function modules are locally accessible objects. 
c) Function modules use a memory area separate from calling program. 
d) Function modules have inbound and outbound parameters. 

IDOC

78. An IDOC structure is composed of
a) One substructure, substructure consists of several fields
b) Several segments, each segments has several data elements
c) Several substructures, each one made up of several data fields
d) Several segments, each segment consists of several data fields

79. Read the 2 statements below and pick the right answer choice
A. Archived files can be analyzed without reloading the file
B. An archived IDOC can be reloaded and then archived 

a) A & B are true
b) Only B 
c) Only A
d) Both are false

80. The transaction for archiving IDOC’s is
a) WARC
b) WEAR
c) SARA
d) SARC

81. An IDOC contains data for 3 purchase orders (type ORDERS01, with 1 mandatory segment, 11 other segments which are permitted to be multiple). Read the following statements which could describe the content of the idoc, and pick the right combination:
A. It will have 3 control records
B. It will have 1 control record
C. It will have a minimum of 3 data records
D. It will have a minimum of 1 data record
E. It will have a minimum of 48 data records
F. It will have at least 1 status record
G. It will have at least 3 status records
a) A, C, F
b) B, C, F
c) B, C, G
d) A, E, G

82. Which of the following statements is true?
A. An IDoc type can have many messages types associated with it.
B. An IDoc can have many messages associated with it.
C. A message type can be associated with many IDoc types.
a) A and C
b) A and B
c) Only A
d) All the statements

83. Pick the right answer
A. An idoc type is dependent on the direction of data flow (inbound/outbound).
B. The control record has a field ‘DOCTYP’ which indicates whether the IDOC is of the type inbound or outbound
a) Only A is true
b) Only B is true
c) A and B are true
d) Neither A nor B are true

84. The control record field which determines the direction of the IDoc can have values
e) ‘X’ and ‘ ‘ (space)
f) ‘1’ and ‘2’, 
The meaning of the values is
C. X inbound, space outbound
D. X outbound, space inbound
E. 1 inbound, 2 outbound
F. 1 outbound, 2 inbound 
Pick the right combinations of statements, which are true
a) A, C
b) A, D
c) B, E
d) B, F

85. The area menu from which EDI tools can be accessed is
a) WALE
b) WEDI
c) SALE
d) SEDI

86. The transactions for documentation on IDOC structures are
a) WE60 to WE64
b) SA60 to SA64
c) WE80 to WE84
d) SA20 to SA24

Report Programming

87. How do you check whether a report is submitted in background?
a) The system variable, sy-batch is set to ‘X’.
b) The system variable, sy-binpt is set to ‘X’.
c) The system variable, sy-calld is set to ‘X’.
d) Not applicable

88. Which transaction code is used executing a report (type 1 program)?

a) SE38
b) SA38 
c) SM38
d) All of the above

89. When is the TOP-OF-PAGE event triggered?
a) After executing first write statement in start-of-selection event.
b) At every new page in the report output
c) After the REPORT statement
d) A and B

90. Which of the following additions for SELECT-OPTIONS would disable the ranges on selection screen?
a) NO-RANGES
b) NO INTERVALS
c) NO RANGES
d) NO-INTERVALS 

                            Previous | Next                                                   

 

 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image