Showing posts with label SAP ABAP Multiple Choice. Show all posts
Showing posts with label SAP ABAP Multiple Choice. Show all posts

Sunday, November 9, 2014

106 TOP SAP ABAP Interview Questions and Answers PDF

sap abap interview questions and answers for experienced pdf--CLICK HERE

106 Top SAP ABAP Interview Questions and Answers:

1)   What is SAP ABAP?

2)   What do you mean by an ABAP data dictionary?

3)   Explain the difference between pool tables and transparent tables?

4)   What do you mean by BDC (Batch Data Communications) programming?

5)   Describe the data classes?

6)   What are the internal tables?

7)   List down the functional modules used in sequence in BDC?

8)   What is a foreign key relationship?

9)   In ABAP what are the differences between table and structure in data dictionary?

11)   What are the components of SAP scripts?

12)   How to create ‘table cluster’?

13)   How can you format the data before write statement in the report?

14)   Explain the difference between Template and Table?

15)   Mention what is ALV programming in ABAP? When is this grid used in ABAP?

16)   When do we use End-of-selection?

17)   Mention the difference between ABAP and OOABAP? In what situation do you use OOABAP?

18)   What is table buffer?  Which type of tables used this buffer?

19)   What is the use of ‘pretty printer’?

20)   What is the difference between ‘Type’ and ‘Like’?

21)   What are the different ABAP/4 editors? What are the differences?

22)   Explain the difference between dialog program and a report?

23)   What is lock object?

24)   How data is stored in cluster table?

25)   How can you debug a script form?

26)   What are different types of data dictionary objects?

27)   What are the ways you can do the tuning? What are the major steps will you use for these?

28)   In the ‘select’ statement what is ‘group by’?

29)   What is dispatcher?

30)   Mention what are the two methods of modifying SAP standard tables?

31)   What is the difference between a ‘Database index’ and a ‘Match code’?

32)   Explain the benefits of modularization technique?

33)   How can you create callable modules of program code within one ABAP/4 program?

34)   What are different types of parameters? How can you distinguish between different kinds of parameters?

35)   What are the different databases Integrities?

36. What are ranges? What are number ranges?
ANS:-
max,min values provided in selection screens.

37. What are select options and what is the diff from parameters?
ANS:-
select options provide ranges where as parameters do not.
SELECT-OPTIONS declares an internal table which is automatically filled with values or ranges
of values entered by the end user. For each SELECT-OPTIONS , the system creates a selection table.
SELECT-OPTIONS <SEL> FOR <field>.
A selection table is an internal table with fields SIGN, OPTION, LOW and HIGH.
The type of LOW and HIGH is the same as that of <field>.
The SIGN field can take the following values: I Inclusive (should apply) E Exclusive (should not apply)
The OPTION field can take the following values: EQ Equal GT Greater than NE Not equal BT Between LE Less
than or equal NB Not between LT Less than CP Contains pattern GE Greater than or equal NP No pattern.
diff:-
PARAMETERS allow users to enter a single value into an internal field within a report.
SELECT-OPTIONS allow users to fill an internal table with a range of values.
For each PARAMETERS or SELECT-OPTIONS statement you should define text elements by choosing
Goto – Text elements – Selection texts – Change.
Eg:- Parameters name(30).
when the user executes the ABAP/4 program,an input field for ‘name’ will appear on the selection screen.You can change the comments on the left side of the input fields by using text elements as described in Selection Texts.

38. How do you validate the selection criteria of a report?
And how do you display initial values in a selection screen?
ANS:-
validate :- by using match code objects.
display :- Parameters <name> default ‘xxx’.
select-options <name> for spfli-carrid.

39. What are selection texts?
ANS:-

40. What is CTS and what do you know about it?
ANS:-
The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP Systems and clients in your system landscape.
This documentation provides you with an overview of how to manage changes with the CTS and essential information on setting up your system and client landscape and deciding on a transport strategy. Read and follow this documentation when planning your development project.
For practical information on working with the Change and Transport System, see Change and Transport Organizer and Transport Management System.

