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 the use or work of cursor variable in module report ?

Former Member
0 Kudos

HI,

Experts,

I want to get correct usage of CURSOR keyword variable.

for example :

case: 1.

In report

data: top_line type i.

In PBO:

loop at itab into wa CURSOR top_line.

endloop.

or

loop at itab into wa CURSOR top_line from n1 to n2.

endloop.

case: 2.

In report

data: top_line type i value 20.

In PBO:

loop at itab into wa CURSOR top_line.

endloop.

or

loop at itab into wa CURSOR top_line from n1 to n2.

endloop.

NOTE:

But there is no difference between these two cases if there is any

internal operations is going on who is it work on please mention and any matter regarding that or sample code .

1 REPLY 1

Former Member
0 Kudos

Myself Found a solution for this