Skip to Content
0
Former Member
Jun 25, 2007 at 04:21 AM

<line>

12 Views

Hi friends please explain this code . what is the value of <b><line> and loops</b> in function module.

And CONCATENATE 'G_' p_tc_name '_LINES' INTO l_tc_lines_name.

ASSIGN (l_tc_lines_name) TO <lines>.

what exactly this statement doing

PERFORM compute_scrolling_in_tc USING p_tc_name

p_ok .

FORM compute_scrolling_in_tc USING p_tc_name

p_ok .

FIELD-SYMBOLS <tc> TYPE cxtab_control.

FIELD-SYMBOLS <lines> TYPE i.

ASSIGN (p_tc_name) TO <tc>.

CONCATENATE 'G_' p_tc_name '_LINES' INTO l_tc_lines_name.

ASSIGN (l_tc_lines_name) TO <lines>.

CALL FUNCTION 'SCROLLING_IN_TABLE'

EXPORTING

entry_act = <tc>-top_line

entry_from = 1

entry_to = <tc>-lines

last_page_full = 'X'

loops = <lines>

ok_code = p_ok

overlapping = 'X'

IMPORTING

entry_new = l_tc_new_top_line

EXCEPTIONS

  • NO_ENTRY_OR_PAGE_ACT = 01

  • NO_ENTRY_TO = 02

  • NO_OK_CODE_OR_PAGE_GO = 03

OTHERS =