Interview questions for reports in ABAP.
1. What is report in abap?
* It retrieves data from database tables, performs necessary calculations
* Final output of the program
2. What are the different types of ABAP reports?
* Classical reports.
* Interactive reports.
* ALV reports.
* Hierarchical reports.
3. What is classical report and events in classical report?
- It's nothing but to display the entire information in a single list.
- Events in classical reports: -
1. Initialization
* It's an event which is triggered before displaying the selection-screen.
* ADV: - it's used to provide the default values to the selection-screen.
2. At selection-screen
* It's an event which is triggered after provide the input to the screen & before leaving the selection-screen.
* ADV: - This is used to validate the given input.
3. At selection-screen on.
* It's an event which is triggered at the selection-screen based on particular input field.
* ADV: - This is used to validate the particular input field.
4. Start-of-selection.
* It's an event which is triggered after leaving the selection-screen & before display the output.
* ADV: - This is used to fetch the data from data base & place into internal table.
5. End-of-selection.
* It's an event which is triggered after completion of the logic.
* ADV: - This is used to display the output.
6. Top-of-page.
* It's an event which is triggered at the top of each page.
* ADV: - It's used to display the header information.
7. End-of-page.
* It's an event which is triggered at the end of each page.
* ADV: - It's used to display the footer information.
4. What is interactive report and events in interactive report?
* Interactive reports.
- It's nothing but to display the summarized information in the basic list & detailed information in the secondary list.
- Events in Interactive report: -
1. At line selection
* It's an event which is triggered at the time of user clicks on any record of any list.
2. At user-command.
* It's an event which is triggered at the time of user clicks on any menu item.
3. Top-of-page during line-selection.
* It's an event which is triggered at the top of each secondary list.
4. At PF(N)
* It's an event which is triggered at the time of user clicks on F1 to F12 function keys.
5. Set PF-status.
* It's an event which is triggered at the time of attaching our own GUI to the program.
- Classical events are also triggered for basic list.
5. What is ALV and events in ALV?
* ALV (ABAP List Viewer) reports.
- ALV is used to display the output with predefined functionalities. Like
1. Sort the list in ascending order
2. Sort the list in descending order
3. Tables
4. Filtering
5. Down the list
6. Send an attachment
7. Word processing
8. Excel sheet
9. Change the layout
10. Graphics
11. Print previews
- 'REUSE_ALV_GIRD_DISPLAY' is the function module which is used to display the output in a grid format.
- 'REUSE_ALV_LIST_DISPLAY' is the function module which is used to display the output in a list format.
- 'REUSE_ALV_BLOCK_LIST_DISPLAY'Blocked ALV is used to display the output in a block wise.
- In ALV, events are handled through „sub-routines‟ (form, end form)
- Events
Top_of_page: -
It's an event which is triggered at the top of each page.
Top_of_list: -
It's an event which is triggered at the top of displayed output list.
End_of_page: -
It's an event which is triggered at the end of each page.
End_of_list: -
It's an event which is triggered at the end of displayed output list.
User_command: -
It's an event which is triggered at the time of user clicks on any record of any list as well as any menu item. This event acts like both at line-selection & at user-command.
Pf_status_set: -
It's an event which is triggered at the time of attaching our GUI to the program.
6. What is hierarchical report?
* Hierarchical reports.
- Hierarchical ALV is used to display the header and item details in a hierarchical manner.
- 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' is the function module which is used to display the header and item details in a hierarchical manner.
Comments
Post a Comment