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

table maintainance (restriction on displaying fields)

Former Member
0 Likes
1,243

hello

i have created table maintainance generator.now my requirement is i dont want to display all table fields.just 2 fields want to display.all other should be in invisible.can anybody suggest me how to do it?

regards

soniya s.

hello

i have created table maintainance generator.now my requirement is i dont want to display all table fields.just 2 fields want to display.all other should be in invisible.can anybody suggest me how to do it?

regards

soniya s.

11 REPLIES 11
Read only

Former Member
0 Likes
1,221

reason?

Read only

former_member438956
Active Participant
0 Likes
1,221

u can create a view of selected fields which u want to display and can have a maintenance view for that.

Regards,

Anil N.

Read only

Former Member
0 Likes
1,221

Hi Soniya ,

To Hide one of the field from table into the Table Maintainance generator,

Call one module Say :

MODULE Hide in the PBO of the Module pool of table maintainance generator Program.

Write the Following code in above module :

MODULE Hide OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'ZGIFT_DISPATCH-MAKTX'.

screen-invisible = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDMODULE. " Hide OUTPUT

Replace the name of field accordingly in IF condition.

It will Work.

Thanx and Regards,

Nikhil Joshi

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,221

go to the screen layout of that maintenace

delete that column in layout ..

Read only

Former Member
0 Likes
1,221

any other suggestion???

Read only

0 Likes
1,221

in the layout view add a group name to the columns to be hidden.

then in event PBO.

check for MODIF ID

then

scrren-active = 0.

modify screen.

got it !!!!!!

Read only

0 Likes
1,221

ok i am trying this..let you know..

Read only

Former Member
0 Likes
1,221

hi soniya,

why dont u create a projection view in se11 for ur table wch u hv already created,u can show only ur desired fields in that view

regards

shivraj

Read only

Former Member
0 Likes
1,221

hello

There is a options avaliable in which u can display the fields but in DISPLAY MODE for which

u go to the FG where u have stored the table maitain from SE80

the click on the screen unders Element list tab --> general attributes tab there is column output only

u can use that....

Read only

Former Member
0 Likes
1,221

you can do 3 things.

1) Delete the field from screen ( which i will not recommend )

2) Do it using the events ( modify the screen )

3)add a module before PBO and do it.

i think you only need a display according to ur requirement in that case best option is to

create a view and make a maintenance screen for that.

Regards Nafran

Read only

Former Member
0 Likes
1,221

Hi,

When u generate table maintainence view. it create screen. you go to that screen , click on layout. from their u can remove fields, or disable those fields..

Regards

Vishnu Gupta