Вы находитесь на странице: 1из 27

At what point does the standard selection screen (as a result of a select-options) get displayed Before the Report

Statement At Start-of-Selection event After Initialization event Prior to Initialization event Mark the 3 system fields that are continually maintained by the list SY-LINSZ SY-TITLE SY-LINNO SY-COLNO SY-PAGNO When processing web requests, how does the ICM (Internet Communication Manager)determine where it should forward the request It determines by the application being processed It uses the URL to make the determination It uses the SAP GUI type to make the determination It determines based on the user profile What determines if a table is Client Specific versus client independent. Depends how Basis has configured the client The option 'Client Specified' is added to the Select statement The first field is mandt with a domain CLNT but not specified as a key field The first field is mandt with a external data type CLNT and specified as a key field What requirement exists if a field is defined in the dictionary of type CURR The field must be numeric No other requirement exists Decimals must be defined in the domain The field must be linked to another field of type CUKY Where in a program would you create the objects for ALV control In a PBO Module In a PAI Module

In the Load-of-Program Event At Start-of-Selection event Mark the code that will display the selection screen of the called program ZTST. SUBMIT ZTST VIA SELECTION-SCREEN USING SELECTION-SET 'VAR1' SUBMIT ZTST USING SELECTION-SET 'VAR1' SUBMIT ZTST AND RETURN SUBMIT ZTST VIA SELECTION-SCREEN What is contained in the system variable sy-linsz. height of the current line width of the current line row count of the current line size of vertical bars in your list

In what manner can lists be saved. Local File to the application server SAPOFFICE ABAP Editor HTML Format on local PC Report Tree On what line does the output 'AAAA' appear in the following code REPORT ZPGM NO STANDARD PAGE HEADING. DO 8 TIMES. WRITE / ' '. ENDDO. SKIP. WRITE 'AAAA'. 1 10 2 9 Which list processing event is used to create Page footers END-OF-PAGE TOP-OF-PAGE AT LINE-SELECTION NEW-PAGE END-OF-SELECTION

Identify the key assignments for function keys in a GUI Status Recommended Function Keys Suggested Function Keys Freely Assigned Function Keys Reserved Function Keys Random Function Keys What does the DESCRIBE TABLE statement provide to the program Access Type Key length Key Uniqueness Key Defintion Values supplied to variants are stored in which table. TVAR TVARV PARM T006 What does a LDB provide. Consistent and flexible user interface Centrally defined authorization checks A method to access the data in a random manner Central performance improvements for update accesses What is true about both synchronous and asynchronous Remote Function Calls. They are executed on another R/3 database server The function module forms its own Database LUW All parameters must have a dictionary reference The remote function will continue to execute even if the caller is no longer active What is needed in your tabstrip to have scrolling take place on the application server Assign Function Type = P Assign Function Code = P Assign Function Code = Space

Assign Function Type = Space Which statements are true about table controls? Page scrolling using the standard toolbar is automatic and can be controlled by the user The sort option is automatic and can be controlled by the user Column sizing is adjustable and can be controlled by the user Table control rows are scrollable What is the value of sy-subrc when the user presses cancel after a screen has been displayed using the Call Selection-Screen statement 0 8 4 -1

What is true about Dialog programs. Dialog Programs do not require a transaction to execute the module pool Screens are optional in a dialog program. Transactions are a vehicle to execute dialog programs update and enqueue techniques are important. The flow logic is contained in Modules Mark the invalid flow logic statement. 10 PROCESS BEFORE OUTPUT. 20 MODULE SET_STATUS_0100. 30 Set Titlebar 'ABC'. 40 CALL SUBSCREEN SUB INCLUDING 'SAPMZABC' '110'. 50 LOOP. 60 MODULE CHECK_LOOP. 70 ENDLOOP. 80 PROCESS AFTER INPUT. 90 MODULE USER_COMMAND_0100. 100 FIELD FLIGHT MODULE CHECK_FLIGHT ON-REQUIRED. 40 20 100 30 50 Which Number range function would you use to determine if an external number

lies in a specified number range interval. NUMBER_RANGE_INTERVAL_LIST NUMBER_GET_INFO NUMBER_GET_NEXT NUMBER_CHECK . NUMBER_RANGE_EXTERNAL_CHECK You have issued a Set Titlebar in the PBO of your screen. How long will the title remain active Until the Next screen change Until the next DB Luw Until the next Set TitleBar statement n PBO, what field contains the total number of lines in table control tc_flight SY-DYNNR SY-STEPL TC_FLIGHT-TOTAL_LINES TC_FLIGHT-LINES Where in a function exit does the customer code get inserted In the function module itself that corresponds to the enhancement component In the include of the calling program that calls the function In the program that calls the function module that corresponds to the enhancement component In the include program that can be found in the function module that corresponds to the enhancement component When implementing a BADI that is filter dependent, how does the filter value get passed to the method ? There is no need to pass to the method as a parameter The filter value gets passed as a reference variable The filter value is passed to the method as an import parameter The filter value is passed to the method as an export parameter

