2007 Nov 16 9:02 AM
hi gurus,
can anyone inform me what is hide statement do
for which purpose we use that one
thank you,
kals.
2007 Nov 16 9:03 AM
Hi
Hide
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. 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.
Regards
Anji
2007 Nov 16 9:03 AM
HI,
Hide f.
the contents of f related to the current output line are stored. If this line is selected, f is filled automatically with the stored value.
rgs
2007 Nov 16 9:07 AM
hi,
Hide will keep the field's contents in memory, when you click on this, it will take positon you clicked on field, not the value.
This is very much useful to avoid tampering of data in interactive reporting.
disadvantage is if you have large number of records, it will take lot of memory and performance also becomes low
regards,
pavan
Message was edited by:
pavan kumar pisipati
2007 Nov 16 9:07 AM
Syntax: HIDE dobj.
Effect
This statement stores - in the current list level - the content of the variable dobj together with the current list line whose line number is contained in sy-linno. The data type of the variables dobj must be flat and no field symbols can be specified that point to rows of internal tables, and no class attributes can be specified. The stored values can be read as follows:
For each user action in a displayed screen list that leads to a list result, all the row values stored using HIDE - that is, the row on which the screen cursor is positioned at the time of the event - are assigned to the respective variables.
If a list row of an arbitrary list level is read or modified using the statements READ LINE or MODIFY LINE, all the values of this row stored using HIDE are assigned to the respective variables.
Notes
The HIDE statement works independently of whether the list cursor was set. In particular, variables for empty list rows can be stored - that is, rows in which the list cursor was positioned using statements like SKIP.
The HIDE statement should be executed immediately at the statement that has set the list cursor in the row.
Outside of classes, constants and literals that cannot be read in list results and in the statement READ LINE can be specified for dobj outside of classes
From Std help..
Reward all helpful queries
2007 Nov 16 9:10 AM
Hi
The HIDE keyword is used to store data objects and their values so they can be made available when the User selects a report line. When a line is selected, the fields that were hidden are filled with the values that you hid for that line.
The user selects a line for which
data has been stored in the HIDE
area. The runtime system evaluates
field SY-LILLI to determine the
selected line.
The runtime system jumps to the
point in the HIDE area where data
for this line is stored.
The runtime system then inserts all
values stored for the selected line in
the HIDE area into their
corresponding fields.
The runtime system processes the
event AT LINE-SELECTION and
its corresponding program
processing block.
A detail list is created.
<b>Reward if usefull</b>
2007 Nov 16 9:12 AM
In interactive report, u want to click on a line and go to a second screeen.
so u need to get on which line user had clicked so that u can populate second csreen accordingly.
so each and every line item u hide the value say order number.
in AT-LINE SELECTION event u can use READ LINE and retrieve the value u stored in that line using hide
*reward if answered