‎2006 Oct 23 9:19 AM
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
‎2006 Oct 23 9:22 AM
‎2006 Oct 24 6:10 AM
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 screensIf you mark a view field as 'H' (= hidden) then it will not be displayed in the view.
Regards
Uwe
‎2006 Oct 24 1:57 PM
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
‎2006 Oct 24 2:36 PM
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.
‎2006 Oct 31 8:16 AM
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.