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

Hiding a table field

Former Member
0 Likes
693

I have a maintenance view for my custom table. I have a key field which i want to hide .

In the layout, the property is disabled,, i mean i cannot make it display->invisible ON.

How to do this?

do we have something like LOOP AT SCREEN here also .

Reply at soonest.

Regards

Alok Pathak

I have a maintenance view for my custom table. I have a key field which i want to hide .

In the layout, the property is disabled,, i mean i cannot make it display->invisible ON.

How to do this?

do we have something like LOOP AT SCREEN here also .

Reply at soonest.

Regards

Alok Pathak

5 REPLIES 5
Read only

Former Member
0 Likes
597

From sm54, you can go to the source code and

in the PBO section, you can make dynamic screen modifications using the

loop at screen.

if screen-name = <your screen field>.

screen-invisible = 1.

screen-active = 0.

modify screen.

endif.

endloop.

Regards,

ravi

Read only

0 Likes
597

it is possible to hide the field using this , but i have to hide the entire table coulmn in the table control and this column is key field.

suggest in this direction.

Read only

Former Member
0 Likes
597

Hii

loop at screen.

if screen-name = 'S_ORG'.

screen-input = 0.

screen-invisible = 0 .

modify screen.

endif.

endloop.

Read only

Former Member
0 Likes
597

hii

give a group G1 in the options field for the column field..

then

[1. define group name(s) for the columns to be hidden

2. Add the following code...

(define)

controls tbl_ctrl type tableview ...

wa like tbl_ctrl-cols.

<b>loop at tbl_ctrl-cols into wa.

if wa-screen-group1 = <group defined for the column>

wa-invisible = 1.

modify tbl_ctrl-cols from wa

endif

endloop</b>

Regards

Naresh

Read only

andreas_mann3
Active Contributor
0 Likes
597

hi,

there's another way:

sm30 - konfiguration (icon right on top of the TC) - administrator - checkbox invisible

Andreas