Row selection on Table control
I have a requirement wherein i need to display 2 screen navigation.
The first screen contain selection parameters and based on that selection parameters data get displayed in second screen. The second screen contain table control wherein i have displayed fields from custom table.
The requirement is that if internal table is not initial then data should be displayed on table contol in display mode. The table control contain one selection field. When user select one of line on table control then table control must be changed from display mode to change mode and allow user to change existing data .
Now problem is i am unable to change table control from display mode to change mode.
plz help me out.
Thanks & regards,
Hi Parag, you can change the atribute of a table control using Loop at screen, also you can add words to the fiels to control the behavior or filter by the fields names.
LOOP AT SCREEN.
IF screen-group1 = 'CRE'
OR screen-group2 = 'CHG'.
screen-input = 1.
IF screen-group3 = 'REQ'.
screen-required = 1.
Very important here, this have to be include in the PBO into the table control loop.
LOOP AT t_itab
WITH CONTROL tc_XXXX
MODULE tc_status. " here you include the code above