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. (A), Call inherited public redefined methods. (B)</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. (B), 'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development. (D)</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. (A), You can still override the default value with a value of your own. (C)</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 (B)</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. (A), In class CL1, the interface method is named <code>if1-m1</code>. (B), Class CL1 uses the interface. (C)</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. (C), go_sub2 = CAST #(go_super), will work. (E)</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 (C)</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. (A), It is created with the first read access of a table. (C)</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. (B), In a sorted internal table, specifying the primary key completely. (D), In a sorted internal table, specifying the primary key partially from the left without gaps. (E)</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 (B), A data element (D)</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 (-) (A), Multiplication (*) and Division (/) (B), Numeric functions (C)</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>. (A), You add the clause <code>REDEFINITION</code> to the component in <code>sub1</code>. (B)</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. (B), AUTHORITY-CHECK verifies whether a user is authorized for <code>/DMO/TRVL</code> with the listed field values. (D)</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. (A), Sort a standard table using SORT itab BY field1 field2. (C), Sort a standard table using SORT itab ASCENDING. (E)</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 (B)</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) (A), Grant (to identify the data source) (B), Define role (to specify the role name) (E)</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 (D)</p> Signup and view all the answers

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

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

What is the sequence priority when evaluating a logical expression?

<p>AND 2 (A), NOT 1 (B), OR 3 (C)</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 (C), Semantic table attributes (D)</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 (A), Data model view (B), Metadata extension (C)</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 (B), P (D)</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 (B), Business events (C), OData services (D)</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) (A), SELECT FROM /dmo/connection FIELDS MAX(distance) AS dist_max MIN(distance) AS dist_min INTO TABLE @DATA(It_hits). (B)</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. (D)</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 (A)</p> Signup and view all the answers

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

<p>Sorted (A)</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 (A), field (from field list) (C)</p> Signup and view all the answers

Flashcards

