Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPScript - moving standard texts inside a window

Former Member
0 Likes
1,115

Hi!

I have a standard text (logo image) in Header window and I would like to move it right, how to do it? Should I create a separate window just for logo or it is ok to move it inside Header window?

Seems so that by default it is aligned left.

Will reward,

Mindaugas.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
880

Hi,

I agree alvaro, create a separate window and position it on your page... And if you do not want, the only way to position it in your current window is to move the co-ordinates before it gets printed..

/: POSITION WINDOW

/: SET ORIGIN XPOS pos1 YPOS pos2

/: INCLUDE <logo>

/: POSITION WINDOW

/: SET ORIGIN XPOS 0 YPOS 'considering the height of logo'

Thanks and Best Regards,

Vikas Bittera.

6 REPLIES 6
Read only

Former Member
0 Likes
880

Hi Mindaugas,

I think the easiest way is creating a separate logo window, and placing it where you want in your form.

I hope this helps. Best regards,

Alvaro

Read only

0 Likes
880

Hi Mindaugas,

u can also create a prgraph format and assign tab position(accordingly, where u want to place the logo) to it and use this paragraph format with that.

Reward points if useful

thanks ,

Gaurav Mittal

Read only

Former Member
0 Likes
881

Hi,

I agree alvaro, create a separate window and position it on your page... And if you do not want, the only way to position it in your current window is to move the co-ordinates before it gets printed..

/: POSITION WINDOW

/: SET ORIGIN XPOS pos1 YPOS pos2

/: INCLUDE <logo>

/: POSITION WINDOW

/: SET ORIGIN XPOS 0 YPOS 'considering the height of logo'

Thanks and Best Regards,

Vikas Bittera.

Read only

0 Likes
880

thanks,

probably I do something wrong, this does not help:

/:POSITION WINDOW

/:SET ORIGIN XPOS pos1 YPOS pos2

/:INCLUDE <logo>

this code can puch a box left, but not a logo:

/:POSITION WINDOW

/:POSITION XORIGIN 3 CM YORIGIN 0 CM

/:INCLUDE <logo>

/:BOX FRAME 10 TW

any ideas?

M.

Read only

0 Likes
880

by the way, logo is place in Header window and this window is only for logo, so probably no need to create one more window for logo.

M.

Read only

0 Likes
880

Hi,

If the window is only having the LOGO,

Then the best approach will be to move the window iteself..

Goto the page where the window is used..

Double click on window name and it will be hilighted..

Now, see at the down you will be able to see Left Margin and Right margin..

Make changes to Left Margin, save, activate and and goto-->utilities->test print..

Adjust the window accordingly by changing the margin value and test print..

And..

No need to change anything in the window elements.

It should only have

/: INCLUDE .....

Thanks and Best Regards,

Vikas Bittera.