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

system fields for putting serial no

Former Member
0 Likes
705

want to know system fields of serial no

like sy-tabix ,sy-lsind

want to know system fields of serial no

like sy-tabix ,sy-lsind

5 REPLIES 5
Read only

Former Member
0 Likes
671

Hello ARun

Check the structure SYST and search for INT fields.

Vasanth

Read only

Former Member
0 Likes
671

for serail no , there is no system variable

u can use SY-INDEX and increment it

Read only

Former Member
0 Likes
671

sy-tabix is the line count in the internal table .

sy-lsind is the list index for the report.

like first output sy-lsind =1.

interactive for the basic output list is secondary list

sy-lsind = 2.

regards,

vijay

Read only

Former Member
0 Likes
671

If you are inside a loop statement, the sy-tabix increments by 1 each loop pass.

If you are in a do-enddo loop, then sy-index is the counter.

Regards,

Ravi

Read only

Former Member
0 Likes
671

HI,

System fields are, Sy-lsind, Sy-tabix, Sy-index.

if you want to generate the No's then you need to create NO range Object using the T.code SNRO. and you need to use the Function moduel <b>GET_NEXT_NUMBERS</b>

or <b>RH_GET_NEXT_NUMBER</b>

Regards

Sudheer