Vous êtes sur la page 1sur 10

Answers to some ABAP Interview Questions

Questions which I have faced in an interview: 1) What is runtime analysis? Have you used this? 2) What is meant by performance analysis? Have done anything to improve the performance? 3) How to transfer the objects? Have to transferred any objects? 4) How did you test the developed objects? 5) What is the difference between SAP Memory and ABAP Memory? 6) In order to upload Purchase order details, how you handle multiple values for a single field? Eg: Item field may contain no. of values for a record 7) What is the procedure you followed to upload the data? 8) How did you handle errors in Call Transaction? 9) Among the Call Transaction and Session Method, which is faster? 10) What are the difference between Interactive and Drill Down Reports? 11) How to pass the variables to forms? 12) How to create a link between modified form and modified print program? 13) What is the table, which contain the details of all the name of the programs and forms? 14) How did you test the form u developed? How did you taken print? 15) What are Standard Texts? 16) What is the difference between Clustered Tables and Pooled Tables? 17) What is pf-status? 18) Among "Move" and "Move Corresponding", which is efficient one? 19) What are the output type and Tcodes? 20) Where we use Chain and Endchain? 21) Do you use select statement in loop endloop, how will be the performance? To improve the performance? 22) In select-options, how to get the default values as current month first date and last date by default? Eg: 1/12/2004 and 31/12/2004 Go thru these answers: 1) What is runtime analysis? Have you used this? It's checks program execution time in microseconds. When you go to se30.if you give desired program name in performance file. It will take you to below screen. You can get how much past is your program. 2) What is meant by performance analysis? Have done 3) How to transfer the objects? Have you transferred any objects?

4) How did you test the developed objects? I was testing a developed object. There are two types of testing - Negative testing - Positive testing In negative testing we will give negative data in input and we check any errors occurs. In positive testing we will give positive data in input for checking errors. 8) How did you handle errors in Call Transaction? We can create a internal table like 'bsgmcgcoll'. All the messages will go to internal table. We can get errors in this internal table. Below messages are go to internal table. when you run the call transaction. - Message type - Message id - Message Number - Variable1 - Variable2 - Variable3 9) Among the Call Transaction and Session Method, which is faster? Call transaction is faster then session method. But usually we use session method in real time...because we can transfer large amount of data from internal table to database and if any errors in a session. Process will not complete until session get correct. 10) What are the difference between Interactive and Drill Down Reports? ABAP/4 provides some interactive events on lists such as AT LINE-SELECTION (double click) or AT USER-COMMAND (pressing a button). You can use these events to move through layers of information about individual items in a list. Drill down report is nothing but interactive report...drilldown means above paragraph only. 11) How to pass the variables to forms? 12) What is the table, which contain the details of all the name of the programs and forms?

