You are on page 1of 7

What is a report? Report is a program used to fetch data from the database tables and display it on the screen.

It has 2 screens selection screen(optional) and list or output screen. When the TOP-OF-PAGE event does get triggered? TOP-OF-PAGE event will be triggered when the first ULINE, WRITE or SKIP statement occurs in a program. What is the difference between SKIP and RESERVE? SKIP provides empty space between lines, while RESERVE executes a page break on the current page if the number of lines between current line and the page footer is less than the number specified in RESERVE statement. What is the difference between SKIP and NEW-LINE? SKIP generates a blank line, while the NEW-LINE causes the control to move to next line. What is hotspot? Hotspot is an area on the list where the mouse pointer turns into an upright hand symbol. A single click on the hotspot does the same thing as a double-click. What does HIDE statement do? The HIDE statement hides the contents of the line along with the line numbers in a system defined HIDE area. This is used in interactive reporting. What are the events in classical reports?

INITIALIZATION AT SELECTION-SCREEN START-OF-SELECTION END-OF-SELECTION TOP-OF-PAGE END-OF-PAGE How many detail lists can be created in interactive reporting? 20 What is the name of the system variable that holds the contents of the selected line in interactive reporting? SY-LISEL Can we set page headers to details lists? Yes. Use TOP-OF-PAGE DURING LINE-SELECTION event.

1.

What are the differences between sap memory and abap memory 2. What are differences between At selection-screen and at selection-screen output 3. What are the events? 4. what are the interactive events 5. What is Hide? 6. What is te difference between occurs 1 and occurs 2? 7. What is the difference between Free and Refresh? 8. What are elements? 9. Can we have more than one selection-screen and how? 10. How to declare select-option as a parameter? 11. How can u write programatically value help to a field without using searchhelp and matchcodes.? 12. What is RFC? 13. How to set destination? 14. What are the function module types? 15. What are tables? 16. what are client-dependant tables and independent tables? 17. how to distinguish them? 18. what is the use of Table maintanance allowed? 19. What are the domines? 20. What are the check tables and value tables? 21. What is the diffrence between table and structures? 22. How to declare one internal table with out header line without using structures ? 23. what are lockobjects? 24. What are datasets? what are the diffrent syntaxes? 25. What is the diffrences between we_upload and upload? 26. What is the diffrence between open_form and close_form 27. What are the page windows? How many main windows will be there in a page window? 28. How to include Logo in your layout? 29. How to debugg a script? 30. Tell me different standard layouts which we use? 31. sapscripts and abap programs are client dependent or not? why? 32. what are the different internal tables ? explain them? 33. what is runtime analysis ? 34. what si the difference between select singe * and select * upto one row 35. what is the differnce between sum and collect? 36. what are session mothod and call transaction method and explain about them? 37. If you have 10000 records i your file, which method you use in BDC? 38. what are diffrent modes and explain them? 39. what are control events in a loop? 40. what are the events we use in dialog programming? and explain them? 41. what are the differnces between se01 , se09 and se10? 42. what is the inside concept in select-options? 43. what is client? 44. what is get cursor field? 45. what is read line? 46. what are the diff. between call screen and leave screen? 47. what is the transaction code for Table maintenance? 48. what are the differences between CALL SCREEN , LEAVE SCREEN ?

49. Interactive Reporting. what is the event that in used in classic reporting and cannot be used in interactive reporting? 50. which process is faster call transaction or session method? 51. Whether background process or frontend process is faster in uploading data? 52. how to handle errors in background process? 53. BDC type questions???? What could they ask? 2. 1) NAST 2) TRANSACTION WE20 / WE21 FOR? 3) DIFFERENCE BETWEEN V1 TYPE D and V1 like sy-datum. 4) what is stack list? 5) How many Modules can be called? 6) How to create checkbox in write statement? Ans: WRITE AS CHECKBOX. Eg. DATA: flag1(1) TYPE c VALUE ' ', flag2(1) TYPE c VALUE 'X', flag3(5) TYPE c VALUE 'Xenon'. WRITE: / 'Flag 1 ', flag1 AS CHECKBOX, / 'Flag 2 ', flag2 AS CHECKBOX, / 'Flag 3 ', flag3 AS CHECKBOX. 7) How to upload file at Application Server? 8) How to directly jump to 15th list from Basic list? Ans. Sy-lsind = 0. 9) If a view consists of only one table then is the view Read only or Read-Write. 10)What is Node? *********** Patni ************** 11) Smartform: Can u create template in table? 12) What is true about Check field and Validation table field a)Both must hv same name. b) Both must hv same domain name. c) Both must hv same data element. 13) Can data be transferred from SAP to non-SAP system through LSMW? 14) hide one of the field on the selection screen. a) Screen-Active = 1 & Screen-Input = 1 b) Screen-Active = 1 & Screen-Invisible = 1

c) Screen-Invisible = 1 & Screen-Active does not matter. d) Screen-Invisible = 0 & Screen-Active does not matter.

15) Data : data_pattern(5) Value ABC, data_str(12) Value abcdeABCDE. Replace data_pattern with 12345 into data_str. Data_str = ? Ans: Data_str = abcde12345DE. 16) Which stmnt bypasses Buffering (correct option can be more than one) a)Select. b)Selectinto.. c) Select..distinct.. e) Selectfor update.. 17) How do we handle EXCEPTIONs in ABAP? 18) Authorization takes place when: (NOT SURE OF OPTIONS) a) during SELECT. (ans: NO) b) AUTHORITY-CHECK IS WRITTEN. c) System Administrator checks for the authorizations taken.

) NAST message status table

