FAQs_Reports
FAQs_Reports
- Fetch the required data from DB and display O/P based on I/P.
2. Types of reports?
- Classical, Interactive, ALV.
9. Difference between internal table with header line and without header line?
- Internal table with header line is work area name as well as internal table name
is same.
without header line means only internal table created, workarea to be created
separately.
1)AT Line Selection: - This event is triggered whenever the user double clicks on
any list line.
To know the selected line contents, we have two keywords or statements
1)HIDE
2)GET CURSOR
HIDE: - It is a keyword which is used to hide the data into a temporarily memory
called as hide area for further processing.
We use the hide statement within the loop….end loop, so that the HIDE keyword
will hide the values into hide area.
GET CURSOR: - This statement is used to read or get the selected line content .
i.e. fieldname, field value into the variables.
2)AT User command: - This event is triggered whenever the user clicks on custom GUI
buttons.
3)Top of page during line selection: - This event is used for providing the
constant page heading for all the secondary lists.
4)AT PF <Function Key>: - This event is used or triggered whenever the user clicks
on function keys (f1, f2, .etc)
TRFC - All TRFC (Transactional RFC) FMs will be executed in the target server
independently.
QRFC - QRFC came into picture to control the sequence (FIRST IN - FIRST OUT) of
the RFCs execution in the target server.
ALV REPORTS
Uses of ALV?????
-Sorting of records
-Filtering of records
-Totals and Sub-totals
-Download the report output to Excel/HTML
-Changing the order of the columns in the report
-Hide the unwanted columns from the report
-->In Alv's How Would You Get Default Values In The Selection Screen?
Ans: Create a variant in the ALV Report with whatever columns you would like to
see
and set sort criteria and column widths and save as a default variant.
The below code also shows you how to add a image to your ALV report.
39. I want to change ALV O/P field value and update it in DB?
- Set field catalog EDIT to X and use USER-COMMAND event and add required logic in
the FORM routine.
40. I want to see the selected sales order details from ALV O/P (sales order is
available in O/P)?
- Use USER-COMMAND event,
SET PARAMETER ID,
Call transaction VA03.
1. The system generated Functions start with REUSE* are used to display the data.
=================================================================
2. Performance is not as good as ALV Reports since the LOOP statement must be used
to display the data.
2. Performance is good since the data is displayed using the function modules
outside of the loops.
=================================================================
=============================================================
==========================================================