Halo experts,
I have a Table control TCTRL in a program .
The lt_tab contains two cols A and B
In change mode of the transaction Col A is in display mode and Col B is in change mode
When i press the + button to insert a new blank entry .I need a blank row with both col A and col B input enabled w/o affecting the display of above and below rows of table control
In PBO module of subscreen 101
LOOP AT lt_tab WITH CONTROL tctrl.
MODULE tctrl_status.
endloop.
In the user command of 0101
i am writn
When 'INS'.
INSERT INITIAL LINE INTO itab.
Inside MODULE tctrl_status.
IF lt_tab IS INITIAL.
LOOP AT SCREEN.
IF screen-name = 'COLA'.
screen-input = 1.
ENDIF.
ENDLOOP.
MODIFY SCREEN.
endif.
but the problem here is still the Col A is in display mode and Col B is in change mode after output
.Here modify statement is happening but it does not update the TCTRL-COLS-Screen structure for the col A ( which I have set statically while designing the screen ).I dont want to make the entire row in edit mode only the inserted row ( for both Col A and Col B) and the rest shud remain as it is
Thanks
Kallu