Refer to the code below and select the correct method Data: rf_enh type ref to if_ex_mybadi. call method cl_exithandler=>get_instance changing instance = rf_enh call method get_instance->methodname call method rf_enh->methodname call method cl_exithandler->methodname call method rf_enh=>methodname What type of function will trigger the modification assistant to insert a modifiable line range Delete Change Replace Add Insert What is the term used when a change is made to a customer object in a system other than the original system Modification Change Correction Repair

Identify the processing blocks of an ABAP program Function Declarations Dialog Module Event Identify the standard methods commonly found in BAPI's UPDATEDETAIL GETLIST CREATELIST CREATEFROMDATA GETDETAIL In what table are messages stored MSG T100 T001 T010 Identify characterisics of variants Used to calculate values Cross client Used to hide input fields Used to protect fields

At what point does the standard selection screen (as a result of a select-options) get displayed At Start-of-Selection event Prior to Initialization event After Initialization event Before the Report Statement What is true about the SAP Repository Objects in the repository can be viewed across clients Objects created using the IMG are stored in the repository It stores client-specific objects It stores development objects What internal table type can only be accessed by its key Standard Keyed Hashed Sorted What does a context object provide Stored calculated values on the presentation server Increased Database Load Object oriented Programming Smaller and simpler Programs Reuseability What access method is available for hash tables? Indexed Keyed Sorted Hashed Which field gets filled by the values for Exceptions in a function module Export Sy-SUBRC Import

Exceptions What type of requests are used to transport repository objects Object Browser Customizing Repository Workbench Defining a Lock Object as Exclusive would specify what kind of locking Prevents a single user with read-write access from attaining further locks to the same set of table rows. This is useful when you are using recursive routines to make updates. allows multiple users to access the specified table rows, but with read-access only. No write-accesses are allowed at any time. Gives a single user read and write access to the specified table rows. No other users may access the rows.

What Functions are generated on the Activation of Lock Object EZMARA. DEQUEUE_EZMARA DEQUEUE_EZ_MARA ENQUEUE_EZ_MARA ENQUEUE_EZMARA When a COMMIT WORK is issued, in what order does processing occur. Refer to the following code 1. Dialog-task FORM routines logged with PERFORM. ON COMMIT. 2. High-priority (V1) update-task function modules. 3. Low-priority (V2) update-task function modules. 1, 2, 3 3, 2, 1 2, 3, 1 What would be a reason for choosing to use asynchronous updates in your ABAP program. your program need the updates completed in order to continue processing your updates need to run together as a logical unit To improve user response time Immediate updates to the Database are required What order is recommended when setting and releasing locks in your program read data,lock data, update database, release locks lock data, read data, update database, release locks lock data, read data, release locks, update database

Which update request always run asynchronously V1 Transactional V2 Local Identify the ABAP OO Event signature protocols Events can only have importing Parameters Events can only have exporting Parameters Exporting parameters can only be passed by value Exporting parameters can only be passed by reference Which of the following answers characterize ABAP OO events Methods subscribe to classes Events subscribe to classes Classes trigger events Classes subscribe to events Start-of-selection is an OO event What syntax provides access to individual components of a class within the class ME-> CALL METHOD ME-> CALL METHOD object instance->ME-> object instance->ME-> A MOVE_CAST_ERROR runtime error just occurred. Identify the cause. Super class and subclass both point to an instance of the same class type Casting a super class to a subclass when superclass does not point to an instance of the subclass type Super class method is called from the subclass Subclass reference variable correpsonds to the superclass reference variable Where are the methods of a class implemented Definition part of Class Call method of the class

Object instantiation part of a program Implementation part of a class Finish the sentence. Propogating exceptions requires __________________. the Raising cx_class parameter as part of the method signature where the exception is raised a handler for the exception the Raising cx_class parameter as part of the method signature of the calling method a Cleanup Statement What method of Class CL_GUI_ALV_GRID would be used to display the contents of an internal table REFRESH_TABLE_DISPLAY SET_TABLE_FOR_FIRST_DISPLAY CONSTRUCTOR SET_TABLE_FOR_DISPLAY

