Window position in sapscript

Hi ppl,
My requirement is to print the logo on right side for a particular company code. For other company codes, I need to print the logo on left side.
Always the opposite side (left or right depending on company code) will have address printed.
How can I achieve this in sapscripts ie. to change the window position dynamically.
Please reply.
Reward points guaranteed.
Thanks,
Shamoil.

Hi,
You must create two windows .
And then try following code.
in the text elemnt of first window write following.
if BUKRS EQ 'PIIL'
BITMAP 'ZSIGN2' OBJECT GRAPHICS ID BMAP TYPE BMON
endif.
and
in the text elemnt of second window write following.
if BUKRS EQ 'PIAG'
BITMAP 'ZSIGN2' OBJECT GRAPHICS ID BMAP TYPE BMON
endif.
here
- 'ZSIGN2' is the name of bitmap image uploaded by se78.
- PIIL name of first company code.
- PIAG name of second company code.
reward points if helpful.
Regards
Rajesh

Similar Messages

  • Sapscript window position

    Hello all.
    How can i determine the current X,Y window position so i can draw a BOX in the current line?
    Thank you
    Nuno Silva

    Additionally, determining the current key position of the window, usually trial and error method. You can use the 'Test Output' option to see the place where it draws the box.   Another thing, you don't need current line position as in the box command, you have to provide X and Y axis within the window. So it doesn't matter where you are, it will generate the box based on your X,Y inputs with the box command.
    Hope, it helps.
    Thanks
    Viswa

  • Window Position & Prefs "Gone"

    Every time I start up or restart, any window position, size, view etc info is gone, and I get a view very different than what I had set. I have tried to delete the Finder plist, but it did not help. I did notice something extremely weird as well.
    I noticed that the Finder plist is actually deleting itself about every 30 - 60 seconds when I open the ~user Library prefs, and cannot find anything that might be causing this. Repairing permissions, running utilities such as DiskWarrior etc have not helped. This condition actually exists identically on two Macs I am using. The only thing in common is that I ran an updater for Missing Sync for BlackBerry from Mark/Space Software, and took note of the condition being created on the second Mac immediately after doing this update.
    I don't really want to do a full reinstall of the System, as I suspect I will still end up with this "condition" after reinstalling my working applications.
    Any suggestions would be appreciated.

    A bit of troubleshooting .....
    On a full restart, any windows left open will retain their position, view, etc - but closed windows "forget" when reopened.
    During the safe boots, files were sent to the Trash, which are as follows:
    In a folder called 501.245359984
    and a folder called 501.245361007
    annex_aux
    annex.db
    filetoken.db
    FondResourceCache (only in the first folder above)
    fonts.db
    Local.fcache
    qdfams.db
    System.fcache
    User.fcache
    My startup items under my account are
    iTunesHelper
    Microsoft AU Daemon
    iKey
    MicrosoftMouseHelper
    MicrosoftKeyboardHelper
    Dashboard KickStart
    EEventManager
    iCalAlarmScheduler
    textsoapHelper
    Epson Scanner Monitor
    All of these items were already in place - for a long time - before this problem started.
    I cannot find /private in order to locate /private/var/run/StartupItems
    Nothing unusual (at least that I can see) in either of the other two locations.

  • External displays - browser window position when disconnected display

    I'm using a laptop, connecting one or two external displays, - one using the HDMI port, second using an USB "dock station" (Toshiba standalone). Second screen normally to the right, third screen (usb) above the laptop screen.
    Often when I have disconnected the USB external display, my Firefox browser window are still "on the third display" - position as if this display was still active.
    Even if I quit Firefox and restarts ( or even restarts windows ) the same position window is retained. The only way to fix it (when the USB connected display is not available), is to change the window position of the second (HDMI) display to cover the area of the USB one, then move Firefox window to my main laptop display, and then reposition the second screen back to the normal.
    Normally, I expect applications to automatically reposition the windows to the available display(s) under the conditions that an extra display is removed. However, this seems not to happen with Firefox. It's inconvinient, but possible to fix with the second screen available, but I'm lost when I am not able to connect an external display ...
    Is there any solution to this? Is it possible to change (reset) window positions directly in RegEdit ??

    Dear varkgirl:
    Thank you very much for your help and valuable suggestion.
    I've tried your suggestion but ran into some problems. The links I am trying to open in another window are actually PDF files that the viewer can download from my website.
    Since I was having problems I decided to try something else. After publishing the website to my desktop I then opened the pages where the links are in Dreamweaver. The layout view is great and displayed the image just the way it appears on the browser's window. I first selected the "link button" to the file and then in the inspector windows (bottom of the page) I chose under target the "_blank" option. This tells the software that the linked page or file is to be opened in a new blank browser window. I then saved the page (re-saved it over the existing file) to incorporate the changes. After this I proceeded to navigate through the website and everything works great.
    Thank you for your help and suggestions. I just thought I would post this here in case it may be of help to you as well as others.
    Best regards,
    Joseph Chamberlain

  • Remembering windows positions when switching from/to dual screen display

    Hello,
    Most of the time, a second LCD screen is plugged in my Macbook and configured as the main display. When I arrange the windows, I keep iTunes or my mail application maximized on the macbook screen and use the bigger external screen for all other windows.
    If I unplug the external display, all the windows are of course moved to the laptop display. When I plug again the external screen, all the windows are moved to the external display. But I would like the iTunes and mail application to remain on the laptop screen.
    Is there any utility to remember the windows positions and arrange them automatically when I switch from/to single/dual-screen display?
    Regards,
    Raph

    Would DisplayWatcher do what you want? I came across this a couple of weeks ago but haven't had the chance to try it out yet.
    - cfr

  • Auto-remember window positions switching from laptop to external screens

    Does anybody know of any utilities available that will automatically remember my app window positions when switching from laptop to external screens?

    'Stay' looks like the best solution found so far but it is not automatic Any more ideas are welcome!

  • How to re-center window positions

    Hi folks,
    I switched from 19" to a 27" screen. How can I tell LR to re-center it's window positions?
    The windos (like the Export window) are still on the old place (centered for 19").
    BRGDS!

    Just drag the top menu bar for either Lightroom or the Menu window. Or the bottom corner.
    I'm not sure what you are after though or where you are startibng from.........

  • Window position problem

    Hi everyone,
    I am having problems with window position.
    If my portal is set to english language, there are no problem.
    If my portal is set to hebrew language, I have troubles with position of windows. Some windows are moved to left, some are moved to right...and some are moved out of the screen.
    Code:
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MyWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    window.setWindowPosition(WDWindowPos.CENTER);     
    window.open();      
    Can someone help ?
    Thanks in advance.

    David,
       turn down with:
       window.setWindowPosition(XXX,YYY);
    Could be usefull, find some CODE that give you MAX_WIDTH and MAX_HEIGHT of client browser and after
    window.setWindowPosition(func(MAX_WIDTH),func(MAX_HEIGHT));
    Message was edited by: Roberto Tagliento

  • Mail Not Remembering Window Position of Previous Session (again)

    Everytime I relaunch Mail, I have to rearrange the viewer windows to the way that is most efficient to use them. Is there a way for Mail to remember window positions, and sort preferences for each viewer window?

    Interestingly, Mail does seem to remember the window positions, in its com.apple.Mail.plist, but it isn't applying the remembered positions. I tried a few times, and on at least one try it got the positions correct. Could it be that if you quit, restart then quit and restart again it will have them right on the second restart?
    AK

  • Mail Not Remembering Window Position of Previous Session

    Mail has started forgetting how its main window was sized when previously using the application.
    When I open Mail, the window dimensions are like those for a small screen - not as previously sized.
    Is this a known problem (could not find with discussion search) and is there a fix? Thanks!

    Interestingly, Mail does seem to remember the window positions, in its com.apple.Mail.plist, but it isn't applying the remembered positions. I tried a few times, and on at least one try it got the positions correct. Could it be that if you quit, restart then quit and restart again it will have them right on the second restart?
    AK

  • Get Info window position

    Lately my Get Info window has been opening with its upper left corner aligned with the upper left corner of the topmost Finder window. Previously it had placed its upper left corner at position (0,22) - the extreme left of the screen, just below the menu bar. The former position covers prime Finder window real estate. I prefer the latter position, as it obscures as little of the topmost Finder window as possible.
    How can I revert the behavior of the Get Info window position?

    That didn't do it. Turned out to be a conflict with the application FinderMinder.
    http://www.irradiatedsoftware.com/labs/
    FinderMinder is an old piece of freeware that I enable periodically when my windows become too "undisciplined." Once they've become fairly aligned again I disable it for awhile...mainly because I keep all extraneous process consumers and memory usurpers to a minimum. Hence I didn't notice the conflict until it appeared under 10.6.x.

  • Setting window positions at startup of Labview

    Is there a way to set the window positions of the front pane and block diagrams when I start a new VI or when I look at an example (not at runtime of VI)?

    Hi JPDel,
    yes it's possible with VI Server functions.
    There are also some std vi's which will be called in defined situations. I don't know the link, but i know there exists a document written by Jim Kring about it.
    Hope it helps.
    Mike

  • How can I override the startup window position?

    Can I override a compiled labview 7 app with ini settings, command line options, via a registry edit, or other option?
    Thanks,
    Mike

    Hello Mike
    Besides saving the vi in a position, you also have a property node to determine window position at startup app.
    Values can be fix, calculated from monitor specs, etc.
    See attached doc.
    Hope it helps
    Alipio
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    origin.doc ‏35 KB

  • How Do I Reset The Finder Windows Positions?

    Hi,
    I would like to "reset my finder windows positions". Anyone knows how I can do that?
    Thanks.
    Ed

    So I cannot edit the .DS_Store file?
    You can try, as I do not know how good you are at working with binary files.  When I try to edit a .DS_Store on my system I see:
    ^@^@^@^ABud1^@^@p^@^@^@^H^@^@^@p^@^@^@^P^L^@^@h^K^@^@
    lots and lots of ^@ with occasional other characters mixed in.
    So what will it happen if I delete the .DS_Store file? Will my iMac's all Finder Windows be reseted?
    The Finder will forget information about that Folder.  Where it is positioned on the screen, how the files in the folder are arranged, etc...
    If you are concerned, create an experimental folder, put some junk files in the folder (stuff you can delete later).  Arrange things in the experimental folder, play with the size of the experimental folder.
    Now delete the .DS_Store for that file.  See what happens in a safe experimental way.  If you like the results, apply the same to folders you want to reset.
    "for each Folder", what do you mean?
    If you want to reset more than 1 folder, you would repeat the .DS_Store for each folder that you are interested in resetting.

  • Studio CE IDE saving Window positions

    For some reason my installation of Sun ONE Studio (on Windows 2000) has stopped saving window positions on exiting.
    Every time I start the IDE it is completely empty (no windows open). Before it would save the window positions, open files, etc, so that every time I started it things would be the same as when I exited the application. It's understandably driving me nuts.
    Does anyone know how to restore this functionality or if I'm failing to check certain options or preferences....
    Thanks,
    -T

    I managed to 'reset' things by creating and specifying a new user-dir as per:
    http://forte.sun.com/ffj/tips/tip02-09-27.html
    A few settings had to be migrated over, but all is well again....for now.

Maybe you are looking for