Test 01 Flashcards
A.2 Which of the following command are allowed not if you are working with internal table of type sorted? (1 correct answers).
A. MODIFY
B. INSERT
C. DELETE
D. SORT
D. SORT* (Por que su naturaleza esta definida)
A.3 You design a classical screen with number 100 for an ABAP program,screen 100 contains input field that refers to ABAP dictionary structure SDYN_CONN. What do you have to do so that your ABAP program can access the data entered in the PAI processing?
A. Use the statement TABLES: SDYN_CONN to declare the structure named SDYN_CONN in the top include of your program.
B. Use the statement GET FIELD SDYN_CONN in the PAI module user_command_100.
C. Use DATA statement to declare a structure SDYN_CONN in the top include of your program.
D. Use the statement GET FIELD in the PAI logic of the Dynpro.
A. Use the statement TABLES: SDYN_CONN to declare the structure named SDYN_CONN in the top include of your program.
A.7 You design an executable program that displays flight bookings, the selection screen of the program contains the parameters pa_car of type SCARR-CARRID for the carrier, you want to make sure that users will be forced to re enter the carrier , if they type in a carrier for which they don’t have authorization. Hence you perform a authority check with authorization object S_CARRID. Where do you do this?
A. In th event block GET SCARR.
B. In the PBO module of the selection screen
C. In the event block AT USER-COMMAND
D. In the event block AT SELECTION-SCREEN.
C. In the event block AT USER-COMMAND *
A.8 During the debugging of the program you find that only in certain constellations an error appears. Watch points could help you to reach the erroneous constellations faster. Which statements about watch points are true? (2 correct answers)
A. Watch point is always related to the data object of the debugged program . No matter how you define the watch point, the system will always stop the execution if the contents of related data objects is changed and issues a message “Watchpoint reached” .
B. Several watchpoints can be combined using AND or OR .
C. Watchpoint can be created using ABAP menu Goto-> create watch point.
D. You can define the watchpoint only from within the debugger.
A. Watch point is always related to the data object of the debugged program . No matter how you define the watch point, the system will always stop the execution if the contents of related data objects is changed and issues a message “Watchpoint reached” .
D. You can define the watchpoint only from within the debugger. (*) Punto de interrupción
A.9 Which view allows a read only access? (Only 1 correct answer)
A. Database view with more than 1 table
B. Maintainence View
C. Projection view with 1 table
A. Database view with more than 1 table
A.10 You create function group ZATP that contains couple of function modules to manage material master data. What is the name of the correspondnig main program?
A. SAPLZATP B. SAPTZATP C. SAPFZATP D. SAPMZATP E. ZATP
A. SAPLZATP Siempre es SAPL para el Funtion Group
A.11 You want to display the data of accounting documents with BELNR = 10000 from table BKPF and BPOS . These transparent tables contains HEADER data and POSITION data .The primary key of BKPF is MANDT and BELNR(document number) . The primary key of BPOS is MANDT , BELNR and POS(position).which would be the correct statement to achieve this ?
A. Select * from bkpf INNER JOIN bpos on bkpf.belnr = bpos.belnr into wa WHERE bkpf.belnr = ‘1000’.
B. Select * from bkpf RIGHT OUTER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = ‘1000’
C. Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = ‘1000’.
C. Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = ‘1000’.
A.12 In classical screen programming , where can you set the status and title for modal dialog box(popup)?
A. At the event TOP-OF-PAGE.
B. In the PBO module of corresponding screen
C. In the PAI module of corresponding screen
D. In the attribute of corresponding screen
B. In the PBO module of corresponding screen
A.13 Which of the following statement concerning with structures and internal tables in ABAP debugger?
A. With the ABAP debugger, you can edit internal tables(for example append lines, delete lines, change contents
B. With ABAP debugger you can change the definition of the structure at run time
C. With the ABAP debugger you can create new data objects even if they are structures or internal tables.
A. With the ABAP debugger, you can edit internal tables(for example append lines, delete lines, change contents
A.14 Which statement about the internal table concerning program performance are correct? (There are 2 correct answers)
A. The cost for reading a data record from the hashed table do not depends upon number of entries.
B. If the field symbol is assigned with READ … ASSIGNING statement, the entry in the internal table can be changed directly using field symbols
C. If you have a standard table , searching an entry using a fully qualified key is faster than searching by index
D. The cost for reading a data record are higher for a large number of entries in a sorted table than for a large number of entries in a standard table
A. The cost for reading a data record from the hashed table do not depends upon number of entries.
C. If you have a standard table , searching an entry using a fully qualified key is faster than searching by index
A.16 You execute the ABAP program with several dialogs steps(screen) which statements is correct?
A. The ABAP dispatcher takes over the entire execution of the ABAP program and gets the user context of the program from roll area
B. The program components for the individual dialog steps are usually executed in various dialog work processes that are released once the program components has been processed (while screen display on the front end).
C. The entire program is processed in exactly one dialog process. This dialog process is reserved for that program while the screen is displayed on the front end.
B. The program components for the individual dialog steps are usually executed in various dialog work processes that are released once the program components has been processed (while screen display on the front end).
A.18 Which of the following ABAP statements referring to type t1 is syntantically correct? (2 correct answers)
TYPES: BEGIN of t1,
comp1 type scarr-carrid,
comp2 type scarr-carrname,
END of t1.
A. Data: str1 like t1.
B. TYPES str1 type t1.
C. Data: str1 type t1.
D. TYPES: t2 like t1.
B. TYPES str1 type t1.
C. Data: str1 type t1.
A.19 For a database table zdepartment you have defined a text table zdepartmentt in the ABAP dictionary , where the names of the department are stored. How would you design the text table zdepartmenttso that it is a text table of zzdepartment.
(3 correct answers)
A. The text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table.
B. The text table zdepartmentt as atleast one text field which is not a key field.
C. The text table zdepartmentt is a cluster tables
D. The text table zdepartmentt has same key fields as zdepartment plus one additional key field of data type LANG.
A. The text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table.
B. The text table zdepartmentt as atleast one text field which is not a key field.
D. The text table zdepartmentt has same key fields as zdepartment plus one additional key field of data type LANG.
A.20 You have to define two database tables where in both the tables you need fields change_date and change_time (which are not key fields) How do you proceed?
A. Define a append structure with these two fields and assign the append structure to both the tables.
B. Define two fields separately in both the tables.
C. Define structure with these two fields and include the structure in both the database tables.
C. Define structure with these two fields and include the structure in both the database tables. (Por no define la tabla)
A.21 Why do we need to bundle database updates in your dialog programs? (2 correct answer)
A. To increase the performance of your program.
B. Because there is no implicit database commit after each dialog step
C. To keep the database in a consistent state if the user wants to cancel the transactions
D. Because there is an implicit database commit after each dialog step.
B. Because there is no implicit database commit after each dialog step
C. To keep the database in a consistent state if the user wants to cancel the transactions
A.23 For a new colleague you have to explain the necessary steps for defining a database view in the ABAP Dictionary. What are the necessary steps for definition of database view in the ABAP Dictionary? (There are 3 correct answers ).
A. You have to define selection criteria for the view
B. You have to define the Join condition for this view
C. You have to name the database table where the view gets data
D. You have to choose the fields from the tables that should be part of the view
A. You have to define selection criteria for the view
C. You have to name the database table where the view gets data ***
D. You have to choose the fields from the tables that should be part of the view
A.24 You want to select the fields MATNR, ENAM and EDAT from table MARA to display them in report. Whats the best way to do this? (1 correct answer).
A. Declare the work area containing fields MATNR, ENAM and EDAT and use select matnr ename edat from MARA into wa. ENDSELECT.
B. Declare the work area of type MARA and use select* from MARA into wa.ENDSELECT.
C. Declare the work area of type MARA use select matnr ename edat from MARA into wa.ENDSELECT.
D. Declare the work area containing fields MATNR, ENAM and EDAT and use select* from MARA into correspodnig fields of wa.ENDSELECT.
A. Declare the work area containing fields MATNR, ENAM and EDAT and use select matnr ename edat from MARA into wa. ENDSELECT.
A.25 Which of the following statements are true about data type? (3 correct answer)
A. Data types can be defined only in ABAP dictionary
B. Data type can be used to define a variable of constants. C. Data types can be defined in the program.
D. Data types can be defined in ABAP dictionary
B. Data type can be used to define a variable of constants.
C. Data types can be defined in the program.
D. Data types can be defined in ABAP dictionary
A.27 You have written a classical dynpro with number 100 in module pool containing push button p_save. You have assigned function code ‘SAV’ against this button. In the PAI module USER_COMMAND_100 you want to check if the user has clicked on this button, how can yo achieve this?
A. Check if the field with the ok code attribute in the screen 100 contains the value ‘SAV’
B. Check if p_save-okcode equals to ‘SAV’.
C. Check if field SY-OKCODE contains the value ‘SAV’.
D. Check if p_save-ACTIVE = 1.
A. Check if the field with the ok code attribute in the screen 100 contains the value ‘SAV’