Incrementing an integer inside loop in an ABAP program



You need to use the following:

You are missing spaces between ls_id+1. You can also use Add 1 to ls_id

In case you are using internal tables, you can directly use SY-TABIX and SY-Index depending upon whether the loop is nested or not.

Updated on: 2019-07-30T22:30:20+05:30

807 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements