Dynamically Change Company Logo

I want to create one form used by both of our companies. When the user selects their location, the cooresponding company logo displays at the top of the form including all new pages generated. I was able to get this working with JavaScript but ran into a problem when merging the data to a spreadsheet using Acrobat. The image data exports and creates a huge column of data in my spreadsheet. How do I prevent the image data from exporting to the spreadsheet? This problem does not happen with Acrobat version 10.0.0 but does occur with versions 10.1.11 and 10.1.12.

If the user is logging in, presumably you are having the user hit a back end web-server and database and using something like Blaze to connect? Right?
I personally would not do this with CSS. I would map the company icons to the users in the DB, retrieve the proper company icon and then pass it down (or embed it in the app) when the user logs in. Then, I would just set the source of the icon to be what I passed down:
Add your image where you want it to go:
<s:Image id="emptyImage" x="locationx" y="locationy".../>
Then in your ActionScript, when the user logs in and you know what company the user belongs you could do this:
private function loginUserBlazeResponse(resultEvent:ResultEvent):void {
var bytes:ByteArray = ByteArray(resultEvent.target);
emptyImage.source = bytes;
addElement(img);
img.visible = false;
img.addEventListener(FlexEvent.UPDATE_COMPLETE, imageLoaded);

Similar Messages

  • Dynamic change of logo in SAPSCRIPT

    hi,
    can u tell me how to dynamically change the logo based on company code when creating an invoice.to be more clear when i creatE aN invoice with company code 1000, i should get one logo and for invoice with companycode 2000 the logo should change.how to do this in SAPSCRIPT.
    REGARDS,
    SANJAY

    Hello,
    Plz refer to this link.
    How to change SAP SCRIPT logos at runtime
    Best Regards, Murugesh AS

  • How to change company logo dynamically using login information of the user in flex4 CSS styl method?

    hi all,
    I am doing mxml flex4 web application. i am using a login in my application. this login for multi user  purpose.
    My need is when a user login using his username and password his company logo should show the top of my application and his copyright details show the bottom of my application
    if another user login means his company logo and copywrights should show in my application.
    This logo and copyrights details should change dynamically based on the login information.
    I want to create this using CSS file (skins and sparks)
    How to do this,i am struck in this place,
    Looking for useful and helpful suggession or snippet code,
    Thanks in advance,
    Cheers,
    B.Venkatesan.

    If the user is logging in, presumably you are having the user hit a back end web-server and database and using something like Blaze to connect? Right?
    I personally would not do this with CSS. I would map the company icons to the users in the DB, retrieve the proper company icon and then pass it down (or embed it in the app) when the user logs in. Then, I would just set the source of the icon to be what I passed down:
    Add your image where you want it to go:
    <s:Image id="emptyImage" x="locationx" y="locationy".../>
    Then in your ActionScript, when the user logs in and you know what company the user belongs you could do this:
    private function loginUserBlazeResponse(resultEvent:ResultEvent):void {
    var bytes:ByteArray = ByteArray(resultEvent.target);
    emptyImage.source = bytes;
    addElement(img);
    img.visible = false;
    img.addEventListener(FlexEvent.UPDATE_COMPLETE, imageLoaded);

  • Want to change company logo and address.

    Hi all,
    Here i have one Standard print report "SAPF130K" for customer or vendor balance conformation . But when i run this report this time i get logo of company "IDES HOLDING AG" and getting address of this company. but customer number and his address get properly but now i want to get my company logo place of this "ides holding ag" . For this i find many thing in SE71 tcode but i am still not able to change this logo and address so can u please kindly help me out how can i change this both.
    Thanks in Advance.
    Keyur

    @  Anurag_N: This is not ALV, but SAP SCRIPT report.
    Hello,
    This standard report is using form F130_CONFIRM_01 for the printing purpose.
    Please check in this form, how you can handle ur logo.
    R u doing any config for printing this report for the form etc?
    This text is coming from the window ADDRESS and the below inlude:
    INCLUDE &T001G-TXTAB& OBJECT TEXT ID ADRS LANGUAGE &T001-SPRAS&, where &T001G-TXTAB& for me is coming as
    ADRS_SENDER.
    So, just add ur logo in the standard text ADRS_SENDER in SO10, you will c it in the sap script layout.
    But, i am not sure how this variable &T001G-TXTAB&  gets populated and if it will get changed for soem other value.
    Edited by: Kanwardeep Singh Gill on Apr 9, 2010 12:30 PM
    Edited by: Kanwardeep Singh Gill on Apr 9, 2010 12:35 PM

  • How to Client Change Company Logo in SAP BEx

    Hi Guys,
    Could You please How to change Client Company Logo in Sap BW bex broadcaster buy Using the transaction Code:SE80
    Thanks
    Sankar Reddy K

    Hi Sankar,
    Try this:
    1. Goto T.code SMW0.
    2. select radiobutton 'BINATRY DATA FOR WEBRFC...'----> F8
    3. Again execute .
    4. goto create(F5)
    5. enter Object name and Description
    6. Press IMPORT(shift + F6)
    7. Select Picture to import
    Regards,
    Loed

  • Changing Company Logo

    Can you please assist in helping me change the company logo on the buyside screen.  This is the logo that is located in the top left hand corner of the buyside screen.  I've uploaded the gif. file to the company profile page and I've changed the property value to reflect  custom/companylogo/<company.id>/<image.gif>, where <company.id> specifies the External ID from the company and the <image.fig> specifies the name of the image file.      I've also refreshed the cache.    I've gotten the biogenyx logo to leave however now there is only a small box with a red x in it??
    Thanks,

    Hi Kamalakar,
    Can you please explain it in detail..
    Like I was trying to add a jar file into existing ear file but getting errors...
    Please tell me how to deploy this companylogos.jar file into ear file..
    Thanks and regards,
    Himanshu Sharma

  • How can i Dynamically Change Report Logo's

    Hi,
    I got a report. this report will be used by business users in 50 Countries.
    I got 50 logos in repository. if indian users run the report then report should pull only indian Logo
    like wise if user from any of the 50 country run the report only his country logo should be appeared.
    I put all 50 country logos on report headder and wrote suppress formulae like
    if (UCase(Command.Country_Name) = 'INDIA") then False else True
    It worked but the report size dramatically increased from 125kb to 2MB
    Is there any other way. Please Help

    Hi Sandeep
    -Create a parameter for Country.
    - Insert the logo as OLE object.
    - Right click on the OLE object -> Picture tab.
    - Clcik on X-2 for Graphic loaction and it would open the formula editor.
    -Write a formula similar to below based on your requirement -
    if {?parameter} = "India" then "path of the image for India"
    else if {?parameter} = "USA" then "path of the image for USA";
    You can specify all the paths here so that based on the selection of country at runtime it displays image associated with that country.
    Hope this helps!!
    Regards
    Sourashree

  • Company Logo in Excel Dynamic Templates

    Hi,
    I've been trying to change the company logo to my client's in all dynamic report templates by setting the COMPANY_LOGO application set parameter. Somehow it replaced the 3 globes image when opening BPC for Excel but all templates are still showing the SAP logo. I refreshed all templates through Client Options but to no avail.
    Am I missing something?
    Thanks
    Regis

    Hi Daniel,
    I tried as well but no luck. When I check the report downloaded onto my local folder, they're showing the SAP logo even though it's got my client's logo on the server. I went through all available xlt file on the server and none have the SAP logo at this point.
    Thanks
    Regis

  • Node in Form to change IDES Logo to Company Logo in TCode: SFP

    Hi All,
    In TCode: SFP for form PTRV_EXPENSE_FORM  in the "Context" tab  I check the nodes "I_FORM_HEADER_DATA_EMPLPYEE", "I_FORM_HEADER_DATA_EMPLPYER"  and other nodes but they dosent have a subnode to change IDES logo. Unfortunately the "Layout" is not displaying by throwing up an error saying "design tools not present(i.e not installed)"
    I also searched with terms LOGO/Image/Graphics on the form in "Context" tab but nothing showed up in the search
    Could anyone please tell me the subnode where can I upload Company Logo
    Regards,
    Latha

    Hi Waz
    Thanks for your quick reply. I really appreciate your reply
    I dont have authorization to access SO10.
    I checked for INCLUDE ADRS_HEADER OBJECT TEXT ID ADRS in the form but couldnt find it.
    Could you please explain me in detail if possible.
    Regards,
    Latha

  • I want to remove/change my company logo from payment advice. How can we do?

    I want to remove/change my company logo from payment advice. How can we do that? Whar are the steps or procedure?
    Thanks.

    Go to the "File" menu, then "Print." The window that appears will have three drop-down menus at the top.
    The first is labeled "Printer",
    The second is "Presets".
    The third is unlabeled but has "Copies & Pages" selected by default.
    Click on that third menu and select "Firefox" near the bottom of the list.

  • Change SAP Logo with my Company Logo

    I want to change SAP Logo with my Company Logo. For this I gone through SMW0 , SM30 and I have modified the table SAP_Cust but I didn't get it. So kindly give a detailed Solution for me

    Hi Adhi,
    You can do it using following steps:
    Step 1: Open the BSP application THTMLB_STYLES in the ABAP workbench SE80.
    Open the folders MIMES->sap_skins->styling->Ishape in the same order.
    Step 2: You will find an image 'logo.png' in the folder Ishape.
    Open the context menu (using right-click mouse button) and select 'Update and Replace'. Select your company GIF or JPG image file from your local folder in your PC.
    I hope this helps.
    Thanks
    VIshal
    Edited by: Vishal Kesar on Jun 24, 2010 6:44 AM

  • Changing the company logo CRM5.2

    Hi, I want to change the company logo in CRM5.2 WebUI. I have no idea where to start. Appriciate any help!
    Best regards Eva

    Hi,
    If logo is already imported in SAP then you can directly add in your smartform.
    else import logo
    > goto se78 or program RSTXLDMC to upload Logo>
    for se78 -> goto SE78.----> expand graphics. double click on bmp images.
    click on import graphic button--> browse your image location.--- > enter
    in this way you can upload only bmp images.
    If you want to upload .tiff images---- > you can use the std progran RSTXLDMC
    You can upload any form of graphic by using tcode OAER.
    program: RSTXLDMC , upload .tiff file from C drive . ( type = BMON/ BCOL , text id = ST ..., text = name..so10) INCLUDE name OBJECT ID STANDARD in layout set window .
    Save a Logo using Paintshop Pro or Corel Draw as Tiff file. Use RSTXLDMC to convert the logo to standard text in SapScript. When the program is executed, the path and file name have to be correctly specified.
    Process could be like the following:
    Run RSTXLDMC
    Enter file name C:\MAIL\COMPLOGO.TIF
    Resolution for Tiff file
    Absolute X-position
    Absolute Y-position
    Absolute positioning
    Reserved height
    Shift to right
    UOM = CM
    Text title
    Line width for text = 132
    Text name ZHEX-MACRO-COMPLOGO
    Text ID ST
    Text language = E
    Postscript scaling
    Width & Height according to PS scaling
    Number of Tiff gray levels (2,4,9) 2
    Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Window type CONST
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally in the text element , mention
    /: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed!
    You will not be able to see the logo in a test print. The same will be printed in actual printout.
    If you are using two logos in the same layout, the names of the logos should be unique. Say 'ZHEX-MACRO-LOGO1' and 'ZHEX-MACRO-LOGO2'. Else all the information will be overwritten.
    If the logo is not EXACTLY TIFF 6.0 , the same will not be printed.
    See OSS notes 5995, 18045, 39031 for some inputs.

  • Change IDES logo to Company logo

    hi friends
       I am working in ESS Travel Management . In porta UWL workitem is getting when the display button is clicked Travel form is displayed. In that form IDES logo is coming but i need to change the clients logo. How to change. Its not the EP Consultant work. Since its picking up from TRIP t-code to the UWl. So i need to change the IDES LOGO in ECC6 how to do that. Can any one tell me that.
    Regards
    vijay

    try this:
    Steps to change the default SAP IMAGE on the right hand column of the screen :-
    Transaction code - SMW0
    X - Binary data for WebRFC application
    Hit Enter
    Click Execute
    Click Settings -> Maintain MIME types
    Click the Create button
    Fill in :- TYPE : image/gif EXTENSION : .GIF
    Click Save
    Click Back to the Binary data for WebRFC
    Click Create
    Fill in :- Obj. name : ZXXXX.GIF Description :
    Company Logo
    Click Import and specify the filename where your
    GIF file is
    located.File type is BIN. Finish press the
    Transfer button.
    If successful, your logo will be shown in the
    Binary data for
    WebRFC.
    Transaction code SM30 - Table/View - SSM_CUST
    Click Maintain
    Click New Entries
    Name Value to be set
    START_IMAGE ZXXXX.GIF
    RESIZE_IMAGE NO
    Logoff and Login again
    Sid

  • Radio buttons determine which company logo is displayed

    In ES9 I created a form using the Action Builder feature where the first line is two radio buttons for the user to select which of our two companies they work for. Depending on their selection, the corresponding company logo is changed from invisible to visible on the Master Page. This works fine but when a second page is generated dynamically, the logo is only displayed on page one. How do I get to display on all subsequent pages generated?

    Hi,
    I believe what is happening is that when a new page is being rendered, it reverts the image objects to their default/initial state (in your case probably hidden).
    Have a look at this example: http://assure.ly/mcFrC6. In particular the script on page 1. This demonstrates how you can assign the rawValue of an ImageField to any existing Image object. While the example is on the Design pages, the same approach would be used on a Master page.
    Set up an ImageField object on the Master page, without a default image and without a caption.
    Set its binding to Global.
    Set up two Image objects and link the two logos.
    Set these Image objects to hidden.
    Then the script would follow the example, where it would set the value of the ImageField to match the value of the appropriate Image object (logo).
    I can confirm that this will work, but can't share an example.
    Niall

  • Company Logo at top of each page in report

    We want to put our company logo on the top of each page in a multi-page printed report (which is already in production and is very complicated).  I don't think you can do this with a standard list abap.  I'm guessing I need to change the abap to a dialogue program and output to a screen?  Can anyone describe the process necessary?  For example will I need to have two containers on the screen, one for the report where I do a leave to list processing, and the other for the logo?  But how would this print - could I do it so the logo appears at the top of each page?
    Certainly SAP provides some (non-alv, non-sapscript) solution to putting a logo at the top of each page?
    Thanks,
    Mike

    Hi,
    I am guessing , that if you are saying non-sapscript, even SMARTFORMS is out of question. Well you don't give many choices, (non-alv, non-sapscript), now do you ?
    As far as I know, I don't think, it is possible to put images using dialog programming or list processing.
    Check out Report Painter if it supports images.
    Regards,
    Subramanian V.

Maybe you are looking for