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 - Display mode

Former Member
0 Likes
285

Hi,

I am doing Table control in Module pool. after entering all the values if i press save button blank lines of table control are going display mode i.e, i am unable to enter any values in table control if i once press Enter button or SAve buttom.

Please give me inputs as all the blank lines shd be in editable mode.

Regards

Rasheed.

1 REPLY 1
Read only

Former Member
0 Likes
244

Hi Rasheed,

You may be knowing table control has a propety lines i.e. you have to set the value of the lines field of the table control.Let say your table control name is tab1. So you have to set the value of tab1-lines.

In PBO in any module you can set this propetry.

But normally people used to set this property with the no. of lines in the internal table which you want to show in your table control. For e.g. Describe table itab lines tab1-lines.

And an Insert button functionality you can add at the screen that will insert editable lines in your table control.

For that write a small statement on the fn.code of this insert button.

you just have to append an initial line to the internal table.

For e.g.

If sy-ucomm = 'INSERT'.

append initial lines to itab.

endif.

I hope this may be helpful to you.