41. When a program is created and need to be transported to prodn does selection texts always go with it? if not how do you make sure? Can you change the CTS entries? How do you do it?
ANS:-

42. What is the client concept in SAP? What is the meaning of client independent?
ANS:-

43. Are programs client dependent?
ANS:-
Yes.Group of users can access these programs with a client no.

44. Name a few system global variables you can use in ABAP programs?
ANS:-
SY-SUBRC,SY-DBCNT,SY-LILLI,SY-DATUM,SY-UZEIT,SY-UCOMM,SY-TABIX…..
SY-LILLI IS ABSOLUTE NO OF LINES FROM WHICH THE EVENT WAS TRIGGERED.

45. What are internal tables? How do you get the number of lines in an internal table?
How to use a specific number occurs statement?
ANS:-
i)It is a standard data type object which exists only during the runtime of the program.
They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.
ii)using SY-DBCNT.
iii)The number of memory allocations the system need to allocate for the next record population.

46. How do you take care of performance issues in your ABAP programs?
Performance of ABAPs can be improved by minimizing the amount of data to be transferred.
The data set must be transferred through the network to the applications, so reducing the amount OF time and also reduces the network traffic.
Some measures that can be taken are:
– Use views defined in the ABAP/4  DDIC (also has the advantage of better reusability).
– Use field list (SELECT clause) rather than SELECT *.
– Range tables should be avoided (IN operator)
– Avoid nested SELECTS.
i)system tools
ii)field symbols and field groups.
ans:-
Field Symbols : Field symbols are placeholders for existing fields. A Field Symbol does not physically reserve space for a field,but points to a field which is not known until runtime of the program.
eg:-  FIELD-SYMBOL <FS> [<TYPE>].
Field groups :  A field group combines several fields under one name.At runtime,the INSERT command is used to define which data fields are assigned to which field group.
There should always be a HEADER field group that defines how the extracted data will be sorted,the data is sorted by the fields grouped under the HEADER field group.

47. What are datasets?
ANS:-
The sequential files(ON APPLICATION SERVER) are called datasets. They are used for file handling in SAP.

48. How to find the return code of a statement in ABAP programs?
ANS:-
Using function modules.

49. What are interface/conversion programs in SAP?
ANS :
CONVERSION : LEGACY SYSTEM TO FLAT FILE.
INTERFACE  : FLAT FILE TO SAP SYSTEM.

50. Have you used SAP supplied programs to load master data?

51. What are the techniques involved in using SAP supplied programs?
Do you prefer to write your own programs to load master data? Why?

52. What are logical databases? What are the advantages/disadvantages of logical databases?
ANS:-
To read data from a database tables we use logical database.
A logical database provides read-only access to a group of related tables to an ABAP/4 program.
adv:-
The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
i)An easy-to-use standard user interface.
ii)check functions which check that user input is complete,correct,and plausible.
iii)meaningful data selection.
iv)central authorization checks for database accesses.
v)good read access performance while retaining the hierarchical data view determined by the application logic.
disadv:-
i)If you donot specify a logical database in the program attributes,the GET events never occur.
ii)There is no ENDGET command,so the code block associated with an event ends with the next event
statement (such as another GET or an END-OF-SELECTION).

53. What specific statements do you using when writing a drill down report?
ans:-
AT LINE-SELECTION,AT USER-COMMAND,AT PF.

54. What are different tools to report data in SAP? What all have you used?
ans:-

55. What are the advantages and disadvantages of ABAP/4 query tool?

56. What are the functional areas? User groups? and how does ABAP/4 query work in relation to these?

57. Is a logical database a requirement/must to write an ABAP/4 query?

59. What are Change header/detail tables? Have you used them?

60. What do you do when the system crashes in the middle of a BDC batch session?
ans:-
we will look into the error log file (SM35).

61. What do you do with errors in BDC batch sessions?
ANS:-
We look into the list of incorrect session and process it again. To correct incorrect session we analyize the session to determine which screen and value produced the error.For small errors in data we correct them interactively otherwise
modify batch input program that has generated the session or many times even the datafile.

62. How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs?
ans:-
go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING)

