option
Questions
ayuda
daypo
search.php

Programming with ABAP . 7.5

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Programming with ABAP . 7.5

Description:
Programming with ABAP

Creation Date: 2023/06/18

Category: Others

Number of questions: 47

Rating:(3)
Share the Test:
Nuevo ComentarioNuevo Comentario
New Comment
NO RECORDS
Content:

To benefit from the hash algorithm when accessing a hashed internal table, how do you specify the key? Please choose the correct answer. Left aligned, gap free. Under-qualified. Fully qualified. Any key.

Which boundary conditions lead to improved access time to an internal table? There are 3 correct answers to this question. Index access for hashed tables. Left justified part of key for hashed tables. Fully qualified key for sorted tables. Left justified part of key for sorted tables. Index access for standard tabels.

How many work areas are available in the Debugger? Please choose the correct answer. 15. None of the above. 9. 12. 7.

You call a lock module.Which exceptions could the lock module raise when a logical lock CANNOT be set? There are 2 correct answers to this question. CX_SY_OPEN_SQL_ERROR. FOREIGN LOCK. CX_SY_DATA_ACCESS_ERROR. SYSTEM_FAILURE.

In the technical settings for a transparent table, buffering is switched on and single record buffering is selected.Which statement uses the buffered data assuming that the WHERE clause contains restrictions for all key fields? Please choose the correct answer. SELECT ...INTO TABLE. SELECT SINGLE ...FOR UPDATE. SELECT SINGLE... SELECT ENDSELECT.

Which statements are allowed for processing internal tables? There are 3 correct answers to this question. UPGRADE. INSERT. DELETE. MODIFY. SELECT.

In an ABAP program you have the following code sequence: DATA var TYPE n LENGTH 1. FIELD-SYMBOLS <fs> TYPE c. ASSIGN var TO <fs> CASTING Which type is used to cast the assigned memory area? Please choose the correct answer. The default type i. The type of var. The default type STRNG. The type of <fs>.

In which of the following source code blocks can you define local data objects? There are 3 correct answers to this question. LOAD-OF-PROGRAM. Function Module. Subroutine. PBO module. Static method.

When analyzing a program, which tasks can you perform using the code inspector? There are 3 correct answers to this question. Inspect the memory consumption. Determine used database tables. Discover unused variables. Evaluate the time needed for program execution. Execute the extended program check.

You want to loop over an internal table without copying each table row to a work area. How can you achieve this using a field symbol? Please choose the correct answer. LOOP ...INTO <field_symbol>...ENDLOOP. LOOP ...INTO <field_symbol> TRANSPORTING...ENDLOOP. LOOP ...REFERENCE INTO <field_symbol>...ENDLOOP. LOOP ...ASSIGNING <field_symbol>...ENDLOOP.

You defined data reference zi generically. Which statement would you use to access the content of the referenced variable? Please choose the correct answer. Get reference of z1 into wa. Assign (z1) to <fs>. Assign z1 to <fs>. Assign z1->*to <fs>.

When is an ENDSELECT not required for a SELECT? There are 3 correct answers to this question. When you do a SELECT SINGLE. When the FROM is a view. When you specify appending a table. When you specify into a table. When you specify a join of tables.

What do you need to consider when creating a secondary index on a table? There are 2 correct answers to this question. The index must always be unique. The index can be created for specific database systems only. The most frequently selected fields should be at the first positions in the index. The table will be upgrade more quickly if you create more indexes.

You are making changes to a program that already has transaction code linked to it.Your colleague is testing the same transaction code in the same system.When does the changed version of the program become visible to your coleague? Please choose the correct answer. When you execute the program from the ABAP Editor. When the syntax of the program is correct. When you save the program. When you activate the program.

What happens when an authorization check fails? Please choose the correct answer. A CX_AUTH_FAILED type exception is raised. A type E message is displayed. The program is terminaded. The system field SY-SUBRC is set to a value other than zero.

What must exist before you can create a new transportable function module? There are 3 correct answers to this question. Package. Function Group. Type group. Change request. Module pool.

Your colleague has asked you to analyze an ABAP program that does not behave correctly when a button is pressed on the initial screen. You want to start the Debugger when the button is pressed so that you can perform your analysis. What system command do you type in the command field? Please choose the correct answer. /n. /j. /h. /hx.

