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

Problem when scrolling in a control table

former_member421809
Participant
0 Likes
1,591

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

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,485

I think you have a bug in your code. Debug to troubleshoot the issue.

Read only

former_member421809
Participant
0 Likes
1,485

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 ..

Read only

Nawanandana
Active Contributor
0 Likes
1,485

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
Read only

0 Likes
1,485

I tried it but it doesn't work

Read only

0 Likes
1,485

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

Read only

former_member421809
Participant
0 Likes
1,485

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.

*************************************************************************************************