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

Field gray in table control

Former Member
0 Likes
2,338

Hi,

I have created a TCode for customizing table. In that i want to make it gray color(display mode) for non key fields after added the entries.

Regards

Balamurugan N

Hi,

I have created a TCode for customizing table. In that i want to make it gray color(display mode) for non key fields after added the entries.

Regards

Balamurugan N

7 REPLIES 7
Read only

Former Member
0 Likes
1,429

Hi

If u hve used the table maintaince for this.

Then when u created the table maintainces,u should assing screens for it. Goto that screen and write u r code in PBO of that screen.

Regards,

Raghu.

Read only

0 Likes
1,429

I have written my cod in PBO.

LOOP AT SCREEN.

IF SCREEN-NAME = 'ZTABLE-MATDESC'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

but it is not working. is it maintained with control name

Read only

0 Likes
1,429

Hi,

Go to Screen Layout and select the filed(Double Click) , u will get a small box with technical details of the field. In Attributes part

There is one tabstrip 'Program' in that u have a check box 'Output field' . just check it and activate it.. It will be done.

Regards

Sameer

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,429

In that i want to make it gray color(display mode) for non key fields after added the entries.

Please explain it more clearly . referering to the other replies its not required to modify the flow logic . disabling of the field can be done through maintenance view.

Please explain it clearly ......

Read only

Former Member
0 Likes
1,429

Hi ,

You want to make the table control Field (in screen painter) as gray out or customizing table field (table maintenance) gray out ?

If it is in screen painter, u can follow sameer's answer.

if it is table maintenance, u need to create a event & in that event write your loop at screen. it will work.

<< Moderator message - Point begging removed >>

Regards,

Jeya

Edited by: Rob Burbank on May 20, 2011 10:09 AM

Read only

Kiran_Valluru
Active Contributor
0 Likes
1,429

Hi.,

Check this article., [Dynaically enable/disable fields in TMG|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80b077d7-5317-2e10-8db8-aaf6921ced4a?quicklink=index&overridelayout=true]

this solves your problem.

hope this helps u.,

Thanks & Regards

Kiran

Read only

Former Member
0 Likes
1,429

Hi ,

In table maintanace generator screen.We assign single step and two step screen number.There double click on the screen number it will take you to se51 flow logic editor.In that go to screen attributes screen and change the screen properties.