1. Performance Enhancements in reports
- Using index tables.
- Other methods.
2. SAP scripts
- Modifying system defined layout sets.
- Inserting images
3. BDC’s for multiple transactions.
4. User exits overview (all types).
5. Advanced types: Rfcs, BAPIs, ITS, OLE.
6. Finding user exits for particular transactions.
7. Print programs for system defined layout sets.
8. BDC error logs.
9. Background job processing.
10. Pooled & Cluster tables.
- How to get fields from pooled & cluster tables.
1. What is the difference between Pass by value and Pass by reference?
Pass by Value: When subroutine is called, formal parameters are copies of the actual parameters with their own storage location
E.g.) form.... Using value (f1) value (f2).
Pass By reference: The formal parameters are not allocated a separate storage location. . Instead the address of the relevant actual parameter is passed. Changes to the values of formal parameters, directly effect on the assigned mail program fields.
E.g.) form ...using f1 f2.
In case of Function Modules: Export parameters are used to pass values to the function modules where as Import parameters are used for returning the values to the program. These two are passed by value. Tables parameter is passed by reference. Internal tables are not copied when Tables are used.
2. What are matchcodes and indexes?
Mathcodes can be used to search data records stored in the system.
Indexes are associated with tables for data retrieval.
E.g.) read table itab index 1. This means the 1st record is read.
4. What are events? Can they be interchanged while coding?
Event Blocks are called by the ABAP runtime system. The sequence in which the processing blocks are specified in the system is not of importance. The system always calls them in a particular sequence. eg) initialization, start of selection, end of selection
5. While opening files, what is the difference between opening in text mode and binary mode
OPEN DATASET FOR (OUTPUT/INPUT/APPENDING) IN (BINARY/TEXT) MODE
In Binary Mode:
Records are read at a time.
Eg) A B C
A B C D
Reading Z B C A B A B C D
If written into a field of length 4
A B C A
B A B C
In Text Mode.
File is structured in lines.
Reading A B C _ A B _ A B C D
A B C
A B C D
Default is Binary Mode.
6. What do the COLLECT statement do?
The Collect statement includes the header line of an internal table in the table as a new entry or adds it to an existing entry of the same type. ABAP/4 scans the table for an entry which corresponds to the header line ia all the fields which are not of type P, I , F. If such an entry is found, the system adds all P,I and F fields from the header line to the corresponding fields in the table entry. if no match is found, it is appended to the table
7. What are logical databases?
They are special data retrieval programs delivered by SAP. It has got its own dynamic selection screens. You need to code only the processing logic. E.g.) GET, CHECK. A logical database consists of a read program, in which the structure of the local database is reproduced and a selection screen. The selection screen contains key terms for which a TABLES statement exists. Also the Selection screen contains key terms from tables with no TABLES statements provided they are higher in the hierarchy that the tables for which such a statement has been formulated in the report.
8. Different types of User Dialogs.
Selection screens, Screens, Messages, lists
9. Setting in Screens
Flow logic is where the processing logic is coded. The statement CALL SCREEN <> calls the screen. Screens can be called using transaction Codes.Screen uses Module pool programming. Two event blocks are PBO and PAI.
E.g.)Process Before Output.
10. Define domains, data elements and fields
Domains: describes the technical attributes of a table field like field type, length etc
Data Elements: Contains schematic description of a field
Fields: where the data is stored
11. Function Modules
Function Modules are created using Function Builder. It contains Interface (Import, Export, Changing, Tables, Exceptions), Source Code, Global data, Main Program
12. Using AT LINE-SELECTION command
HIDE keyword is used to store data associated with the lines produced for the base report. When you double click on a line, the values for this line stored in the
HIDE area is inserted into the corresponding data object.