SAP ABAPD Practice Tests
Given this code, < some coding > IF <condition>. RAISE EXCEPTION TYPE zcx1 EXPORTING param1 = valuel param2 = value2 previous = value3. ENDIF. What are valid statements? (2 correct) "previous" expects the reference to a previous exception The code creates an exception object and raises an exception. "param1" and "param2" are predefined names. "zcx1" is a dictionary structure, and "param1" and "param2" are same-named components of this structure.
"previous" expects the reference to a previous exception The code creates an exception object and raises an exception.
You are designing the following select statement in ABAP Open SQL: 1. DATA gt_flights type standard table of demo_cds_flights. 2. 3. SELECT 4. 5. FROM demo_cds_flights 6. 7. FIELDS carrid, connid, fldate, SUM(payment_sum), currency 8. 9. WHERE fldate › @sy-datum 10. 11. GROUP BY carrid, connid, fldate 12. 13. ORDER BY carrid, connid. 14. 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? #6 #8 #14 #4
#14
You have a superclass super1 and a subclass sub1 of super1. Each class has an instance constructor and a static constructor. The first statement of your program creates an instance of sub1. In which sequence will the constructors be executed? 1. Class constructor of super1. 2. Instance constructor of sub1. 3. Instance constructor of super1. 4. Class constructor of sub1.
1, 4, 2, 3
In what order are objects created to generate a RESTful Application Programming application? 1. Database table 2. Service binding 3. Service definition 4. Data model view
1, 4, 3, 2
Match the sequence of execution in the dropdown list to the operation. (1 is the highest priority and 3 is the lowest priority.) ADDITION + SUBTRACTION NUMERIC FUNCTIONS MULTIPLICATION + DIVISION 3,1,2 2,1,3 2,3,1 1,2,3 1,3,2
3, 1, 2
Given the following Core Data Services View Entity Data Definition: @AccessControl.authorizationCheck: #NOT_REQUIRED DEFINE VIEW ENTITY demo_sales_cds_so_simple AS SELECT FROM demo_sales_order AS SalesOrder { KEY so_key, buyer_id AS BuyerID, currency_sum AS currencySum } You want to provide a short description of the data definition for developers that will be attached to the database view. Which of the following annotations would do? @EndUser.Text.label @UI.headerinto.description.label @EndUserText.quickInfo @UI.badge.title.label
@EndUser.Text.label
Given the following Core Data Services View Entity Data Definition, 1 @AccessControl.authorizationCheck: #NOT_REQUIRED 2 DEFINE VIEW ENTITY demo_cds_data_source_matrix 3 AS SELECT FROM 4 <source> 5 { 6 KEY field_1, 8 field_2, 9 field_3 } which of the following types are permitted to be used for <source> on line #4? Note: There are 2 correct answers to this question. A database view from the ABAP Dictionary A CDS DDIC-based view An external view from the ABAP Dictionary A database table from the ABAP Dictionary
A CDS DDIC-based view A database table from the ABAP Dictionary
What does the annotation @Consumption.ValueHelpDefiniton specify? Note: There are 2 correct answers to this question. A list of possible entries A CDS view that provides the hit list A list of fields in the hit list The field that provides the selected value
A CDS view that provides the hit list The field that provides the selected value
After you created a database table in the RESTful Application Programming model, what do you create next? A projection view A metadata extension A service definition A data model view
A data model view
Which of the following can you use to copy data from one internal table to another? Note: There are 2 correct answers to this question. A table comprehension with VALUE #( ) The UPDATE statement The CORRESPONDING #( ) operator The SELECT statement.
A table comprehension with VALUE #( ) The CORRESPONDING #( ) operator
For which of the following analysis tools does ABAP Development Tools provides a dedicated perspective? Note: There are 2 correct answers to this question. ABAP Profiling ABAP Test Cockpit ABAP Debugger ABAP Unit
ABAP Profiling ABAP Debugger
Given this code: DATA: go_super TYPE REF TO lcl_super, go_sub TYPE RFF TO lcl_sub. go_sub = NEW #( ... ). go_super = go_sub. with lcl_super being superclass of lcl_sub. When accessing the subclass instance through go_super, what can you do? Note: There are 2 correct answers to this question. Access the inherited public components. Call a subclass specific public method. Access the inherited private components. Call inherited public redefined methods.
Access the inherited public components. Call inherited public redefined methods.
After profiling an ABAP application you want to analyze the sequence in which procedural units were called. Which of the following trace analysis tools do you go to? Aggregated Call Tree Database Accesses ABAP Stack Condensed Hit List
Aggregated Call Tree
When you address an object using an interface reference, which elements can you address? All of the elements in the interface All of the elements in the method All of the public elements in the class All of the elements in the class
All of the elements in the interface
When you create a validation, what does the system generate automatically? A fully-implemented method in the global class of the behavior implementation. A fully-implemented method in the local class of the behavior implementation. An empty method in the local class of the behavior implementation. An empty method in the global class of the behavior implementation.
An empty method in the local class of the behavior implementation.
What does a business object in the ABAP RAP model define? A behavior definition. A travel agency. A CDS view. An entity such as a travel agency.
An entity such as a travel agency.
Which of the following are features of Core Data Services? (3 correct) Annotations Delegation Structured Query Language (SQL) Inheritance Associations
Annotations Structured Query Language (SQL) Associations
For what kind of applications would you consider using on-stack developer extensions? (2 correct) Applications that provide APIs for side-by-side SAP BTP apps Applications that run separate from SAP S/4HANA Applications that integrate data from several different systems Applications that access SAP S/4HANA data using complex SQL
Applications that provide APIs for side-by-side SAP BTP apps Applications that access SAP S/4HANA data using complex SQL
Setting a field to read-only in which object would make the field read-only in all applications of the RESTfuI Application Programming model? Behavior definition Projection view Metadata extension Service definition
Behavior definition
Which of the following integration frameworks have been released for ABAP cloud development? (3 correct) Business Add-ins (BAdIs) SOAP consumption Business events OData services CDS Views
Business events OData services CDS Views
In RESTful Application Programming, a business object contains which parts? (2 correct) Process definition Authentication rules CDS view Behavior definition
CDS view Behavior definition
Which part of the business object's definition defines its structure or the fields it contains? Validations. CDS view. Behavior definition. Actions.
CDS view.
Which of the following expressions can you use to force a type conversion? EXACT #( ) REDUCE #( ) COND #( ) CONV #( )
CONV #( )
What may you not do in a subclass? Add new elements Add a new constructor with its own signature Change the signature of an inherited method
Change the signature of an inherited method
Given this code, INTERFACE if1. METHODS m1. ENDINTERFACE. CLASS cl1 DEFINITION ... INTERFACES if1. ENDCLASS. ... CLASS cl2 DEFINITION. ... DATA mo_if1 TYPE REF TO if1. ... ENDCLAS. ... What are valid statements? Note: There are 3 correct answers to this question Class CL2 uses the interface. Class CL1 uses the interface. In class CL1, the interface method is named if1~m1. In class CL2, the interface method is named if1~m1. Class CL1 implements the interface.
Class CL2 uses the interface. In class CL1, the interface method is named if1~m1. Class CL1 implements the interface.
Which of the following are use cases for side-by-side extensions? (2 correct) Creating custom fields in an SAP S/4HANA Cloud table Creating custom applications integrating data from SAP S/4HANA Cloud and SAP Ariba A custom solution needing to be developed by a partner Adding additional business logic to an SAP S/4HANA Cloud Business Object
Creating custom applications integrating data from SAP S/4HANA Cloud and SAP Ariba A custom solution needing to be developed by a partner
For the assignment, gv_target = gv_source. Which of the following data declarations will always work without truncation or rounding? (2 correct) DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16 DECIMALS 2. DATA gv_source TYPE c. to DATA gv_target TYPE string. DATA gv_source TYPE d. to DATA gv_target TYPE string. DATA gv_source TYPE string. to DATA gv_target TYPE c.
DATA gv_source TYPE c. to DATA gv_target TYPE string. DATA gv_source TYPE d. to DATA gv_target TYPE string.
Your ATC check finds a variable text that is not used statically. You want to suppress this finding using either a pseudo-comment or a pragma. Which of the following options are syntactically correct? DATA text TYPE string. "#EC NEEDED DATA text TYPE string "#EC NEEDED . DATA text TYPE string ##needed . DATA text TYPE string. ##needed
DATA text TYPE string. "#EC NEEDED DATA text TYPE string ##needed .
Which of the following method calls in a RAP validation create messages which are translatable? Note: There are 2 correct answers to this question. DATA(msg) = me->new_message_with_text( severity = ms-error text = |{ 'Airport does not exist'(ane) } | ). DATA(msg) = me->new_message_with_text( severity = ms-error text = 'Airport does not exist'(ane) ). DATA(msg) = me->new_message_with_text( severity = ms-error text = 'Airport does not exist ' ). DATA(msg) = me->new_message_with_text( severity = ms-error text = |Airport does not exist| ).
DATA(msg) = me->new_message_with_text( severity = ms-error text = |{ 'Airport does not exist'(ane) } | ). DATA(msg) = me->new_message_with_text( severity = ms-error text = 'Airport does not exist'(ane) ).
Which of the following can you use to specify the data type of a column in a database table? Local type Data element Domain
Data element
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. Data model view Projection view Metadata extension Service definition Behavior definition
Data model view Projection view Service definition
In an Access Control Object, which clauses are used? (3 correct) Revoke (to remove access to the data source) Return code (to assign the return code of the authority check) Define role (to specify the role name) Grant (to identify the data source) Where (to specify the access conditions)
Define role (to specify the role name) Grant (to identify the data source) Where (to specify the access conditions)
What are the special data types of the internal tables in EML called? Derived behavior definition types. EML operation types. Derived behavior operation types. Internal behavior types.
Derived behavior definition types.
In our scenario, what is coded in a behavior implementation? Note: There are 2 correct answers to this question. Determinations Validations Update
Determinations Validations
Which of the following parts of a behavior definition are generated automatically? Note: There are 2 correct answers to this question. Validations Draft enabling Create, update, and delete operations Determinations
Draft enabling Create, update, and delete operations
Given this code, target_itab = VALUE #( FOR row IN source_itab( field1 = row-field1 field2 = row-field2 fieldn = row-fieldn ) ) . Which of the following statements are correct? (2 correct) FOR defines a loop that runs over the content of source_itab. row is a predefined name and cannot be chosen arbitrarily. source_itab is only visible within the loop. row is only visible within the loop.
FOR defines a loop that runs over the content of source_itab. row is only visible within the loop.
Which of the following are parts of the definition of a new database table? (2 correct) Extension Partitioning attributes Field list Semantic table attributes
Field list Semantic table attributes
Your ABAP SQL SELECT statement contains the following FIELDS list: field1, field2, sum( field4 ). Only one of the following GROUP BY clauses causes a syntax error. Which one? GROUP BY field1, field2, field3 GROUP BY field1 GROUP BY field1, field2
GROUP BY field1
You subtract one field with type D from another field with type D. What is the data type of the result? UTCLONG D P I
I
Which of the following data types is a numeric type? Note: There are 3 correct answers to this question. N I P DECFLOAT16
I P DECFLOAT16
In which object do you assign values to authorization fields? Business Catalog Business Role IAM App Authorization object
IAM App
Which of the following is a generic internal table type? STANDARD TABLE SORTED TABLE HASHED TABLE INDEX TABLE
INDEX TABLE
When are you forced to define alias names for the data sources of a join? Always, alias names for data sources are always mandatory. If the same data sources is used more than once. Never, alias names for data sources are always optional. If a field name is used in several data sources.
If the same data sources is used more than once.
You need to display an error text. Where do you create it? In a message class. In a global class. In a text pool.
In a message class.
Given this code, INTERFACE if1. METHODS m1. ENDINTERFACE. CLASS cl1 DEFINITION. PUBLIC SECTION. INTERFACES if1. METHODS m2. ENDCLASS. *in a method of another class DATA go_if1 TYPE REF TO if1. DATA go_cl1 TYPE REF to cl1. go_cl1 = NEW #(...). go_if1 = go_cl1. What are valid statements? (3 correct) Instead of go_cl1 = NEW #() you could use go_if1 = NEW #(...). go_if1 may call method m2 with go if->m2(...). Instead of go_cl1 = NEW #(...) you could use go_if1 = NEW cl1(....). go_cl1 may call method m1 with go_cl1->if1~m1(). go_if1 may call method m1 with go_if1->m1().
Instead of go_cl1 = NEW #(...) you could use go_if1 = NEW cl1(....). go_cl1 may call method m1 with go_cl1->if1~m1(). go_if1 may call method m1 with go_if1->m1().
What are some features of a unique secondary key? Note: There are 2 correct answers to this question. It is updated when the table is modified. It is created when a table is filled. It is created with the first read access of a table. It is updated when the modified table is read again.
It is updated when the table is modified. It is created when a table is filled.
You are using the DELETE ADJACENT DUPLICATES statement. Which of the following statements about the COMPARING addition are true? Note: There are 2 correct answers to this question. If you leave it out, the entire line must be the same in order to be considered a duplicate It will only work properly if the table has been sorted according to the same columns as are listed after COMPARING. It is mandatory. If you leave it out, the key fields of the table row must be the same in order to be considered a duplicate.
It will only work properly if the table has been sorted according to the same columns as are listed after COMPARING. If you leave it out, the key fields of the table row must be the same in order to be considered a duplicate.
Your class lcl_class has a factory method factory. Which of the following are properties of factory? Note: There are 2 correct answers to this question. Its returning parameter has the type REF TO lcl_class It may not have any importing parameters It is an instance method It is a public method
Its returning parameter has the type REF TO lcl_class It is a public method
In the validation, you use the READ ENTITIES statement to read the data entered by the user. Which parameter of the validation method do you use to ensure that the correct data is retrieved? FAILED REPORTED KEYS
KEYS
Which RESTful Application Programming object can be used to organize the display of fields in an app? Service definition Metadata extension Projection view Data model view
Metadata extension
What are characteristics of secondary keys for internal tablets? (3 correct) Multiple secondary keys are allowed for any kind of internal table Sorted secondary keys do NOT have to be unique Secondary keys can only be created for standard tables Hashed secondary keys do NOT have to be unique Secondary keys must be chosen explicitly when you actually read from an internal table.
Multiple secondary keys are allowed for any kind of internal table Sorted secondary keys do NOT have to be unique Secondary keys must be chosen explicitly when you actually read from an internal table.
Question 3Incorrect What is the sequence priority when evaluating a logical expression? NOT / BETWEEN / AND AND / OR / NOT OR / NOT / AND NOT / AND / OR
NOT / AND / OR
You want to calculate the ratio of two numeric values in ABAP SQL. The result should be rounded to exactly 1 decimal. What do you use to calculate the division? Numeric function DIV( ) Operator / Numeric function DIVISION( )
Numeric function DIVISION( )
You have the following CDS definition: define view entity Z_ENTITY as select from Z_SOURCE1 as _Source1 association to Z_SOURCE2 as _Source2 ??? { key carrier_id as Carrier, key connection_id as Connection, cityfrom as DepartureCity, cityto as Arrivalcity, _Source2 } Which of the following ON conditions must you insert in place of "???"? ON _Source1.carrier_id = _Source2.carrier_id ON $projection.carrier_id = _Source2.carrier_id ON $projection.Carrier = Source2.carrier ON $projection Camer= Source2.carrier_id
ON _Source1.carrier_id = _Source2.carrier_id
Which of the following are incomplete ABAP types? (2 correct) P T String C
P C
As a consultant you are posed the following question from a client who is using SAP S/4HANA Cloud, public edition and also SAP BTP, ABAP environment. "We are currently using an SAP Fiori app based on SAP Fiori elements that analyzes open orders. We have determined that it should be extended via a new button on the UI which will perform an on-the-fly calculation and display the result in a quick popup for the enduser. We have been informed by SAP that all underlying stack layers for the SAP Fiori app have been extensibility enabled." Based on this which of the following extension types would you recommend to the customer to add the new button? RAP BO Node Extension SAP HANA database table extension Business Service Extension RAP BO Behavior Extension
RAP BO Behavior Extension
Which statement is used in EML to read data from a business object? UPDATE ENTITIES. READ ENTITIES. MODIFY ENTITIES. DELETE ENTITIES.
READ ENTITIES.
In RESTful Application Programming, which EML statement retrieves an object? Read entity Select entity Get entity Find entity
Read entity
In which products must you use the ABAP Cloud Development Model? Note: There are 2 correct answers to this question. SAP BTP, ABAP environment SAP S/4HANA Cloud, public edition SAP S/4HANA Cloud, private edition SAP S/4HANA on premise
SAP BTP, ABAP environment SAP S/4HANA Cloud, public edition
You can use one of the following statements to divide a character string into several substrings. CONCATENATE SPLIT WRITE REPLACE
SPLIT
Which of the following uses of SQL function SUBSTRING( ) returns the same result as LEFT( text_field, 1)? SUBSTRING(text_field, 1, 1) SUBSTRING(text_field, 0, 1) SUBSTRING(text_field, 1, 0)
SUBSTRING(text_field, 1, 1)
To check whether data is found when reading data from a database table, which system variable will contain 0? SY-SUBRC SY-INDEX SY-DATUM SY-UNAME
SY-SUBRC
Which of the following actions cause an indirect change to a database table requiring a table conversion? (2 correct) Shortening the length of a domain used in a data element that is used in the table definition. Deleting a field from a structure that is included in the table definition. Renaming a field in a structure that is included in the table definition. Changing the field labels of a data element that is used in the table definition.
Shortening the length of a domain used in a data element that is used in the table definition. Deleting a field from a structure that is included in the table definition.
Which internal table type allows unique and non-unique keys? Hashed Standard Sorted
Sorted
You want to read data from an internal table using some, but not all, of its key fields. The fields you want to use are at the beginning of the key with no gaps. What kind of internal table is suitable? Standard table Internal table Sorted table Hashed table
Sorted table
The most important views in the ABAP Development Tools perspective include? Note: There are 2 correct answers. Source Code Editor View History View Local View Project Explorer View
Source Code Editor View Project Explorer View
Which of the following data types is complete? C N String P
String
/DMO/I_Connection is a CDS view. What variable type is connection full based on the following code? DATA connection full TYPE /DMD/I_Connection. Structure Simple variable Internal table
Structure
In the assignment. DATA(gv result) = 1 / 8. What will be the data type of gv result? TYPE P DECIMALS 2 TYPE DEFLOAT16 TYPE I TYPE P DECIMALS 3
TYPE I
Which of the following assignments between variables of different data types is guaranteed to be free of rounding, truncation, field overflow, or type mismatches? Note: There are 2 correct answers to this question. TYPE P LENGTH 3 DECIMALS 2 to TYPE P LENGTH 6 DECIMALS 3 TYPE STRING to TYPE I TYPE C LENGTH 10 to TYPE C LENGTH 3 TYPE DECFLOAT16 TO TYPE DECFLOAT34
TYPE P LENGTH 3 DECIMALS 2 to TYPE P LENGTH 6 DECIMALS 3 TYPE DECFLOAT16 TO TYPE DECFLOAT34
When you create a database table to generate a RAP application, you must create a client field. Which data type must it have? The built-in ABAP Dictionary type abap.clnt. The data element MANDT. The built-in ABAP Dictionary type abap.char(3)
The built-in ABAP Dictionary type abap.clnt.
Class super has subclass sub. Which rules are valid for the sub constructor? (2 correct) Import parameters can only be evaluated after calling the constructor of super. The constructor of super must be called before using any components of your own instance. Events of your own instance cannot be raised before the registration of a handler in super. The method signature can be changed.
The constructor of super must be called before using any components of your own instance. The method signature can be changed.
In a loop that processes an internal table and modifies the contents, you replace a work area with a field symbol. What do you expect to happen to the performance of the loop? The performance of both techniques is equal. The work area is faster than the field symbol. The field symbol is faster than the work area.
The field symbol is faster than the work area.
Which of the following statements is true for a standard internal table? The key is always non-unique The key is always unique You can choose whether the key should be unique or non-unique
The key is always non-unique
In class ZCL_CLASS_A, you use the statement DATA var TYPE *** What may stand in place of ***? (2 correct) The name of a type defined privately in class ZCL_CLASS_A The name of a domain from the ABAP Dictionary The name of a data element from the ABAP Dictionary The name of a type defined privately in another class
The name of a type defined privately in class ZCL_CLASS_A The name of a data element from the ABAP Dictionary
You analyze ABAP code with an ABAP SQL SELECT. The FROM clause contains a nested joins but there are no brackets. What do you look at to find out in which sequence the joins are evaluated? The sequence of ON conditions The sequence of data sources The sequence of selected fields The sequence of selection criteria
The sequence of ON conditions
In the READ ENTITIES statement, you use an internal table with a special type (TYPE TABLE FOR READ RESULT). How is this type created? The developer of the business object creates it in the behavior implementation. The system creates it automatically. The developer of the business object creates it as a global type.
The system creates it automatically.
Which of the following are subject to translation in ABAP? Note: There are 3 correct answers to this question. The value of annotation @enduserText.Label in a data definition The short text of a message text in a message class The value of a text literal in the source code of an ABAP class The value of a text symbol in an ABAP class The result of a selection criteria
The value of annotation @enduserText.Label in a data definition The short text of a message text in a message class The value of a text symbol in an ABAP class
What are some properties of database tables? (2 correct) They can have any number of key fields They can have relationships to other tables They store information in two dimensions They may have key fields
They can have relationships to other tables They store information in two dimensions
What are some of the reasons that Core Data Services are preferable to the classical approach to data modeling? (2 correct) They transfer computational results to the application server They implement code pushdown They avoid data transfer completely They compute results on the application server
They transfer computational results to the application server They implement code pushdown
What is the purpose of a foreign key relationship between two tables in the ABAP Dictionary? To document the relationship between the two tables To create a corresponding foreign key relationship in the database To ensure the integrity of data in the corresponding database tables
To document the relationship between the two tables
What is the purpose of the MODIFY ENTITIES statement in EML? Both read and update data. To update or create data. To read and delete data. To read data.
To update or create data.
The following techniques can avoid runtime errors. (2 corrects) Trap error with Try statements Use program logic to avoid errors Check program for syntax errors Trap errors with Case statements
Trap error with Try statements Use program logic to avoid errors
EXTRACT_MONTH( ) is a generic SQL function which can handle input of different types. Which of the following built-in types are allowed for this function? Note: There are 3 correct answers to this question. UTCLONG TIMESTAMPL DATS TIMS DATN
UTCLONG DATS DATN
What are advantages of using a field symbol for internal table row access? (2 correct) The field symbol can be reused for other programs. The row content is copied to the field symbol instead to a work area. Using a field symbol is faster than using a work area. MODIFY statement to write changed contents back to the table is not required.
Using a field symbol is faster than using a work area. MODIFY statement to write changed contents back to the table is not required.
How do you specify table-specific properties when creating a database table in ADT? Using annotations in the projection list In transaction SE16 Using appropriate annotations before the DEFINE TABLE statement In the Properties view of the database table
Using appropriate annotations before the DEFINE TABLE statement
What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key? Action Determination Validation
Validation
When are derived behavior definition types created? When the system processes a request. When a developer creates a behavior definition. When a business object is read. When the EML is initialized.
When a developer creates a behavior definition.
A class lcl_plane has the subclasses lcl_passenger and lcl_cargo. Which of the following statements is true? You can assign an instance of lcl_passenger to a reference variable with type lcl_plane. You can assign an instance of lcl_passenger to a reference variable with type lcl_cargo. You can only assign an instance of lcl_passenger to a reference variable with type lcl_passenger
You can assign an instance of lcl_passenger to a reference variable with type lcl_plane.
In a subclass sub1 you want to redefine a component of a superclass super. How do you achieve this? (2 correct) You add the clause REDEFINITION to the component in super1 You implement the redefined component in sub1 You implement the redefined component for a second time in super1. You add the clause REDEFINITION to the component in sub1.
You implement the redefined component in sub1 You add the clause REDEFINITION to the component in sub1.
Given the following code in an SAP S/4HANA Cloud private edition tenant: 1. CLASS zcl_demo_class DEFINITION. 2. METHODS: m1. 3. ENDCLASS. 4. CLASS zcl_demo_class IMPLEMENTATION. 5. METHOD m1. 6. CALL FUNCTION 'ZF1'. 7. ENDMETHOD. 8. ENDCLASS. The class zcl_demo_class is in a software component with the lang version set to "ABAP Cloud". The function module ZF1' is in a diff software component with the lang version set to "Standard ABAP". Both the class and function module are customer created. Regarding line #6, which of the following are valid statements? (2answers) ZF1' can be called only if it is released for cloud development. 'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development. "ZF1" can be called whether it is released or not for cloud development ZF1" can be called if a wrapper is created for it but the wrapper itself is not released for cloud development.
ZF1' can be called only if it is released for cloud development. 'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development.
In ABAP SQL, which of the following retrieves the association field _Airline-Name of a CDS view? \_Airline-Name /_Airline-Name @_Airline-Name *_Airline-Name
\_Airline-Name
Given the following Core Data Services View Entity Data Definition: The "demo_cds_assoc_spfli" data source referenced in line #4 contains a field "connid" which you would like to expose in the element list. Which of the following statements would do this if inserted on line #8? spfli-connid, demo_cds_assoc_spfli.connid, _spfli.connid demo_cds_assoc_spfli-connid,
_spfli.connid
In ABAP SQL, which of the following can be assigned an alias? (2 correct) field (from field list) database table order criterion (from order by clause) group criterion (from group by clause)
field (from field list) database table
Given the following code excerpt that defines an SAP HANA database table: DEFINE TABLE demo_table { KEY field1 : REFERENCE TO abap.clnt(3); KEY field2 : abap.char(1332); @Semantics.quantity.unitOfMeasure : 'demo_table.field4' field3 : abap.quan(2); field4 : abap.unit(2); } ... Which field is defined incorrectly? (2 correct) field1 field3 field4 field2
field1 field2
Which function call returns 0? find_any_not_of( val = 'ABAP ABAP abap' sub = 'AB' ). Count_any_of( val = 'ABAP ABAP abap' sub = 'AB' ). Count( val = 'ABAP ABAP abap' sub = 'AB' ). find_any_of( val = 'ABAP ABAP abap' sub = 'AB').
find_any_of( val = 'ABAP ABAP abap' sub = 'AB').
You have a result field result with TYPE P LENGTH 3 DECIMALS 2. Which of the following statements leads to an exception? result = EXACT #( 1 / 8 ). result = EXACT #( 1 / 2 ). result = 1 / 16. result = 8 / 16.
result = EXACT #( 1 / 8 ).
When processing a loop with the statement DO... ENDDO, what system variable contains the implicit loop counter? sy-index sy-linno sy-tabix sy-subrc
sy-index
You check a user's authorization to view data using an AUTHORITY-CHECK statement. What happens if the user does not have the requisite authorization? sy-subrc is set to a value unequal to 0. The user is prevented from seeing the data automatically. sy-subrc is set to 0. The developer must ensure him or herself that the user cannot see the data. sy-subrc is set to 0. The user is prevented from seeing the data automatically. sy-subrc is set to a value unequal to 0. The developer must ensure him or herself that the user cannot see the data.
sy-subrc is set to a value unequal to 0. The developer must ensure him or herself that the user cannot see the data.
An ABAP built-in function xyz( ) is called in the following way: IF xyz( .... ) . ... ENDIF. What does this tell you about the nature of the function? xyz( ) is a description function. xyz() is a standard function. xyz( ) is a processing function. xyz( ) is a predicate function.
xyz( ) is a predicate function.