2013 Apr 26 4:56 AM
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.
2013 Apr 26 7:55 AM
hi,
Add this code in PBO
DESCRIBE TABLE it_final LINES lv_lines.
tc-lines = lv_lines + 20.
2013 Apr 26 7:55 AM
hi,
Add this code in PBO
DESCRIBE TABLE it_final LINES lv_lines.
tc-lines = lv_lines + 20.
2013 Apr 26 8:06 AM
2013 Apr 26 8:46 AM
When u press page down this code is executed and it add's 20 lines to table control.So scrolling is available.