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: 30-Jul-2019

561 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements