cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical line issue in SAP Script main window

Former Member
0 Kudos

Hi All,

I want to draw a vertical line in my main window in SAP Script output.

But problem is in main window i am printing some texts at the beggining then i am printing line items.

So this is not fixed line (box). It may increase/decrease based on text available before line items.

How can i manage this prining vertival line as i don't know height, top of this line!

Thanks in advance.

Thanks,

Deep.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

well the box commad is quite heavy artillery for a simple vertical line.

use &ULINE(XX)& where XX = length in characters.

Former Member
0 Kudos

Hello Deep,

I had faced this type of problem of printing vertical lines.

I have used | (pipe key from the key board) to draw vertical lines.

But to use this u may need to modify the existing Script completely.

Let me know if u need any further assitance.

regards,

Najam

Former Member
0 Kudos

hi ,

once itab data is finished in main window , we can not know till where the main window has stoppped.

so we can not write vline after that.

this not possible in scripts it is only possible in smart form.

Former Member
0 Kudos

Hi All,

Any resolution!

Thanks,

Deep.

Former Member
0 Kudos

Hi Deep,

How about this putting this into your sapscript.


&ULINE(70)&

70 is the length of the line.

Former Member
0 Kudos

Hai Deep,

Use Elements as suggested by Kodarapu.

Now goto Paragraph Formats create a format for Item lines.

ex.

Name Paragraph Format as 'IL' Now click on the Push Button "Tabs" on bottom Right.

now in "Tab Position" enter the spacing that you need for your item dispaly

ex.

Number Tab position Alignment

1 6.00 CH LEFT

2 25.00 CH LEFT

3 54.00 CH LEFT

The above example is for 3 items

Now in your Script Windows-> Main

do the following.

/E ITEM_LINE_A

IL &EKPO-EBELP&,,&EKPO-EMATN&,,,,&EKPO-TXZ01&

Hope it SOlves your Issue.

Cheers,

Suvendu

Former Member
0 Kudos

keep the items display in element

and in the element use tab and display vline

item-field1 ,, vline .....

Former Member
0 Kudos

Hi,

Thanks for your replies.

I tried this process yesterday but problem is main window is having 14 elements for printing different data some of them are standard text printing.

It is very difficult to maintain it. Also when we use this process i am getting small space b/n each vertical line.

Is there any way i can know length of main window to be used. so that i can pass the same to 'BOX' statement!

Can anybody resolve this issue!

Thanks in advance.

Thanks,

Deep.

Former Member
0 Kudos

Hi,

You can maintain the small space length in the paragraph formats.

Just go to Tabs button and maintain the tab position.

Hope this helps.

Former Member
0 Kudos

Hi,

By drawing vertical line i am able to print line for the part where some printing is there in particular line of main window, but below part after data finishes is blank it does not contain any line in main window.

How can i draw line though i am not printing any data in main window.

I have created one element for space & given tabs & vertical line but it will only print vertical line b/n each item data.

How can i draw vertical line in the remaining part of main window!

Thanks in advance.

Thanks,

Deep.

Former Member
0 Kudos

Hi All,

Any solution for above issue!

Thanks,

Deep.