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

Table control

Former Member
0 Likes
523

Hi,

I have a dialog program which has 3 transactions for 3 screens.All the screens have the same structure, the only difference is that, on the first screen the user can create the record, on second the user can change the data and the third one is for display only.The screen contains a tabstrip , in one of the tabs there is a table control.The table cotrol has been created using the wizard. Now I am facing few problems with the table control:

1.On the create screen when the user enters the data in the table control and presses the enter the rest of the table control gets disabled and the user cant enter any more rows.Though I want when the user presses enter, in the serial No. field the next no. should be generated on its own.

2.In the change screen the user can see only those lines in the table control in editable mode whic were created by the user. Rest of the lines are disabled and the user can not add more lines.

Please suggest the solution to these problems.

2 REPLIES 2
Read only

GauthamV
Active Contributor
0 Likes
453

Check this program.

RSDEMO02

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
453

Hi,

If certain screen fields in the table control needs to be disabled, find the fields which needs to be disabled and then in PBO do the logic.

loop at screen.

if screen-name eq 'ITAB-FIELD1'.

screen-input = 0.

modify screen.

endif.

endloop.