Which of the following elements can a string template contain? There are 2 correct answers to this question. Literals. Functional method calls. Function module calls. String processing statements.

You perform an update task using update function modules and detect an error in the program that calls the update function modules. Which statement can be used to discard all update requests for the current SAP LUW? There are 2 correct answers to this question. EXITE. DELETE UPGRADE. MESSAGE A. ROLLBACK WORK. MESSAGE E.

How many kinds of internal tables are supported in the ABAP language? Please choose the correct answer. 3. 0. None of the above. 5. 2. 1.

You want to read a single line of an internal table using table expression itab. How can you identify the line? There are 3 correct answers to this question. Specify a secondary table key. Specify the line index. Specify a free table key. Specify a regular expression. Specify a WHERE condition.

What is the correct order for using a lock object? Please choose the correct answer. Set the lock, read the table, change the data, release the lock. Release the lock, read the data , set the lock, change of data. Set the lock, read the data, release the lock, change data. Read the data, set the lock, change the data, release the lock.

You need to create a piece of code that can be used by multiple programs. Which of the following techniques does SAP recommend? There are 2 correct answers to this question. Use a function module in a function group. Use a method in a global class. Use method in a local class. Use an include program.

Which of the following is a true statement? There are 2 correct answers to this question. A standard table should always have a unique key. A sorted table can have a unique or a non-unique key. A standard table should always have a multiple key. A hashed table should always have a unique table key.

FORM routines (subroutines) can be used in which program types? There are 4 correct answers to this question. Class pools. Module pools. Interface pools. Executables. Types groups. Functions groups. Subroutine pools.

You have written a method implementation containing the following access to an internal table defined as a changing parameter of the method. READ TABLE ct_itab INTO cs_struc INDEX 1. What are the possible type definitions for parameter ct_itab? There are 3 correct answers to this question. Index table. Sorted table. Any table. Standard table. Hashed table.

Which types of programs or parts of programs can be tested directly from the ABAP Workbench or ABAP Editor? There are 4 correct answers to this question. PROGRAM. INTERFACE-POOL. METHOD. FUNCTION MODULE. INCLUDE. REPORT. TYPE-POOL. FUNCTION-POOL. CLASS-POOL.

What are the advantages of defining texts symbols in executable programs? There are 2 correct answers to this question. There are easier to maintain than literals. The text of the text symbol can be changed at runtime. They can store up to 256 characteres. The facilitate multilingual functionality.

You run an executable program that contains the following code: DATA: gv_var1 TYPE n LENGTH 3 GV_var2 TYPE n LENGTH 3 VALUE '456' START-OF-SELECTION CLEAR gv_var2 gv_var2 = gv_var1 gv_var1 = '123' At what point does the system reserve memory for the data object gv_var1? Please choose the correct answer. When the assignment to gv_var2 is executed. When value '123' is assigned to the data object. As soon as the program is loaded into the internal session. At the beginning of the START-OF-SELECTION event block.

Which you should specify in a non-Unicode system when opening a file in TEXT MODE? There are 2 correct answers to this question. The storage order. The code page. The byte order. The ENCODING addition.

You have been asked to review the following expression, which processes charater strings: result= find( val = 'abapABAP' sub = 'A' , occ = 2 , case ='X' ) What is the expected value of result?. 1. 6. 4. 2.

Which comparison operators can you use in a logical expression related to the WHERE clause of the SELECT statement? There are 3 correct answers to this question. CO(contains only). CP(covers pattern). GT(greater than). EQ(equals). LIKE(fits pattern).

What does Software Layer Aware debugging allow you to do? There are 3 correct answers to this question. Bypass authorization objects. Trace executing code. Debug only a small portion of code. Debug a large portion of code. Specify as much or as little code to debug.

A function module that has 2 classical exceptions is called with actual parameter values in such a way that both exception conditions are fulfilled. How will the runtime system behave? Please choose the correct answer. The first exception that occurs will be raised. In the callling program , sy-subrc has the value specified for the first exception. No exception will be raised. In the calling program, sy-subrc has the value specified for the OTHERS option. Both exceptions will be raised. In the calling program, sy-subrc has the value specified for the second exception. Both exceptions will be raised. In the calling program, sy-subrc has the value specified for the OTHERS option.

You want to define a field symbol that will be assigned to a character string.Which generic types can you use? There are 3 correct answers to this question. csequence. any. clike. xsequence. any table.

