Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAP C_ABAPD_2507 Exam - Topic 6 Question 18 Discussion

What is a class defined as part of an ABAP program called?
D) Local class
A) Local variable
B) Global variable
C) Global class

SAP C_ABAPD_2507 Exam - Topic 6 Question 18 Discussion

Actual exam question for SAP's C_ABAPD_2507 exam
Question #: 18
Topic #: 6
[All C_ABAPD_2507 Questions]

What is a class defined as part of an ABAP program called?

Show Suggested Answer Hide Answer
Suggested Answer: D

In ABAP Cloud/RAP examples, test classes are created inside the development object (e.g., inside the behavior implementation) and are marked FOR TESTING---these are local classes (they live in the program/class include, not as separate global repository classes). The guides show creating test classes under the Test Classes tab and referencing the Local Types section of the implementation (friends etc.), i.e., local to the program/object.

This contrasts with global classes that exist as standalone repository objects; the RAP test patterns explicitly model the former (local) for unit tests within the object's context.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel