How to use a grid list?
Use Function Module Display_*LIST. In U'r program .Put all
the data that U want to output in its final format and then
pass this internal table to the function module
Two types of grid list .
DISPLAY_GRID_LIST(Version 4.0b)
DISPLAY_BASIC_LIST(Version 4.6b)
Calculate the subtotal etc and save it as a variant,
However while printing it will print all the enties of the
fields
How to pass data from the form to the Subroutine program?
Use structure ITCSY
How can we pass selection and parameter data to a report ?
- There are three options for passing selection and
parameter data to the report.
. using SUBMIT...WITH
. using a report variant
. using a RANGE table
Standard Programs that every ABAPer Shud Know
RSAVGL00 Table adjustment across clients
RSBDCSUB Release batch-input sessions automatically
RSCLTCOP Copy tables across clients
RSINCL00 Extended program list
RSORAREL Get the Oracle Release
RSPARAM Display all instance parameters
RSTXSCRP Transport SAPscript files across systems
RGUGBR00 Substitution/Validation utility
RSUSR003 Check the passwords of users SAP* and DDIC in all clients
RSUSR006 List users last login
RSTXLDMC To Load LOGO's to application server
Interactive¬ Reporting
Interactive reporting allows the user to participate
actively in retrieving and presenting data during the
session. Instead of one extensive and detailed list, with
interactive reporting you create a condensed basic list
from which the user can call detailed information by
positioning the cursor and entering commands. Interactive
reporting thus reduces information retrieval to the data
actually required.
What are the event key words in interactive reporting?
Event keyword Event
AT LINE-SELECTION Moment at which the user selects a line
by double-clicking on it or by positioning the cursor on it
and pressing F2.
AT USER-COMMAND Moment at which the user presses a function
key.
TOP-OF-PAGE DURING LINE-SELECTION Moment during list
processing of a secondary list at which a new page starts.
What is secondary list ?
Secondary lists allow you to enhance the information
presented in the basic list. The user can, for example,
select a line of the basic list for which he wants to see
more detailed information. You display these details on a
secondary list. Secondary lists may either overlay the
basic list completely or you can display them in an extra
window on the screen. The secondary lists can themselves be
interactive again.
How to select valid lines for secondary list ?
To prevent the user from selecting invalid lines, ABAP/4
offers several possibilities. At the end of the processing
block END-OF-SELECTION, delete the contents of one or more
fields you previously stored for valid lines using the HIDE
statement. At the event AT LINE-SELECTION, check whether
the work area is initial or whether the HIDE statement
stored field contents there. In the latter case, create a
secondary list, since you previously stored field contents
for valid lines only. After processing the secondary list,
clear the work area again. This prevents the user from
trying to create further secondary lists from the secondary
list displayed.
How to create user interfaces for lists ?
The R/3 system automatically generates a graphical user
interface (GUI) for your lists that offers the basic
functions for list processing, such as saving or printing
the list. If you want to include additional functionality,
such as pushbuttons, you must define your own interface
status. To create a new status, the Development Workbench
offers the Menu Painter. With the Menu Painter, you can
create menus and application toolbars. And you can assign
Function keys to certain functions. At the beginning of the
statement block of AT END-OF-SELECTION, activate the status
of the basic list using the statement: SET PF-STATUS
'STATUS'.
Can we call reports and transactions from interactive
reporting lists ?
YES.Interactive reporting also allows you to call
transactions or other reports from lists. These programs
then use values displayed in the list as input values. The
user can, for example, call a transaction from within a
list to change the database table whose data is displayed
in the list.
How to maintain lists ?
To return from a high list level to the next-lower level
(SY-LSIND), the user chooses Back on a secondary list. The
system then releases the currently displayed list and
activates the list created one step earlier. The system
deletes the contents of the released list. To explicitly
specify the list level into which you want to place output,
set the SY-LSIND field. The system accepts only index
values which correspond to existing list levels. It then
deletes all existing list levels whose index is greater or
equal to the index you specify. For example, if you set SYLSIND
to 0, the system deletes all secondary lists and
overwrites the basic list with the current secondary list.
What are the page headers for secondary lists?
On secondary lists, the system does not display a standard
page header and it does not trigger the event TOP-OF-PAGE.
To create page headers for secondary list, you must enhance
TOP-OF-PAGE:
Syntax TOP-OF-PAGE DURING LINE-SELECTION. The system
triggers this event for each secondary list. If you want to
create different page headers for different list levels,
you must program the processing block of this event
accordingly, for example by using system fields such as SYLSIND
or SY-PFKEY in control statements (IF, CASE).
A complete book of more than 80 pages with answers. To get the complete book, click the below link and enter email id to subscribe us:
ABAP Certification Dump subscription link
ABAP Certification Dump subscription link