2005 Oct 26 8:40 AM
Hi ,
Whenever a table control is filled with data from an internal table, the rest of the rows becone uneditable.
Is there any way i can still add rows to the same internal table ie. using the Table control.
2005 Oct 26 8:46 AM
Vinotha,
Yes you can do this by <table control name>-lines property.
Get the max number of lines in itab, add it by 1 and then set the new value to <table control name>-lines in your PBO.
code will look something like this in PBO
Describe table itab into w_lines.
<table control name>-lines = w_lines + 1.
Hope this helps.
Ravi.
2005 Oct 26 8:46 AM
Vinotha,
Yes you can do this by <table control name>-lines property.
Get the max number of lines in itab, add it by 1 and then set the new value to <table control name>-lines in your PBO.
code will look something like this in PBO
Describe table itab into w_lines.
<table control name>-lines = w_lines + 1.
Hope this helps.
Ravi.
2005 Oct 26 9:01 AM
2006 Jan 13 4:21 PM
This is by far the simple and great answer for this question.
Thanks a bunch.
Regards
Shiv