Application Development 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: 

<line>

Former Member
0 Kudos

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 =

1 REPLY 1

Former Member
0 Kudos

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