cancel
Showing results for 
Search instead for 
Did you mean: 

predefined variable for offset

Former Member
0 Kudos

HI,

Can anyone provide me any system variable which will provide me the current offset of line from top of page (either in cms or in line count).

Bye

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

In Scripts or Smartforms we dont have any system fields for line count.

SAPSCRIPT - System fields for scripts.

SFSY - System Field For Smartform.

Thanks,

Nithya.

Former Member
0 Kudos

Hi,

Use SY-LISEL,

it holds the current line contents of the field

SY-CUCOL-- which gives the offset value of the current column..

SY-LILLI - which gives the current line

Regards

kiran

Edited by: Kiran Saka on Feb 9, 2009 1:52 PM

Former Member
0 Kudos

Hi,

If it is with respect to the event triggered at a particular line, SY-LILLI would give you the line number

and

If it is with respect to top-of-page based on a restricted line count page structure SY-LINNO will be effected for every write statement.

Regards

Sharath

Former Member
0 Kudos

Hi,

sy-lilli will give u absolute number of line from which event was triggered.

This is in case of interractive lists.

U can these in table 'SYST'.

thanks.