63. Is it possible to run host command from SAP environment? How do you run?

64. What kind of financial periods exist in SAP? What is the relavent table for that?

65. Does SAP handle multiple currencies? Multiple languages?
ans:-
Yes.
66. What is a currency factoring technique?

68. What is SAPscript and layout set?
ans:-
The tool which is used to create layout set is called SAPscript. Layout set is a design document.

69. What are the ABAP/4 commands that link to a layout set?
ans:-
control commands,system commands,

70. What is output determination?

71. What are IDOCs?
ans:-
IDOCs are intermediate documents to hold the messages as a container.

72. What are screen painter? menu painter? Gui status? ..etc.
ans:-
dynpro – flow logic + screens.
menu painter –
GUI Status – It is subset of the interface elements(title bar,menu bar,standard tool bar,push buttons) used for a certain screen.
The status comprises those elements that are currently needed by the transaction.

73. What is screen flow logic? What are the sections in it? Explain PAI and PBO.
ans:-
The control statements that control the screen flow.
PBO – This event is triggered before the screen is displayed.
PAI – This event is responsible for processing of screen after the user enters the data and clicks the pushbutton.

74. Overall how do you write transaction programs in SAP?
ans:-
Create program-SE93-create transcode-Run it from command field.

75. Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?

76. What are step loops? How do you program pagedown pageup in step loops?
ans:-
step loops are repeated blocks of field in a screen.

77. Is ABAP a GUI language?
ANS:-
Yes.
ABAP IS AN EVENT DRIVEN LANGUAGE.

78. Normally how many and what files get created when a transaction program is written?
What is the XXXXXTOP program?
ans:-
ABAP/4 program.
DYNPRO

79. What are the include programs?
ANS:-
When the same sequence of statements in several programs are to be written repeadly they are coded in include programs (External programs) and  are included in ABAP/4 programs.

80. Can you call a subroutine of one program from another program?
ans:-  Yes- only external subroutines Using ‘SUBMIT’ statement.

81. What are user exits? What is involved in writing them? What precations are needed?

82. What are RFCs? How do you write RFCs on SAP side?

83. What are the general naming conventions of ABAP programs?
ANS:-
Should start with Y or Z.

84. How do you find if a logical database exists for your program requrements?
ans:-
SLDB-F4.

85. How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?
ans:-
Transcode is entered in command field to open the table.Utilities-Table contents-display.
86. How do you find the menu path for a given transaction in SAP?
ans:-

87. What are the different modules of SAP?
ans:-
FI,CO,SD,MM,PP,HR.

89. How do you get help in ABAP?
ans:-
HELP-SAP LIBRARY,by pressing F1 on a keyword.

90. What are different ABAP/4 editors? What are the differences?
ans:-

91. What are the different elements in layout sets?
ans:-
PAGES,Page windows,Header,Paragraph,Character String,Windows.

92. Can you use if then else, perform ..etc statements in sap script?
ans:-
yes.
93. What type of variables normally used in sap script to output data?

94. How do you number pages in sapscript layout outputs?

95. What takes most time in SAP script programming?
ANS:-
LAYOUT DESIGN AND LOGO INSERTION.

96. How do you use tab sets in layout sets?

97. How do you backup sapscript layout sets? Can you download and upload? How?

98. What are presentation and application servers in SAP?
ANS:-
The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server.

99. In an ABAP/4 program how do you access data that exists on a presentation server vs on an application server?
ans:-
i)using loop statements.
ii)flat

100. What are different data types in ABAP/4?
ans:-
Elementary –
predefined C,D,F,I,N,P,T,X.
userdefined TYPES.
ex: see in intel book page no 35/65
Structured –
predefined    TABLES.
userdefined Field Strings and internal tables.

101. What is difference between session method and Call Transaction?
ans:-

102. Setting up a BDC program where you find information from?
ans:-

103. What has to be done to the packed fields before submitting to a BDC session.
ans:-
fields converted into character type.

104. What is the structure of a BDC sessions.
ans:-
BDCDATA (standard structure).

105. What are the fields in a BDC_Tab Table.
ans:-
program,dynpro,dynbegin,fnam,fval.