Identify the correct syntax for a singleton class class lcl_singleton definition. class lcl_singleton definition final create private. class lcl_singleton definition create private. class lcl_singleton definition final. Constructors have special considerations. Identify the incorrect statement below. The Constructor must defined in the Public section The signature can consist only of import and exception parameters A class can have multiple constructors Gernerally, constructor methods can not be called The run time constructor executes when there is no constructor explicitly defined in the class What kind of methods can be defined to an Object Oriented transaction ? static methods public method in a global class instance methods private method in a global class public method in a local class of a program At what point does an Object Reference get assigned to the SENDER during event handling? Methods: get_paid FOR EVENT cheque_issued OF lcl_employee IMPORTING im_emp_number SENDER. RAISE Event cheque_issued Set Handler get_paid for SENDER When the EVENT cheque_issued is defined in the Class Definition Set Handler get_paid for all instances When the event handler method get_paid is executed Identify the statement about Global Classes that is NOT true Global classes are stored in TADIR with key R3TR CLAS A method to be transported is identified in transport organiser as LIMU METH Programs that are available to Global Classes must be associated in Class Builder

Access to a global class is done as a reference variable using TYPE REF TO Class Builder can be used to test global classes Identify the characteristic that is not true about a BAPI A BAPI is defined in the Business Object Repository A BAPI uses defined return structures to indicate success or failure A BAPI is a method of a Business Object A BAPI is defined as part of a Business Object A BAPI raises exceptions What conditions apply for a LEFT Outer Join in OPEN SQL Only 'Or' can be used as a logical operator in the ON condition At least one field frorm the table on the right is required for comparison in the ON condition A join statement is found to the right of the join operator A Left Outer Join is not permitted in OPEN SQL

When is it better to buffer the table When a table is read frequently and the data is always changing When a table is read infrequently When a table is linked to check tables When a table is read frequently and the data seldom changes Where do the fixed values of a domain get checked When a SQL Insert is performed In Screens only When user presses F1 - Technical info When a SQL Update is performed Where does information come from when you press F1 on a screen field Data element documentation Domain Help values Search help Domain short text What is the READ LINE statement used for. Reading Secondary Lists Reading Internal Tables Reading Database Tables Reading the Basic List

What is true about Extract dataset. Definition of a field group immediately reserves storage space for the fields More than one Extract Dataset is allowed per program The field group HEADER is part of each extract record The Header Must be defined as one of the field groups An extract dataset may consist of records with different structures What is the purpose of the Nodes statement in an ABAP program Sets up an address pointer to the nodes in the shared memory buffers Points to cluster tables Specifies the logical database Indicates the nodes from the logical database What methods can be used to set the values for printing an online list. NEW-PAGE PRINT ON Function SET_PRINT_PARAMETERS Function GET_PRINT_PARAMETERS Include SET_PRINT_PARAMTERS Upon what condition will a transaction be directly called from a GUI Status The Function Type is set to S The Transaction Type is set to T The Function Code is left blank The Function Type is set to T Within the AT USER-COMMAND processing block which system variable is used to check the function code SY-FCODE SY-KEY SY-GUI SY-UCOMM Programs that extend beyond transaction limits and want to pass data should use Tables

SAP Memory ABAP/4 memory Identify the clause that is used to suppress standard headers Suppress Standard No Standard Heading No Standard Page Heading System>List>Save What technique would you use to fix the 10 leftmost columns on a list when scrolling to the right Scroll List Left Set Left Scroll-Boundary Column 10 Set Right Scroll-Boundary Column 10 Scroll List PS+<10>

What authorization object can be used to restrict users from processing nodes in the reporting tree. S_DEVELOP S_PROGRAM Local File to the application server S_TREE S_NODE S_EXECUTE Mark the valid logical nodes. Table Structure Node File Complex Data Object What is true about the LEAVE TO LIST-PROCESSING statement. The invoking module pool still retains control of execution Enables processing of ok_code functions Enables execution of interactive reporting events Data available in the dialog program must be passed to the list The CALL SCREEN xxx statement is possible

When does the dialog processor perform automatic checks After PAI Processing is complete After the User has pressed enter and before the PBO modules are processed Before PBO Processing Begins After the User has pressed enter and before the PAI modules are processed Mark the Program Attribute that is used to define a Dialog Program M D R 1 What is proper coding practice in the flow logic of a Dynpro when a subscreen is defined on the screen Call Subscreen in the PAI and PBO Call Subscreen in the PBO only Call Subscreen in the PAI only The Call Subscreen statement is not required What are some essential steps for logging changes made to SAP data. Mark the change document flag on the domain of the field where logging is required Define a change document object Call the generated change doc function (i.e. obj_write_document) in an ABAP program Create a function to update tables CDHDR and CDPOS What is the difference between call screen and set screen Call Screen is used only for external screens. Set screen is only for screens in the same module pool There is no difference Call screen executes and returns to the point of call. Set Screen does not Set screen executes and returns to the point of call. Call Screen does not After changing a field attribute in a dynpro , what statement is used to activate the change.

