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

script

Former Member
0 Likes
450

hi,

what is the use of hide in interactive?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
431

Syntax Diagram 
HIDE 


Basic form 
HIDE f. 


In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Constants not allowed in HIDE area. 

Effect 
Retains the contents of f related to the current output line. When the user selects the line from the list f is automatically filled with the retained value. 



The selection can occur in: 

AT LINE-SELECTION 

AT PFx 

AT USER-COMMAND 

READ LINE 



The contents of the field do not have to have been displayed using WRITE in order for you to retain them. 



The HIDE statement does not support deep structures (structures that contain internal tables). 



Useful system fields for interactive reporting are listed in the System Fields for Lists documentation. 



Note 
Lines or components of lines of an internal table that you address using a field symbol (see ASSIGNING addition to the READ and LOOP statements), cannot be retained using HIDE. You can store them using a global variable instead. 



Note 
Runtime errors: 



HIDE_FIELD_TOO_LARGE: The field is too long for HIDE. 


HIDE_ON_EMPTY_PAGE: HIDE not possible on an empty page. 


HIDE_NO_LOCAL: HIDE not possible for a local field. 


HIDE_ILLEGAL_ITAB_SYMBOL: HIDE not possible for a table line or component of a table line. 


Additional help 
The HIDE Technique 

REgards,

Vasanth

2 REPLIES 2
Read only

Former Member
0 Likes
432

Syntax Diagram 
HIDE 


Basic form 
HIDE f. 


In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Constants not allowed in HIDE area. 

Effect 
Retains the contents of f related to the current output line. When the user selects the line from the list f is automatically filled with the retained value. 



The selection can occur in: 

AT LINE-SELECTION 

AT PFx 

AT USER-COMMAND 

READ LINE 



The contents of the field do not have to have been displayed using WRITE in order for you to retain them. 



The HIDE statement does not support deep structures (structures that contain internal tables). 



Useful system fields for interactive reporting are listed in the System Fields for Lists documentation. 



Note 
Lines or components of lines of an internal table that you address using a field symbol (see ASSIGNING addition to the READ and LOOP statements), cannot be retained using HIDE. You can store them using a global variable instead. 



Note 
Runtime errors: 



HIDE_FIELD_TOO_LARGE: The field is too long for HIDE. 


HIDE_ON_EMPTY_PAGE: HIDE not possible on an empty page. 


HIDE_NO_LOCAL: HIDE not possible for a local field. 


HIDE_ILLEGAL_ITAB_SYMBOL: HIDE not possible for a table line or component of a table line. 


Additional help 
The HIDE Technique 

REgards,

Vasanth

Read only

Former Member
0 Likes
431

Hide protects the information of your internal table....For example, supoposed you got a table like...


FIELD1
FIELD2
FIELD3
FIELD4

The you do an ON-LINE SELECTION based on FIELD2...So the values of FIELD3 and FIELD4 would be deleted....Using HIDE: FIELD3, FIELD4...You can keep the values.

Greetings,

Blag.