‎2009 Apr 09 12:57 PM
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.
‎2009 Apr 10 7:44 AM
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.