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: 

Hi need help in table control

Former Member
0 Kudos

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.

2 REPLIES 2

former_member667836
Active Participant
0 Kudos

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

0 Kudos

thanks man.

Your logic is working except that I have to use screen-input instead screen-active.

thanks again.