106. What do you define in the domain and data element.
Technical details like

  1. sap abap interview questions and answers on smartforms
  2. sap abap interview questions and answers on reports
  3. sap abap interview questions and answers pdf for freshers

sap abap interview questions and answers 2014
sap abap interview questions for experienced
sap abap interview questions for 2+ years experience
sap abap interview questions and answers pdf
sap abap interview questions for freshers
sap abap interview questions and answers pdf for freshers
sap abap interview questions accenture

sap abap interview questions and answers for freshers

  • sap abap interview questions on reports
  • sap abap interview questions for 3 years experience
  • sap abap interview questions to 3+ years of experience
sap abap interview questions and answers for 2 years experienced
sap abap interview questions for experienced candidates
sap abap interview questions for 2 years experience
sap abap interview questions for 2+ years experience
abap interview questions for experienced
abap interview questions pdf
abap interview questions on reports
abap interview questions for freshers
abap interview questions accenture

  1. abap interview questions on data dictionary
  2. abap interview questions accenture
  3. abap interview questions pdf

abap interview questions for 3 years experience
abap interview questions 2012
ibm abap interview questions
abap interview questions on reports
abap interview questions for freshers
abap interview questions on data dictionary
sap abap interview questions and answers pdf
abap interview questions and answers ibm
abap interview questions and answers in accenture

  • sap abap interview questions and answers for freshers
  • abap interview questions and answers for freshers
  • abap interview questions and answers in pdf

abap interview questions download

web dynpro abap interview questions and answers
abap tutorial for beginners pdf
abap tutorial for beginners
abap tutorial pdf
abap programming
abap tutorial download
abap ebook
abap tutorial pdf free download
sap abap tutorial for beginners

sap abap tutorials for beginners pdf


  1. sap abap tutorials for beginners pdf download
  2. abap programming language tutorial
  3. sap abap basics for beginners pdf


  • sap abap beginners guide
  • abap programs for beginners
  • sap-abap sample programs for beginners

module pool programming in abap step by step pdf
sap abap tutorials pdf
sap abap tutorials for beginners
sap abap material
sap abap tutorials free download
badi in sap abap tutorials
sap abap tutorials videos
sap abap tutorials ppt
sap abap fresher jobs


abap interview questions for 3 years experience
abap interview questions 2012
ibm abap interview questions
abap interview questions on reports
abap interview questions for freshers
abap interview questions on data dictionary
sap abap interview questions and answers pdf
abap interview questions and answers ibm
abap interview questions and answers in accenture
sap abap interview questions and answers for freshers
abap interview questions and answers for freshers
abap interview questions and answers in pdf
sap abap beginners guide
abap programs for beginners
sap-abap sample programs for beginners
module pool programming in abap step by step pdf
sap abap tutorials pdf
sap abap tutorials for beginners
sap abap material
sap abap tutorials free download
badi in sap abap tutorials 

Saturday, November 8, 2014

80 [UPDATED] SAP ABAP Multiple Choice Questions and Answers pdf

SAP ABAP Internal Tables Interview Questions and Answers for pdf, SAP Certification Questions and Answers for freshers

SAP ABAP Multiple Choice Questions and Answers


****35 MY EXPERIENCE - SAP ABAP Interview Questions and Answers PDF****


1. This data type has a default length of one and a blank default value.
A: I
B: N
C: C
D: D
Ans:C

2. A DATA statement may appear only at the top of a program, before START-OFSELECTION.
A: True
B: False
Ans:B

3. If a field, NAME1, is declared as a global data object, what will be output by the
following code?
report zabaprg.
DATA: name1 like KNA1-NAME1 value 'ABAP programmer'.
name1 = 'Customer name'.
CLEAR name1.
perform write_name.
FORM write_name.
name1 = 'Material number'.
WRITE name1.
ENDFORM.
A: Customer name
B: ABAP programmer
C: Material number
D: None of the above
Ans:C

4. All of these allow you to step through the flow of a program line-by-line except:
A: Enter /h then execute
B: Execute in debug mode
C: Enter /i then execute
D: Set a breakpoint
Ans: C

