09-25-2013 9:56 AM
Hi,
I really don't like SapScript and I have to made a modification. Insert a logo inside the Main window.
When I just call the logo, the logo goes in the left position .. not realy what I expected.
So, I have the idea to create a box, and insert the logo into this box, but I'm not abble to put something in my box.
The situation is :
Main window --> Call include text -->
/: BOX XPOS '12' CM WIDTH '2' CM HEIGHT '2' CM FRAME '10' TW
* toto
/: BOX XPOS '14' CM WIDTH '2' CM HEIGHT '2' CM FRAME '10' TW
that give me :
Regards
Fred
09-25-2013 3:04 PM
Hi Fred,
I'm also glad to say it's some years since I got my hands dirty with SAPscript, but from my recollection you may find some use for the POSITION command as a way to influence where the logo is anchored.
Regards,
Nick
09-25-2013 10:06 AM
Hi
You need to put the log in a secondary window placed into your box....so you're carefull to thecoordinates of the window and of the box
Max
09-25-2013 10:10 AM
Hi Max,
I have see the solution of another window for the logo, but .. I didn't know the exact position of the logo : it's a signature, and it must be put just after the work "Signature :"
It's why I have the idea of a table like in Smartforms, but SAPScript is definitively not Smartforms
regards
Fred
09-25-2013 10:49 AM
Hi Fred,
It's been quite a while since i worked in Scripts, but as far as i remember you can enclose your log in a seperate window and palce that window wherever you want in the Main Page.
But seeing your earlier posts it seems that the Logo, You want to put is someone's signature.
Try Icluding this Signature word also in your window so that it is properly Aligned..
In case you want to move the Word TOTO to the right, you can create a new paragraph format
In this New paragraph format, maintain the TABs parameter to your specification,
And then when you type " ' ' TOTO ".(' ' indicates TAB space of the paragraph format)
The TOTO will move to the right based on the tab spacing that you have set.
Hope it helps.
Please PM in case i can be of more help to you.
Regards,
Vamsi
09-25-2013 10:50 AM
Hi
It's not possible to set the coordinates of the logo, It's usually placed at top corner of the left, so the space used by the logo depends on its size.....you can only do some tests in order to find out the right position
Max
09-25-2013 11:13 AM
Hi Max,
I beleive You can place the LOGO inside a window and then place it wherever required in the Page.
Please Correct me if I am wrong.
Regards,
Vamsi
09-25-2013 11:22 AM
Hi
Yes....of course but you can't know how the logo is placed in window, I mean you can't decide how to place the logo in the windows.
Just only it can know the logo should be a rectangle so the corner at left top of the logo and of the windows should be overlaped.
Max
09-25-2013 11:34 AM
09-25-2013 2:26 PM
So,
does it means without a dedicate window for a logo, you can't specify the exact location ?
and my idea of the table it's not a good idea ?
regards
Fred
09-25-2013 2:46 PM
09-25-2013 2:53 PM
I think your Idea is:
1. Create LOGO (Table/ Grid) in the text format.(Using a Program RSTXLDMC)
2. Call the LOGO TEXT using the INCLUDE Statement
EG:
/: INCLUDE <TEXT Name> OBJECT TEXT ID ST LANGUAGE <TEXT Uploaded Language>
3. Down to the include,specify your values.
Best Regards,
Rajesh
09-25-2013 3:04 PM
Hi
Yes you need to place the logo in a window in order to place it in a particular position of the page
You need to consider the SAPscript doesn't support the table, it's only possible to manage a grid
Max
09-25-2013 4:21 PM
Hi Rajesh,
I know this method, and I didn't like it. But thanks for the idea !!
regards
Fred
09-25-2013 4:22 PM
Yes, maybe, but I really don't like grid/table/box in sapscript mode, I have found a better solution
thanks for your help
regards
Fred
09-26-2013 11:18 AM
Hello Fred,
Thank you for your rewards!
Could you please explain the how you resolved it?
Thanks in advance!
Regards,
Rajesh
09-26-2013 1:09 PM
Hi Rajesh,
I have put the solution in reply of Nick
Note 307414 - Documentation on SAPscript command BITMAP
Regards
Fred
09-25-2013 2:38 PM
Hi.
An easy solution is to add a frame to the logo, no need to create a box in the sapscript for that.
Regards
Miguel
09-25-2013 3:04 PM
Hi Fred,
I'm also glad to say it's some years since I got my hands dirty with SAPscript, but from my recollection you may find some use for the POSITION command as a way to influence where the logo is anchored.
Regards,
Nick
09-25-2013 4:24 PM
Yes !!!
you give me the way to find the solution :
Note 307414 - Documentation on SAPscript command BITMAP
XPOS '10' cm ...
thank you for your help Nick !
Regards
Fred
09-25-2013 4:27 PM