cancel
Showing results for 
Search instead for 
Did you mean: 

get the current line no.(similar to sy-linno in report) in Sapscript form

Former Member
0 Kudos

Hi everyone,

In ABAP reporting, you can use sy-linno to determine the current line no.

But if in sapscript form,

does any system field to get the currect line no. or y-origin. ?

Just say the program is now runing and have written several lines in a window of the form.

AS This is the first line

AS This is the second line

AS This is the third line

how to get the current line = 3 or yorigin '+3' LN?

Thanks for reply in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can also chk the sy-linno directly in your script.

Regards

Subramanian

Former Member
0 Kudos

Hi Subramanian

It doesn't work....

sy-linno always return 1 without any change.