1. What is the advantage of structures? How do you use them in the ABAP programs?
Ans: using structure we can add new fields to the existing predefined and user defined tables they do not have relation with the data base using .include statements we can reuse the tables whereas in .append we cannot reuse.
2. What is difference between value table and check table?
Ans: Check table mean: field level checking,
Value table mean that domain level checking
3. How data is stored in cluster table?
Ans: A cluster table contains data from multiple DDIC tables.
It stores data as a name value pair ( variety, vardata)
4. What is lock Object?
Ans: Lock Object is a relationship defined in the Data Dictionary between a main table and possible secondary tables.
5. What is Field symbol?
Ans: You can use field symbols to make the program more dynamic. In this example the name of a table control is substituted by a field symbol. Thus you cal call the form with any internal table, using the name of the table control as a parameter.
Example:
form insert row
using p_tc_name.
Field-symbols <to> type cxtab_control. "Table control
assign (p_tc_name) to <to>.
* insert 100 lines in table control
<to>-lines = 100.
6. Explain about roll area, Dispatcher, ABAP-Processor?
Ans: Dispatcher receives the request from client and assigns the request to one of the work process.
Roll area: Each work process works in a particular memory that memory is known as Role Area, which consists of User context and session data.
ABAP- Processor
7. What is difference between dialog program and a report?
Ans: we can display the data, insert and modify the data,* its executable program
where as in dialog programming .we can create our own screens and transactions
we can't execute directly this.
8. How to create own development class for storing the programs ?
Ans: go to t.code se80.
Select the edit button
in sap 4.7 ee
select package development
where we have to specify the package name
click on create.
give the description.
save it
9. What is the difference between following two SQL statments: - GET table name- SELECT * FROM table name.
Ans: GET IS A KEY-WORD WHICH IS USED TO GET SOMETHING ( DATA )IN THE NODES OF A LOGICAL DATABASE DIRECTLY WHERE AS USING SELECT WE CAN SELECT N-NUMBER OF TABLES DATA THROUGH INTERNAL TABLES IN OUR PROGRMS..
10. How to convert SD data in to ABAP?
Ans: By using ALE technique.
11. What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary
Ans: Abap is programming language in business; data dictionary is kind a interface for editor to retrieve from database level to presentation area. It’s a meta data.
12. What is the difference between Types and Like?
Ans: TYPE, you assign data type directly to the data object while declaring.
LIKE, you assign the data type of another object to the declaring data object. The data type is referenced indirectly.
13. When do we use End-of-selection?
Ans: End-of-selection event are mostly used A when we are writing HR-ABAP code. In the HR-ABAP code, data is retrieved in the Start-of-selection event and Printing on the list and all will be done in End-of-selection event.
But in Normal ABAP, mostly we wont use this event.
14. What are client dependant objects in abap/sap?
Ans: SAP Script layout, text element, and some DDIC objects.
15. What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
Ans: using open sql we can retrieve the data from all table where as native sql for transparent table only. open sql interact with data base via DB interface where as native sql directly
16. Difference between Search Helps and Match Codes
Ans: match code is used to call the search help which u created in data dictionary for screen elements in abap editor. Syntax: parameter: name (10) type c match code.
17. How to create client independent tables
Ans: we can create client independent table by avoiding the first field as CLNT or Sy-mandt
18. Have you used performance tuning? What major steps will you use for these?
Ans: for performance tuning best option is Run time analyze t-code is SE30. Navigation is abap editor-application tool bar-utilities-more utilities - run time analyze.
19. What type of user exits have you written?
Ans: screen exists, Manu exist, function_ exit, user exist, program exist.
20. When top of the page event is triggered?
Ans: After executing first write statement in start-of-selection event.
After IDoc generated we find the IDoc from IDoc port which port created by using generate partner profile. We can go through transaction code WE05 for IDoc status there we can see the result successfully send or any error occurs.