Abap q&a

INFO
STADISTICS
RECORDS
Title of test:
Abap q&a

Description:
abap q&a 2015

Author:
MD
(Other tests from this author)

Creation Date:
07/10/2015

Category:
Computers
Click 'LIKE' to follow the bests test of daypo at facebook
Last comments
No comments about this test.
Content:
You have newly joined a development team and your team member is developing a report. He wants to put the validation for the vendor No. In which event he should put the error message so that in case when wrong vendor is entered error message should appear and focus the cursor on that field. Start-of-selection End-of-selection At selection screen on field Initialization.
Business want to change the F1 help for the field for all Reports At what level you will change So that it reflect for all place. Domain Data element Change all table field Code at selection screen on help-request in all the reports.
which statement can be used to read a single record from the internal table. which statement can be used to read a single record from the internal table. Read table it_tab into wa_tab index <i>. Move-corrosponding it_tab to it_taab1. None of the above.
Which one of these event will be triggered first when you execute the program ? INITIALIZATION LOAD-OF-PROGRAM START-OF-SELECTION END-OF-SELECTION.
What is the valid combination among these for SAP R/3. 2 –Application server and 1-data base server 2-database server and 1- Application server 2-Application server and 2-Database server 3-Application Server and 2-Database server.
There is one function group name AG which contains three function module FM1 ,FM2 and FMR .It also has one global variable Gl_val .FM1 and FM2 has a simple code of adding 1 into that variable And FMR has the code of returning that global variable. So what will be the output of falling code. Report test_fungrp. Data : gl_val type i. Data : ret_val type i. Call Function FM1. Clear gl_val. Call Function FM2. Call function FMR importing VAL = Ret_val. Write : / Ret_val. 1 2 3 4.
Which layer will be used to convert the OPEN SQL into the database specific query. WORK Process DATA BASE interface ABAP interprter None of the above.
You have 10 records into the internal table .you want to make use of loop statement to loop through all the records which system variable can be used to find out the loop iteration? SY-INDEX SY-DATUM SY-TABIX None of thee above.
Can database view used to fetch the data from the database using SELECT Query? True False.
In Case of Webdynpro for ABAP how will you map context Attribute of view container and component container? Double click on that Drag it to the another container’s context Wirte the mapping path into context’s attribute You cannot mape.
Which one of the following will contain user interface. Model Component container Window View.
Which are of those are GUI types in SAP. (3) HTML GUI JAVA based GUI Windows GUI Web GUI.
Parameter id is assigned at what level? Domain Data element Field level None of the above.
Which of these are correct statements for SELECT-OPTIONS and RANGES.(3) SELECT-OPTIONS will generate ranges internal table implicitly. RANGES statement will generate ranges internal table explicitly. The structure of the internal table generated by SELECT-OPTIONS and RANGES are the same (contain SIGN,OPTIONS,LOW and HIGH) The structure of the internal table generated by SELECT-OPTIONS and RANGES are different.
What is the format of the system date variable sy-datum? YYYYMMDD MMDDYY YYMMDD DDMMYYYY.
What will be the output of the following code for the user has a date format as DD-MM-YYYY?(Assume today’s date is 14th Feb 2010 !!!!!!! ) Report test_date. Write : / sy-datum. 2010-02-14 20100214 14-02-2010 02-14-2010.
You are working on a program which is updating the database now you want that if something goes wrong you want that your code should be capable of reverting the changes done in database, which statements can be used to achieve this? (There are two correct options) Commit Work. Roll Back Work. Message ‘Changes aborted’ Type ‘A’. Message ‘Changes aborted’ type ‘I’.
you want to declare a variable which can be used out side class globally but no one should be allowed to change that variable except the method of that class.how you can achieve this ? class class_name Definition. Public section. Data : gl_var type i. Endclass. class class_name Definition. Proteced section. Data : gl_var type i. Endclass. class class_name Definition. Public section. Data : gl_var type i hidden. Endclass. class class_name Definition. Public section. Data : gl_var type i read-only. Endclass.
There is a screen 500 with next screen set as 501 in it’s screen attribute. Business want that in some of the condition instead of going to screen 501 it should go to screen 502 after screen 500 finish it’s execution .how will you achieve this? Use statement LEAVE TO SCREEN 502. in PBO of screen 501. Use statement SET SCREEN 0. In PAI of screen 500. Use statement SET SCREEN 502. IN PAI of screen 500. It is not possible to over right the next screen attribute set into screen 500.
you want to hide a P_MATNR field from the screen how will you achieve it? LOOP AT SCREEN WHERE NAME = ‘P_MATNR’. SCREEN-ACTIVE = 0. MODIFY SCREEN. ENDLOOP. LOOP AT SCREEN. If SCREEN-NAME EQ ‘P_MATNR’. SCREEN-ACTIVE = 0. MODIFY SCREEN. ENDIF. ENDLOOP. LOOP AT SCREEN WHERE NAME = ‘P_MATNR’. SCREEN-ACTIVE = 0. ENDLOOP. READ TABLE SCREEN WITH KEY NAME = ‘P_MATNR’. SCREEN-ACTIVE = 0. MODIFY SCREEN.
A database table without MANDT field is called?(Select most appropriate anser) Client dependent Client in-dependent Structure Database View.
To define the internal table using statement: Data : it_tab type XYZ Where XYZ should be of type. Data base table Structure Table type View.
. Internal table ITAB has the following data Name Salary John 80000 Bob 20000 Amar 10000 David 50000 What will be the sy-subrc in following case. Read table ITAB into WTAB with key Name = ‘David’ using binary search. 0 4 8 12.
Business want to put validation on plant No. For all the screen. The requirement is to give Error message whenever user give plant 567.what can be most appropriate way to achieve this? Screen EXIT Function module EXIT Field EXIT USER EXIT.
Which all statements are true for BADI.? (There are 3 correct answers) You can use filter to choose the implementation you want to call. BADI cannot have multiple implementations. BADI can be reusable. BADI can be filter dependent.
Choose the correct statements for BAPI. (2) BAPIs are the methods of Business Objects. BAPIs can be called from Java Application. BAPI is interface which contain methods and data declaration. You can redefine the BADI as per your choice.
Report abuse Terms of use
We use cookies to personalize your experience. If you continue browsing you will be accepting its use. More information.