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: 

what are the difference between SY-LISEL & SY_TABIX with Example?

yasu_1096
Explorer
0 Kudos
681

Hello,

Can anyone suggest me how to use the SY-LISEL & SY-TABIX with examples?

1 ACCEPTED SOLUTION

DominikTylczyn
Active Contributor
634

Hello yasu_1096

Both SY-LISEL and SY-TABIX are ABAP System Fields

SY-LISEL is used to implement classic interactive lists - see SAP Help Passing Data Automatically for some examples. The classic lists are hardly used anymore, so don't spend too much time on that.

SY-TABIX is used during internal tables processing - see SAP Help LOOP AT itab - Basic Form for details and examples.

Best regards

Dominik Tylczynski

2 REPLIES 2

DominikTylczyn
Active Contributor
635

Hello yasu_1096

Both SY-LISEL and SY-TABIX are ABAP System Fields

SY-LISEL is used to implement classic interactive lists - see SAP Help Passing Data Automatically for some examples. The classic lists are hardly used anymore, so don't spend too much time on that.

SY-TABIX is used during internal tables processing - see SAP Help LOOP AT itab - Basic Form for details and examples.

Best regards

Dominik Tylczynski

Sandra_Rossi
Active Contributor
634

These two system fields are completely unrelated, I wonder why you are asking about these two at the same time. SY-LISEL is obsolete, nobody is using it anymore...