5. Which of the following may NOT be modified using the ABAP Dictionary
transaction?
A: Type groups
B: Search help
C: Lock objects
D: Function groups
Ans:D

6. In a line of code, text-100, is an example of which type of text element?
A: Text symbol
B: Selection text
C: Text title
D: Text identifier
Ans:A

7. The editor function that formats and indents the lines of code automatically is called
____.
A: Auto align
B: Pretty printer
C: Generate version
D: Syntax check
Ans:B

8. A DO loop increments the system field ____.
A: SY-LOOPI
B: SY-TABIX
C: SY-LSIND
D: SY-INDEX
Ans: D

9. The event that is processed after all data has been read but before the list is displayed
is:
A: END-OF-PAGE.
B: START-OF-SELECTION.
C: END-OF-SELECTION.
D: AT LINE-SELECTION.
Ans:A ? C

10. The field declared below is of what data type?
DATA: new_fld(25).
A: P
B: N
C: I
D: C
Ans: D

11. In regard to the INITIALIZATION event, which of the following is NOT a true
statement?
A: Executed before the selection screen is displayed.
B: You should use SET PF-STATUS here.
C: You can assign different values to PARAMETERS and SELECT-OPTIONS here.
D: Executed one time when you start the report.
Ans: B

12. The event AT SELECTION-SCREEN OUTPUT. occurs before the selection screen
is displayed and is the best event for assigning default values to selection criteria.
A: True
B: False
Ans: B

13. The business (non-technical) definition of a table field is determined by the field's
____.
A: domain
B: field name
C: data type
D: data element
Ans: D

14. In regard to the three-tier client/server architecture, which of the following is a true
statement?
A: The presentation server processes the SAP program logic.
B: An application server is responsible for updating database tables.
C: Typically, there is a one-to-one ratio of database servers to presentation servers.
D: The application server layer is the level between a presentation server and a
database server.
Ans: D,B

15. What will be output by the code below?
DATA: alph type I value 3.
write: alph.
WHILE alph > 2.
write: alph.
alph = alph - 1.
ENDWHILE.
A: 3
B: 3 2
C: 3 3 2
D: 3 3
Ans: D

16. To allow the user to enter a single value on a selection screen, use the ABAP
keyword ____.
A: SELECT-OPTIONS.
B: PARAMETERS.
C: RANGES.
D: DATA.
Ans: B

17. What will be output by the following code?
DATA: BEGIN OF itab OCCURS 0, fval type i, END OF itab.
itab-fval = 1. APPEND itab.
itab-fval = 2. APPEND itab.
REFRESH itab.
WRITE: /1 itab-fval.
A: 1
B: 2
C: blank
D: 0
Ans: B

18. You can define your own key fields when declaring an internal table.
A: True
B: False
Ans: A

19. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must
include an index number.
A: True
B: False
Ans : B

20. If itab contains 20 rows, what will SY-TABIX equal when the program reaches the
WRITE statement below?
SY-TABIX = 10.
LOOP AT itab.
count_field = count_field + 1.
ENDLOOP.
WRITE: /1 count_field.
A: 0
B: 10
C: 20
D: 30
Ans: C

More SAP ABAP Interview Questions : Click Here

21. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good
method for improving performance.
A: True
B: False
Ans:B

22. To select one record for a matching primary key, use ____.
A: SELECT
B: SELECT INTO
C: SELECT SINGLE
D: SELECT ENTRY
Ans: C

23. In regard to MOVE-CORRESPONDING, which of the following is NOT a true
statement?
A: Moves the values of components with identical names.
B: Fields without a match are unchanged.
C: Corresponds to one or more MOVE statements.
D: Moves the values of components according to their location.
Ans: D

24. The ABAP keyword for adding authorizations to a program is ____.
A: AUTH-CHECK
B: AUTHORITY-CHECK
C: AUTHORIZATION-CHECK
D: AUTHORITY-OBJECT
Ans:B

25. To read an exact row number of an internal table, use this parameter of the READ
TABLE statement.
A: INDEX
B: TABIX
C: ROW
D: WHERE
Ans: B ? A

