on 06-02-2009 4:36 PM
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.
well the box commad is quite heavy artillery for a simple vertical line.
use &ULINE(XX)& where XX = length in characters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
keep the items display in element
and in the element use tab and display vline
item-field1 ,, vline .....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.