SAP ABAP OOPS Interview Questions For SAP LABS

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4
At a glance
Powered by AI
The key takeaways from the document are OOPS concepts in ABAP like classes, inheritance, polymorphism etc. and interview questions related to performance tuning, database concepts etc.

Joins allow you to combine rows from two or more tables based on a related column between them, whereas for all entries allows you to iterate through all the rows of a table or internal table. Joins are usually faster than for all entries.

Some code remediations required are removing implicit sorting, changing pooled and clustered tables as they are not supported in HANA, rewriting select queries to leverage HANA capabilities like analytic functions, predicates pushdown etc.

SAP ABAP OOPS Interview Questions for SAP LABS

1. Significance of Check table and Value Table and difference between them.
2. Purpose of creating secondary indices.
3. Difference between data class and delivery class.
4. If we have defined a specific size category , in the data dictionary and if the number of records in
the table exceeds the limit defined for a specific size category, what would happen.
5. Explain a scenario where you have implemented TMG events.
6. Explain a scenario where you have implemented search help exit.
7. If we have implemented a search help for a particular field inside an event of ‘on value request’
and there are fixed values as well maintained for that particular filled at the domain level and a
value table is also maintained for that field.
Values of which ( ‘fixed values’ or ‘value table’ or ‘event based’ ) will be populated once a user
clicks on the f4 help on the selection screen.
8. Difference between joins and for all entries.
9. What would happen if we sort the table in descending order before reading an entry with the
binary search. Would that have any impact on the binary search?
10. Are field symbols and pointers one and the same concept. If yes how, if not, what are the
differences?
11. Can we sort sorted table? Can we append a record in a sorted table?
12. Purpose of hashed table.
13. What are macros in ABAP?
14. A custom report is not performing well, what would be your approach to look for any
performance pain points or to improve the performance of the code.
15. What are the standard tools available for the performance tuning of custom code. Which one is
the latest tool SAP has introduced to check the performance of select queries.
16. How do we apply parallel cursor?
17. What is the purpose of Open cursor.
18. What is the difference between SAP and ABAP memory? Give practical examples where you
have used these.
19. What is buffering , why do we use it, how many types do we have?
20. When does single record buffering gets invoked ?
21. What is the significance of Function group while creating TMG for a table?
22. What is a docking container and why do we use it?
23. How do we upload a file on the application server ?
24. How do we apply parallel processing in the report?
25. Why do we use offset while programming in abap?
26. Why do we use at selection screen output event? Give an example where you will use it?
27. How do we develop a report using SALV?
28. Let’s say we have not selected all the primary keys while selecting from a standard dictionary
table. What can be repercussions of this?
29. What is the difference between interfaces and conversions?
30. Which conversion technique is the most preferable?
31. What is the difference between RFC and BAPI?
32. Can we pass an object reference to an RFC?
33. What is qRFC and tRFC?
34. Why do we use function module with update task? Give an example where you will use it?
35. What is DB LUW and SAP LUW? How are they inter-related ?
36. What is an enhancement framework?
37. What is a kernel BADI? What is the process of creating it?
38. What is the difference between Kernel and Classic BADI?
39. Why is kernel BADI faster that Classic BADI?
40. Difference between Enhancement spot and enhancement section?
41. Why is it recommended not to use implicit enhancement?
42. Explain new enhancement framework?
43. Difference between user exit and customer exit?
44. What are multiple use BADI, give an example?
45. What are filter dependent BADI, give an example?
46. Why do we use filter dependent BADI, we can achieve the same using if else statement inside
the implementation.
47. Can we write insert update or modify statement in an implicit enhancement would it work?
48. How many types of constructor do we have in ABAP?
49. What is the purpose of a class constructor?
50. What is the purpose of a constructor?
51. Can we redefine a constructor?
52. Is it mandatory to call a super class constructor in the while implementing the base class
constructor?
53. We have a super class and a sub class and we have implemented constructor as well as class
constructor in both the classes, now we create an object of a super class and then an object of a
sub class. How many times the class constructor of the super class will be called.
54. What is the difference between method overloading and method overriding? Can we implement
method overloading in ABAP? If yes then how?
55. What is the difference between wide casting and down casting?
56. What is the difference between up casting and narrow casting?
57. What is the purpose of casting in ABAP oops?
58. How do we call the method of an abstract class?
59. What is a static class?
60. Can instance method access the static attribute of a class?
61. Can static method access instance attribute of a class?
62. What is a singleton class and how do we create a singleton class?
63. What is a persistence class, where do we use it, give real time scenario.
64. Give an example of OOPS interface.
65. What is the difference between an interface and an abstract class?
66. What is the significance of events in oops?
67. How do we exception handling?
68. What is the difference between errors and exceptions?
69. Which is the most basic standard exception class?
70. What is a final class?
71. There is a class which is abstract and final as well. How shall we call a method of that class?
72. Which class in the below picture should be abstract and which ones should be final?

73. Is multiple inheritance possible in ABAP? If yes how ?


74. There is a single select query on COEP table which is a finance table with a where condition as
well. This select query is giving a memory dump in the report. What can be a possible solution
for this.
75. Any idea about new abap syntax? Can you give a couple of examples.
76. Can we use non-unicode syntax in abap now?
77. Can we use native SQL in HANA system?
78. Which one is better in terms of performance inner join or for all entries?
79. What are the code remediations which are required once we move to Hana Database from
traditional database.
80. Can we rely on implicit sorting while writing a select query in HANA system.
81. What happens to pooled and clustered tables once we migrate to SoH system.
82. There is a custom report which is not performing well, what would be the five most important
point you would look for in the report which might be hampering the performance.
83. What is the difference between CDS and AMDP?
84. Which is the mandatory interface to be used in AMDP?
85. What are the benefits of using CDS over open SQL?
86. What are the benefits of using AMDP over open SQL?
87. What are the benefits of using AMDP over CDS?
88. What are the benefits of using CDS over AMDP?
89. What are annotations in CDS?
90. What is the difference between join and associations in CDS?
91. How many types of CDS are there ?
92. Can we have a returning parameter in the amdp method?
93. What is CDS with table function?
94. Which coding language do we use in AMDP?
95. What is apply filter in AMDP?
96. Customer has given you a requirement to develop a report, which technique will you use,
CDS, AMDP, Open SQL?
97. How do you handle select options in CDS?
98. How do you handle select option in AMDP?
99. How does CDS help when an ODATA is involved?
100. Do we need a HANA DB to develop a CDS?

You might also like