Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

SAP C_ABAPD_2507 SAP Certified Associate - Back-End Developer - ABAP Cloud Exam Practice Test

SAP Certified Associate - Back-End Developer - ABAP Cloud Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

Which statement can you use to change the contents of a row of data in an internal table?

Options:

A.

INSERT

B.

APPEND

C.

UPDATE

D.

MODIFY

Question 2

In CDS views, what do joins and associations have in common?

(Select 2 correct answers)

Options:

A.

An alias can be assigned to the data sources and to the fields in the field list.

B.

They can expose an entire data source without listing individual fields.

C.

The data sources are linked using an ON clause.

D.

The field list can include fields of the linked table without specifying the name of the corresponding data source.

Question 3

Which models must you use to develop artifacts that expose ABAP-based backend services based on semantic data models? (Select 2)

Options:

A.

ABAP RESTful Application Programming Model

B.

ABAP Cloud Development Model

C.

Cloud Application Programming Model

D.

ABAP Programming Model for SAP Fiori

Question 4

You want to extract date information of a flight date (f_info) and format it like yyyy-dd-mm using the following code:

SELECT FROM TABLE dbtab1

FIELDS f1,

extract_year( f_info ) && '-' && extract_month( f_info ) && '-' && extract_day( f_info ) ...

For the extract_* functions to work, what can be the data dictionary types of f_info?

Note: There are 3 correct answers to this question.

Options:

A.

TIMS

B.

UTCLONG

C.

TIMESTAMP

D.

DATS

E.

TIMN

Question 5

Given the following data definitions:

DATA: text TYPE string VALUE 'Date 1972-04-01 is in ISO format'.

DATA: regex TYPE string VALUE '[0-9]{4}(-[0-9]{2})(2}'.

In which of the following functions can you use regular expressions?

(Select 3 correct answers)

Options:

A.

reverse( val = text pcre = regex )

B.

match( val = text pcre = regex )

C.

condense( val = text pcre = regex )

D.

matches( val = text pcre = regex )

E.

find( val = text pcre = regex )

Question 6

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)

Options:

A.

row is a predefined name and cannot be changed.

B.

This REDUCE expression may produce a result of multiple rows.

C.

Components of h_structure_variable will be copied to same-named components of structure_variable.

D.

The REDUCE expression creates a loop over source_itab.

Question 7

In a CDS view, where can a value help be defined?

Options:

A.

In the SQL console

B.

In an annotation

C.

In an association

D.

In a view definition

Question 8

In what order are objects created to generate a RESTful Application Programming application?

Options:

Question 9

Setting a field to read-only in which object would make the field read-only in all applications of the RAP model?

Options:

A.

Projection view

B.

Behavior definition

C.

Metadata extension

D.

Service definition

Question 10

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

Options:

A.

Local variable

B.

Global variable

C.

Global class

D.

Local class

Question 11

How can you control data access of a business user?

(Select 3 correct answers)

Options:

A.

To control the general access implicitly via an Access Control object (define role).

B.

To control the "Create, Update, and Delete access" via explicit check using AUTHORITY-CHECK.

C.

To control the "Create, Update, and Delete access" implicitly via an Access Control object (define role).

D.

To control the "Read access" implicitly via an Access Control object (define role).

E.

To control the "Read access" via explicit check using AUTHORITY-CHECK.

Question 12

Which of the following Core Data Services built-in functions returns a result of type INT4?

(Select 2 correct answers)

Options:

A.

dats_add_months

B.

dats_is_valid

C.

dats_add_days

D.

dats_days_between

Question 13

How do you make class sub1 a subclass of class super1?

Options:

A.

In super1 use clause "sub1 REDEFINITION" in the DEFINITION part.

B.

In sub1 use clause "INHERITING FROM super1" in the IMPLEMENTATION part.

C.

In sub1 use clause "INHERITING FROM super1" in the DEFINITION part.

D.

In super1 use clause "sub1 REDEFINITION" in the IMPLEMENTATION part.

Question 14

What can you do in SAP S/4HANA Cloud, public edition? (2 correct)

