Answer Posted / shreeshaildiggi
Syntax
HIDE SHREE.
Effect
This statement stores the content of a variable SHREE
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 SHREE 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.
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.
Thank's and Regards
Shreeshail Diggi
SAP Technical Consultant Infinite India
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a projection view? : abap data dictionary
What is the difference between the function module and a normal abap/4 subroutine? : abap modularization
What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?
Explain how to write a bdc - how do you go about it?
Which commands are used for interactive reports?
How can we omit a leading sign and a leading zero in sapscript?
What are the two statements which are required in an abap program to output an icon using a write statement?
Differentiate between ooabap and abap?
what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
What is a size category?
Can you assign a matchcode object to a parameter? If so how?
What is going life actually? What is the role of a functional consultant in it? : sap abap hr
Update function modules are classified as either v1 or v2. Which type of update is performed first and in what mode (asynchronously, synchronously or locally) can each type be processed in?
What are the 3 types of tables in sap? : abap data dictionary
what is defference between repository and non repository Object?