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

Boxes displayed at wrong position in Smartform

Former Member
0 Likes
794

Hello,

I am changing a smartform which has a logo and an address right next to it on the right. The change is to use a new logo which is bigger than the old one and I have no problem with this. However, when testing the form, the new logo overlaped with the address box. So, I moved the address box to the right a bit to avoid the overlap and activated the form. But when tesing it, the address did not move. I tried with another box and I got the same problem. I last tried to move the logo box just for testing and the it worked for the logo. Do you have any idea why it did not work for the other boxes? Please help!

Thank you,

Chuong

7 REPLIES 7
Read only

Former Member
0 Likes
746

When you moved the boxes, did you also resize them? If you didn't, it could be that they have no room to move to, so they remain in the same place.

Read only

0 Likes
746

I did not resize them but in the form definition display (after the activation), they are at the right new positions.

Please help,

Chuong

Read only

Former Member
0 Likes
746

Hi,

Drawing box depends on reguirement, if you get the request the you have to do. there are may documents available on SDN and also reffer SAp help.

you can draw box in SAP script using the following code.

/: POSITION XORIGIN '-0' CH YORIGIN '-0.

/: SIZE WIDTH '+0.4' CH HEIGHT +1 LN

/: BOX HEIGHT '13.5' LN FRAME 10 TW

/: BOX FRAME 10 TW

this is if you want to give the lengeth and breath of box.

and BOX FRAME 10 TW is for intensity of frame line. the more the TW the thicker the line.

if you are not sure of length and breath of box and want it to be dynamic the use this code.

/: POSITION XORIGIN '-0' CH YORIGIN '-0'.

/: BOX FRAME 10 TW

Hop this may help you.

Read only

0 Likes
746

It is Smartform not Sapscript.

Chuong

Read only

Former Member
0 Likes
746

So, in this new positions they are still within the page boundaries or have they stepped over it?

Read only

0 Likes
746

Yes, they are still within the page.

Read only

0 Likes
746

It was my mistake. I moved the wrong window.

Thanks for your help.