Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

What the use or work of cursor variable in module report ?

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 .

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question