Certification Test 1 Flashcards

1
Q

You are defining a variant in the ABAP Trace tool (SAT). Which trace restrictions can you set?

A

Restrict trace to specific program parts

Restrict trace to specific statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

For performance optimization, you want to combine the results of ABAP Test Cockpit ad the SQL Monitor runtime data. What tool do you use for this?

A

SQL Performance Tuning Worklist (SWLT)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You want to define an ABAP Managed Database Procedure (AMDP) . Which are requirements in the definition part of the class?

A

The class implements interface if_amdp_marker_hdb

All parameters of the AMDP method are passed by value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You want to search for custom code that needs to be adjusted. What tool can you use?

A

ABAP Call Monitor (SCMON)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You define an SAPUI5 application as the target in a target mapping. What is mandatory?

A

Application ID
Component ID
ICF Path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where does the SAP system organize the SAP Gateway services?

A

Internet Communication Framework (ICF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How could you replace the statement CONCATENATE ab INTO c?

A
c = |{a}{b}|
c = a && b
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the dimensions of the SAP Fiori definition?

A

Design
Technology
Concept

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What can you use as a data source for an SAP Fiori App launched-Dynamic?

A

OData Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which are valid ways to insert a comment in a Data Definition (DDL source)?

A
/* comment */
// comment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You plan to migrate an SAP ERP system to SAP S/4HANA. Which tasks are recommended but NOT mandatory?

A

Custom code evaluation

Performance tuning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You use the Code Inspector to Search for Potential Functional Issue. Which checks are presets in FUNCTIONAL_DB variant of the Code Inspector?

A

Search DB Operations in Pool and Cluster tables

Search problematic statements for result of SELECT or OPEN CURSOR without ORDER BY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which features are part of the new syntax for OpenSQL?

A

Comma-separated by column list

ABAP variables escaped with @

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You maintain a transactional application for flight travels that was developed with the ABAP RESTful Application Model (RAP Model). You want to offer an additional button for cancelling a travel.

A

Data Model Projection

Behavior Projection

Behavior Definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You create a project in the Custom Code Migration app to analyze the readiness of custom code for SAP S/4 HANA. How does the app supply the check results?

A

It executes a check run in a remote system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which Open SQL statements are syntactically correct in release 7.50?

A

SELECT FROM sbook. FIELDS carrid,connid,loccuram,loccurkey. INTO TABLE @It_booking. WHERE customid=@lv_customer

SELECT carrid,connid,loccuram,loccurkey.FROM sbook. INTO TABLE @LT_BOOKING. WHERE customid=@lv_customer

SELECT FROM sbook. FIELDS carrid,connid,loccuram,loccurkey. WHERE customid=@lv_customer. INTO TABLE @It_booking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

There are many syntax differences between SAP HANA SQLScript and Open SQL. Which rules are common ground between the two languages?

A

Key words can be upper-case or lower-case

Comments can be marked by an asterisk(*) at position 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which expression can you use in Open SQL release 7.50?

A

CASE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Which are benefits of draft-enabling an application?

A

Support for device switching

Support for continuous work

Early feedback from validations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

You use remote client proxy in ABAP. You create an Exception Class for errors related to proxy consumption. Which do you use as a superclass?

A

CX_RAP_QUERY_PROVIDER

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Where do you distinguish between OData V2 or OData V4?

A

Service binding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What are CRUD operations?

A

Create, Read, Update and Delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

You implement the behavior of a CDS-based BOPF Business Object. For which tasks can you reuse the implementation from the BOPF public library?

A

Auto-fill semantic key fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Which rules apply to the naming of CDS Views?

A

The CDS view and the SQL view must have different names

The data definition name can be up to 30 characters long

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Which repository objects offer a preview function?

A

Service binding

Data definition

26
Q

You implement the Behavior of a CDS-based BOPF Business Object. You call method update( ) of the BOPF data modifier to update instance data of node ZMY_NODE. How do you type the actual parameter of import parameter IS_DATA?

A

TYPE REF TO zs_my_node

27
Q

Which ways can you use to address input parameter X in the CDS view definition?

A

$parameters.X

:X

28
Q

Which building blocks of the ABAP RESTful Programming Model(RAP) are part of the Core Data Services(CDS)?

A

Service definition

Behavior definition

29
Q

In your system landscape, you create a Custom Business Object in the SAP S/4HANA On-Premise edition. Which steps are necessary to use the Custom Business Object as the basis for an SAP Fiori app?

A

Register the OData service based on your Custom Business Object in SAP Gateway

Create a project in the SAP Gateway Service Builder (SEGW) and reference your Custom Business Object as data source

30
Q

What can you define in an SAP Fiori catalog?

A

Target Mappings

Tiles

31
Q

Which new repository object types were introduced with ABAP CDS?

A

Metadata Extension

Data definition

Access control

32
Q

You want to create custom fields using the Custom Fields and Logic extensibility app. Which statements do you need to consider?

A

You must assign the fields to a business context

You can translate the fields into different languages

33
Q

Which expressions will lead to an exception?

A

DATA var TYPE c LENGTH 4.var = EXACT#( IA123I).

DATA var TYPE c LENGTH 5.var = EXACT#( IA123I).

DATA var TYPE c LENGTH 3.var = EXACT#( IA123I).

34
Q

What makes up the behavior of a BOPF Business Object?

A

Determinations
Validations
Actions

35
Q

You maintain a transactional app that is built with the ABAP Programming model for SAP Fiori. The BOPF Business Object consists of a single node. You want to enable the CREATE button for new instances.

Which CDS objects do you have to add annotation @ObjectModel.createEnabled?

A

The data definition of the consumption view

The data definition of the transactional view

36
Q

You edit a behavior implementation class of a draft-enabled BOPF Business Object. You need to distinguish between a new draft instance and an edit draft instance. Which property of the node instance do you evaluate?

A

HasActiveEntity

37
Q

You have written a program that uses inline declarations and assigns values using expressions. The global data declarations contain the following statement: DATA o TYPE REF TO cl_class.

Which are valid statements?

A

o = NEW cl_class().

o = NEW().

DATA(p) = NEW cl_class().

38
Q

You use the UNION in the Open SQL statement in release 7.50. What must you use?

A

Explicit field list.

INTO clause at the end.

39
Q

Which floorplans does SAP Fiori elements offer?

A

Overview page
List Report
Worklist

40
Q

You want to define a CDS-based BOPF Business Object that consists of a root node (ZI_DocumentTP) and a child node (ZI_ItemTP). What annotation is mandatory in the data definition of CDS view ZI_ItemTP?

A

@ObjectModel.association.type:[#TO_COMPOSITION_CHILD]

41
Q

In SAP S/4HANA, a replacement object is assigned to transparent table ANEA. Which uses of table ANEA do you have to correct when migrating an SAP ERP system to SAP S/4HANA?

A

In the FROM clause of a SELECT statement.

In the FROM clause of a DELETE statement.

42
Q

What do you use as a separator between a table and a field name in a CDS view definition?

A

Period (.)

43
Q

How can you create an SAP Gateway service based on a CDS View?

A

Reference the CDS View as data source in an SAP Gateway project.

Add annotation @OData.publish: true in the data definition

44
Q

What can you do with the SQL Trace Tool (ST05)?

A

Locate database-related performance issues

Display record of all database access

Detect redundant statements

45
Q

You have written the following code: START-OF-SELECTION.LOOP AT ITAB INTO DATA(LINE). ENDLOOP.

The system creates a variable called LINE. When is it created and when can you address it?

A

It is created when the LOOP statement is processed. You can access it any time after the declaration.

46
Q

What OData option do you use to access the data model of the service?

A

$metadata

47
Q

Which CDS view definition is syntactically correct?

A

@AbapCatalog.sq|ViewName: IS4D430_CARRI. DEFINE VIEW S4D430_Carrier AS SELECT. FROM scar. {carrid, carname, currcode, url}

48
Q

Which new features are supported by the CDS Views but not by the ABAP Dictionary Views?

A

Nested views (View-on-View)
Aggregations and grouping
Expressions in the field list

49
Q

Which tasks are typically done in a Projection View of the ABAP Restful Application Programming Model RAP?

A

Enable full-text search in the application

Define a value help for an input field

50
Q

The root-node of a CDS-based business object is based on CDS View ZMY_VIEW. The persistent data is stored in the database table ZMY_TABLE. At least one key field of ZMY_TABLE has a different name in CDS View ZMY_VIEW.

What kind of repository object is needed to map the fields of ZMY_VIEW to the fields of ZMY_TABLE?

A

Database view

51
Q

You develop an SAP Fiori app in a specific solution area. Where do you define tiles and target mapping for the app?

A

In a Technical catalog

52
Q

The class CL_CLASS contains a public static method DO_SOMETHING with an importing parameter PARAM TYPE i. Your program contains the following data declaration: DATA var TYPE string.

Which method calls are syntactically correct?

A

cl_class=>do_something(param = CONV#(var) ).

cl_class=>do_something(param = EXACT#(var) ).

53
Q

What features are available in Open SQL release7.50?

A

RIGHT OUTER JOIN

BETWEEN in ON conditions

Up to 50 tables in JOINs

54
Q

You develop an OData V2 service in sap Gateway. What is listed in the service document?

A

Entity sets

55
Q

You have a field currcode in a CDS view definition. You want to annotate the field with a label. What is syntactically correct?

A

@EndUserText.label:’Currency Code’ currcode

currcode @

56
Q

What are features of the ABAP Test Cockpit?

A

Schedule global check runs

Request and approve exemptions

57
Q

When creating CDS-based BOPF Business Objects, the system generates several additional repository objects. Among those objects are objects in the ABAP Dictionary. Which types of ABAP Dictionary objects are generated?

A

Structures

Table Types

58
Q

You use the following expression to address the internal table gt_flights: gs_flight = gt_flights[ carrid = IXXI connid = I9999I]. There is NO table entry with the specified key.

What is the result of the statement?

A

gs_flight retains its previous contents. The systems triggers an exception.

59
Q

You want to create a new CDS view VIEW1 that reads from CDS view VIEW2. VIEW2 has 2 input parameters, par1 and par2, with data type abap.char(10). What is the correct way to supply the input parameters?

A

SELECT FROM VIEW2(par1: ‘TEXT1’ , par2:’TEXT2’)

60
Q

In a Custom Business Object you want to implement a determination for a node with the ID SALESORDER. What kind of parameter is the SALESORDER parameter?

A

Changing