02-05-2009 5:38 PM
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.
02-06-2009 10:30 AM
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
02-05-2009 6:02 PM
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
02-06-2009 3:43 AM
Hi,
Please find the Link below
[Table Maintenance Screen|http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm]
Thanks
Kalyan
02-06-2009 5:14 AM
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
02-06-2009 6:12 AM
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
02-06-2009 6:54 AM
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.
02-06-2009 10:30 AM
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
08-05-2010 9:18 AM
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
-
08-05-2010 12:32 PM
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
02-06-2009 10:42 AM
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
08-05-2010 9:16 AM
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
-