Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sys field for hide

Former Member
0 Likes
713

hi friends ,

when we use hide statement then which system field stores the value for that selection .

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
691

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.

5 REPLIES 5
Read only

Former Member
0 Likes
692

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.

Read only

Former Member
0 Likes
691

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.

Read only

anversha_s
Active Contributor
0 Likes
691

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

Read only

vinod_vemuru2
Active Contributor
0 Likes
691

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.

Read only

Former Member
0 Likes
691

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