cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT Field Displacement Syntax

Former Member
0 Kudos

I have a hard coded value in my SAPSCRIPT logic. I always want it to start at the 10th line postion.

What is the syntax?

Thank-You

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please try this right justified option

&symbol(10R) -> 1234

For program symbols, the length specification contained in the Dictionary definition may be used instead of an explicit length.Make sure that your field length has extra 10.If you want to display 10 charaters then make that field length as 20 in local variable and try as below

&symbol(20R)& displays as ' 123456789'

Thanks,

Suma.

Answers (2)

Answers (2)

Former Member
0 Kudos

make an own window just for your harcoded string.

No chance anymore to appear in different places.

Former Member
0 Kudos

Hi,

Create a paragraph formats wioth tab

and use it in script editor

BA ,,,,,, CUSTOMER MATERIAL NO: &VBDPL-IDNKD&

where BA is the paragraph format with TABS defined

Regards

Krishna

Former Member
0 Kudos

I tried that, but the field is printing in two different locations for two different orders. I wanted to user the parenthesis syntax which always seemed to work for me before but I could not remember, like (5), I even tried spaces command, but the output is not consistent?

Thank-You.