26. To remove lines from a database table, use ____.
A: UPDATE
B: MODIFY
C: ERASE
D: DELETE
Ans: D

27. Which table type would be most appropriate for accessing table rows using an
index.
A: Hashed table
B: Standard table
C: Sorted table
D: None of these may be accessed using an index.
Ans: C

28. The following code indicates:
SELECTION-SCREEN BEGIN OF BLOCK B1.
PARAMETERS: myparam(10) type C,
Myparam2(10) type N,
SELECTION-SCREEN END OF BLOCK.
A: Draw a box around myparam and myparam2 on the selection screen.
B: Allow myparam and myparam2 to be ready for input during an error dialog.
C: Do not display myparam and myparam2 on the selection screen.
D: Display myparam and myparam2 only if both fields have default values.
Ans: A

29. The following code reorders the rows so that:
DATA: itab LIKE kna1 OCCURS 0 WITH HEADER LINE.
itab-name1 = 'Smith'. itab-ort01 = 'Miami'. APPEND itab.
itab-name1 = 'Jones'. itab-ort01 = 'Chicago'. APPEND itab.
itab-name1 = 'Brown'. itab-ort01 = 'New York'. APPEND itab.
SORT itab BY name1 ort01.
A: Smith appears before Jones
B: Jones appears before Brown
C: Brown appears before Jones
D: Miami appears before New York
Ans: C

30. If a table contains many duplicate values for a field, minimize the number of
records returned by using this SELECT statement addition.
A: MIN
B: ORDER BY
C: DISTINCT
D: DELETE
Ans:C

31. When writing a SELECT statement, you should place as much load as possible on
the database server and minimize the load on the application server.
A: True
B: False
Ans: B

32. All of the following pertain to interactive reporting in ABAP except:
A: Call transactions and other programs from a list.
B: Secondary list shows detail data.
C: Good for processing lists in background.
D: AT USER-COMMAND
Ans:C

33. In regard to a function group, which of the following is NOT a true statement?
A: Combines similar function modules.
B: Shares global data with all its function modules.
C: Exists within the ABAP workbench as an include program.
D: Shares subroutines with all its function modules.
Ans: D

34. Errors to be handled by the calling program are defined in a function module's
____.
A: exceptions interface
B: source code
C: exporting interface
D: main program
Ans :A

35. In regard to the START-OF-SELECTION event, which of the following is a true
statement?
A: Executed before the selection screen is displayed.
B: This is the only event in which a SELECT statement may be coded.
C: Executed when the user double-clicks a list row.
D: Automatically started by the REPORT statement.
Ans:D

36. The order in which an event appears in the ABAP code determines when the event
is processed.
A: True
B: False
Ans: B

37. The SAP service that ensures data integrity by handling locking is called:
A: Update
B: Dialog
C: Enqueue/Dequeue
D: Spool
Ans: C

38. What standard data type is the following user-defined type?
TYPES: user_type.
A: N
B: C
C: I
D: Undefined
Ans: B

39. Which ABAP program attribute provides access protection?
A: Status
B: Application
C: Development class
D: Authorization group
Ans:D

40. Page headers for a secondary list should be coded in which event?
A: TOP-OF-PAGE.
B: START-OF-SELECTION.
C: TOP-OF-PAGE DURING LINE-SELECTION.
D: AT USER-COMMAND.
Ans: C

41. Given:
PERFORM subroutine USING var.
The var field is known as what type of parameter?
A: Formal
B: Actual
C: Static
D: Value
Ans:B

42. The following statement will result in a syntax error.
DATA: price(3) type p decimals 2 value '100.23'.
A: True
B: False
Ans: B

43. The following code indicates:
CALL SCREEN 300.
A: Start the PAI processing of screen 300.
B: Jump to screen 300 without coming back.
C: Temporarily branch to screen 300. *
D: Exit screen 300.
Ans:C

44. Which of the following would be stored in a table as master data?
A: Customer name and address
B: Sales order items
C: Accounting invoice header
D: Vendor credit memo
Ans: A

