Skip to Content
0
Dec 03, 2009 at 08:43 AM

How to Make a selected row of table control Editable?

719 Views

Hi All,

I have a table control on screen in that i am displaying all the records from ztable ZFLIGHT.and i want to make the selected single row of table control editable so that i can make chnages into them and save the changes.

I am trying to do like this but it wont work.

LOOP AT SCREEN.

IF SCREEN-NAME = 'ZFLIGHT-ZCARRID' OR

SCREEN-NAME = 'ZFLIGHT-ZCONNID' OR

SCREEN-NAME = 'ZFLIGHT-ZFLDATE' OR

SCREEN-NAME = 'ZFLIGHT-ZSEATSMAX' OR

SCREEN-NAME = 'ZFLIGHT-ZSEATSOCC'.

LOOP AT G_TBL_FLI_ITAB INTO G_TBL_FLI_WA.

IF G_TBL_FLI_WA-FLAG = 'X'.

SCREEN-INPUT = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

ENDLOOP.

Thanks and Regards,

Arpita