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
443

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
418

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

3 REPLIES 3
Read only

Former Member
0 Likes
418

Use this code in your PBO.

DESCRIBE itab LINES l_line.

tcontrol-lines = l_line.

hope this helps you.

Thanks,

Arun

Read only

Former Member
0 Likes
419

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

Read only

Former Member
0 Likes
418

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.