45. In relation to an internal table as a formal parameter, because of the STRUCTURE
syntax, it is possible to:
A: Use the DESCRIBE statement within a subroutine.
B: Loop through the internal table within a subroutine.
C: Access the internal table fields within a subroutine.
D: Add rows to the internal table within a subroutine.
Ans: C

46. This data type has a default length of one and a default value = '0'.
A: P
B: C
C: N
D: I
Ans: C

47. To prevent duplicate accesses to a master data field:
A: Create an index on the master data field.
B: Remove nested SELECT statements.
C: Use SELECT SINGLE.
D: Buffer the data in an internal table.
Ans: A ? C

48. In regard to the code below, which of the following is not a true statement?
TABLES: KNA1.
GET KNA1.
Write: /1 kna1-kunnr.
END-OF-SELECTION.
A: The GET event is processed while a logical database is running.
B: All the fields from table KNA1 may be used in the GET event.
C: You can code the GET event elsewhere in the same program.
D: None of the above.
Ans: D

49. The following code indicates:
SELECT fld1 FROM tab1 INTO TABLE itab
UP TO 100 ROWS
WHERE fld7 = pfld7.
A: Itab will contain 100 rows.
B: Only the first 100 records of tab1 are read.
C: If itab has less than 100 rows before the SELECT, SY-SUBRC will be set to 4.
D: None of the above.
Ans: D

50. To place a checkbox on a list, use
A: WRITE CHECKBOX.
B: FORMAT CHECKBOX ON.
C: WRITE fld AS CHECKBOX.
D: MODIFY LINE WITH CHECKBOX.
Ans:C

51. Which of the following is NOT a true statement in regard to a sorted internal table
type?
A: May only be accessed by its key.
B: Its key may be UNIQUE or NON-UNIQUE.
C: Entries are sorted according to its key when added.
D: A binary search is used when accessing rows by its key.
Ans: A

52. The following code indicates:
CALL SCREEN 9000 STARTING AT 10 5 ENDING AT 60 20
A: Screen 9000 is called with the cursor at coordinates (10,5)(60,20).
B: Screen 9000 must be of type "Modal dialog box."
C: Display screen 9000 in a full window.
D: Screen 9000 may only contain an ABAP list.
Ans:A

53. After a DESCRIBE TABLE statement SY-TFILL will contain
A: The number of rows in the internal table.
B: The current OCCURS value.
C: Zero, if the table contains one or more rows.
D: The length of the internal table row structure.
Ans:A

54. Function module source code may not call a subroutine.
A: True
B: False
Ans: B

55. This data type has a default length of eight and a default value = '00000000'.
A: P
B: D
C: N
D: C
Ans: B

56. Within the source code of a function module, errors are handled via the keyword:
A: EXCEPTION
B: RAISE
C: STOP
D: ABEND
Ans:B

57. Which of these is NOT a valid type of function module?
A: Normal
B: Update
C: RFC
D: Dialog
Ans:D

58. To call a local subroutine named calculate answer, use this line of code:
A: PERFORM calculate answer.
B: CALL calculate answer.
C: USING calculate answer.
D: SUB calculate answer.
Ans:A

59. Given:
DO.
Write: /1 'E equals MC squared.'.
ENDDO.
This will result in ____.
A: output of 'E equals MC squared.' on a new line one time
B: an endless loop that results in an abend error
C: output of 'E equals MC squared.' on a new line many times
D: a loop that will end when the user presses ESC
Ans.B

60. The following code indicates
write: /5 'I Love ABAP'.
A: Output 'I Lov' on the current line
B: Output 'I Love ABAP' starting at column 5 on the current line
C: Output 'I Lov' on a new line
D: Output 'I Love ABAP' starting at column 5 on a new line
Ans: D

61. Which of the following is NOT a component of the default standard ABAP report
header?
A: Date and Time
B: List title
C: Page number
D: Underline
Ans: A

62. A select statement has built-in authorization checks.
A: True
B: False
Ans:B

63. A BDC program is used for all of the following except:
A: Downloading data to a local file
B: Data interfaces between SAP and external systems
C: Initial data transfer
D: Entering a large amount of data
Ans:B

