cancel
Showing results for 
Search instead for 
Did you mean: 

include text

Former Member
0 Kudos

hi all,

i want to write a include text in sapscript.

/: INCLUDE &LV_HEADER_TEXT_NAME& OBJECT 'DOC_ITEM' ID '0001' LANGUAGE 'E'

if i want to use the logon language , what should i use instead of 'E' , sy-langu ?

and if the line is not long enouth . what format should i use to write this statement ? = ?

best regards

Kevin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi kevin,

In place of 'E' give the language in which u are logging in. say if u want spanish the use 's' .or u can also

use sy-langu.

And for continuing in next line use '=' sign, means that line will be continue further.

regards

Saurabh

Former Member
0 Kudos

You can use sy-langu and for line extension you can use SHIFT+F8 to move your page left and right .

Hope it helps

Former Member
0 Kudos

hi Sudhanshu ,

thanks , that's what i want.

Former Member
0 Kudos

Ya u have to use sy-langu for the logon language.

the width of the line depends on width u have set for display.

if you want to break the line then you need to use the subroutine

and in the subroutine u need to call the FM Read_text.

and then what ever result you get you can break them into different variables at different offsets like

var1 = lines-tdline+0(50).

var2 = lines-tdline+50(100).

Regards,

Ravi Kiran