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

modul pool

Former Member
0 Likes
334

hi,

In a tablecontrol and I have add a scroll vertical in PBO_dypnro, so:

DATA: vlines type i.

DESCRIBE TABLE gt_itab lines lv_lines.

lv_lines = lv_lines + 1.

tablecontrol-v_scroll = 'X'.

This is OK, but now, when I press the vertical scroll, the PAI runs.

anyone knows how to do the PAI don't execute when press the scroll??

thank you!!

best regards

1 ACCEPTED SOLUTION
Read only

MarkusRest
Participant
0 Likes
316

PAI is always executed when Scolling vertically in a table control. You can not do anything against that.

The solution would be (syntax NOT correct!):

IF ok_code = 'PAGE_DOWN'.

  • scoll down

ELSE.

  • do anything else in PAI

ENDIF.

1 REPLY 1
Read only

MarkusRest
Participant
0 Likes
317

PAI is always executed when Scolling vertically in a table control. You can not do anything against that.

The solution would be (syntax NOT correct!):

IF ok_code = 'PAGE_DOWN'.

  • scoll down

ELSE.

  • do anything else in PAI

ENDIF.