‎2009 Nov 10 12:40 PM
Hello,
I m working with table control but on scrolling fcode is blank.
How can I assign fcode for the scroll in table control
‎2009 Nov 10 12:49 PM
definitely for a scroll PBO is triggered again.. so work on it...
‎2009 Nov 10 1:02 PM
‎2009 Nov 10 1:10 PM
Find out the sy-ucomm value by clicking on the scroll button in debugging mode.
Put /h in the tcode field and press enter. the debugger would be turned on. Now click on the scroll button , the screen will go to the debugging screen. enter sy-ucomm in the field and find the value. that would be the fcode of the scroll button.
‎2009 Nov 10 1:20 PM
there is no FCODE generated for this..
read the value of TOP_LINE and CURRENT_LINE in the table control element... if they are not the one which they are previously .. that means you have scrolled.
‎2009 Nov 10 1:12 PM
Hi,
There is no need to assign fcode for scrolling in table control.
The scrolling option will come automatically if you have entries greater than visible lines (SY_LOOPC) in table control.
‎2009 Nov 10 1:15 PM
Hi,
Please let us know why you want to scroll. Is there any specific req. so that we can concentrate on that issue.
Thanks.
ANil.
‎2009 Nov 10 1:35 PM
Hi,
There is no need to assign fcode for scrolling in table control.
The scrolling option will come automatically if you have entries greater than visible lines (SY_LOOPC) in table control.
If you want to have scrolling option permanently, just add the following code in PBO.
* For scrolling in table control
DATA: v_lines TYPE i.
DESCRIBE TABLE it_tc LINES v_lines.
tc_0100-lines = v_lines + 20.
where it_tc --> Table control internal table and tc_0100 --> Table control name
‎2009 Nov 10 2:21 PM
I requied for bdc and I found to be p+. Thanks to all for the code