ABAPTM Interview Questions (4)

TolyHuang發表於2007-11-24
Batch Data Communication[@more@]


57. How do you create a batch input session for a transaction?
a) We create a bdc and use ‘call transaction’ in background mode.
b) We create a bdc and use ‘call transaction’ in error mode.
c) We create a bdc and use ‘bdc_insert’ for the transaction.
d) None of the above.

58. What is the alternative to batch input session?
a) Load module
b) Call transaction
c) BAPI
d) Idoc segment

59. Which SAP table stores the BDC session queue information?
a) APQD
b) APQL
c) APQQ
d) APQI

60. Which program can be used to release BDC sessions within a job?
a) RSBDCSUB
b) RSBDCJOB
c) RSSUBBDC
d) BDCRECXX

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.
-FNAM = 'BDC_CURSOR'.
-FVAL = ‘fieldx’ .

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

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

d) For fifth row of Table control
-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.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9437124/viewspace-983765/,如需轉載,請註明出處,否則將追究法律責任。

相關文章