S 4 Hana

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

Question 1:You want to use the extensibility app, Custom Fields and Logic, to define custom fields

for an SAP Fiori app. Which of the following

conditions is a prerequisite for this activity?

Answer: Custom fields can only be created for SAP Fiori apps that have been enabled by SAP for this
type of extension.

Question 2: What can you define in an SAP Fiori catalog?

Answer: tiles

Target Mappings

Question 3: Which of the following floor plans does SAP Fiori elements offer?

C1] Master Detail Page

Answer: ListReport

Overview Page

Worklist

Question: Which of the following CDS view definitions is syntactically correct?

Answer: @AbapCatalog.sqlViewName: 1S4D430_CARRI. DEFINE VIEW S4D430_Carrier AS SELECT .


FROM scar. {carrid, carrname,

currcode, url}

Question: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?

Answer: 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
Question: Which of the following are dimensions of the SAP Fiori definition?

Answer: Concept

Design

Technology

Question: 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?

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

Question: Which of the following are extensibility apps from the Extensibility Business Catalog?

Answer: Custom CDS Views

Configure Software Packages

customFields and Logic

Question: The Entity Manipulation Language (EML) is an extension of which of the following?

Answer: The ABAP Programming Language

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

of the Code Inspector?

Answer: Search DB Operations in Pool or Cluster Tables

Search problematic statements for result of SELECT or OPEN CURSOR without ORDER BY
Question: Which building blocks of the ABAP RESTful Programming Model(RAP) are part of the Core
Data Services(CDS)?

Answer:Behavior Definition

ServiceDefinition

Question: In a central hub deployment, which protocol is used to communicate between front-end
and back-end server?

Answer: OData

Question: You want to create a new CDS view VIEW1 that reads from CDS view VIEW2. VIEW2 has 2
input parameters, parl and par2, with data

type abap.char(10).

Which of the following is the correct way to supply the input parameters?

Answer: select from VIEW2( par1: IText1I, par2: IText2I )

Question: Which of the following are features of the ABAP Test Cockpit?

Answer: Schedule global check runs

Request and approve exemptions

Question: You implement a SELECT statement in ABAP. When do you use the key word FIELDS?

Answer: When the position of the fields list is after the FROM clause.

Question: You want to use the UNION between 2 SELECT statements in aCDS view. What must both
statements have in common?

Answer: Identical name or alias for elements in the same position

Identical data types for elements in the same position


Question: Which of the following features are part of the new syntax for OpenSQL?

Answer: abap variables escaped with @

Comma-separated column list

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

Answer: In a Technical Catalog

Question: Which of the following are valid ways to insert a comment in a Data Definition (DDL
source)?

Answer: // comment

/* comment */

Question: In your system landscape, there is a development system DEV and a central check system
CHK. Which of the following describes the

developer scenario of remote checks with ABAP Test Cockpit (ATC)?

Answer: A developer logs on to system CHK and invokes a check in system DEV.

Question: You implement the behavior of a CDS-based BOPF-Object and want to issue a message.
Which is the correct sequence of the necessary

implementation steps?

Answer: Make sure parameter eo_message is not empty. Add a message to the message container.
Call a static method of class

/bobf/cl_frw_message_factory

Question: For performance optimization, you want to combine the results of ABAP Test Cockpit and
the SQL Monitor runtime data. Which tool do you

use for this?

ANswer: SQL Performance Tuning Worklist (SWLT)


Question: You have a field currcode in a CDS view definition. You want to annotate the field with a
label. Which of the following are syntactically

correct?

Answer: currcode @<EndUserText.label: ‘Currency Code' ,

@EndUserText.label: ‘Currency Code currcode,

Question: You want to analyze SQL performance. You use the SQL Monitor in the production system
(PRD) to collect the data. How can you create a

snapshot in the development system (DEV)?

Answer: Use transaction SQLM in PRD to export a file and transaction SWLT in DEV to import this
file.

use transaction SWLT in DEV to retrieve a snapshot from PRD by RFC.

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

Answer: Restrict trace to specific statements

Restrict trace to specific program parts

Question: Which of the following repository objects offer a preview function?

(Behavior Definition

Answer: Service Binding

datadefinition

Question: Which of the following do you use as a separator between a table and a field name in a
CDS view definition?

Answer: Period (.)


Question: You develop a transactional application with the ABAP RESTful Application Programming
Model (RAP).

Where do you define the field name mapping?

Answer: In the Behavior Definition

Question: You have written a program that uses inline declarations and assigns values using
expressions. The global data declarations contain the

following statement: DATA or TYPE REF TO cl_class.

Which of the following are valid statements?

Answer: or =NEW cl_class( ).

or = NEw).