Table contains vertical and horizontal lines. We can store the data in table as blocks. We can scroll depends upon your wish. And these all are stored in database (data dictionary). Which contain the details of all the name of the programs and forms? (I don't know). 13) How did you test the form u developed? How did you taken print? 14) What are Standard Texts? 16) What is the difference between Clustered Tables and Pooled Tables? A pooled table is used to combine several logical tables in the ABAP/4 dictionary. Pooled tables are logical tables that must be assigned to a table pool when they are defined. Cluster table are logical tables that must be assigned to a table cluster when they are defined. Cluster table can be used to store control data they can also used to store temporary data or text such as documentation. 17) What is pf-status? Pf status is used in interactive report for enhancing the functionality. If we go to se41, we can get menus, items and different function keys, which we are using for secondary list in interactive report. 18) Among "Move" and "Move Corresponding", which is efficient one? I guess, 'move corresponding' is very efficient then 'move' statement. Because usually we use this stamtent for internal table fields only...so if we give move corresponding. Those fields only moving to other place (what ever you want). 19) What are the output type and Tcodes? 20) Where we use Chain and End chain? 21) Do you use select statement in loop end loop, how will be the performance? To improve the performance? 22) In select-options, how to get the default values as current month first date and last date by default? Eg: 1/12/2004 and 31/12/2004 Prem Kumar

Feel free to contribute to those questions without answers or add-in additional tips for those answers which you think can be further improve by Submitting a ABAP Tips or ABAP Programs.

Related ABAP Topics: 100 ABAP FAQ More than 100 ABAP Interview faq's Get help for your ABAP problems Do you have a ABAP Question? ABAP Books ABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts Reference Books Best regards, SAP Basis, ABAP Programming and Other IMG Stuff http://www.sap-img.com
All the site contents are Copyright www.sap-img.com and the content authors. All rights reserved. All product names are trademarks of their respective companies. The site www.sap-img.com is in no way affiliated with SAP AG. Every effort is made to ensure the content integrity. Information used on this site is at your own risk. The content on this site may not be reproduced or redistributed without the express written permission of www.sap-img.com or the content authors.

Important ABAP FAQ's


What are dml statements in sap? Ans: Insert, Update, Delete. What is the difference between open sql & native sql? Ans: Open SQL allows you to access all database tables known to the SAP system, regardless of the database manufacturer. Sometimes, however, we may want to use database-specific SQL statements called Native SQL in your ABAP/4 program. To avoid incompatibilities between different database tables and also to make ABAP/4 programs independent of the database system in use, SAP has created a set of separate SQL statements called Open SQL. Open SQL contains a subset of standard SQL

statements as well as some enhancements which are specific to SAP. A database interface translates SAP's Open SQL statements into SQL commands specific to the database in use. Native SQL statements access the database directly What is Primary key, foreign key ? what is primary index? secondary index? Ans: Primary index: the primary index contains key fiels of a table and a pointer to nonkey fields of the table. The primary index is created automatically when a table is created in database and moreover you can further define reference to the primary index which are known as Secondary index. How many indexes can be created for a table? Ans: 9. What is data class? Ans: The data class specifies in which table space the table is created in database. Give few names of cluster tables in sap? Ans: sorry i dont know Give few names of pooled tables in sap? Ans: A pool table has many to one relation with the table in the database. For one table in the database there are many tables in the dictionary. Tha table in the database has a diff name than in the table in the data dict, it has diff no of fields and field names are different. A pooled table is stored in the pool at the database level. A table pool is a databse table with a special struct that enables the data of many R3 tables to be stored in it. It can hold only pooled tables. Sorry I dont know table names Give few names of transparent tables? Ans: A transparent table has a one to one relataionship in the database. The table in the dictionary has the same name, same no of fields, and the fields have the same name as in the R3 table defn. A transparent tabel has application data (Master and Transaction). sorry i dont know table names What is a buffer and how many types? Ans: Buffer is othing but which stores data temporarily. there are two types of buffers. they are Roll and Page areas. Pages : it stores the application data.

Roll area: it stores the data of previous pages.Data areas of used programs are created in roll areas for each internal session. What is table maintenance generator and how to create that? What is the transaction code? Ans: Table maintanence generator is nothing but making a table available for adding records and deleting records. The transaction code used is SM30. How to add new fields to a standard sap table? Ans: 1. Appended structures What are lock objects? Ans: Lock objects are nothing but which holds a data for particular field value until you remove a lock.. Diff betwn inner & outer join? Ans: What is the use of start-of-selection event? Ans: Start-of-selection is called implicity even it is not used in the program. start-ofselection is triggered after the standard selection screen has been displayed. What is the difference between end-of-page and end-of-selection? Ans: End-of-page : is footer of the page. End-of-selection: is triggered At the end of the processing block. If you write a write statement after end-of-selection, will that be triggered? Ans: Yes How to create a button in selection screen? Ans: Using parametres How to add a gui status in a selection screen? Ans: sorry i dont know i thik using set pf. 2. Customizing tables

How to create a check box/option button in a list? Ans: Regarding Runtime creation of Check Boxes Can you call a bdc program from a report? how? Ans: Yes through Submit and return Can you call a transaction from a report? how? Ans: Yes Using Call transaction and leave to. What are ALV reports? how they are different from normal reports? Ans: these reports are used to find subtotals and totals in a report. If you want i'll give you an example program What are the main events that are used in an ALV report? Ans: sorry i dont know What is the use of SLIS type pool in alv reports? Ans: Slis type pool is a global defination of pooltypes of catalog structure, table and layout which we use in ALV reports Difference between top-of-page and top-of-page during at-line- selection? Ans: Top-of-page is a header on primary list. Top-of-page during line-selection is a header on secondary lists In an interactive report, after going to 5th list, can you come back to 2nd list? how? How many type of internal tables are there? Ans: Standard, Hashed, Sorted tables What is the difference between hashed & sorted internal tables? Ans: Sorted internal table works on Binary Search and Hashed internal tables works on hashed alogorthim through indexes. What is the difference between standard and sorted internal tables? (in performance wise) Ans: Sorted table improve the performance in case of a huge table which has no: of

records What is the use of at new statement? Ans:sorry i dont know When do you need to create an internal table with header line? and with out a header line? line? Ans: If we don't want to use any explicit work area then its better to go for an internal table with header line. What does it mean occurs 0 while creating an internal table? Ans: sorry i dont know Which of these methods can be best used in background process? Ans : Batch Input method. What is direct input method? What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it? Ans: Exec Sql[Performing <sql] [Native sql statements] endexec. The above is the syntax for the native sql statements. Disadvantages: . Syntax check is not done to statements written inside the EXEC SQL statements. What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary? What transactions do you use for data analysis? ANs: Sorry i dont know but for runtime analysis we use transaction code : se30. What are selection texts? Ans: in the selection screen you can change the name of the field,title etc using selection texts. go to text--> text elemets---> selection texts in the menu bar to set selection texts.

What is the client concept in SAP? What is the meaning of client independent? How to find the return code of a statement in ABAP programs? Ans: Through functions. What is performance tuning? Ans: Performance tuning for Data Selection Statement What are steps you follow to improve the performance of a report? Ans: 1) USe select fields statements (not select *) 2) Use views rather than tables 3) Don't use nested Select. What is the role of secondary index in performance? Ans: sorry i dont know What is the role of ST05 in performance tuning? Ans: SQL trace What is the role of extended syntax check in performance tuning? Ans: sorry i dont know Will join conditions in sql queries affect perfomance? how? Ans : Yes Will sorted internal tables help in performance? Ans: Yes Will where conditions in a sql query help improve performance? Ans: No Not at all Does select single *.. / select * .. affect performance? how? Ans: Select single we use for first hit of the record. so obviously Select single will improve the performance.

ABAP Tips by : Mahesh Feel free to contribute to those questions without answers or add-in additional tips for those answers which you think can be further improve by Submitting a ABAP Tips or ABAP Programs.

Related ABAP Topics: ABAP Q & A


Answers to some ABAP Interview Questions ABAP Certification Sample Questions and Answers Some Common Questions about ABAP/4 and Developments

Get help for your ABAP problems Do you have a ABAP Question? SAP Books SAP Certification, Functional, Basis Administration and ABAP Programming Reference Books ABAP Tips ABAP Forum for Discussion and Samples Program Codes for Abapers Best regards, SAP Basis, ABAP Programming and Other IMG Stuff http://www.sap-img.com
All the site contents are Copyright www.sap-img.com and the content authors. All rights reserved. All product names are trademarks of their respective companies. The site www.sap-img.com is in no way affiliated with SAP AG. Every effort is made to ensure the content integrity. Information used on this site is at your own risk. The content on this site may not be reproduced or redistributed without the express written permission of www.sap-img.com or the content authors.

Vous aimerez peut-être aussi