‎2007 Apr 06 6:38 AM
Dear Friends,
Is there any demo program where I can add a new entry in a table-control without having access (display only) to entries already there.
Waiting for your inputs,
Alok.
‎2007 Apr 06 11:58 AM
Hi Alok,
Hope this steps - code will help you to resolve this issue.
1. Create A Group for your table control. In Screen Painter.
2. Write Screen modification routine for the same
it can be like this..
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
LOOP AT SCREEN.
IF screen-group1 = 'MOD'.
IF flag = ' '.
screen-input = '0'.
ELSEIF flag = 'X'.
screen-input = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE.
3. This will disable the display of the Fields in TABLE Control.
4. in the PBO loop of the table control. Identify the lines which u want to keep active.
Hope this will help
<i><b>** Reward points to helpful answer</b></i>
‎2007 Apr 06 8:48 AM
‎2007 Apr 06 10:06 AM
Hi
refer these programs for the same
RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
RSDEMO_TABLE_CONTROL
RSDEMO02
Regards,
Sonika
‎2007 Apr 06 11:58 AM
Hi Alok,
Hope this steps - code will help you to resolve this issue.
1. Create A Group for your table control. In Screen Painter.
2. Write Screen modification routine for the same
it can be like this..
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
LOOP AT SCREEN.
IF screen-group1 = 'MOD'.
IF flag = ' '.
screen-input = '0'.
ELSEIF flag = 'X'.
screen-input = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE.
3. This will disable the display of the Fields in TABLE Control.
4. in the PBO loop of the table control. Identify the lines which u want to keep active.
Hope this will help
<i><b>** Reward points to helpful answer</b></i>
‎2007 Apr 18 1:12 PM