Count_any_of ( val - ‘ABAP ABAP abap' sub "AB" ) function call

The 'Count' function counts the occurrences of a substring within a string. The 'sub' keyword specifies the substring to search for. In this case, 'AB' occurs three times in the string 'ABAP ABAP abap'.

find_any_of (val = "ABAP ABAP abap' sub = "AB") function call

The 'find_any_of' function finds the first occurrence of a substring within a string. The '=' operator indicates that the substring is specified directly.

find_any_not_of( val 'ABAP ABAP abap’ sub = 'AB') function call

The 'find_any_not_of' function finds the position of the first character that doesn't match the specified substring. In this case, the first character that's not 'AB' is the first 'A' in 'ABAP'

Which products must you use the ABAP Cloud Development Model?

The ABAP Cloud Development Model is used for SAP BTP, ABAP environment and SAP S/4HANA Cloud, public edition.

Signup and view all the flashcards

Which RESTful Application Programming object can be used to organize the display of fields in an app?

A Metadata extension allows you to organize the display of fields in a RESTful Application Programming (RAP) application.

Signup and view all the flashcards

When accessing the subclass instance through go_super, what can you do?

Through the go_super keyword, you can access inherited public components of the superclass, as well as call redefined methods.

Signup and view all the flashcards

Can you call a function module from a 'Standard ABAP' software component in an SAP S/4HANA Cloud private edition?

In the SAP S/4HANA Cloud private edition, function modules from a 'Standard ABAP' software component can only be called if they are released for cloud development.

Signup and view all the flashcards

What are the effects of attaching a system field to an input parameter in a CDS view entity?

Attaching a system field as an input parameter lets you pass the value of that field when the CDS view is used. You can still override this default value with your own value and it works both in ABAP and other CDS view entities.

Signup and view all the flashcards

What is the data type of gv_result in the statement "data (gv_result) = 1 / 8"?

Dividing an integer by another integer results in an integer value.

Signup and view all the flashcards

Given this code, what are valid statements about the class CL1 and the interface?

A class uses an interface by implementing it. The interface method 'if-m1' is named with the interface name 'if' and the method name 'm1'.

Signup and view all the flashcards

What will happen when executing the casts in this code?

Casting a subclass object to its superclass is always possible, but casting a superclass object to a subclass is only possible if the superclass object was originally a subclass object.

Signup and view all the flashcards

Which RAP object would you use to make a field read-only?

You set the field to read-only in the 'Behavior definition' of your RAP application. This will ensure that the field is read-only in all applications in the model.

Signup and view all the flashcards

What are some features of a unique secondary key?

A unique secondary key is created when a table is first read and updated whenever the table is modified. This is needed to speed up accessing information in huge tables.

Signup and view all the flashcards

Which operations result in faster access to internal tables?

Access to sorted internal tables is faster when you specify the complete key or a part of the key from the left without gaps. This is because a sorted table is organized like a dictionary.

Signup and view all the flashcards

Given this CDS entity definition, which of the following can you use to replace "????"?

Built-in ABAP Dictionary types and data elements are valid replacements for '?'. A built-in ABAP type is not a valid replacement.

Signup and view all the flashcards

What is the priority of operations in a logical expression?

Numeric functions have the highest priority, followed by multiplication and division, and then addition and subtraction.

Signup and view all the flashcards

Which are parts of the definition of a new database table?

A database table definition includes a field list, which defines the fields it contains, and semantic table attributes that give the table its properties.

Signup and view all the flashcards

Where do you bind a CDS view to create a value help in a RAP application?

In RAP applications, you use data model views, behavior definitions, and metadata extensions to bind a CDS view to create a value help.

Signup and view all the flashcards

Which of the following are incomplete ABAP types?

The ABAP types 'P' and 'C' are incomplete, meaning they require additional information like 'Decimals' or 'Length' to be fully defined. 'String' is a complete type and 'T' is not an ABAP type.

Signup and view all the flashcards

Which integration frameworks have been released for ABAP cloud development?

The following integration frameworks have been released for ABAP cloud development: OData services, Business Events, and SOAP consumption.

Signup and view all the flashcards

Given this code, what are valid statements?

Go_if1 can call methods m1 and m2, and go_cl1 can call method m1. You can use 'go_if1 = NEW cl1(...)' instead of 'go_cl1 = NEW #()'.

Signup and view all the flashcards

Which of the following ABAP SQL statements are valid?

Both SELECT statements: SELECT FROM /dmo/connection FIELDS MAX(distance) AS dist_max MIN(distance) AS dist_min INTO TABLE @DATA(It_hits). and 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) are valid.

Signup and view all the flashcards

Given this code in an SAP S/4HANA Cloud private edition tenant, which of the following is a valid statement?

In an SAP S/4HANA Cloud private edition tenant, a function module from a 'ABAP Cloud' software component must be released for cloud development to be called.

Signup and view all the flashcards

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

In ABAP SQL, the association field name '_Airline-Name' retrieves the association field, connecting to another entity in the CDS view.

Signup and view all the flashcards

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

Sorted internal table types allow unique and non-unique keys.

Signup and view all the flashcards

In ABAP SQL, which of the following can be assigned an alias?

Both fields and database tables can be assigned aliases in ABAP SQL.

Signup and view all the flashcards

Which patterns raise an exception?

DATA: gv_target TYPE p DECIMALS 3. CONSTANTS: gco_int1 TYPE i VALUE 2. gv_target = EXACT #(2 / gco_int1). causes an exception because integer division results in an integer value which cannot be assigned to a type p DECIMALS 3. The other two statements also cause exceptions due to type mismatches

Signup and view all the flashcards

Which of the following are features of Core Data Services?

Core Data Services (CDS) features include associations for linking entities, annotations to add metadata, and a Structured Query Language (SQL) to access data.

Signup and view all the flashcards

Why would you use Access Controls with CDS Views?

Access controls with CDS views enforce authorization checks without requiring explicit AUTHORITY CHECK statements and ensure only authorized data reaches the application layer.

Signup and view all the flashcards

Which ABAP SQL clause allows the use of inline declarations?

You use the 'INTO' clause in ABAP SQL to create inline declarations.

Signup and view all the flashcards

What RESTful Application Programming object contains the data for a particular app?

A projection view contains only those fields that are required for a specific RAP application.

Signup and view all the flashcards

After you create a database table in the RESTful Application Programming model, what do you create next?

After you create a database table in the RAP model, create a data model view to connect the table to your application.

Signup and view all the flashcards

In class ZCL_CLASS_A, what can stand in place of *** in 'DATA var TYPE ***'?

In ABAP class ZCL_CLASS_A, the statement 'DATA var TYPE...' can take the name of a type defined privately within the class or the name of a data element from the ABAP Dictionary.

Signup and view all the flashcards

What type of extension is recommended for SAP Fiori app UI enhancements?

SAP recommends using 'Key user' extensions to enhance the existing UI for an SAP Fiori app. This is because key user extensions allow for customization without requiring extensive coding.

Signup and view all the flashcards

In RESTful Application Programming, which EML statement retrieves an object?

In RAP, the 'Read entity' statement is used to retrieve an object.

Signup and view all the flashcards

What are advantages of using a field symbol for internal table row access?

Using a field symbol for internal table row access eliminates the need for a MODIFY statement and is faster than using a work area.

Signup and view all the flashcards

What is the purpose of a foreign key relationship between two tables in the ABAP Dictionary?

A foreign key relationship ensures data integrity by enforcing referential constraints between tables. This means that data in one table must match related data in another table.

Signup and view all the flashcards

What system variable contains the current row number when processing an internal table with LOOP AT itab... ENDLOOP?

The system variable 'sy-tabix' contains the current row number when processing an internal table using a LOOP.

Signup and view all the flashcards

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

When generating a RAP application, you first create a database table, followed by a data model view, then a service binding projection view, and finally a service definition.

Signup and view all the flashcards

What are some of the reasons why Core Data Services are preferable to the classical approach to data modeling?

Core Data Services are advantageous because they transfer computational results to the application server and implement code pushdown, which optimizes performance.

Signup and view all the flashcards

What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key?

In RAP, the 'Validation' feature ensures the uniqueness of a semantic key by validating data input and preventing duplicate entries.

Signup and view all the flashcards

Given this code, what are valid statements?

In the code provided, it has been assumed that 'zcx1' is dictionary structure and 'param1' and 'param2' are fields of that structure. This code creates an exception object and raises an exception. The exception raised and its content may be caught and processed by an exception handler. The 'previous' reference will point to the exception currently being handled.

Signup and view all the flashcards

Given this code, which of the following statements are correct?

The 'FOR' statement defines the loop using the content of 'source_itab' and 'row' is just a variable and can be chosen arbitrarily. Both 'source_itab' and 'row' are only visible within the loop.

Signup and view all the flashcards

For what kind of applications would you consider using on-stack developer extensions?

On-stack developer extensions are recommended when you need to access SAP S/4HANA data using complex SQL or integrate data from different systems.

Signup and view all the flashcards

Which annotation would you use to define a short description for a CDS view entity?

The @EndUserText.label annotation provides a short description of the CDS data definition, which can be helpful for developers.

Signup and view all the flashcards

Given the following code, what are valid statements?

Pragma is a pseudo-comment that is not checked by the syntax checker, but can be used for documentation or to provide information that may be useful for other tools. ##NEEDED and #EC_NEEDED are pseudo-comments, also not checked by the syntax checker but are used for system-specific purposes.

Signup and view all the flashcards

Given this code in an SAP S/4HANA Cloud private edition tenant, which of the following is a valid statement?

In an SAP S/4HANA Cloud private edition tenant, a function module in the same software component as a class can be called directly. No release for cloud development is needed.

Signup and view all the flashcards

Given the following Core Data Services View Entity Data Definition, which of the following types are permitted to be used for on line #4?

Both CDS DDIC-based view and a database table from the ABAP Dictionary are valid types that can be used for the 'source' on line #4

Signup and view all the flashcards

Which restrictions exist for ABAP SQL arithmetic expressions?

Arithmetic expressions in ABAP SQL have restrictions when using the '/' operator and when combining decimal types with integer types. You can't divide variables of type I or P by variables of type P and vice versa, and you cannot combine types I and P in the same expression.

Signup and view all the flashcards

When does SAP recommend to use a sorted or a hashed table respectively?

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

Signup and view all the flashcards

Which type of legacy code does SAP recommend you eliminate when you review modifications as part of an SAP S/4HANA system conversion?

SAP recommends eliminating legacy code which is identical to a standard SAP object and code that has low usage. This reduces complexity and maintenance effort.

Signup and view all the flashcards

When processing a loop with the statement DO... ENDDO, what system variable contains the implicit loop counter?

The system variable 'sy-index' contains the implicit loop counter when processing a loop using the 'DO... ENDDO' statement.

Signup and view all the flashcards

Which of the following actions cause an indirect change to a database table requiring a table conversion?

Changing the length of a domain or deleting a field from a structure that is part of a table definition causes indirect changes and requires a table conversion.

Signup and view all the flashcards

Which rules are valid for the sub constructor in a subclass?

The constructor of the superclass must be called before using components of your own instance, and you can change the method signature of the subclass constructor.

Signup and view all the flashcards

Which of the following string functions are predicate functions?

Both 'contains_any_of()' and 'matches()' are predicate functions. A predicate function is a function that returns a boolean value (TRUE or FALSE) depending on a condition.

Signup and view all the flashcards

In RESTful Application Programming, a business object contains which parts?

A business object in RAP consists of a CDS view that defines the data and a behavior definition that defines the logic and interactions for the object.

Signup and view all the flashcards

Given the following code excerpt that defines an SAP HANA database table, which field is defined incorrectly?

In the given definition of an SAP HANA database table, the field 'field1' is defined incorrectly because it lacks a data type. A data type specification is required for every field in a database table.

Signup and view all the flashcards

Given a superclass super1 and a subclass sub1, in which sequence will the constructors be executed when an instance of sub1 is created?

When creating an instance of a subclass, the constructors are executed in the following sequence: class constructor of superclass, instance constructor of superclass, class constructor of subclass, and instance constructor of subclass.

Signup and view all the flashcards

What are some properties of database tables?

Database tables can have relationships to other tables, and they store information in two dimensions, with rows representing records and columns representing fields.

Signup and view all the flashcards

In this nested join below, in which way is the join evaluated?

In nested joins, the join evaluation starts from the top to the bottom in the order of the ON conditions. This means that the 'b' table is joined with the 'c' table first, followed by the join of the 'a' table with the 'b' table.

Signup and view all the flashcards

Given the following Core Data Service View Entity Data Definition, which of the following statements would do this if inserted on line #8?

In the CDS view entity data definition, the expression '_spfli.connid' selects the 'connid' field from the 'spfli' data source. This is a valid way to access fields within a CDS view entity.

Signup and view all the flashcards

Given the scenario described, which of the following extension types would you recommend to the customer to add the new button?

In the scenario described, the customer can use the 'RAP BO Node Extension' to add the new button. This extension type allows for UI modifications in SAP Fiori elements applications and can be used to add new elements, functions, and behavior without modifying standard SAP code.

Signup and view all the flashcards

Given the information provided, which of the following general settings should you set for the spfli database table?

In a scenario where the program accesses a large table rarely, setting the 'Load Unit' to 'Column Loadable' and the 'Storage Type

Signup and view all the flashcards

What are some characteristics of secondary keys for internal tables?

Multiple secondary keys are allowed for any kind of internal table. Secondary keys are chosen explicitly when reading data, and hashed secondary keys do not need to be unique. However, sorted secondary keys do not need to be unique.

Signup and view all the flashcards

Given the following Core Data Service View Entity Data Definition, which of the following ABAP SQL snippets are syntactically correct ways to provide a value for the parameter on line #4?

Both '$session.system_date' and ' @(cl_abap_context_info->get_system_date ())' are valid ABAP SQL expressions that can provide a value for the 'p_date' parameter in the CDS view entity.

Signup and view all the flashcards

You have the following CDS definition, which of the following ON conditions must you insert in place of "??"?

The correct ON condition to use for the join is '$projection.carrier_id = _source2.carrier_id'. This condition ensures that the 'carrier_id' field in the projection (called '$projection') is matched with the 'carrier_id' field in the 'Source2' data source.

Signup and view all the flashcards

You have two internal tables itab1 an itab2, what is true for using the expression itab1 = corresponding #(itab2)?

Fields with the same name and type will be copied from itab2 to itab1, and itab1 and itab2 must have at least one field name in common. However, fields with different types can be copied, but there might be data loss or type conversion issues.

Signup and view all the flashcards

What would be the correct expression to change a given string value 'mr joe doe' into 'JOE' in an ABAP SQL field list?

The correct ABAP SQL expression to change 'mr joe doe' into 'JOE' is 'substring(upper('mr joe doe'), 4, 3) AS f2_sub_up'. This expression converts the string to uppercase and extracts the substring starting at the 4th character and taking 3 characters.

Signup and view all the flashcards

For the assignment, gv_target = gv_source. which of the following data declarations will always work without truncation or rounding?

The data declarations 'DATA gv_source TYPE d. to DATA gv_target TYPE string.' and 'DATA gv_source TYPE c. to DATA gv_target TYPE string.' will always work without truncation or rounding because the target types (string) are large enough to accommodate the source values. Types c and d are compatible with string.

Signup and view all the flashcards

Given the following Core Data Service View Entity Data Definition, when you attempt to activate the definition, what will be the response?

The activation will result in an error because the key fields of the union do not match. This is because a union requires that the key fields of the participating entities have the same name and data type.

Signup and view all the flashcards

Given the following Core Data Service View Entity Data Definition, using ABAP SQL, which select statement selects the mat field on line #17?

The SELECT statement 'SELECT mat FROM demo_sales_cds_so_i_ve...' selects the 'mat' field from the 'demo_sales_cds_so_i_ve' view entity. This is because the 'mat' field is defined in this entity.

Signup and view all the flashcards

Which of the following is a generic internal table type?

An INDEX TABLE is a generic internal table type. It is not a specific type but rather a general term used for any internal table that is not specifically SORTED or HASHED. This is the base type upon which other table types are built.

Signup and view all the flashcards

Given the following code, what variable type is connection full based on the following code: DATA connection_full TYPE /DMO/I_Connection.

The variable 'connection_full' is typed as a structure. This is because it is declared using the type name of a CDS view, which represents a structure.

Signup and view all the flashcards

In the following ABAP SQL code, what are valid case distinctions?

Both SELECT statements are valid. In the first, the CASE statement uses ELSE to handle all other cases, while the second uses WHEN OTHERS. Both syntaxes provide valid ways to assign values based on conditions within an ABAP SQL SELECT statement.

Signup and view all the flashcards

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