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

pradiptakumar_mishra
Participant
0 Likes
818

Hi Experts,

I am facing a typical problem with table control . Whenever am trying to scroll in my table control the data is getting invisible from the control.

But its there in the itab(which i found out by debugging).

I've no clear/refresh statements in the code. Am using refresh control command.

Also the scrolling is having problems.

Awaiting for your soonest replies.

Thanks a lot in advance.

With Regards

Pradipta K Mishra

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
795

Where is your REFRESH CONTROL statement?

Regards,

RIch Heilman

10 REPLIES 10
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
796

Where is your REFRESH CONTROL statement?

Regards,

RIch Heilman

Read only

0 Likes
795

Its in the PAI of that screen.

Read only

0 Likes
795

Remove it from the PAI, only refresh when you are refilling with data.

Regards,

Rich Heilman

Read only

0 Likes
795

hi Pradeeptha,

Put REFRESH CONTROL Statement before the Itab gets refilled.

Regards,

Santosh

Read only

0 Likes
795

Shouldn't it be directly <i>after</i> the ITAB gets refilled? Doing so will reset the number of lines in the table control to the lines of the internal table.

Regards,

Rich Heilman

Read only

0 Likes
795

Dear Rich,

No its not working.also if am inserting new entries and pressing enter, only the 1st line is being display. rest of the records are not displayed on the screen.

actually this control is for the enduser to make new entries.

hope it'll make the scenario a bit more clear.

Rgds

Pradipta

Read only

0 Likes
795

Hi Pradipta,

Are you using any field validations in PAI ? If so, please use 'On Change Value'. I don't remember that word, i did that long ago.

Shylesh

Read only

0 Likes
795

Dear Sailesh,

Am using field validation with on request addition.Also pls tell me where exactly will i have to mention that describe table stmt for vertical scrolling. i checked in the pai but its not triggering.

its completely type M .

With Rgds

Pradipta

Read only

0 Likes
795

Hi Pradipta,

This is the code i used in my program and was working fine.

MODIFY I_INDSPEC1 INDEX TCONTROL-CURRENT_LINE.

READ TABLE I_INDSPEC1 INDEX TCONTROL-CURRENT_LINE.

DESCRIBE TABLE I_INDSPEC1 LINES W_LINE.

IF TCONTROL-CURRENT_LINE > SY-TABIX.

MOVE-CORRESPONDING I_INDSPEC1 TO I_INDSPEC1.

APPEND I_INDSPEC1.

CLEAR I_INDSPEC1.

ENDIF.

Let me know if you need any further or else give me ur mail id, i send you the complete code.

Shylesh

Read only

Former Member
0 Likes
795

Hi pradipta,

I remember the same situation recently.That guy was using two internal tables to populate the table control.

Could you please post your code for PBO and PAI (for filling table control and user action).

regards,

vicky