Friday, February 27, 2009

SAP ABAP Real Time Questions

1. Which client number you use for the current project?
2. You are running a report. It is taking long time for execution. What steps will you do to reduce the execution time.
3. After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then?
4. You are given functional specs for a BDC program and you need to decide whether to write a method call transaction or a session. How u will decide?
5. What is the difference between report and script?
6. what are the differences between scripts & smart forms?
7. what are enhancements?
8. what are user-exits?
9. what is badi?
10. what is the difference between user-exit & BADIs?
11. what is the difference between user-exit & customer-exit?
12. how do you get functional specs when you are assigned some object? (specs through email..??)
13. How do you write technical specs?
14. How do you write UTP?(unit test plan)

SAP ABAP Technical Questions (Data Dictonary)

1. What is data Dictionary?
2. What is the difference between open sql & native sql ?
3. Difference between Pooled, cluster & transparent tables?
4. What is Primary key, foreign key ? what is primary index? secondary index?
5.how many indexes can be created for a table?
6. what is a value table?
7. what are the components of a table?
8. what is a domain?
9. what is a data element?
10. what is data class?
11. can you create a table with out a data element?
12. can you create a field with out a data element?
13. What approach you prefer for creating a table?
14. Give few names of cluster tables in sap?
15. Give few names of pooled tables in sap?
16. give few names of transparent tables?
17. what is a buffer and how many types?
18. what is table maintenance generator and how to create that?
19. What is the transaction code? How to add new fields to a standard sap table ?
20. How many types of table joins are there? difference between inner join & outer join?
21. Difference between "select * from mara" and "select single * from mara"?
22. what is a match code ? Lock objects ? what are views?
23. what are logical tables/database?
24. what is the difference bet'n table and a structure?

SAP ABAP Interview Questions Part 1

1. What is a client in sap (terms).
ANS - SAP terminology : -Client in SAP is to Individual unit to identify r/3 system with different DB tables.
2. After developing object where do you test? How do u test?
ANS - Normally I do white box testing for what I develop. To test the problem Functional consultant give few sample data for testing.
3. Who else is there with u when u test the program?
ANS - If the error is major take help of TL.
4. If end user comes to saying that there is a bug in the program, how do u correct it?
ANS - First I will understand what he is telling then understand the program. Based on the complexity error in Technical I debug the program to sort the error and if it is related to functional then I will sit will the user or my TL.
5. In call transaction method where do we get vendor no when uploading vendor master?
i.e in case of errors.ANS - IF subrc <> 0. write: / IT.
6. How do we get time in the program?
Which time we get either development server or system time?ANS - By using system field sy-uziet. For local timlo Zonlo
7. What is data cleansing?
ANS - Means while uploading a flat fieldata into sap system it should data cleaned i.e. unwanted data to be deleted.
10. How do ur Project leader differentiate ur programs from others if 3 people from ur group all using the same user id?
ANS - Go to SE10. the the objects in the request where we give the description for our object.
11. If I am submitted to 4-linked report program to background job. If 2 reports fails, what happen the result?
1. 3 and 4 report programs are executed or not
2. it give the 1 report program result or not
12. How can I know the feed back of background job?
ANS - SM37 to see the feedback of the job.
13. If there is a quantity field, currency field in the external format (from legacy system), what is its equivalent SAP format?
ANS - It depends means if we want to convert it into $ to Rs we can use a function module which will convert the $ to Rs and Rs will be saved.
14. What are table buffers?
ANS - This r some think to buffer the data in application server. Buffer not allowed will buffer data in AS. Data will be fetched directly from Database server. Buffer switched on means it buffers data in AP means data is fetched from application Server. Buffer switched allowed but switched off. Full buffer to store the table in AP. Generic buffer - It is a comparison of fields i.e. data retired by the matching record.
15 what back ground processing means actually?
i.e. processing in future date or processing in no display monde or both are applicable?
ANS - Both r same.
18. From a table how do u find whether a material is used in another material BOM?
ANS - We have a field in which it will the information of the BOM.
19. How do u find out whether a file exits on the presentation server?
ANS - There is fun Mod through which we can find whether file exit in PS or not.
20. Which function module upload data from application server?
ANS - No fun mod is used to upload data to AP. we use open dataset for output in AS to upload data.
21. Can you have two detail lists from the basic list at the same time? If yes how and if no why?ANS - No. Coz sequences goes 1 then 2. if we want we can use windows starting 10 giving two statements. We can pop up two detail.
22. What is At-Exit and User-Exit?
ANS - it is used as exit button in Module pool.
23.how do u transport scripts from client 100 to 300?
ANS - Go to Utilities-Copy from client. give the form name and then the target form and in client the client from which we need. In this only the form gets copied not the standard symbol, Text then Styles. To copy the standard symbol go to SE72 - Utilities-Copy. For standard text go to SO10 -Utilities-Copy. IMPORTANT - Which we upload tiff file in RSTXLDMC the file uploaded and saved in SO10 in standard text format i.e. it is stored in bit format. The contents of so10 r stored in STXH. The graphics for BMP are stored in SSFXFBMP. If we need two logos(one in background). RSTXLDMC- upload logo in sequence i.e. logo1,logo2. Then in form include the ST first logo1 then logo2. If there is 10 scripts with Standard text will four lines in it. if we want in 2 scripts only 2 lines to be displayed : - we can do by coding a logic i.e. go to SO10 there give a logic If Form name is 0. print.TTDTG is the table where we can create a Zstandard Symbol and it is where standard symbol is stored.
. How do u solve table control problem in bdc?.
25. How do u code the program for getting time base on different country timings?
ANS - By setting the local PC time using the system field TiMLO.
26. If report is run in india and the same report is run in us which time is accessed by the program?
ANS - By setting the local Pc time using the system field TiMLO.
26. If u save an object as local object then how do u transport it?.
ANS - If a object is saved in local object it will not give any request so get the request first change the development class. Go to SE80 - Right click on the object there will be option More Function then change package Assignment.
27. Can we use for one application, for data processing session method and for data updation call transaction? how?
Yes. after we code call transaction below that give a logic if subrc <> 0 then open the function module BDC-open, insert, close.
28. How do we keep break points dynamically say a program has 1000 line of code and has 50 function modules then how do we keep breakpoints to those 50 function modules?
ANS - First set the program to debug mode after we r in debug mode got to Breakpoint option in menu bar from there go to breakpoint at - there use statement and use the statement i.e call function or any subroutine.
29. How to sent error to end user?
Ans - By using the function module(BDCMSGCOLL).
30. What is the difference between ranges and select-options?
Ans –
31. For a button in application bar in ALV.
ANS - Yes by using pf-status we can bring buttons in application bars. Use event pf-status and usercommand from slis and pass it to gird function.
32. Have u worked on call transaction?
ANS - yes.
33. Can we pass data from one program to another in ALV as well as in reports?
34. Can we run a three transaction at a time i.e. parallelly and can we track the error there and there?
Ans : - it is possible to run the transaction one after other and not parallelly. it is not possible to track the error in Parallel run. We can use /bend to correct the errors.
35. If we record BDC through SHDB and copy the program in a editor and execute what will happen?
ANS - It will run the program showing the screen which when went under recording. i.e it will show all the screens which we used in SHDB which recording the screens and fields.
36. To change Development Class for Script go to SE03-Object directory in the field give form(set the flag) and then there give the form name then double click and give the Class name.
37. To see imported request go to transaction STMS.to find the fields of a table from which it is used use transaction se84.

