In RESTful Application Programming, a business object contains which parts?
Note: There are 2 correct answers to this question.
Setting a field to read-only in which object would make the field read-only in all applications of the RAP model?
Given this code,
DATA(structure_variable) =
REDUCE structure_type(
INIT h_structure_variable TYPE structure_type
FOR row IN source_itab
NEXT
h_structure_variable-f1 += row-f1
h_structure_variable-f2 += row-f2 ).
Which of the following statements are correct? (Select 2 correct answers)
Given the following code:
DATA gv_text1 TYPE string. "#EC_NEEDED
DATA gv_text2 TYPE string ##NEEDED.
What are valid statements? (Select 2 correct answers)
You have attached a system field to an input parameter of a CDS view entity as follows:
define view entity Z_ENTITY
with parameters
@Environment.systemField: #SYSTEM_LANGUAGE
language : spras
What are the effects of this annotation? (Select 2 correct answers)
Which of the following results in faster access to internal tables? (Select 3 correct answers)
What is the syntax to access component carrier_name of structure connection?
Which of the following integration frameworks have been released for ABAP Cloud development? (Select 3)
You want to join two database tables, T_CARRIER and T_CONNECTIONS, to retrieve all carriers, whether they have corresponding connections or not.
Which statements would achieve this?
Note: There are 2 correct answers to this question.
In a subclass sub1, you want to redefine a component of a superclass super1.
How do you achieve this?
Note: There are 2 correct answers to this question.
Given the following ABAP code, which exception will be raised on execution?
CONSTANTS c_char TYPE c LENGTH 1 VALUE ' '.
TRY.
result = 2 / c_char.
out->write( |Result: { result }| ).
CATCH cx_sy_zerodivide.
out->write( |Error: Division by zero is not defined| ).
CATCH cx_sy_conversion_no_number.
out->write( |Error: { c_char } is not a number!| ).
CATCH cx_sy_itab_line_not_found.
out->write( |Error: Itab contains less than { 2 / c_char } rows| ).
ENDTRY.
To which of the following rules must extensions in SAP S/4HANA, public cloud edition adhere?
(Select 2 correct answers)
You have the following CDS definition (aliases shown):
define view entity Z_ENTITY
as select from Z_SOURCE1 as _Source1
association to Z_SOURCE2 as Source2 on ???
{
key carrier_id as Carrier,
key connection_id as Connection,
cityfrom as DepartureCity,
cityto as ArrivalCity,
Source2
}
(The data sources are joined by the field carrier_id. The corresponding field in Z_SOURCE2 is also carrier_id.)
Which ON condition must you insert?
Constructors have which of the following properties?
(Select 2 correct answers)
Given this code,
INTERFACE if1.
METHODS m1.
ENDINTERFACE.
CLASS cl1 DEFINITION.
PUBLIC SECTION.
INTERFACES if1.
METHODS m2.
ENDCLASS.
" in a method of another class
DATA go_if1 TYPE REF TO if1.
DATA go_cl1 TYPE REF TO cl1.
go_cl1 = NEW #( ... ).
go_if1 = go_cl1.
What are valid statements? (Select 3 correct answers)
When you work with a test class, you can set up some prerequisites before the actual testing.
In which sequence will the following fixtures be called by the test environment?