abap sap 2507 nuevo_02
![]() |
![]() |
![]() |
Título del Test:![]() abap sap 2507 nuevo_02 Descripción: Mutata examen |




Comentarios |
---|
NO HAY REGISTROS |
What can be translated? Note: There are 3 correct answers to this question. Content of a String variable. Text symbol. Text literal. Message class. Data element texts. Given the following data definitions: • DATA: text TYPE string VAL UE Date 1972-04-01 is in ISO format`. • DATA: regex TYPE string VAALUE [0-9]{4} (- [0-9]{2}}{2} `. In which of the following functions can you use regular expressions? Note: There are 3 correct answers to this question. matches(val = text pcre = reegex). reverse(val = text pcre = reggex). find(val = text pcre = regex)). condense(val = text pcre = regex). match(val = text pcre = regeex ). When defining a METHOD, which parameter type can only have 1 value?. CHANGING. EXPORTING. IMPORTING. RETURNING. What is the syntax to access component carrier_name of structure connection?. connection/carrier_name. connection=>carrier_name. connection->carrier name. connection-carrier_name. Which internal table type allows unique and non-unique keys?. Standard. Hashed. Sorted. What describes multi-column internal tables?. They use one incomplete data type. They use one complete data type. They must contain nested components. They are based on a structured row type. what are valid statements? Note: There are 3 correct answers to this question. Instead of go_cl1 = NEW #(...) you could use go_if1 = NEW cl1(...). go_if1 may call method m1 with go_if1->m1(...). go_cl1 may call method m11 with go_cl1->if1~m1(...). Instead of go_cl1 = NEW #(...) you could use go_if1 = NEW #(...). go_if1 may call method m2 with go_if->m2(...). You want to document a global class with ABAP Doc. What do you need to consider? Note: There are 3 correct answers to this question. The documentation starts with “!. The documentation has to be positioned directly after the declarative statement. The documentation can contain links to other repository object's documentation. The documentation can be translated. The documentation may contain tags like <strong></strong>. What are some necessary parts of the singleton pattern? Note: There are 3 correct answers to this question. Constructor visibility is set to private. Class creation is set to "create private". Class method to create the singleton instance is set to private. Static attribute to store address of the singleton instance must exist. Class method to create the singleton instance must exist. 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. You add the clause REDEFINNITION to the component in sub1. You implement the redefined component for a second time in super1. You add the clause REDEFINNITION to the component in super1. You implement the redefined component in sub1. When you create an exception class, what does SAP recommend you do? Note: There are 3 correct answers to this question. Inherit from cx_static_check, if you want a warning at design time that the exception can never be raised. Define corresponding public attributes, if you want to pass context-specific values to placeholders of a message. Implement interface if_t100_message, if you want to reuse messages from a message class. Inherit from cx_no_check, if you want to reuse messages from a system exception class. Inherit from cx_static_check, if you want a warning at design time that the exception will not be caught. Which statements apply to the TRY-ENDTRY construct? Note: There are 3 correct answers to this question. CATCH clauses should be organized ascending from most specific to most general. A CLEANUP clause catches remaining exceptions. A superclass in a CATCH clause catches exceptions of itself and of its subclasses. A CATCH clause can be use d as a handler for several exception classes. All matching CATCH clauses are always executed. 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. A. Class constructor of super1. B. Instance constructor of sub1. C. Instance constructor of super1. D. Class constructor of sub1. A,D,C,B. C,B,D,A. D,C,A,B. B,D,C,A. How do you make class sub1 a subclass of class super1?. In sub1 use clause "INHERITTING FROM super1" in the DEFINITION part. In super1 use clause "sub1 REDEFINITION" in the DEFINITION part. In sub1 use clause "INHERITTING FROM super1" in the IMPLEMENTATION part. In super1 use clause "sub1 REDEFINITION" in the IMPLEMENTATION part. Given the following ABAP SQL statement excerpt from an ABAP program: 1 SELECT SINGLE 2 FROM spfli 3 WHERE carid 'LH' AND conid= '00400' 4 INTO @DATA(wa). … You are given the following information: 1. The data source "spfli" on line #2 is an SAP HANA database table. 2. "spfli" will be a large table with over one million rows. Answer: A 3. This program is the only one in the system that accesses the table. 4. This program will run rarely. Based on this information, which off the following general settings should you set for the spfli database table? Note: There are 2 correct answers to this question. "Load Unit" to "Column Loadable". “Storage Type" to "Column Store". "Storage Type" to "Row Store". "Load Unit" to "Page Loadable". You have two database tables - ZDEEPARTMENTS and ZEMPLOYEES. They are linked by a foreign key relationship: ZEMPLOYEES is the foreign key table and ZDEPARTMENTS is the check table. A department may have any number of employees (including none at all). What is the correct cardinality of the foreign key relationship?. [0..1,1]. [0..*,1]. [1,1]. [1,1]. Which of the following are features of Core Data Services? Note: There are 3 correct answers to this question. Structured Query Language (SQL). Inheritance. Associations. Delegation. Annotations. You have the following CDS definition: Answer: A, C, E define view entity Z_ENTITY as select from Z_SOURCE1 as _Source1 association to Z SOOURCE2 as _Source2 (The data sources are joined by the field carrier_id. The name of the corresponding fielld in Z_SOURCE2 is carrier_id.) Which of the following ON conditions must you insert in place of "???"?. ON $projection.Carrier = _Source2.carrier. ON Z_Source1.carrier_id=Z_Source2.carrier_id. ON $projection.Carrier = _Source2.carrier_id. ON $projection.carrier_id = Z_Source2.carrier_id. Given the following code which defines an SAP HANA database table in SAP S/4HANA Cloud, public edition: You are a consultant and the client wants you to extend this SAP database table with a new field called "zz_countrycode" on line. Which of the following is the correct response?. The database table can be extended whether extensibility enabled or not if it is assigned to a software component of type "Standard ABAP". The database table can be extended once it has been extensibility enabled by the customer. The database table can be extended whether extensibility enabled or not if it is assigned to a software component of type "ABAP Cloud". The database table cannot be extended since it has not been extensibility enabled by SAP. You select a field flight_date with type DATS in the field list of a CDS view. Which of the following expressions returns the 2-digit month from the field? Note: There are 2 correct answers to this question. left(right( flight_date, 6), 2)). substring( flight_date, 5, 2). right(left( flight_date, 6), 2)). substring( flight_date, 4, 2). |