MODIFY SET ACTIVATE COMMIT What is the order of transport in PBO when a table control is defined in your module pool Dictonary Fields followed by Program Fields All fields regardless of table control definition are transported at the beginning of PBO Table control fields followed by the remaining screen fields Screen fields followed by table control fields If you are using a screen exit provided by a SAP application, when typically does the data get exported to the subscreen In a PBO module of the main screen In a PBO module of the subcreen In a PAI module of the main screen In a PBO module of the subscreen What is SAP Software Change Registration (SSCR) used for To register Customizing made by a developer To register custom developed modifications made by a developer To register SAP modifications made by a developer To register enhancements made by a developer A customer defined enhancment project uses function group XG99. Identify the invalid include generated for the enhancement project ZXG99U01 ZXG99L01 ZXG99E01 ZXG99F01 Where in a function module XAAA would global data of an enhancement be declared In the TOP include ZxaaaTOP In the Include with your other code changes In the TAP include LxaaaTAP

In the TOP include LxaaaTOP An Authorization Object can contain how many authorization fields defined by Basis 0 10 unlimited

What determines the language the text elements will be displayed The text symbols The logon language The user master record The logon screen What interface parameter would you check to determine the success of a BAPI call Exceptions Parameter 'RETURN' Export Parameter 'RETURN' Dictionary Structure BAPIRET2 Export Parameter 'sy-subrc' What tool is used to define flow logic Function Builder Screen Painter ABAP Editor Flow Logic Editor On the Program Attributes screen, mark the fields that are mandatory when creating a program. Program Name Application Type Title Status In what case would you typically use a NUMC field Where only numbers are allowed and there is no need for arithmetic operations Where only numbers are allowed and there is a need for arithmetic operations Where there is a need for numbers, characters, and arithmetic operations How are repository objects organized By group By development class

By repository class By user How many column headers are displayed on the screen in a standard list 1 4 2 There are no column headers Mark the valid use of the data statement. Assume that ZBOOK-ID is a dictionary object Data fielda like zbook-id Data fielda(5) like zbook-id Data fielda type c like zbook-id Data fielda value zbook-id

Three Locks have been set in a Transaction. What are methods that would cause the release of all three. End the Transaction Program ends abnormally CALL FUNCTION DEQUEUE_ALL Reset Command Commit Work What message type does not implicitly trigger database commits for the table updates specified in your program E type MESSAGE statement W type MESSAGE statement A type MESSAGE statement I type MESSAGE statement S type MESSAGE statement How does a Perform on Commit differ from a Perform statement subroutines called using on commit pass parameters by reference only subroutines called using on commit use global data only subroutines called using on commit have no interface subroutines called using on commit pass parameters by value only How would you define a lock object Through a Function Call Use the Data Browser Create it as an object in the dictionary Identify typical uses of the refactoring assistant Use drag and drop for moving components within an inheritance hierarchy move components of a global class only move components of a local class only move components of both the local and global class change the implementation of methods Mark the operators used to widen cast of a class

?TO =? = ?= => -> Execution of get_instance factory method causes what to happen. Call Method cl_exitahndler=>get_instance changing instance = rf_badi. The reference variable is instantiated The generated adapter class is intantiated The interface is instantiated Error Exception is raised because Static Method are not allowed with a BADI The object reference methods can now be called Refer to the following code and Select the VALID method call Class lcl_course definition. Public section. data: course_name(12) type c. methods: display_price importing im_course_name type string. Private section. Data: price type P value 100. constants: c_objects101(10) type c value 'OBJECTS101'. endclass.

class lcl_course implementation. method display_price. course_name = im_course_name. If course_name = c_objects101. Write: price. Endif. endmethod. endclass. Data obj_course type ref to lcl_course. start-of-selection. create object obj_course. Call method obj_course->display_price exporting

course_name = 'OBJECTS101'. Call method obj_course->display_price exporting im_course_name = c_objects101. Call method obj_course->display_price importing im_course_name = 'OBJECTS101'. Call method obj_course->display_price exporting im_course_name = 'OBJECTS101'. Define characteristics of Polymorphism its one of the main strengths of inheritance the same method is implemented in different ways by redefining the method in subclasses methods from classes react differently to the same interface none of the answers are correct methods of the same class react differently to the same method call What tool or technique would be used to move the definition of a global class to an implemented interface BOR Object Navigator Refactoring Assistant Web Dynpro BAPI wizard

Вам также может понравиться