11-30-2007 7:27 AM
Hello all,
I have created table contr. <b>TC1</b>. I want all rows as non-editable row while displaying first time but when user says 'create row' the last row only should become editable.
11-30-2007 9:18 AM
Hi Abhijeet,
Write the Code in the PBO of the screen.
LOOP AT it_e1vdewunh INTO wa_e1vdewunh WITH CONTROL tc_msg CURSOR
tc_msg-current_line.
MODULE disp_mode.
ENDLOOP.
MODULE disp_mode.
IF tcode = 'DISPLAY'.
LOOP AT SCREEN.
IF screen-group2 = 'DIS'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
END MODULE.
While Pressing the Create New check the OK_CODE and do the reverse.
shibu
11-30-2007 10:05 AM
thanks man.
Your logic is working except that I have to use screen-input instead screen-active.
thanks again.