64. Page footers are coded in the event:
A: TOP-OF-PAGE.
B: END-OF-SELECTION.
C: NEW-PAGE.
D: END-OF-PAGE.
Ans:D

65. Page headers for a secondary/details list can be coded in the event:
A: GET.
B: INITIALIZATION.
C: TOP-OF-PAGE DURING LINE-SELECTION.
D: NEW-PAGE.
Ans:C

66. To both add or change lines of a database table, use ____.
A: INSERT
B: UPDATE
C: APPEND
D: MODIFY
Ans:D

67. To select one record for a matching primary key, use ____.
A: SELECT
B: SELECT INTO
C: SELECT SINGLE
D: SELECT ENTRY
Ans:C

68. After adding rows to an internal table with COLLECT, you should avoid adding
More rows with APPEND.
A: True
B: False
Ans:A

69. The output for the following code will be
report zabaprg.
DATA: my_field type I value 99.
my_field = my_field + 1.
clear my_field.
WRITE: 'The value is', my_field left-justified.
A: The value is 99
B: The value is 100
C: The value is 0
D: None of the above
Ans: C

70. If this code results in an error, the remedy is
SELECT * FROM tab1 WHERE fld3 = pfld3.
WRITE: /1 tab1-fld1, tab1-fld2.
ENDSELECT.
A: Add a SY-SUBRC check.
B: Change the * to fld1 fld2.
C: Add INTO (tab1-fld1, tab1-fld2).
D: There is no error.
Ans: C,D

71. To summarize the contents of several matching lines into a single line, use this
SELECT statement clause.
A: INTO
B: WHERE
C: FROM
D: GROUP BY
Ans:D

72. What is output by the following code?
DATA: BEGIN OF itab OCCURS 0,
letter type c,
END OF itab.
itab-letter = 'A'. APPEND itab.
itab-letter = 'B'. APPEND itab.
itab-letter = 'C'. APPEND itab.
itab-letter = 'D'. APPEND itab.
LOOP AT itab.
SY-TABIX = 2.
WRITE itab-letter.
EXIT.
ENDLOOP.
A: A
B: A B C D
C: B
D: B C D
Ans: A

73. All of the following are considered to be valid ABAP modularization techniques
except:
A: Subroutine
B: External subroutine
C: Field-group
D: Function module
Ans:C


74. To create a list of the top 25 customers, you should use
A: DELETE ADJACENT DUPLICATES
B: READ TABLE itab INDEX 25
C: LOOP AT itab FROM 25
D: APPEND SORTED BY
Ans:D

75. Which of these sentences most accurately describes the GET VBAK LATE. event?
A: This event is processed before the second time the GET VBAK event is
processed.
B: This event is processed after all occurrences of the GET VBAK event are
completed.
C: This event will only be processed after the user has selected a basic list row.
D: This event is only processed if no records are selected from table VBAK.
Ans:B

76. In an R/3 environment, where is the work of a dialog program performed?
A: On the application server using a dialog work process service.
B: On the presentation server using a dialog work process service.
C: On the database server using a dialog work process service.
D: None of the above.
Ans: A

77. In regard to Native SQL, which of the following is NOT a true statement?
A: A CONNECT to the database is done automatically.
B: You must specify the SAP client.
C: The tables that you address do not have to exist in the ABAP Dictionary.
D: Will run under different database systems.
Ans:D

78. To change one or more lines of a database table, use ____.
A: UPDATE
B: INSERT
C: INTO
D: MOD
Ans:A

79. Which is the correct sequence of events?
A: AT SELECTION-SCREEN, TOP-OF-PAGE, INITIALIZATION
B: START-OF-SELECTION, AT USER-COMMAND, GET dbtab
C: INITIALIZATION, END-OF-SELECTION, AT LINE-SELECTION
D: GET dbtab, GET dbtab LATE, START-OF-SELECTION
Ans:B

80. Which of the following is NOT a numeric data type?
A: I
B: N
C: P
D: F
Ans: B

More SAP ABAP Interview Questions : Click Here