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

vertical scrolling issues in table control.

raffinkira
Participant
0 Likes
512

Followed are two forms of type definition.

It seems that they have the same meanings.

A:

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

TYPES:

  BEGIN OF ty_sflight.

        INCLUDE STRUCTURE sflight.

TYPES:  mark LIKE rsdxx-mark,

  END OF ty_sflight.

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

B:

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

TYPES:

BEGIN OF ty_sflight,

  CARRID LIKE sflight-CARRID,

  CONNID LIKE sflight-CONNID,

  FLDATE LIKE sflight-FLDATE,

  …………

  mark LIKE rsdxx-mark,

END OF ty_sflight.

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

But when I use "DESCRIBE TABLE it_sflight LINES tb_cl01-lines." to enable a vertical scrolling function,

definition form A crashed down in the runtime while B worked well.

Moreover, one of my programs does have vertical scrolling without "DESCRIBE TABLE xxx". Why?

Could anybody give me some ideas?Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
481

hi,

Add this code in PBO

  DESCRIBE TABLE it_final LINES lv_lines.

  tc-lines =   lv_lines + 20.

3 REPLIES 3
Read only

Former Member
0 Likes
482

hi,

Add this code in PBO

  DESCRIBE TABLE it_final LINES lv_lines.

  tc-lines =   lv_lines + 20.

Read only

0 Likes
481

could you explain that?

Read only

0 Likes
481

When u press page down this code is executed and it add's 20 lines to table control.So scrolling is available.