2) TRANSACTION WE20 / WE21 FOR? we20 partner profile we21 port

3) DIFFERENCE BETWEEN V1 TYPE D and V1 like sy-datum. v1 : when date is assigned then not formated .format is ddmmyyyy. v2 : when date is assigned then formated .format is dd.mm.yyyy.

4) what is stack list?

the list in which screen numbers are stored.can be up to 9 screens.

5) How many Modules can be called? not getting the question....

6) How to create checkbox in write statement? Ans: WRITE AS CHECKBOX. this is ok.. this is how u do it.. Eg. DATA: flag1(1) TYPE c VALUE ' ', flag2(1) TYPE c VALUE 'X', flag3(5) TYPE c VALUE 'Xenon'. WRITE: / 'Flag 1 ', flag1 AS CHECKBOX, / 'Flag 2 ', flag2 AS CHECKBOX, / 'Flag 3 ', flag3 AS CHECKBOX. flag1 - checkbox will be written after flag 1 and will be blank. flag2 - checkbox will be written after flag 2 and will be checked. flag3 - checkbox will be written after flag 3 and will be checked with only length of 1 character.other 4 characters will be ignored. And since 1st character is X it will also be checked.But if the 1st character is anything other than X that is even ' ' it will keep box as blank. imp note : and next time dont ask such silly questions.

7) How to upload file at Application Server? open dataset for output/appending.

8) How to directly jump to 15th list from Basic list? Ans : sy-lsind = 15 .

9) If a view consists of only one table then is the view Read only or Read-Write. i dont know read only or read-write only... but it is projection view and they are read only or read and change.. more abt views : projection view : no joining since single table .

maintaince : outer join data can be maintained. help view : outer join.

10)What is Node? a node can be a root node or child node in LDB( logical data base ) and it has to be either database table or a dictonary type. otehr 2 are there but only for your information pourpose.. data types and dynamic type nodes.

11) Smartform: Can u create template in table? i m not gettign in....under table node templet can be created...line type of templets can be created using table..but in table i dont know.... I know the answer is no. u cant.. 12) What is true about Check field and Validation table field 0answer : the domain of both the fields should be same a)Both must hv same name. b) Both must hv same domain name. (this is correct) c) Both must hv same data element.

13) Can data be transferred from SAP to non-SAP system through LSMW? ya it can be ..but for that idocs are to be used.

14) hide one of the field on the selection screen. ANSWER : SCREEN-ACTIVE = 0 . Screen-Active = 1 & Screen-Input = 1 Screen-Active = 1 & Screen-Invisible = 1 Screen-Invisible = 1 & Screen-Active does not matter. Screen-Invisible = 0 & Screen-Active does not matter. 15) Data : data_pattern(5) Value ABC, data_str(12) Value abcdeABCDE. Replace data_pattern with 12345 into data_str. Data_str = ? Ans: Data_str = abcde12345DE.

16) Which stmnt bypasses Buffering (correct option can be more than one)

a)Select. b)Selectinto.. c) Select..distinct.. passes buffering . Selectfor update..

17) How do we handle EXCEPTIONs in ABAP? by checking sy-subrc values .

18) Authorization takes place when: (NOT SURE OF OPTIONS) abap program is executed . authority-check statement is used. rest all rubbish.... during SELECT. (ans: NO) AUTHORITY-CHECK IS WRITTEN. System Administrator checks for the authorizations taken.

3.
4.

important topics in abap interview


1. How data is stored in cluster table? Each field of cluster table behaves as tables which contains the no. of entries. 2. What are client dependant objects in abap/sap? SAP Script layout, text element, and some DDIC objects. 3. On which even we can validate the input fields in module programs? In PAI (Write field statement on field you want to validate, if you want to validate group of fields put in chain and End chain statement.) 4. In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically? AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' to get material and material group for the plant. 5. How do you get output from IDOC? Data in IDOc is stored in segments; the output from IDoc is obtained by reading the data stored in its respective segments. 6. When top of the page event is triggered? After executing first write statement in start-of-selection event. 7. Can we create field without data element and how? In SE11 one option is available above the fields strip. Data element/ direct type. 8. How do we debug sapscript? Go to SE71 give lay set name, go to utilities select debugger mode on.

9. Which transaction code can I used to analyze the performance of ABAP program. TCode AL21. 10. How can I copy a standard table to make my own z_table. Go to transaction SE11. Then there is one option to copy table. Press that button. Enter the name of the standard table and in the Target table enter Z table name and press enter. ABAP Frequently Asked Question ABAP/4 Q: When we create a customer the information is updated in structure RF02D and the some tables like KNA1 are updated. How can we find the tables for master data transactions? A: Go to ABAP Workbench -> Overview -> application hierarchy - SAP -> follow the customizing based tree for your application. Double click on a lowest hierarchy level to get for the correct marked development class. Here you can find all the tables, views, logical databases etc. used for a system operation. SapScript Q: We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a duplex layout. In our case duplex case is always 'Terms & Conditions'. We do not want the number of pages as in duplex printing. What is the best possible solution? A: On the Terms & Conditions page, Change the Page counter mode to 'HOLD' to keep the page counter from incrementing when you print the Term & Conditions.

You might also like