ABAP Cloud Development Quiz
31 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which function call returns 0?

  • Count_any_of (val = ‘ABAP ABAP abap' sub "AB")
  • find_any_not_of( val 'ABAP ABAP abap' sub = 'AB')
  • find_any_of (val = "ABAP ABAP abap' sub = "AB") (correct)
  • Count (val = 'ABAP ABAP abap' sub - 'AB')
  • In which products must you use the ABAP Cloud Development Model? Note: There are 2 correct answers to this question.

  • SAP S/4HANA Cloud, private edition
  • SAP BTP, ABAP environment (correct)
  • SAP S/4HANA Cloud, public edition (correct)
  • SAP S/4HANA on premise
  • Which RESTful Application Programming object can be used to organize the display of fields in an app?

  • Projection view
  • Metadata extension (correct)
  • Service definition
  • Data model view
  • When accessing the subclass instance through go_super, what can you do? Note: There are 2 correct answers to this question.

    <p>Access the inherited public components.</p> Signup and view all the answers

    Regarding line #6, which of the following are valid statements? Note: There are 2 correct answers to this question.

    <p>'ZF1' can be called only if it is released for cloud development.</p> Signup and view all the answers

    What are the effects of this annotation? Note: There are 2 correct answers to this question.

    <p>The value of sy-langu will be passed to the CDS view automatically when you use the CDS view in ABAP but not when you use it in another view entity.</p> Signup and view all the answers

    In the assignment data (gv_result) = 1 / 8., what will be the data type of gv_result?

    <p>TYPE i</p> Signup and view all the answers

    What are valid statements? Note: There are 3 correct answers to this question.

    <p>Class CL1 implements the interface.</p> Signup and view all the answers

    What will happen when executing these casts? Note: There are 2 correct answers to this question

    <p>go_sub1-&gt;sub1_meth1(...). will work.</p> Signup and view all the answers

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

    <p>Behaviour definition</p> Signup and view all the answers

    What are some features of a unique secondary key? Note: There are 2 correct answers to this question.

    <p>It is updated when the table is modified.</p> Signup and view all the answers

    Which of the following results in faster access to internal tables? Note: There are 3 correct answers to this question.

    <p>In a hashed internal table, specifying the primary key completely.</p> Signup and view all the answers

    Which of the following can you use to replace "????"? Note: There are 2 correct answers to this question.

    <p>A built-in ABAP Dictionary type</p> Signup and view all the answers

    Match the sequence of execution in the dropdown list to the operation. (1 is the highest priority and 3 is the lowest priority.)

    <p>Addition (+) and Subtraction (-)</p> Signup and view all the answers

    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.

    <p>You implement the redefined component in <code>sub1</code>.</p> Signup and view all the answers

    Which of the following apply? Note: There are 2 correct answers to this question.

    <p>If the user is authorized for <code>CNTRY = 'DE'</code> AND for <code>ACTVT = '03'</code> then the return code is 0.</p> Signup and view all the answers

    Which of the following are valid sort operations for internal tables? Note: There are 3 correct answers to this question.

    <p>Sort a standard table using SORT itab.</p> Signup and view all the answers

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

    <p>Modify table</p> Signup and view all the answers

    In an Access Control Object, which clauses are used? Note: There are 3 correct answers to this question.

    <p>Where (to specify the access conditions)</p> Signup and view all the answers

    To adhere to the most recent ABAP SQL syntax conventions from SAP, on which line must you insert the INTO TABLE @gt_flights clause to complete the SQL statement?

    <p>#15</p> Signup and view all the answers

    With which predicate condition can you ensure that the CAST will work?

    <p>IS INSTANCE OF</p> Signup and view all the answers

    What is the sequence priority when evaluating a logical expression?

    <p>AND 2</p> Signup and view all the answers

    Which of the following are parts of the definition of a new database table? Note: There are 2 correct answers to this question.

    <p>Field list</p> Signup and view all the answers

    In a RESTful Application Programming application, in which objects do you bind a CDS view to create a value help? Note: There are 3 correct answers to this question.

    <p>Behavior definition</p> Signup and view all the answers

    Which of the following are incomplete ABAP types? Note: There are 2 correct answers to this question.

    <p>C</p> Signup and view all the answers

    Which of the following integration frameworks have been released for ABAP cloud development? Note: There are 3 correct answers to this question.

    <p>SOAP consumption</p> Signup and view all the answers

    Which of the following ABAP SQL statements are valid? Note: There are 2 correct answers to this question.

    <p>SELECT FROM /dmo/connection FIELDS carrid airpfrom, MAX(distance) AS dist_max, MIN( distance) AS dist_min GROUP BY carrid, airpfrom INTO TABLE @DATA(It_hits)</p> Signup and view all the answers

    Regarding line #6, which of the following is a valid statement?

    <p>'ZF1' must be released for cloud development to be called.</p> Signup and view all the answers

    In ABAP SQL, which of the following retrieves the association field _Airline-Name of a CDS view?

    <p>_Airline-Name</p> Signup and view all the answers

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

    <p>Sorted</p> Signup and view all the answers

    In ABAP SQL, which of the following can be assigned an alias? Note: There are 2 correct answers to this question.

    <p>database table</p> Signup and view all the answers

    Study Notes

    Question 1

    • The function call find_any_not_of returns 0

    Question 2

    • Use the ABAP Cloud Development Model in SAP S/4HANA Cloud (private and public editions) and SAP BTP ABAP environment

    Question 3

    • Use Metadata extension to organize field display in apps

    Question 4

    • Accessing a subclass instance through go_super allows access to inherited public components and inherited public redefined methods.

    Question 5

    • ZF1 can be called only if it is released for cloud development
    • ZF1 can also be called if a wrapper is created for it and the wrapper itself is released for cloud development

    Question 6

    • It is no longer possible to pass your own value to the parameter if the annotation is used
    • The value of sy-langu is automatically passed to the CDS view when used in an ABAP view or another CDS view

    Question 7

    • The data type of gv_result is TYPE i

    Question 8

    • Class CL2 uses the interface
    • In class CL1, the interface method is named if-m1
    • Class CL1 implements the interface

    Question 9

    • go_sub1->sub1_meth1(...) will work
    • go_sub2->sub2_meth1(...) will work

    Question 10

    • Setting a field to read-only in Behavior definition makes it read-only in all applications of the RESTful Application Programming model

    Question 11

    • A unique secondary key is created with the first read access or when the table is modified
    • It is updated when the modified table is read again.

    Question 12

    • Faster access is obtained in sorted internal tables by specifying the primary key completely (from the left without gaps)
    • Faster access is obtained in hashed internal tables by specifying the primary key completely
    • Faster access is obtained in sorted internal tables by specifying the primary key partially (from the left without gaps)

    Question 13

    • Use a built-in ABAP Dictionary type or a data element to define the input parameter

    Question 14

    • B is 1
    • C is 2
    • A is 3

    Question 15

    • Add the clause REDEFINITION to the component in sub1
    • Implement the redefined component in sub1

    Question 16

    • AUTHORITY-CHECK verifies if a user is authorized.
    • If authorized, the return code is 0

    Question 17

    • Sort a sorted table using SORT itab DESCENDING.
    • Sort a sorted table using SORT itab BY field1 ASCENDING field2 DESCENDING
    • Sort a standard table using SORT itab ASCENDING

    Question 18

    • Use the MODIFY statement to change the contents of a row

    Question 19

    • Use clause WHERE to specify the access conditions
    • Use RETURN CODE to assign the return code
    • Define ROLE to specify the role name

    Question 20

    • Insert INTO TABLE @gt_flights clause at line 15

    Question 21

    • IS INSTANCE OF

    Question 22

    • NOT
    • AND
    • OR

    Question 23

    • Field list
    • Semantic table attributes

    Question 24

    • Data model view
    • Metadata extension
    • Projection view

    Question 25

    • P
    • String

    Question 26

    • OData services
    • Business events
    • SOAP consumption

    Question 27

    • Instead of go_cl1 = NEW #(...), use go_if1 = NEW cl1(...)
    • go_if1 may call m2 with go_if1->m2(...)
    • go_if->m1() may call method m1 with go_ift

    Question 28

    • SELECT FROM/dmo/connection FIELDS MAX( distance) AS dist_max MIN(distance) AS dist min INTO TABLE @DATA(It_hits);
    • SELECT FROM /dmo/connection FIELDS carrid, airpfrom GROUP BY carrid, connid INTO TABLE @DATA(It_hits);

    Question 29

    • ZF1 can be called via a wrapper that itself has been released for cloud development

    Question 30

    • _Airline-Name

    Question 31

    • Sorted internal tables

    Question 32

    • field (from field list)
    • group criterion (from group by clause)

    Question 33

    • DATA: Ev_target TYPE d
    • CONSTANTS: gco_date TYPE d VALUE '20331233'
    • gv_target = EXACT #gco-date.
    • DATA: gv_target TYPE d.
    • CONSTANTS: gco_string TYPE string VALUE '0123456789ABCDEF'
    • gv_target = EXACT #(gco_string+5 (6)).

    Question 34

    • Associations
    • Annotations
    • Structured Query Language (SQL)

    Question 35

    • All of the data from the data sources is loaded into your application automatically and filtered there according to the user's authorization
    • The system field sy-subrc is set, giving you the result of the authorization check

    Question 36

    • INTO CORRESPONDING FIELDS OF

    Question 37

    • Projection view

    Question 38

    • Data model view

    Question 39

    • The name of a type defined privately in class ZCL_CLASS_A
    • The name of a data element from the ABAP Dictionary

    Question 40

    • Key user

    Question 41

    • Read entity

    Question 42

    • A MODIFY statement to write changed contents back to the table is not required
    • Using a field symbol is faster than using a work area.

    Question 43

    • To ensure the integrity of data in the corresponding databases tables

    Question 44

    • sy-tabix

    Question 45

    • Database table
    • Data model view
    • Service binding Projection view
    • Service Definition

    Question 46

    • Data is transferred directly computations to application server
    • Data is transferred completely

    Question 47

    • Validation

    Question 48

    • "Previous" expects the reference to a previous exception.
    • The code creates an exception object and raises an exception.

    Question 49

    • FOR defines a loop that runs over the content of source_itab
    • The variable row is only visible within the loop.

    Question 50

    • Applications that run separate from SAP S/4HANA
    • Applications that integrate data from several different systems

    Question 51

    • @EndUserText label

    Question 52

    • ##NEEDED is checked by the syntax checker
    • The pragma is not checked by the syntax checker

    Question 53

    • 'ZF1' can be called via a wrapper that itself has been released for cloud development.

    Question 54

    • CDS DDIC-based view
    • A database table from the ABAP Dictionary.

    Question 55

    • The operator "/" is allowed only in floating point expressions.
    • Floating point types and integer types cannot be used in the same expression

    Question 56

    • A hashed table, when you read a single record and specify the complete key.
    • A sorted table, when you read a subset in a loop and specify a part of the key from the left without gaps.

    Question 57

    • Code that can be redesigned as a key user extension
    • Code that supports a critical business process

    Question 58

    • sy-index

    Question 59

    • Removing a field from a structure
    • Changing the length of a domain

    Question 60

    • The constructor of super must be called before using any components of your own instance.
    • Import parameters can only be evaluated after calling the constructor of super.

    Question 61

    • contains_any_of
    • matches

    Question 62

    • CDS view
    • Behavior definition

    Question 63

    • field1

    Question 64

    • Instance constructor of sub1
    • Class constructor of super1

    Question 65

    • Database tables store data in two dimensions.
    • Database tables can have relationships to other tables.

    Question 66

    • From top to bottom ,on condition order
    • Join evaluation depends on the order of the ON conditions ,top to bottom

    Question 67

    • demo_ods_assoc_spfli.connid
    • _spfli.connid

    Question 68

    • RAP BO Behavior Extensions / RAP BO Node Extension

    Question 69

    • SELECT SINGLE FROM spfli WHERE carrid = "LH" AND connid = "O400" INTO DATA(l_spfli).

    Question 70

    • Multiple secondary keys are allowed for any kind of internal table.
    • Hashed secondary keys do not have to be unique
    • Secondary keys must be chosen explicitly when reading from an internal table.

    Question 71

    • ...SELECT * FROM DEMO_CDS_PARAM_VIEW_ENTITY (P_DATE = @ (CL_ABAP_CONTEXT_INFO->GET-SYSTEM_DATE()))...
    • ...SELECT * FROM DEMO_CDS_PARAM_VIEW_ENTITY (p_date = '20230101')...

    Question 72

    • ON $projection.carrier_id = _source2.carrier_id

    Question 73

    • Fields with the same name and the same type will be copied
    • itab1 and itab2 must have at least one field name in common.

    Question 74

    • substring(upper('mr joe doe'), 4, 3) AS f2_sub_up
    • upper(left('mr joe doe', 6)) AS f2_up_left

    Question 75

    • DATA gv_source TYPE p LENGTH 8 DECIMALS 3
    • DATA gv_target TYPE p LENGTH 16 DECIMALS 2
    • DATA gv_source TYPE d
    • DATA gv_target TYPE string

    Question 76

    • Activation error because the key fields of the union do not match

    Question 77

    • SELECT mat FROM Material...

    Question 78

    • INDEX TABLE

    Question 79

    • Structure

    Question 80

    • CASE statement that uses comparison values like WHEN, WHEN OTHERS
    • SELECT FROM dbtab1 and INTO TABLE.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Test your knowledge on ABAP Cloud Development within SAP S/4HANA and SAP BTP. This quiz covers topics such as function calls, metadata extensions, and class inheritance. Perfect for students and professionals looking to refine their expertise in ABAP.

    More Like This

    Use Quizgecko on...
    Browser
    Browser