Sample Test Questions on SAP ABAP Programming

1. What are the 2 boxes in your system for coding for Abap and their logins?
Development System & IDES/Sandbox
2. If I get a problem on a report in Production server how can I modify the report.
If the problem in production server we have to alter the program in Developemnt Client and transport it to QA client Test it throughly and then Transport it to Production.
3. Tell me about Tokens.
Tokens are Issues sent by the Client to us.
4. How to Fix the bugs and where you will do those things.
It Actuall Depends what kind of bugs they asked about: If it is a problem in Program, then we alter them in the SE38 (Develpment) and transport it after testing to Prd Server.
5. What is a sandboxes.
SAND BOX is nothing but a test client other than Develpment Client or QA.
6. How to conncet the from ur office to clinet in US.
It will be configured by the BASIS guys..
In the sap logon pad they will enter the application server id and Routing String and the SERver type in the Sytem Number.... with that we will connect
7. Tell me about VPN and the connections.
Its a another way to connect to other PC. its a 3rd party utility....
8. How to login ur system.
Thru SAP Logon enter the client number ,user id & password.
9. What is the purpose of SE14.
Database Utility to perform table maintenance such as deleting the table or adjusting the table when there is a structure change.
10. What is the purpose of SM30.
SM30 is a table Maintanance for the Ztable Created by us.
11. In Data dictionary in the table creation,What is the purpose of Technical settings.
To identify the Size of the Table Created and to Set whether buffering needs to be done for the table or not.
12. What is the purpose of buffering in technical settings and for what type of tables are using buffering.
It will reduce the Network tarffic but disadvantage is it will not update the Server back immediately.
13. In reporting tell me all the events in a sequentail order.
- Initialization. - At Selection-Screen - Start-of-Selection. - Top-of-Page. - At Pfn. - End-of-Page. - End-of-Selection.

PerformancingAds

Learn SAP | JAVA |Earn More Money