Infosys Certified SAP ABAP Objects Professional Consultant
Practice with real exam-pattern questions for Infosys Certified SAP ABAP Objects Professional Consultant. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 Infosys Certified SAP ABAP Objects Professional Consultant practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified SAP ABAP Objects Professional Consultant certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
Can the ABAP keyword ‘TABLES’ be used in ABAP Objects to create a table work area?
- ✓ YES Correct
- B NO
- Question 2
A class ‘ZCL_TEST_CLASS1’ is created with a single method ‘METHOD1’. A class ‘ZCL_TEST_CLASS2’ inherits the class ‘ZCL_TEST_CLASS1’ and redefines the method ‘METHOD1’. Analyze the code below and answer the question. DATA : w_obj_ref1 TYPE REF TO zcl_test_class1, w_obj_ref2 TYPE REF TO zcl_test_class2. CREATE OBJECT w_obj_ref1. w_obj_ref2 = w_obj_ref1. CALL METHOD w_obj_ref2->method1.
- ✓ When compiled, the above code throws a compile time error. Correct
- B Code is compiled successfully but throws a runtime error on execution.
- C The method of the base class (ZCL_TEST_CLASS1) is executed.
- D The method of the child class (ZCL_TEST_CLASS2) is executed.
- Question 3
A class ‘ZCL_TEST_CLASS2’ inherits the class ‘ZCL_TEST_CLASS1’ and redefines the method ‘METHOD1’. Analyze the code below and answer the question. DATA : w_obj_ref1 TYPE REF TO zcl_test_class1, w_obj_ref2 TYPE REF TO zcl_test_class2. CREATE OBJECT w_obj_ref2. w_obj_ref1 = w_obj_ref2. CALL METHOD w_obj_ref1->method1.
- ✓ When compiled, the above code throws a compile time error. Correct
- B The code is compiled successfully but throws a runtime error on execution.
- C The method of the base class (ZCL_TEST_CLASS1) is executed.
- D The method of the child class (ZCL_TEST_CLASS2) is executed.
- Question 4
An Exception is raised inside the ‘Constructor’ method of a Global Class?
- ✓ When the method is activated, a compile time error occurs. Correct
- B A run time error occurs when an object of the global class is created in a program.
- C No runtime error occurs, the object is instantiated and the exception can be caught in the calling program.
- D No runtime error occurs, the object is not instantiated and the exception can be caught in the calling program.
- Question 5
A class ‘ZCL_CLASS1’ is added as a ‘FRIENDS’ of the class ‘ZCL_CLASS2’ in the global class definition of the latter. Which of the following is true?
- ✓ The class ‘ZCL_CLASS1’ can execute only the protected methods of ‘ZCL_CLASS2’. Correct
- B The class ‘ZCL_CLASS1’ can execute only the private methods of ‘ZCL_CLASS2’.
- C The class ‘ZCL_CLASS1’ can execute the private and protected methods of ‘ZCL_CLASS2’.
- D The class ‘ZCL_CLASS1’ cannot execute the private and protected methods of ‘ZCL_CLASS2’.
- Question 6
Which of the following is true about the ‘RETURNING’ parameter of a class?
- ✓ It can be passed only ‘By reference’. Correct
- B It can be passed only ‘By value’.
- C It can be passed both ‘By Value’ and ‘By Reference’.
- D None of the above.
- Question 7
If an exception needs to be called/raised inside the method of a global class, which of the following can be used?
- ✓ An Exception class can be associated with the method and used. Correct
- B Exceptions can be raised inside method as done in a Function Module using the "RAISE" keyword.
- C Both a and b can be used but not within the same method.
- D Both a and b can be used and also within the same method.
- Question 8
Can an attribute, defined as a reference to a class (TYPE REF TO), be a constant attribute?
- ✓ Yes, it is possible. Correct
- B No, a constant attribute cannot be defined as a Class reference.
- C An attribute cannot be defined as a ‘Constant’.
- Question 9
The value of a ‘Read-Only’ attribute can be changed?
- ✓ Inside the class Correct
- B Outside the class
- C Both a and b
- D Cannot be changed at all
- Question 10
A method ‘METHOD1’ is defined within the global class ‘ZCL_CLASS1’. The method consists of 2 importing parameters ‘IMP1’ & ‘IMP2’ and a single Exporting parameter ‘EXP1’. All parameters are of type Integer. Can the code given below be used to successfully execute the method in a report? DATA : w_object1 TYPE REF TO zcl_class1, w_exp1 TYPE i. CREATE OBJECT w_object1. w_object1->method1( EXPROTING imp1 = 50 imp2 = 100 IMPORTING exp1 = w_exp1 ).
- ✓ YES Correct
- B NO
More in SAP
Infosys Certified SAP MDG Functional Professional Consultant
Infosys Certified SAP C4C50 Professional Consultant
Infosys Certified SAP S4 HANA Embedded Analytics Professional Consultant
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
Common questions, straight answers.
A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.
Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.
We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.
Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.
Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.