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 in interactive reports

Former Member
0 Likes
2,092

hi experts,

can anybody please tell me , how many levels of interactive reports we can generates using HIDE statements.??

Answer will be rewarded.

Sandeep Yadav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,022

Hi sandeep,

Basically we are using interactive reporting to split the o/p in N no of lists.

In interactive reporting we can have 1 basic list and 20 secoundry lists, After 20 it will go for dump.

Regards,

DVNS

4 REPLIES 4
Read only

Former Member
0 Likes
1,022

20 secondary lists can be created by using HIDE

Read only

Former Member
0 Likes
1,022

HIDE

Syntax

HIDE dobj.

Effect

This statement stores the content of a variable dobj together with the current list line whose line number is contained in sy-linno in the hide area of the current list level. 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, prior to release 7.0, for dobj constants and literals could still be specified. However, it was not possible to read them at list events and in the READ LINE statement.

Example

Storing square numbers and cubic numbers for a list of numbers. The example shows that arbitrary variables can be stored independently of row content. In the real situation, one would more likely store only the number and execute the calculation, when required, in the the event block for AT LINE-SELECTION.

REPORT ...

DATA: square TYPE i,

cube TYPE i.

START-OF-SELECTION.

FORMAT HOTSPOT.

DO 10 TIMES.

square = sy-index ** 2.

cube = sy-index ** 3.

WRITE / sy-index.

HIDE: square, cube.

ENDDO.

AT LINE-SELECTION.

WRITE: square, cube.

Read only

Former Member
0 Likes
1,023

Hi sandeep,

Basically we are using interactive reporting to split the o/p in N no of lists.

In interactive reporting we can have 1 basic list and 20 secoundry lists, After 20 it will go for dump.

Regards,

DVNS

Read only

Former Member
0 Likes
1,022

Hi..Sandeep...

HIDE statement doesn't create any Interactive report.

It is used to hold the data, where you double clicked,

so that it is available for next level report.

In this way you can dispaly 20 levels of reports.

After that, if you try for next report,it will go to dump.

I hope, you understood.

Regards

sandeep.