Application Development and Automation 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: 
Read only

Adding a new entry in Table-Control

Former Member
0 Likes
860

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
683

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>

4 REPLIES 4
Read only

Former Member
0 Likes
683

Could you be more clear on your question please...

Read only

former_member632991
Active Contributor
0 Likes
683

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

Read only

Former Member
0 Likes
684

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>

Read only

0 Likes
683

thanks.

Alok.