Data(p) = NEW cl_class( ).

Question: Which of the following new features are supported by the CDS Views but not by the ABAP
Dictionary Views?

ANswer: Nested views (View-on-View)

Aggregations and grouping

Expressions in the field list

Question: Which of the following tasks are typically done in a Projection view of the ABAP RESTful
Application Programming Model (RAP)?

ANswer: Enable full-text search in the application

Define a value help for an input field

Question: You use remote client proxy in ABAP. You create an Exception Class for errors related to
proxy consumption. Which of the following do you

use as a superclass?

Answer: CX _RAP_QUERY_ PROVIDER

Question: Which of the following features are available in Open SQL release 7.50?
Answer: up to 50 tables in JOINs

BETWEEN in ON conditions

RIGHT OUTER JOIN

Question: How could you replace the statement CONCATENATE ab INTO c.?

Answer: c=|{a}{b}|.

c=a&&b.
Question: 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.

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

ANswer: DatabaseView

Question: What can you use as data source for an SAP Fiori App Launcher - Dynamic?

Answer: OData service

Question: Which OData option do you use to access the data model of the service?

Answer: $metadata

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

Answer: All parameters of the AMDP method are passed by value.

The class implements interface if_amdp_marker_hdb.

Question: 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?

Answer: structures

Table Types

Question: You implement the behavior of a CDS-based BOPF Business Object. For which of the
following tasks can you reuse the implementation

from the BOPF public library?

Answer: Auto-fill semantic key fields


Question: You develop an OData V2 service in SAP Gateway. What is listed in the service document?

answer: Entity Sets

Question: Where does the SAP system organize the SAP Gateway services?

Answer:Internet Communication Framework (ICF)

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

Answer: custom code evaluation

performance-tuning

Question: Which of the following information do you get using the ABAP Call Monitor?

Answer: The number of calls

The ABAP objects that have been called

Business transactions that called ABAP objects

Question: You want to use Data Source Extensions. Which of the following restrictions and options
apply?

Answer:

You can only create Data Source Extensions for SAP applications that have been enabled by SAP for
key user extensibility.

You can only read fields of a Data Source Extension.

Question: You want to search for custom code that needs to be adjusted. Which of the following
tools can you use?

Answer ABAP Call Monitor (SCMON)


Question: Which of the following rules apply to the naming of CDS Views?

Answer: The data definition name can be up to 30 characters long.

The CDS view and the SQL view must have different names.

Question: Which of the following new repository object types were introduced with ABAP CDS?

Answer: datadefinition

access-contro!

Metadata Extension

Question: 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.

In which of the following CDS objects do you have to add annotation @ObjectModel.createEnabled?

ANswer: The data definition of the consumption view

The data definition of the interface view

The data definition of the transactional view

The metadata extension of the consumption view

Question: 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?

Answer: TYPE REF TO zs_my_node

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

supply the check results?

ANswer: It executes a check run in a remote system


Question: Which of the following are benefits of draft-enabling an application?

Answer: Support for continuous work

Early feedback from validations

Support for device switching

Question: Which of the following do you use as a separator between a table and a field name in
Open SQL?

Answer: Tilde (~)

Question: 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?

Answer: HasActiveEntity

Question: You are writing an ABAP Managed Database Procedure that contains a SELECT statement.
How does client handling work?

Answer: Use session_context( ICLIENTI )

Question: You want to write a SELECT statement using the Open SQL syntax of release 7.50. Which
of the following sequences of clauses are valid?

Answer: WHERE clause can precede the INTO clause

FROM clause can precede the column list


Question: 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 canceling a travel.

Which of the following building blocks need to be edited?

Answer: Behavior Definition

Data Model Projection

Behavior Projection

Question: Which expression can you use in Open SQL release 7.50?

Answer: CASE

Question: You want to create ABAP applications to consume an on-premise RFC. You use the
jco.client.ashost property to create a corresponding

destination.

Which other properties must you add to the destination definition?

Answer: jco.client.sysnr = < SAP System Instance >

jco.client.client = < SAP Client >

Question: You maintain a transactional app for sales orders that is built with the ABAP Programming
model for SAP Fiori. For which of the following

tasks would you implement a determination of the BOPF Business Object?

Answer: Save the sales order data

Assign the sales order ID

Calculate the sales order sum

Question: 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 of the following method calls is syntactically correct?


Answer: cl_class=>do_something( param = var ).

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

Question: SAP enabled key user extensibility for a SAP Fiori application. The application accesses a
database table that you extended with an append

structure in the customer namespace. You want to use key user extensibility to create input fields on
the SAP Fiori UI that correspond to

