Current Knowledge Final Test

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Satbond
S
Satbond
Community Contributor
Quizzes Created: 1 | Total Attempts: 885
| Attempts: 885
SettingsSettings
Please wait...
  • 1/79 Questions

    You want to display a dialog box window . Which statement can you use to do this?    

    • WINDOW 200 starting at 5 5.
    • CALL SCREEN 200 STARTING AT 5 5.
    • CALL SCREEN 200.
    • SET SCREEN 200
Please wait...
Current Knowledge Final Test - Quiz
About This Quiz

This is a mock up exam covering week1-4 of the course. This test no way should be associated with the real exam, it just give you a feeler and gauge your current knowledge.
All the Best Passing this test no way guarantees that you will pass the actual exam you still need to read the books and study more till See morethe exam

Best of Luck
SN  


Quiz Preview

  • 2. 

    Which of the following are tools of ABAP Workbench? (3 correct answer)      

    • Human Capital Management System

    • Class Builder

    • Easy Access Menu

    • Screen Painter

    • Function Builder

    Correct Answer(s)
    A. Class Builder
    A. Screen Painter
    A. Function Builder
    Explanation
    The tools of ABAP Workbench include Class Builder, Screen Painter, and Function Builder. These tools are used for different purposes in ABAP development. The Class Builder is used to create and manage classes and objects. The Screen Painter is used to design the user interface of a program by creating screens and screen elements. The Function Builder is used to create and manage function modules, which are reusable blocks of code. The Human Capital Management System and Easy Access Menu are not tools of ABAP Workbench.

    Rate this question:

  • 3. 

    which of the following statement concerning with structures and internal tables in ABAP debugger?      

    • With the ABAP debugger, you can edit internal tables(for example append lines, delete lines, change contents

    • With ABAP debugger you can change the definition of the structure at run time

    • With the ABAP debugger you can create new data objects even if they are structures or internal tables.

    Correct Answer
    A. With the ABAP debugger, you can edit internal tables(for example append lines, delete lines, change contents
    Explanation
    With ABAP debugger you can manipulate the data, change the data, add new rows to the internal table, clear the internal table, delete a internal table row
    But what you cannot do is to manipulate the meta information like changing data types , adding new column or creating new data objects.

    Rate this question:

  • 4. 

    Which of the following statements are true about data type? (3 correct answer)      

    • Data types can be defined only in ABAP dictionary

    • Data type can be used to define a variable of constants.

    • Data types can be defined in the program.

    • Data types can be defined in ABAP dictionary

    Correct Answer(s)
    A. Data type can be used to define a variable of constants.
    A. Data types can be defined in the program.
    A. Data types can be defined in ABAP dictionary
    Explanation
    Data types can be used to define a variable of constants, meaning that a data type can be used to specify the type of value that a constant variable can hold. Data types can also be defined in the program, allowing for the creation of custom data types within the program itself. Additionally, data types can be defined in the ABAP dictionary, which is a central repository for storing and managing data definitions in the ABAP environment.

    Rate this question:

  • 5. 

    What is the reasonable sequence for following ABAP statement              

    • A

    • B

    • C

    • D

    Correct Answer
    A. A
  • 6. 

    You can realize the polymorphism between objects from different classes if these classes are connected via inheritance. For objects of classes that are not connected via inheritance, another technique exists to achieve polymorphism. With which of the following concepts you can also acheive polymorphism?        

    • The Friend concept

    • The Interface concept

    • The Event concept

    Correct Answer
    A. The Interface concept
    Explanation
    Using Interface concept also you can use Polymorphism concept using narrow or widening cast.

    Rate this question:

  • 7. 

    You want to have user entries on the selection screen checked( for example authorization check) . If there is any error , the user must correct the entries, which step you need to program?        

    • You need to program the check at the event AT SELECTION-SCREEN, if there is any error an E type MESSAGE must be output.

    • You need to program the check at the event END-OF-SELECTION, if there is any error an E type MESSAGE must be output.

    • You need to program the check at the event AT SELECTION-SCREEN, if there is any error , processing must be interrupted with a STOP statement and an message type I must be output.

    Correct Answer
    A. You need to program the check at the event AT SELECTION-SCREEN, if there is any error an E type MESSAGE must be output.
    Explanation
    All the validations on Selection screen data or authorization should be done at event AT SELECTION-SCREEN and if any error should output message of type "E" which will stop the navigation and the selection screen will be displayed again

    Rate this question:

  • 8. 

    What do you do if you want to extend SAP table sbook although in your company its strictly forbidden to modify SAP obejcts?      

    • You have to define a structure where you put in the field travel_agency in and include this structure in the SAP table sbook.

    • You have to create an append structure where you can define an appropriate field with name zztravel_agency

    • You have to extend the SAP table sbook by adding the field travel_agency directly into the definition of the table sbook.

    Correct Answer
    A. You have to create an append structure where you can define an appropriate field with name zztravel_agency
    Explanation
    Append Structure is an enhancement not a modification and when you enhance using Append structure all the column names should start with ZZ/YY

    Rate this question:

  • 9. 

    Which of the following command are allowed not if you are working with internal table of type sorted? (1 correct answers)      

    • MODIFY

    • INSERT

    • DELETE

    • SORT

    Correct Answer
    A. SORT
    Explanation
    When working with an internal table of type sorted, the SORT command is allowed. This command is used to sort the entries in the internal table based on a specified key field. The MODIFY, INSERT, and DELETE commands are not allowed because they can potentially disrupt the sorted order of the table. These commands are typically used with internal tables of type standard or hashed, where the order of the entries is not important.

    Rate this question:

  • 10. 

    Some transactions contain SELECT statements in their applications that causes a very long runtimes. You should now improve the performance without changing the program. What techniques can be suitable for increasing the performance during database table access? (2 correct answers)      

    • To unit the appropriate database in pool table

    • To define indexes for the appropriate database tables

    • To use table buffering for appropriate database tables

    • To put the appropriate database table in a special fast access tablespace of the database

    Correct Answer(s)
    A. To define indexes for the appropriate database tables
    A. To use table buffering for appropriate database tables
    Explanation
    For improving the performance of select or data retrieval following techniques could be used
    Create appropriate indexes
    Table buffering with relevant techniques(Full,Single,Generic)
    Logical databases(if more than one table is accessed frequently)
    Database views(if more than one table is accessed frequently)

    Rate this question:

  • 11. 

    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?      

    • SAPLZATP

    • SAPTZATP

    • SAPFZATP

    • SAPMZATP

    • ZATP

    Correct Answer
    A. SAPLZATP
    Explanation
    Whenever you create a Function Group, in the background SAP create s a ABAP main program with standard naming conventions as SAPL

    Rate this question:

  • 12. 

    You have defined classical screen with mandatory input field, you want “CANCEL” fuction to work even if not all the mandatory fields have been filled. How can you achieve this?      

    • The CANCEL fumction must have function code BACK

    • No special action required

    • There is no way to do this, you need to always fill in the required fields

    • You must temporarily switch of the required entry fields for the concerned input field within LOOP AT SCREEN... ENDLOOP.

    • The CANCEL function should be of type 'E' and must be handled in the module AT EXIT-COMMAND.

    Correct Answer
    A. The CANCEL function should be of type 'E' and must be handled in the module AT EXIT-COMMAND.
    Explanation
    To achieve the desired functionality, the CANCEL function should be of type 'E' and must be handled in the module AT EXIT-COMMAND. This means that when the user clicks on the CANCEL button, the AT EXIT-COMMAND module will be triggered, allowing the program to perform any necessary actions, such as saving partial data or closing the screen, even if not all mandatory fields have been filled.

    Rate this question:

  • 13. 

    SAP programer has written a standard program in way that it can call customer coding, you want to implement this coding . What is this technique called?      

    • Enhancements

    • Modifications

    • Corrections

    • Personalization

    • Repair

    Correct Answer
    A. Enhancements
    Explanation
    The technique being referred to in this question is called enhancements. Enhancements allow the standard program to be customized and extended by calling customer coding. This means that additional functionality can be added to the standard program without modifying the original code.

    Rate this question:

  • 14. 

    You write a ABAP executable program that displays the flight connections between two cities. You have provided selection parameters for departure city and destination city . In your program you have written event blocks for events AT SELECTION-SCREEN, INITIALIZATION, LOAD-OF-PROGRAM, START-OF-SELECTION. In which sequence will ABAP runtime call these event blocks    

    • INITIALIZATION, LOAD-OF-PROGRAM,START-OF-SELECTION, AT SELECTION-SCREEN.

    • INITIALIZATION, AT SELECTION-SCREEN, LOAD-OF-PROGRAM, START-OF-SELECTION

    • INITIALIZATION, LOAD-OF-PROGRAM, AT SELECTION-SCREEN, START-OF-SELECTION

    • LOAD-OF-PROGRAM, INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION.

    Correct Answer
    A. LOAD-OF-PROGRAM, INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION.
    Explanation
    The correct sequence of event blocks called by the ABAP runtime in this scenario is LOAD-OF-PROGRAM, INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION. The LOAD-OF-PROGRAM event block is called first to load the program into memory. Then, the INITIALIZATION event block is called to initialize variables and perform any necessary initializations. Next, the AT SELECTION-SCREEN event block is called to display the selection screen and handle any user input. Finally, the START-OF-SELECTION event block is called to execute the main logic of the program and display the flight connections between the selected cities.

    Rate this question:

  • 15. 

    You want to write subroutine names check_booking that receives a parameters of type sbook. You want to change fields of the actual parameter within your subroutine but only if your subroutine executes without any error. How do you declare the subroutine (1 correct answer)        

    • FORM check_booking USING VALUE(p_book = TYPE sbook ).

    • FORM check_booking CHANGING VALUE(p_book) TYPE sbook

    • ORM check_booking CHANGING p_book type sbook ON RETURN

    • FORM check_booking USING p_book TYPE sbook.

    Correct Answer
    A. FORM check_booking CHANGING VALUE(p_book) TYPE sbook
    Explanation
    CHANGING with the value is also called as PASS BY VALUE and RETURN, the value is send back to the calling program only at the end of the sub routine if there is no error.

    Rate this question:

  • 16. 

    On a classical screen (Dynpro) there is an input field for an airline code coming from the field carrid of the database table zcarr. This field carrid refers to the data element z_carr_id which itself refers to the domains z_char_3. You task is to change the F1 help of the field carrid on the dynpro. The documentation of which object do you have change in order the F1 help on the dynpro?        

    • Documentation of the domain z_char_3.

    • Documentation of the data element z_carr_id

    • Documentation of the field carrid of the table zcarr.

    Correct Answer
    A. Documentation of the data element z_carr_id
    Explanation
    DataElement have the following properties
    Field Labels
    Field Documentation(F1)
    Search Help(F4)
    Parameter ID (Get/Set Parameter)

    Rate this question:

  • 17. 

    In classical screen programming , where can you set the status and title for modal dialog box(popup)?      

    • At the event TOP-OF-PAGE.

    • In the PBO module of corresponding screen

    • In the PAI module of corresponding screen

    • In the attribute of corresponding screen

    Correct Answer
    A. In the PBO module of corresponding screen
    Explanation
    In classical screen programming, the PBO (Process Before Output) module is responsible for setting the initial values and attributes of the screen elements before they are displayed to the user. This includes setting the status and title for a modal dialog box or popup. Therefore, the correct place to set the status and title for a modal dialog box is in the PBO module of the corresponding screen.

    Rate this question:

  • 18. 

    In your program you need a name of the field of a structure wa_material at run time. Therefore you can use RTTI classes. The root class is CL_ABAP_TYPEDESCR, provides a public static functional methods describe_by_data. This method returns a reference of type CL_ABAP_TYPEDESCR.You have defined a reference r_descr as follows DATA: r_desc type ref to CL_ABAP_STRUCTDESCR. The class CL_ABAP_STRUCTDESCR is a subclass of CL_ABAP_TYPEDESCR. Which of the following statements are syntantically correct?              

    • R_desc = cl_abap_typedescr=>describe_by_data( wa_material ).

    • R_desc ?= cl_abap_typedescr=>describe_by_data( wa_material ).

    • R_desc != cl_abap_typedescr=>describe_by_data( wa_material ).

    Correct Answer
    A. R_desc ?= cl_abap_typedescr=>describe_by_data( wa_material ).
    Explanation
    The statement "r_desc ?= cl_abap_typedescr=>describe_by_data( wa_material )" is syntactically correct because it uses the comparison operator "?=" to check if the reference r_desc is equal to the reference returned by the method describe_by_data( wa_material ) of the class CL_ABAP_TYPEDESCR.

    Rate this question:

  • 19. 

    The SAP NetWeaver Application server offers the possibility to install an ABAP or JAVA stack. Which of the statements are true about possible combinations of ABAP and JAVA stack in one SAP NetWeaver Application Serve    

    • In one SAP NetWeaver Application Server there can be installed either an ABAP stack or JAVA stack , but never both the stacks.

    • In one SAP NetWeaver Application Server there can be installed either a stand alone ABAP stack or a stand alone JAVA stack or combination of ABAP and JAVA stack

    • In one SAP NetWeaver Application Server there can be installed either a stand alone ABAP stack or combination of ABAP and JAVA stack but never a stand alone JAVA stack.

    Correct Answer
    A. In one SAP NetWeaver Application Server there can be installed either a stand alone ABAP stack or a stand alone JAVA stack or combination of ABAP and JAVA stack
    Explanation
    The correct answer states that in one SAP NetWeaver Application Server, it is possible to install either a stand alone ABAP stack or a stand alone JAVA stack or a combination of ABAP and JAVA stack. This means that all three options are valid and can be chosen based on the specific requirements and needs of the system.

    Rate this question:

  • 20. 

    You need to create the ABAP program that list a invoice from a supplier. What types of programs can you create to achieve this goal? (2 correct answer)      

    • ABAP WebDynpro applications

    • ABAP Executable Program.

    • ABAP subroutine

    • ABAP Include program.

    Correct Answer(s)
    A. ABAP WebDynpro applications
    A. ABAP Executable Program.
    Explanation
    To execute a program within ABAP it has to be either ABAP Executable Program(Reports) which is executed in SAP GUI CLIENT, ABAP WebDynpro applications which is executed over the browser
    Other types of program which can be finally executed in ABAP is Module Pool(requires T Code)
    BSP applications

    Rate this question:

  • 21. 

    Which view allows a read only access? (Only 1 correct answer)                        

    • Database view with more than 1 table

    • Maintainence View

    • Projection view with 1 table

    Correct Answer
    A. Database view with more than 1 table
    Explanation
    Database view is always read only
    Maintainence view can be read/write

    Rate this question:

  • 22. 

    You should implement search help, where the data of search help should be selected via outer join . Which of the following types would you use?        

    • The HELP view

    • The DATABASE view

    • The MAINTAINENCE view

    Correct Answer
    A. The HELP view
    Explanation
    For a search help the base could be either Table or View
    For view you can specify either database view or Help view
    database view is always inner join, so if in your Search help you want left outer join data, you need to specify Help view which is always left outer join and used with search helps only.

    Rate this question:

  • 23. 

    Yyou 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 ?      

    • Select * from bkpf INNER JOIN bpos on bkpf.belnr = bpos.belnr into wa WHERE bkpf.belnr = '1000'.

    • Select * from bkpf RIGHT OUTER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = '1000'

    • Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = '1000'.

    Correct Answer
    A. Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = '1000'.
    Explanation
    The correct statement to achieve displaying the data of accounting documents with BELNR = 10000 from table BKPF and BPOS is "Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = '1000'." This statement uses an INNER JOIN to combine the data from both tables based on the BELNR field, and then selects the rows where BELNR is equal to '1000'. The result is stored in the internal table "wa".

    Rate this question:

  • 24. 

    After creating a Search Help in ABAP dictionary you have to attach this search help to a field (There are 3 correct answers)                        

    • A Search Help can be attached directly to a field of structure or table

    • A Search help can be attached to a check table of the ABAP dictionary field

    • A Search Help can be attached to the data element.

    • A Search Help can be attached to the domain.

    Correct Answer(s)
    A. A Search Help can be attached directly to a field of structure or table
    A. A Search help can be attached to a check table of the ABAP dictionary field
    A. A Search Help can be attached to the data element.
    Explanation
    Search Help can be attached at following level
    at the field of table/structure
    at the table level of check table
    at the data element
    You cannot attach the search help at the domain level
    Domain can have following properties
    Fixed Value, Value range and Value table

    Rate this question:

  • 25. 

    One of your colleague has left the company and now you are in charge of al lhis programs.One program deals with handling the list, you go through the coding, and in the main part of the program you find the following lines DATA: current_list TYPE I. current_list = cl_list=>number_of_lists(). What type of component is the number_of_list?              

    • Number_of_list is public static functional method of the class cl_list.

    • Number_of_list is public static attribute of class cl_list

    • Number_of_list is public instance functional method of class cl_list

    • Number_of_list is public instance attribute of class cl_list

    Correct Answer
    A. Number_of_list is public static functional method of the class cl_list.
    Explanation
    The correct answer is that "number_of_list is a public static functional method of the class cl_list." This means that number_of_list is a method that can be accessed without creating an instance of the class cl_list, and it performs a specific function or operation.

    Rate this question:

  • 26. 

    You want to implement a BADI that provides a functional enhancement. What do you need ?    

    • Define an interface for BADI

    • Implement a class which implements BADI

    • Create an enhancement project with CMOD

    • Call a BADI

    Correct Answer
    A. Implement a class which implements BADI
    Explanation
    To implement a BADI that provides a functional enhancement, you need to implement a class which implements the BADI. This means creating a class that defines the necessary methods and functionality to enhance the desired functionality. This class will then be used to implement the BADI and provide the required enhancement.

    Rate this question:

  • 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?      

    • Check if the field with the ok code attribute in the screen 100 contains the value 'SAV'

    • Check if p_save-okcode equals to 'SAV'.

    • Check if field SY-OKCODE contains the value 'SAV'.

    • Check if p_save-ACTIVE = 1.

    Correct Answer
    A. Check if the field with the ok code attribute in the screen 100 contains the value 'SAV'
    Explanation
    In order to check if the user has clicked on the push button with function code 'SAV', the correct approach is to check if the field with the ok code attribute in the screen 100 contains the value 'SAV'. This can be done by comparing the value of the field with the ok code attribute to 'SAV'. If they are equal, it means that the user has clicked on the button with the function code 'SAV'.

    Rate this question:

  • 28. 

    You detected an error in SAP standard program , you need to correct this error in the development system and then transport it to the production system . What is this action called?      

    • Support Package

    • Repair

    • HotFix

    • Modification

    Correct Answer
    A. Repair
    Explanation
    Process of modifying SAP's standard program and transporting to next system is called as REPAIR

    Rate this question:

  • 29. 

    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)    

    • The text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table.

    • The text table zdepartmentt as atleast one text field which is not a key field.

    • The text table zdepartmentt is a cluster tables

    • The text table zdepartmentt has same key fields as zdepartment plus one additional key field of data type LANG.

    Correct Answer(s)
    A. The text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table.
    A. The text table zdepartmentt as atleast one text field which is not a key field.
    A. The text table zdepartmentt has same key fields as zdepartment plus one additional key field of data type LANG.
    Explanation
    The correct answer is that the text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table. This means that the text table references the main table using the key fields as the foreign key. Additionally, the text table zdepartmentt must have at least one text field that is not a key field. Lastly, the text table zdepartmentt should have the same key fields as zdepartment, plus one additional key field of data type LANG. This additional key field is used to store the language of the text.

    Rate this question:

  • 30. 

    Which kind of enhancements can BADIs provide? (3 correct answers)      

    • Table Enhancement

    • Menu Enhancement

    • Functional Enhancement

    • Data Element Enhancement

    • Screen Enhancement

    Correct Answer(s)
    A. Menu Enhancement
    A. Functional Enhancement
    A. Screen Enhancement
    Explanation
    BADI's only provide Menu, Screen and Program(functional enhancement)

    Rate this question:

  • 31. 

    Which of the following places uses TYPES? (3 correct answer)    

    • Definition of method parameters.

    • Definition of subroutine parameters

    • Definition of parameters for PBO modules

    • Definition of selection screen parameters.

    Correct Answer(s)
    A. Definition of method parameters.
    A. Definition of subroutine parameters
    A. Definition of selection screen parameters.
    Explanation
    The correct answer is Definition of method parameters, Definition of subroutine parameters, and Definition of selection screen parameters. These are all examples of places where TYPES are used. In the context of programming, TYPES refer to the specification or definition of data types for variables or parameters. In the given options, method parameters, subroutine parameters, and selection screen parameters are all places where the data types of variables or parameters need to be defined.

    Rate this question:

  • 32. 

    You execute the ABAP program with several dialogs steps(screen) which statements is correct?      

    • The ABAP dispatcher takes over the entire execution of the ABAP program and gets the user context of the program from roll area

    • 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).

    • 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.

    Correct Answer
    A. 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).
    Explanation
    The program components for the individual dialog steps are usually executed in various dialog work processes that are released once the program components have been processed. This means that each dialog step is executed in a separate work process, allowing for parallel processing and efficient use of system resources.

    Rate this question:

  • 33. 

    What you can control using the field catalog of SAP ALV GRID Control (3 correct answer)                        

    • Hide Individual Columns

    • Specify color of the list rows

    • Set the output characteristics of a column position or width

    • Influence the format properties of column contents, such as number of decimal places or the alignment of the content cell.

    Correct Answer(s)
    A. Hide Individual Columns
    A. Set the output characteristics of a column position or width
    A. Influence the format properties of column contents, such as number of decimal places or the alignment of the content cell.
    Explanation
    Using Field Catalog, you can create custom fields, show or hide specific column
    specify the position, format characteristics of each column
    All the options in field catalogs are meant for columns not for the the rows

    Rate this question:

  • 34. 

    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)        

    • Declare the work area containing fields MATNR, ENAM and EDAT and use select matnr ename edat from MARA into wa. ENDSELECT.

    • Declare the work area of type MARA and use select* from MARA into wa.ENDSELECT.

    • Declare the work area of type MARA use select matnr ename edat from MARA into wa.ENDSELECT.

    • Declare the work area containing fields MATNR, ENAM and EDAT and use select* from MARA into correspodnig fields of wa.ENDSELECT.

    Correct Answer
    A. Declare the work area containing fields MATNR, ENAM and EDAT and use select matnr ename edat from MARA into wa. ENDSELECT.
    Explanation
    For better performance you should select specific columns and carete the work area with required number of columns

    Rate this question:

  • 35. 

    What kind of controllers exists within a Web Dynpro component ? (Only 3 correct answers)        

    • View Controllers

    • Exactly one Component Controller

    • User Controller

    • Window Controller

    Correct Answer(s)
    A. View Controllers
    A. Exactly one Component Controller
    A. Window Controller
    Explanation
    A WebDynpro component has following types of controller
    Component Controller(only one)
    View Controllers(one for each view)
    Window Controllers(one for each window)
    Custom Controllers
    Interface Controller
    Configuration Controller

    Rate this question:

  • 36. 

    Why doesnt SAP recommends to modify the SAP standard programs. (2 correct answer)      

    • To simplify the upgrade to new versions

    • To avoid performance problems

    • To ensure smooth support from SAP

    • To protect SAP's intellectual property.

    Correct Answer(s)
    A. To simplify the upgrade to new versions
    A. To ensure smooth support from SAP
    Explanation
    SAP does not recommend modifying SAP standard programs to simplify the upgrade to new versions because any modifications made to the standard programs may not be compatible with the new version, causing issues during the upgrade process. Additionally, modifying the standard programs can lead to performance problems as the modifications may not be optimized. SAP also recommends not modifying the standard programs to ensure smooth support from SAP, as any modifications may make it difficult for SAP support teams to troubleshoot issues. Finally, not modifying the standard programs helps protect SAP's intellectual property as the standard programs are designed and owned by SAP.

    Rate this question:

  • 37. 

    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?    

    • In th event block GET SCARR.

    • In the PBO module of the selection screen

    • In the event block AT USER-COMMAND

    • In the event block AT SELECTION-SCREEN.

    Correct Answer
    A. In the event block AT SELECTION-SCREEN.
    Explanation
    In the event block AT SELECTION-SCREEN, the authority check with authorization object S_CARRID is performed. This ensures that users will be forced to re-enter the carrier if they type in a carrier for which they don't have authorization.

    Rate this question:

  • 38. 

    Which of the following statements are true about SAP NetWeaver? (3 correct answer)    

    • The main purpose of SAP NetWeaver is to integrate people, information and process to provide platform for applications.

    • SAP ERP is part of SAP NetWeaver

    • The Industrial Solution Utilities(ISU) is part of SAP NetWeaver

    • SAP NetWeaver can be used to integrate non-SAP application systems.

    • The Bank Analyzer is part of SAP NetWeaver

    • SAP NetWeaver provides tools to integrate a hetrogeneous software landscape.

    Correct Answer(s)
    A. The main purpose of SAP NetWeaver is to integrate people, information and process to provide platform for applications.
    A. SAP NetWeaver can be used to integrate non-SAP application systems.
    A. SAP NetWeaver provides tools to integrate a hetrogeneous software landscape.
    Explanation
    SAP NetWeaver is a platform that aims to integrate people, information, and processes to provide a platform for applications. It allows for the integration of non-SAP application systems, making it versatile in integrating various software landscapes. Additionally, SAP NetWeaver provides tools to integrate a heterogeneous software landscape, further enhancing its integration capabilities.

    Rate this question:

  • 39. 

    You review a ABAP program that needs to be migrated to a Unicode system. Within the program, two data objects city and member are declared in following way DATA: city(20) TYPE c,            Begin of Member,                          firstname(20) TYPE c,                          lastname(20) TYPE c,                          age                 TYPE i,                          city(20)           TYPE c,            End of Member. START-OF-SELCTION. city = member+44(20). Why the above line doesnot work as expected?    

    • Because you cannot read beyond the non character data within the structure using offset notations

    • Because the result of offset calculations depends on the Unicode codepage used.

    • Because the integer has 8 bytes

    • Because of the Unicode systems, offsets are allowed for unstructured data objects only.

    Correct Answer
    A. Because you cannot read beyond the non character data within the structure using offset notations
    Explanation
    In the UNICODE system, if you are using offset and length specification for accessing the structure, the offset should start with character data, offset and length are interpreted as characters

    Rate this question:

  • 40. 

    You have implemented a class CL_CUSTOMER where you have defined a private instance variable , from where you can access the private instance attribute directly? (2 correct answer)      

    • You have direct access to the attribute name from all methods of the class cl_customer itself

    • You have direct access to the attribute name from the main part of the program.

    • You have the direct access to the attribute name of all methods of all the subclasses of cl_customer

    • You have direct access to the attribute name from all the methods of a class cl_friend, where cl_customer grants friendship to the class cl_friend.

    Correct Answer(s)
    A. You have direct access to the attribute name from all methods of the class cl_customer itself
    A. You have direct access to the attribute name from all the methods of a class cl_friend, where cl_customer grants friendship to the class cl_friend.
    Explanation
    Once you declare a private variable/method, it can be accessed within the same class or to another class to whom CL_CUSTOMER grants friendship

    Rate this question:

  • 41. 

    You want to create Web Dynpro component with two view. The selection view contains two input fields for departure and arrival city and a button to trigger the search flight connections between two cities. The resulting view contains a table that displays the found flight connections and a button to navigate back to selection. In each view you have defined an outbound plug that will be fired by pressing the button in that view. Furthermore you have defined the inbound plug in each view. Which is the easiest way to define the navigation structure between two views?      

    • Create a combi view that contains two viewcontainerui element controls. Embed the combi view in a window and the other two views in the viewcontainerui element . Then connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.

    • Embed each view in its own window . Then connect the outbound plug of the selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.

    • Embed both the views in same window, within the window connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.

    • Create a combi window that contains two Viewcontainerui element , Embed these two view in two viewcontainerui element. The connect outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.

    Correct Answer
    A. Embed both the views in same window, within the window connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
    Explanation
    Embedding both views in the same window and connecting the outbound plug of the selection view to the inbound plug of the result view, and vice versa, is the easiest way to define the navigation structure between the two views. This allows for seamless navigation between the selection view and the result view, as the outbound plug of one view connects directly to the inbound plug of the other view within the same window.

    Rate this question:

  • 42. 

    You create the classical screen (dynpro) to enter flight connection data. Each connection is identified by the contents of the fields MANDT, CARRID and CONNID in the database table spfli. The carriers are stored in the scarr table and identified by CARRID . What is the easiest way to ensure that only CARRID values from field SCARR-CARRID can be entered in the dynpro?      

    • Maintain SCARR as the value table of the domain of SPFLI-CARRID.

    • Implement a search help that ensures that user can enter only correct values.

    • Implement a PAI module that check the user have entered correct values.

    • Define SCARR-CARRID as foreign key with check table SPFLI and foreign key as MANDT and CARRID

    • Define SPFLI-CARRID as foreign key with check table SCARR with foreign key as MANDT and CARRID

    Correct Answer
    A. Define SPFLI-CARRID as foreign key with check table SCARR with foreign key as MANDT and CARRID
    Explanation
    The easiest way to ensure that only CARRID values from the field SCARR-CARRID can be entered in the dynpro is to define SPFLI-CARRID as a foreign key with a check table SCARR. This ensures that the values entered in SPFLI-CARRID are validated against the values in SCARR-CARRID. Additionally, the foreign key should include MANDT and CARRID as the foreign key fields to ensure data consistency.

    Rate this question:

  • 43. 

    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?    

    • Use the statement TABLES: SDYN_CONN to declare the structure named SDYN_CONN in the top include of your program.

    • Use the statement GET FIELD SDYN_CONN in the PAI module user_command_100.

    • Use DATA statement to declare a structure SDYN_CONN in the top include of your program.

    • Use the statement GET FIELD in the PAI logic of the Dynpro.

    Correct Answer
    A. Use the statement TABLES: SDYN_CONN to declare the structure named SDYN_CONN in the top include of your program.
    Explanation
    To access the data entered in the PAI processing, you need to declare the structure named SDYN_CONN in the top include of your program using the statement TABLES: SDYN_CONN. This allows your ABAP program to access the data entered in the input field of screen 100, which refers to the ABAP dictionary structure SDYN_CONN.

    Rate this question:

  • 44. 

    Which of the following are true about subscreens (2 correct answer)                        

    • Subscreens have their own ok code fields

    • Subscreens may have their own PBO and PAI logic

    • You call subscreen using ABAP command CALL SUBSCREEN

    • You call subscreen using SCREEN command CALL SUBSCREEN.

    Correct Answer(s)
    A. Subscreens may have their own PBO and PAI logic
    A. You call subscreen using SCREEN command CALL SUBSCREEN.
    Explanation
    Subscreen don't have their own okcode, okcode are defined in the normal screens
    Subscreen can have their won PBO and PAI
    subscreen is called used screen command CALL SUBSCREEN

    Rate this question:

  • 45. 

    You like to create a list with the global class CL_GUI_ALV_GRID. In the class the event DOUBLE_CLICK is defined. This event is triggered whenever a user double clicks a line in the ALV,. In your case every time the user makes the double click on the list a popup should appear which shows the number of the line on which has been double clicked. What do you have to do therefore? (2 correct answer)                  

    • Define a local class in which event DOUBLE_CLICK is redefined and raised.

    • Write a handler method for the event DOUBLE_CLICK of the class CL_GUI_ALV_GRID, which calls the dialog box.

    • Register for the event DOUBLE_CLICK by using SET_HANDLER statement.

    • Catch the Event DOUBLE_CLICK with the CATCH statement under which the dialog box call is implemented

    Correct Answer(s)
    A. Write a handler method for the event DOUBLE_CLICK of the class CL_GUI_ALV_GRID, which calls the dialog box.
    A. Register for the event DOUBLE_CLICK by using SET_HANDLER statement.
    Explanation
    You need to create a local class if which you write the handler method for the event DOUBLE_CLICK of class CL_GUI_ALV_GRID
    You need to register the event DOUBLE_CLICK using the SET_HANDLER statement.

    Rate this question:

  • 46. 

    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)    

    • 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”

    • Several watchpoints can be combined using AND or OR

    • Watchpoint can be created using ABAP menu Goto->create watch point.

    • You can define the watchpoint only from within the debugger.

    Correct Answer(s)
    A. Several watchpoints can be combined using AND or OR
    A. You can define the watchpoint only from within the debugger.
    Explanation
    Watch points are used during debugging to monitor specific data objects in the program. The system will stop execution and issue a "Watchpoint reached" message if the contents of the related data objects are changed. Multiple watchpoints can be combined using AND or OR operators to monitor multiple data objects simultaneously. Watchpoints can only be created from within the debugger, using the ABAP menu Goto->create watch point.

    Rate this question:

  • 47. 

    You want to add two field to SAP standard table using append technique. What do you have to keep in mind of this technique? (Only 2 correct answers)                      

    • The name of Append structure should start with ZZ or YY.

    • An Append structure can be assigned to more than 1 table

    • The fields of the Append structure should start with ZZ or YY

    • Append structures must be compared with the SAP original in release upgrade

    • Append structures are not possible for tables containing long field

    Correct Answer(s)
    A. The fields of the Append structure should start with ZZ or YY
    A. Append structures are not possible for tables containing long field
    Explanation
    Append structure name can start with Z or Y
    Append structure field name should start with ZZ/YY
    One Append structure can be used in only one table
    If the table has Long fields you cannot use Append structures
    Append structure is an enhancement , so during the upgrade there is no need to do any adjustment.

    Rate this question:

  • 48. 

    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?      

    • Define a append structure with these two fields and assign the append structure to both the tables.

    • Define two fields separately in both the tables.

    • Define structure with these two fields and include the structure in both the database tables.

    Correct Answer
    A. Define structure with these two fields and include the structure in both the database tables.
  • 49. 

    In a class cl_vehicle, you need get_fuel method , which estimates the fuel consumption of a vehicle. This method is implemented as functional method . How you define a functional method? (2 correct answers)    

    • Functional method can have any number of importing and exporting parameters

    • You can use functional methods directly in arithmetic expressions

    • A functional methods needs atleast one return statement.

    • A functional method has exactly one returning parameter.

    Correct Answer(s)
    A. You can use functional methods directly in arithmetic expressions
    A. A functional method has exactly one returning parameter.
    Explanation
    A functional method can be used directly in arithmetic expressions because it returns a value that can be used in calculations. Additionally, a functional method has exactly one returning parameter, meaning it only returns one value.

    Rate this question:

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 28, 2011
    Quiz Created by
    Satbond

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.