You want to select all the records from a database table where field CITY contains substring 'BU' in any position. Which WHERE clause can you use in an OPEN SQL select statement? Please choose the correct answer. WHERE city LIKE '%BU%'. WHERE city LIKE '_BU'. WHERE city LIKE '*BU*'. WHERE city LIKE '%BU*'.

Which of the following are incorrect statements? There are 2 correct answers to this question. TYPES: Str TYPE STRING LENGTH 20. TYPES: carrid_ty LIKE spfi-s-carr_id. TYPES: werks TYPE C LENGTH 4. TYPES: date_ty TYPE D LENGTH 10.

You write the following ABAP statement: SELECT SINGLE carrid, connid, cityfrom, cityto FROM spfli INTO gs_spfli WHERE carrid=pa_car AND connid = pa_con How are the selected fields placed into target structure gs_spfli? Please choose the correct answer. Into fields with the same name and same type. Into fields with the same name. From left to right. Into fields with the same type.

dbtab is a transparent table.What is declared by the following statement? DATA myvar TYPE dbtab. Please choose the correct answer. An elementary field. An internal table. A reference to an internal table. A structure variable.

The USER has the following fields: ID, FIRST_NAME, LAST_NAME. FIRST_NAME and LAST_NAME have the same basic type and length.You want to compare fields FIRST_NAME, LAST_NAME to each other. Whick of the following SELECT statements can you use? There are 2 correct answers to this question. SELECT * FROM users AS a INTO TABLE it_users w WHERE a first_name = last_name. SELECT * FROM users AS a INTO TABLE it_users WHERE first_name = users-last_name. SELECT * FROM users AS a INTO TABLE it_users WHERE first_name = users_last_name. SELECT * FROM users AS a INTO TABLE it_users WHERE a-first_name = a-last_name.

Which statement is used to generically define the data reference variable z1? Please choose the correct answer. data z1 type ref to PA0001. data z1 type ref to data. data z1 type any table. data z1 type any.

When starting the Debugger, what circumstance causes the runtime error DEGUBBING_NOT_POSSIBLE? Please choose the correct answer. Starting a non-exclusive mode in a productive system. When more than five sessions are already associated with this login user. When the number of debbugging sessions on the server exceeds the value defined by the profile parameter rdisp/wpdbug_max_no. When more than six sessions are already associated with this login user.

In an ABAP program you have the following code sequence: DATA text TYPE string. DATA text_ref TYPE REF TO string. DATA data_ref TYPE REF TO data. FIELD-SYMBOLS <fs> TYPE any. TEXT = 'Content of data object' GET REFERENCE OF text INTO data_ref Which of the following pieces of code can you use to output the content of variable text? There are 2 correct answers to this question. ASSIGN data_ref->*TO<fs> WRITE <fs>. GET REFERENCE OF data_ref->* INTO text_ref WRITE text_ref->*. WRITE data_ref->*. text_ref? = data_ref. WRITE text_ref->*.

Which of the following conditions must be fulfilled when using a GROUP BY clause in a SELECT statement? There are 2 correct answers to this question. The table in the FROM clause must be a transparent table. The fields after GROUP BY must have a character type. All fields in the SELECT clause that are not part of an aggregate function must be listed after GROUP BY. The SELECT statemente must also have a WHERE clause.

Which of the following statements are true? There are 2 correct answers to this question. Hashed tables are accessed by a unique key. A sorted table is always accessed by a unique key. Standard tables cannot be accessed by index. Hashed tables are always accessed by index. Standard tables can be accessed by index.

Which options are valid Open SQL? There are 3 correct answers to this question. CROSS JOIN. RIGHT OUTER JOIN. LEFT OUTER JOIN. INNER JOIN. FULL JOIN.

An ABAP program processes the following expression: r = a/b +c Which of the following data declarations would cause the runtime environment to use fixed-point arithmentic for the above expression? Please choose the correct answer. DATA: r TYPE f, a TYPE i VALUE 201, b TYPE i VALUE 200, c TYPE f. DATA: r TYPE p, a TYPE i VALUE 201, b TYPE i VALUE 200, c TYPE i. DATA: r TYPE p DECIMALS 2, a TYPE i VALUE 201, b TYPE i VALUE 200, c TYPE p. DATA: r TYPE p DECIMALS 2, a TYPE i VALUE 201, b TYPE i VALUE 200, c TYPE f.

Report abuse