the custom database fields.

Which of the following steps are mandatory?

Answer: Enable the usage of the custom database fields in the Custom Fields and Logic app.

Append the custom database fields to the extension include structure provided by SAP.

Enable the custom database fields for usage in SAP Fiori apps using the transaction Enable Fields
for Use in the Custom Fields and

Logic (SCFD_EUI) app.

Question: Which of the following expressions will lead to an exception?

Answer: DATA var TYPE c LENGTH 5. var = EXACT #( IA1231 ).

DATA var TYPE n LENGTH 4. var = EXACT #( IA1231 ).

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

Question: What can you do with the SQL Trace Tool (STO5)?

Answer: Locate database-related functional issues

Locate database-related performance issues

Detect redundant statements

Question: 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?


Answer: In the FROM clause of a DELETE statement

In the FROM clause of a SELECT statement

Question: Which of the following Open SQL statements are syntactically correct in release 7.50?

Answer: SELECT carrid connid loccuram loccurkey. FROM sbook. UNTOTABLE It_booking . WHERE
customid = Iv_customer.

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

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

Question: You implement an ABAP Managed Database Procedure (AMDP). You want to access some
other objects from within your script code. Which

of the following objects must you list after the USING addition?

Answer: AMDP Functions

Database Views

Question: You are creating an enhancement implementation using key user extensibility. Which of
the following can you do in the web-based ABAP

editor?

Answer: create filter conditions.

Assign your implementation to a transport request.

Test your custom logic.

Question: You want to establish an automatic check during the release of change requests. If the
check returns any errors, the system should

prevent the request from being released.

Which analysis tool can you configure for this?

Answer: ABAP Test Cockpit (ATC)


Question: In your ABAP program, you have a loop over internal table T1. Inside the loop, you use the
contents of T1 to fill another internal table T2:

LOOP AT t1 INTO wal. MOVE-CORRESPONDING wai TO wa2. APPEND wa2 TO T2. ENDLOOP.

Which expressions could you use to replace the loop?

Answer: VALUE

Question: Which of the following make up the behavior of a BOPF Business Object?

Answer: validations

Determinations

actions
Question: You define an SAPUIS5 application as the target in a target mapping. Which of the
following are mandatory?

A ComponentID

va ICFpath

OC Application 1D

oO application type

oO

OData service

Question: 33/80 Hits: 0.

Which CDS annotation do you use to add a section to an ObjectPage?

Points: 0

vo @UI.facet

oO @UI.area

Oo @UI.range

Oo

@UI.segment

Question: 34/80 Hits: 0 Faults: NaN Points: 0


You want to adjust validations of a RAP Business Object. You open the related Behavior Pool. On
which tab do you find the method

implementations?

vO

Local Types

test classes

O Class-relevant Local Types

° Global Class

Question: 35/80 Hits: 0 Faults: NaN Points: 0

You create a destination in SAP BTP cockpit. Which of the following destination types can you set in
the Connectivity Service?

Cismte

UO opata

Vv Orrc

Vv Onte

“Question: 36/80 Hits: 0 _Faults: NaN Points: 0

Where do you distinguish between OData V2 or OData V4?

O ProjectionView
Oo Behavior Projection

JV O Service Binding

oO ServiceDefinition

Question: 37/80 Hits: 0 Faults: NaN Points: 0

You use the UNION in the Open SQL statement in release 7.50. Which of the following must you use?

Vv CI INTO clause at the end

VY CExplicit field ist

(CO DISTINCT clause

(J J01N clauses
Question: 38/80 Hits: 0 Faults: NaN. Points: 0

There are many syntax differences between SAP HANA SQLScript and Open SQL. Which of the
following rules are common ground

between the two languages?

J Li comments can be marked by an asterisk (*) at position 1

U Host variables are escaped with an at symbol (@)

CU Statements are ended with a period (.)

JV Oo Key words can be upper-case or lower-case

Question: 39/80 Hits: 0 Faults: NaN Points: 0

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

consider?

You can only use String-like data types for the fields.

< (You can translate the fields into different languages.

vo

(You must define the fields as read-only fields.

You must assign the fields to a business context.

Question: 40/80 Hits: 0 Faults: NaN Points: 0.


You develop an ABAP application and you want to directly access an Internet-facing API. Which of
the following methods of the

‘CL_HTTP_DESTINATION_PROVIDE class can you use to obtain the destination object?

O CRemte_BY_HTTP_DESTINATION

(Ol CREATE_BY_CLOUD_DESTINATION

VC CREATE_BY_DESTINATION

vo CREATE _BY_URL

You might also like