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

Hidden Fields

Former Member
0 Likes
962

Hi,

Can anyone give me some information on 'Hidden fields'.

Such as 1) How it is created?

2) How it can be used?

etc.

Regards,

Aravind

5 REPLIES 5
Read only

Former Member
0 Likes
806

hi,

Check this thread.

Cheers

Alfred

Reward with points for helpful answers

Read only

uwe_schieferstein
Active Contributor
0 Likes
806

Hello Aravind

Hidden fields only make sense in the context of views. For example, if you define a maintenance view for a DB table choose tabstrip "ViewFields" and move the scroll bar at the bottom to the left. There you will see a small column labeled "P". Calling F4 help there are 4 possible values for a view field:

' ' 	View field is available as normal
'R'	View field can only be read
'S'	View field is used to form subsets
'H'	View field is not transferred to the maintenance screens

If you mark a view field as 'H' (= hidden) then it will not be displayed in the view.

Regards

Uwe

Read only

Former Member
0 Likes
806

Hi ,

If you are asking about hiding screens in reports and module pools, you can hide or display the field as follows

loop at screen.

if screen-name = 'Field name you want to hide'.

screen-invisible = 0.

modify screen.

endif.

endloop.

usage: you can make a field hidden on click of a specific button of for a specific user or a condition by just including the above code as

if (your requirement).

-


above code------

endif.

nb:the field name in single cots must have the same pattern ie,Capslock and format as in screen...otherwise it wont work

Regards

Bx

Read only

Former Member
0 Likes
806

you can hide some fields on the report output as well, check "hide" statement. it's used in the event at line-selection where the fields you used in "hide" statement restore their values from the selected line of the report.

Read only

Former Member
0 Likes
806

you can hide the fields in the screens by using the screen groups.

for Ex.

LOOP AT SCREEN.

IF screen-group1 = 'MOD'.

screen-invisible = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.