01-17-2006 6:49 AM
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
01-17-2006 7:01 AM
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
01-17-2006 7:09 AM
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