cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script multi lines

Former Member
0 Kudos

Dear All

I want to print two tables data in two columns using sap script .

how to print the data in multiline in a column.

Thanks and Regards

Suresh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

problem solved

Former Member
0 Kudos

Hi,

Try setting the right and left margins for the paragraph format that you are using. This will restrict the data to be printed exactly in the same column once a line break occurs (when the line is filled up).

former_member585060
Active Contributor
0 Kudos

Hi,

You can get Coulmn wise output in SAPScript by arranging the MAIN window in coloumn wise, as you can arrange 0 - 99 Main windows in one Page.

First it prints the First Main window, if it is full goes to the Second Main window which you can arrange to Parallel with First Main window, like wise you can please accroding to your output.

Regards

Bala Krishna

Former Member
0 Kudos

hi

Thanks for your reply

can u give one example

Thanks and regards

Suresh

former_member585060
Active Contributor
0 Kudos

Hi,

This how i used Main window for my requirement, you can modify Margins according to your use.

Window Meaning Left Upper Width Hght

MAIN 00 Main window 7,00 CH 30,00 LN 70,87 CH 2,00 LN

MAIN 01 Main window 7,00 CH 32,00 LN 70,87 CH 2,00 LN

MAIN 02 Main window 7,00 CH 34,00 LN 70,87 CH 2,00 LN

MAIN 03 Main window 7,00 CH 36,00 LN 70,87 CH 2,00 LN

MAIN 04 Main window 7,00 CH 38,00 LN 70,87 CH 2,00 LN

MAIN 05 Main window 7,00 CH 40,00 LN 70,87 CH 2,00 LN

MAIN 06 Main window 7,00 CH 42,00 LN 70,87 CH 2,00 LN

MAIN 07 Main window 7,00 CH 44,00 LN 70,87 CH 2,00 LN

ADDRESS Addressee 43,31 CH 10,00 LN 35,04 CH 7,80 LN

CONSGNEE Consignee/ship-to address 7,00 CH 64,00 LN 34,65 CH 4,96 LN

FOOTER Footer lines 7,00 CH 58,00 LN 71,00 CH 4,00 LN

HEADER Header lines/logo 168,00 MM 10,00 MM 2,98 CM 2,00 CM

INFO General information - right 7,00 CH 11,81 LN 31,50 CH 5,91 LN

Regards

Bala Krishna

Former Member
0 Kudos

say the page you are using is 21 CM in width. The column that you are going to use is 10 CM from left page border and ends at 5CM from right page border (making the column 6 CM long, ending at 16CM from left page border), then create a paragraph format with left margin as 10 CM and right margin as 5CM and apply it for the data that you are going to print in this column. This will give you the desired output.

former_member585060
Active Contributor
0 Kudos

Try this for your requirement

Window Meaning Left Upper Width Hght

MAIN 00 Main window 6,30 CH 30,00 LN 25,59 CH 12,00 LN

MAIN 01 Main window 33,86 CH 30,00 LN 25,59 CH 12,00 LN

Regards

Bala Krishna

Former Member
0 Kudos

hi

thanks for your reply

Help Full Answer

Thanks and Regards

Suresh

Former Member
0 Kudos

HI

Thanks for your reply

Data will printed. But Alignment not clear

Now Out Will Following

for Ex:

loop1 loop2

1

2

3

4

5

1

2

3

4

5

I want the following

loop1 loop2

1 1

2 2

3 3

4 4

5 5

Thanks and Regards

Suresh