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

table controls

Former Member
0 Likes
469

if in a table control i want to change the number of lines that the user can enter at a time ,

how can i restrict that

say i would allow the user to enter only 30 lines at a time.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
441

Hi

t_ctrl_mdoc1-lines = t_ctrl_mdoc1-top_line + 30 .

use the above code. It should work.

regards,

Ramya

2 REPLIES 2
Read only

Former Member
0 Likes
441

Hi,


PROCESS BEFORE OUTPUT.
  MODULE status_9001.
  MODULE clear_okcode_9001.
  MODULE set_tabcntrl_lines.------------>here you set the number of lines...


MODULE set_tabcntrl_lines OUTPUT.
  tab_ctrl-lines = 30.

ENDMODULE.                 " SET_TABCNTRL_LINES  OUTPUT

Try it

Read only

Former Member
0 Likes
442

Hi

t_ctrl_mdoc1-lines = t_ctrl_mdoc1-top_line + 30 .

use the above code. It should work.

regards,

Ramya