‎2008 Apr 27 11:56 AM
hi friends ,
when we use hide statement then which system field stores the value for that selection .
thanks
‎2008 Apr 27 12:01 PM
Hi,
The values of the selected line are stored in fields with the same name.
Loop at itab.
write: / itab-f1, itab-f2.
hide: itab-f1, itab-f2.
endloop.
The selected line values are taken from the work area of itab. and are with the same name To process the field values we have to take itab-f1, itab-f2.
Reward.
‎2008 Apr 27 12:01 PM
Hi,
The values of the selected line are stored in fields with the same name.
Loop at itab.
write: / itab-f1, itab-f2.
hide: itab-f1, itab-f2.
endloop.
The selected line values are taken from the work area of itab. and are with the same name To process the field values we have to take itab-f1, itab-f2.
Reward.
‎2008 Apr 27 12:06 PM
Hi,
Hide statement stores contents of variable <f> in relation to the current output line (system field sy-linno) internally in the so-called HIDE area, The variable <f> must not necessarily appear on the current line.
Reward.
‎2008 Apr 27 12:55 PM
hi,
See this ample pgm. You will get clear idea.
report zsha_1.
data: begin of itab occurs 0,
field type c,
end of itab.
itab-field = 'A'. append itab.
itab-field = 'B'. append itab.
itab-field = 'C'. append itab.
itab-field = 'D'. append itab.
itab-field = 'E'. append itab.
loop at itab.
format hotspot on.
write:/ itab-field.
hide itab-field.
format hotspot off.Regards,
Anversha
‎2008 Apr 27 2:18 PM
Hi Bhupi,
When u use hide statement and click on the output list then What ever fields u are hiding all those field data will be filled to work area of the output internal table. There is one system field
SY_LISEL which will store the whole line on which u clicked. But not only the hided fields. this variable will return the line content as a string(Including vertival lines(sy-vline) if any in ur output list).
Other usefull variables:
sy-lsind -List index
sy-curow- Current row of cursor position
sy-colno- Current column of cursor position
Thanks,
Vinod.
‎2008 Apr 27 3:30 PM
Hai,
Bapu,
There is no system field to hide some fields.but, hide is one of the way to hide field from displaying in the report.but, it is not system field. Already , in the early replies to ur questions, some of them explain hide with example.This is for furthur clarification to u.
if it useful, reward points.
Thank u,
Prasad G.V.K