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

HIDE STATEMENT IS MUST OR NOT FOR INTERACTIVE REPORT

Former Member
0 Likes
920

HI,

IN Interactive Report : without using the hide statement we will made the interactive report? and hide statement do its job after every increase of the sy-lsind please explain..

thanks

margani

1 ACCEPTED SOLUTION
Read only

Former Member
5 REPLIES 5
Read only

Former Member
0 Likes
783

Hi

Welcome to SDN

Yes, HIDE is a must in Interactive report to get the details of that particular field

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.

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
783

Hi margani,

1. HIDE is not must for interactive report.

2. HIDE is used for detecting

on which row the user has double-clicked,

and getting the content of that line or the variable(s) which are hidden.

3. We can also use sy-lilli (to get the contents of the whole line),

and parse the appropriate value using offset.

regards,

amit m.

Read only

Former Member
Read only

Former Member
0 Likes
783

IT NOT BE MUST

<u>HIDE</u>

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.

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.

Read only

Former Member
0 Likes
783

THANKS