‎2008 Apr 11 6:02 AM
In my table control as soon as i create table control shows personal no in that particular date range.Rest lines appear disable mode.(10 lines able rest disable)
But when i come back i hav cleared my internal table.Now i 'm entring new date & all personal active will appear on screen.
But my error is only 10 lines are able rest are disable though i have 20 entries in my internal table.
Wht else i have to clear.Do i have to clear my table control.
Please guide.Its urgent.
‎2008 Apr 11 6:16 AM
hello
According to what you have posted, i think this will solve your problem :
In PBO just after filling ur internal table add these two commands which will solve your problem.
DESCRIBE TABLE internal_table LINES line.
here internal_table name and one line variable of type I is required. This will give you total number of enteries in your internal table. After this
tctrl_table-LINES = line.
here tctrl_table is table control name and LINES are total number of lines which will be there in table control. So we assign total number of lines of internal table to table control.
revert for further queries and reward properly
Regards
Brajvir
‎2008 Apr 11 6:06 AM
Use this code in your PBO.
DESCRIBE itab LINES l_line.
tcontrol-lines = l_line.
hope this helps you.
Thanks,
Arun
‎2008 Apr 11 6:16 AM
hello
According to what you have posted, i think this will solve your problem :
In PBO just after filling ur internal table add these two commands which will solve your problem.
DESCRIBE TABLE internal_table LINES line.
here internal_table name and one line variable of type I is required. This will give you total number of enteries in your internal table. After this
tctrl_table-LINES = line.
here tctrl_table is table control name and LINES are total number of lines which will be there in table control. So we assign total number of lines of internal table to table control.
revert for further queries and reward properly
Regards
Brajvir
‎2008 Apr 11 6:23 AM
HI,
This PBO event.
data: line type sy-tabix.
DESCRIBE Table <Internal table name> LINES line.OR
PBO
<Table control name>-lines = 200.Regards,
Brown.