cancel
Showing results for 
Search instead for 
Did you mean: 

Sap script issue

Former Member
0 Kudos

Hi All,

We have sap script and want to print some text details in the script.

Our problem is the text details start from column 2 and prints all data in column 2 but when data is of more than 1 line then on second line it starts printing from 1 column but we want that it prints all data in column2 i.e. we want text wrapping in column2 .

Any suggestions welcome,

Regards,

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

have you tried using a paragraph tag setting for left and right margin?

left margin is taken from left of page to starting point in respective column and right margin is taken from extreme right and backwards to ending point in respective column. This will wrap your text within column.

Paragraph IT Descript. Line items description

Left margin 6.50 CH Alignment LEFT

Right margin 31.20 CH Line spacing 1.00 LN

Indent 1st line 0.00 CM

Space before 0.00 CM

Space after 0.00 CM

Former Member
0 Kudos

Anil's correct, there's no text wrapping that respects columns (only lines) in SAPScripts. You need to chop the text up yourself. Annoying isn't it? B(

Former Member
0 Kudos

Hi,

1 You can add one saperate window for that.

2 Or create one paragraph format p1 with tab saperation in that

means click on tab button and give the tab positions.

then you have to devide the text means

i.e

text = 'hi how r u'

p1 ,,&col1&,,&text(6)&

p1 ,,,,&text+7(3)

Try this.

Edited by: Anil Mane on Oct 8, 2008 2:37 PM

Edited by: Anil Mane on Oct 8, 2008 2:38 PM

Former Member
0 Kudos

Hi,

Can u clearly specify what data u r printing .... bcoz it is depending on data how to solve it...

If it text only then try to split that text into 2 variable and then print 2 variable seperately...