Options:

A.

Use SAP-released extension points

B.

Use ABAP Development Tools in Eclipse (ADT)

C.

Modify SAP objects

D.

Use Web Dynpros

Question 15

What are some necessary parts of the singleton pattern? (Select 3)

Options:

A.

Class creation is set to CREATE PRIVATE.

B.

Constructor visibility is set to private.

C.

Class method to create the singleton instance is set to private.

D.

Static attribute to store address of the singleton instance must exist.

E.

Class method to create the singleton instance must exist.

Question 16

You want to define the following CDS view entity with an input parameter:

define view entity Z_CONVERT

with parameters i_currency : ???

Which of the following can you use to replace ????

(Select 2 correct answers)

Options:

A.

A built-in ABAP Dictionary type

B.

A built-in ABAP type

C.

A component of an ABAP Dictionary structure

D.

A data element

Question 17

When you create an exception class, what does SAP recommend you do?

(Select 3 correct answers)

Options:

A.

Define corresponding public attributes, if you want to pass context-specific values to placeholders of a message.

B.

Inherit from cx_static_check, if you want a warning at design time that the exception can never be raised.

C.

Inherit from cx_static_check, if you want a warning at design time that the exception will not be caught.

D.

Inherit from cx_no_check, if you want to reuse messages from a system exception class.

E.

Implement interface if_t100_message, if you want to reuse messages from a message class.

Question 18

Which internal table type allows unique and non-unique keys?

Options:

A.

Hashed

B.

Sorted

C.

Standard

Question 19

Given the following Core Data Service view entity data definition:

@AccessControl.authorizationCheck: #NOT_REQUIRED

DEFINE VIEW ENTITY demo_cds_param_view_entity

WITH PARAMETERS

p_date : abap.dats

AS SELECT FROM sflight

{

key carrid,

key connid,

key fldate,

price,

seatsmax,

seatsocc

}

WHERE fldate >= $parameters.p_date;

Which of the following ABAP SQL snippets are syntactically correct ways to provide a value for the parameter on line #4?

Note: There are 2 correct answers to this question.

Options:

A.

SELECT * FROM demo_cds_param_view_entity( p_date = '20230101' ) ...

B.

SELECT * FROM demo_cds_param_view_entity( p_date = @( cl_abap_context_info=>get_system_date( ) ) ) ...

C.

SELECT * FROM demo_cds_param_view_entity( p_date = `20230101` ) ...

D.

SELECT * FROM demo_cds_param_view_entity( p_date = :$session.system_date ) ...

Question 20

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.

Options:

A.

You add the clause REDEFINITION to the component in sub1.

B.

You implement the redefined component for a second time in super1.

C.

You add the clause REDEFINITION to the component in super1.

D.

You implement the redefined component in sub1.

Question 21

What can be translated?

(Select 3 correct answers)

Options:

A.

Content of a string variable

B.

Data element texts

C.

Text literal

D.

Message class

E.

Text symbol

Question 22

Which of the following are valid ABAP SQL type conversions? (Select 3 correct answers)

Options:

A.

CAST( 'field_f1' AS CHAR( 8 ) ) AS f_char8

B.

CAST( field_f2 AS N( 8 ) ) AS f_n8

C.

CAST( 29 AS INT8 ) AS f_int8

D.

CAST( field_f5 AS DEC( 15, 2 ) ) AS f_dec_15_2

E.

CAST( 34 AS I ) AS f_i34

Question 23

Which RAP object can be used to organize the display of fields in an app?

Options:

A.

Metadata extension

B.

Data model view

C.

Projection view

D.

Service definition

Question 24

Which of the following rules apply for dividing with ABAP SQL?

Note: There are 3 correct answers to this question.

Options:

A.

The division operator “/” accepts decimal input.

B.

Numeric function division( numerator, denominator, decimal places ) accepts decimal input.

C.

Numeric function div( numerator, denominator ) expects only integer input.

D.

The division operator “/” accepts floating point input.

E.

Numeric function division( numerator, denominator, decimal places ) accepts floating point input.