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

sy-loopc

Former Member
0 Likes
5,567

hi all.

what is the initial value of <b>sy-loopc</b>. is it 0 or number of lines in table control.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,143

it default is the no of line in the displayed control table

<b>Award points if useful</b>

9 REPLIES 9
Read only

Former Member
0 Likes
2,143

Hi,

SY-LOOPC IS USED TO DISPLAY NUMBER OF LINES VISIBLE IN THE TABLE.

THIS SYSTEM FIELD IS USED IN PAI EVENTS IN SCREEN.

ITS DATA TYPE IS INT4

AND ITS LENGHT IS 10.

INITIAL VALUE OF SY-LOOPC IS ZERO SO IT DISPLAYS '0' INITIALLY SINCE NO LINES ARE VISIBLE IN THE TABLE.

******please reward points if the information is helpful to you*************

Read only

Former Member
0 Likes
2,143

Hi,

It is the no of visible lines in step loop.

Thanks.

Read only

Former Member
0 Likes
2,143

Hi

It shows the Visible Lines of a Step Loop

initially it will be 0.but when you are using it in the program of that Step loop

it will be not zero. It will give you the no of lines in step loop.

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
2,143

Hi,

initial value of sy-loopc is 0.

Thanks.

Read only

Former Member
0 Likes
2,143

Hi Prajwal,

Yes it is 0 till the looping is not there.

Reward if useful!

Read only

Former Member
0 Likes
2,143

hi,

Initial value of sy-loopc is 0.

Read only

Former Member
0 Likes
2,143

Hi,

It is "0"

Don't forget to reward if useful.....

Read only

Former Member
0 Likes
2,144

it default is the no of line in the displayed control table

<b>Award points if useful</b>

Read only

Former Member
0 Likes
2,143

Hi,

SY-LOOPC IS USED TO DISPLAY NUMBER OF LINES VISIBLE IN THE TABLE.

THIS SYSTEM FIELD IS USED IN PAI EVENTS IN SCREEN.

ITS DATA TYPE IS INT4

AND ITS LENGHT IS 10.

INITIALLY SINCE NO LINES ARE VISIBLE IN THE TABLE.

******please reward points if the information is helpful to you*************