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: 

Greying out a table row on user screen

Former Member
0 Kudos

hi to all

I am into modification of standard screen containing a table control as per requirement I want to gray out a particular row means making its value un-editable once it is filled.

Can we disable an individual cell or row ?

Pls provide the solution for the same..

Thanks in advance

Vipin B

2 REPLIES 2

abdul_hakim
Active Contributor
0 Kudos

Yeah itz possibe in the PBO use LOOP AT SCREEN.ENDLOOP.

Between this write a code like SCREEN-INPUT = 0.MODIFY SCREEN.This will do your job....

Check the sample program for this in ABAPDOCU Transaction

Abdul

Former Member
0 Kudos

Hi Vipin,

1. First u have to use 'Group' Functionality of screen Painter.

2. Now during code in 'Loop at screen. ... Endloop.' u have to check that group. If that group assigned to that cell is matched u can disable that field.

U can set the value of screen field by this sample code:

loop at screen.

case screen-GROUP1.

when 'PTP'.

screen-input = '0'.

screen-output = '1'.

modify screen.

endcase.

endloop.

Regards,

Digesh Panchal