Application Development 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: 

How to hide fields in Table maintenace screen

Former Member
0 Kudos

I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

to hide the fields on the screen here is the code for you

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'INV'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '0'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

if u want visible keep '1' in place of '0'.

with regards,

sumanth reddy

10 REPLIES 10

MarcinPciak
Active Contributor
0 Kudos

You have to change your maintenance view. Its purpose is not only defining relationship between tables but also determining which fields should be in your interface. All key fields anyhow must be included in the this kind of view. It is a must in order system can later distribute new entry along the involved tables.

All the other fields can be ommited and as a result will not be displayed in your maintenance view.

Regards

Marcin

Former Member
0 Kudos

Hi,

Please find the Link below

[Table Maintenance Screen|http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm]

Thanks

Kalyan

Former Member
0 Kudos

Hi,

Create a maintenance View (SE11) With one table

select the fields you want.Create a maintenance generator for it.

This will resolve the issue.

Regards,

Gurpreet

Former Member
0 Kudos

hi,

u create a maintance view for that table in that view just add the fields what u needed to display,

create a maintance genarator for that view it will reach your requirement.

regds:

rajesh.k

Former Member
0 Kudos

Create a table maintenance view .add the relevant fields in it and then create a table maintenance generator for it.

this is the way u can hide the fields otherwise no.

Former Member
0 Kudos

hi,

to hide the fields on the screen here is the code for you

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'INV'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '0'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

if u want visible keep '1' in place of '0'.

with regards,

sumanth reddy

0 Kudos

HI,

This is reff with ur below post, I have been stuck with same problem,

I got your code, how its functioning, but didn't get get where i have to write it.

plz tell me in brief.

Thanks in Advance.

Regards

Vivek

-


Re: How to hide fields in Table maintenace screen Correct

Posted: Feb 6, 2009 11:30 AM in response to: Aarti Ramdasi in response to: Aarti Ramdasi

Click to report abuse... E-mail this message Click to reply to this thread Reply

hi,

to hide the fields on the screen here is the code for you

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'INV'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '0'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

if u want visible keep '1' in place of '0'.

with regards,

sumanth reddy

-


0 Kudos

Hi Vivek,

You can add this code in the Top Include of Function Group where you have given in Table maintainance generator. It will work.

else you can add the event in se54 for the table maintainance.

Cheers!

Sagun Desai

Former Member
0 Kudos

Hi,

You can hide the fields like this..

For example

select-options:

s_carrid for spfli-carrid modif id gr1,

s_connid for spfli-connid modif id gr1,

s_cityto for spfli-cityto modif id gr2.

I am going to hide last fied..To do this

at selction-screen output.

if s_carrid is initial or s_connid is initial.

loop at screen.

if screen-group1 CS 'GR2'.

screen-active = 0.

modify screen.

endif.

endloop.

endif.

whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially

Regards

Kiran

0 Kudos

HI,

This is reff with ur below post, I have been stuck with same problem,

I got your code, how its functioning, but didn't get get where i have to write it.

plz tell me in brief.

Thanks in Advance.

Regards

Vivek

-


Re: How to hide fields in Table maintenace screen

Posted: Feb 6, 2009 11:42 AM in response to: Aarti Ramdasi in response to: Aarti Ramdasi

Click to report abuse... Click to reply to this thread Reply

Hi,

You can hide the fields like this..

For example

select-options:

s_carrid for spfli-carrid modif id gr1,

s_connid for spfli-connid modif id gr1,

s_cityto for spfli-cityto modif id gr2.

I am going to hide last fied..To do this

at selction-screen output.

if s_carrid is initial or s_connid is initial.

loop at screen.

if screen-group1 CS 'GR2'.

screen-active = 0.

modify screen.

endif.

endloop.

endif.

whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially

Regards

Kiran

-