2007 Jun 25 5:21 AM
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 =
2007 Jun 25 5:30 AM
Hi prajwal,
Here <line> is the name of the variable which is dynamic and its name and value is depend on the parameter p_tc_name.
Reward points if useful.
Regards,
Atish