‎2019 May 02 11:51 AM
Hello all,
In a specific control table implemented as subscreen in MM01/02/03 , i add the function of scrolling in PBO
with this code :
************Module scrolling **************************************
DATA : count_lines TYPE i.
DESCRIBE TABLE lt_itab LINES count_lines.
ct_tab-lines = count_lines + 1 .
ct_tab-v_scroll = 'X'.
*********************************************************************
i succeed to display the scroll , but when i'm scrolling down i have this pop up

How can i avoid it ?
Thanks in advance
Rachid
‎2019 May 02 12:39 PM
I think you have a bug in your code. Debug to troubleshoot the issue.
‎2019 May 02 6:09 PM
I didn't find a way to resolve the issue
when i debug it
the pop up is triggred from the FM MATERIAL_DYNPRO_CHECK
line : 50
line :481
that's what i found ..
‎2019 May 02 6:46 PM
Hi,
Did you try bellow
REFRESH CONTROL 'TAB5' FROM SCREEN '220'.
REFRESH CONTROL 'TABNAME' FROM SCREEN 'SCREENNO'."you have to pass your tab name and screen number
and
ct_tab-lines = count_lines + 20 .
Regards,
Nawa
‎2019 May 02 9:21 PM
‎2019 May 02 9:32 PM
You have to do it under PBO (PROCESS BEFORE OUTPUT). still if you have issue with that , kindly share the code of
user_command_scroll.
Regards,
Nawa
‎2019 May 02 11:06 PM
PROCESS BEFORE OUTPUT.
MODULE init_sub.
* MODULE STATUS_9001.
MODULE get_data.
MODULE initscreen.
LOOP WITH CONTROL refconcurent .
MODULE scrolling.
ENDLOOP.
**************************************************************************************************
***************************Module Scrolling****************************************************
MODULE scrolling OUTPUT.
DATA : count_lines TYPE i.
DESCRIBE TABLE lt_concurent LINES count_lines.
refconcurent-lines = count_lines + 20.
REFRESH CONTROL 'REFCONCURENT' FROM SCREEN '9001'. ENDMODULE.
ENDMODULE.
*************************************************************************************************