Dynamic logo's

I am having problems to show dynamic logo's. It seems that XMLP doesn't pick up the value of my fieldname.
If i use the the following syntax. It works fine.....
url:{contact ('${OA_MEDIA}','/','LOGO_243.gif')}
However when i use :
url:{contact ('${OA_MEDIA}','/',DOC_LOGO_NAME)}
In my xml-file i have a field named DOC_LOGO_NAME:
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<PO_V22>
<LIST_G_C_COMPANY>
<G_C_COMPANY>
<ORG_ID2>243</ORG_ID2>
<DOC_LOGO_NAME>LOGO_243.gif</DOC_LOGO_NAME>
However then no logo appeared on my pdf.
I looked at several forums about this topic, however the right answer doesn't seem to be there...:-(
Can anyone help me on this.
Cheers,
Sal

Hi Tim,
Sorry for this late replay, but i had some days off:-)
Thnks, for you reaction. The first option i already tried, but didn't work for me. I now also tried to mention the full path. But this doesn't work either.
Can it be a version problem? do i need to upgrade? I am using the logic in a header(footer) in my template. Can this cause the problem?
Hope you have any more suggestions. If i need to sent you some sources just tell me.
Thanks,
Sal

Similar Messages

  • Dynamic Logo file names in PO XSL-FO stylesheet

    We have different company logo files for different operating units. Hence , we require to use a dynamic logo file name in XSL-FO template.
    When I use the below for a single file it works.
         <fo:inline>
    <fo:external-graphic content-width="50pt" content-height="50pt" src="url({'${OA_MEDIA}/Logo_medium_COMCEL.jpg'})" />
    </fo:inline>
    However, I would need to make the filename dynamic.
    When a tried usng an xsl variable tos tore fielname, it didnt work.
    Any pointers as to how we can achieve that would be helpful

    Thanks for your quick reply Dave, I appreciate your time.
    But I couldn't test the new template as I was neither able to create a new PO nor was able to run the PO Output for communication Report. When I tried to create a PO the Purchase Order form did not open saying I am not setup as an employee, even the PO Output for communication did not give any LOV for the PO's.
    I tried to define employee name in the employee's login
    information (System administrator/Security/User/Define) for my user, but some how my name doesn't appear in LOV. Any help is appreciated.
    Thanks,
    Sharmila

  • Dynamic logo in sapscripts

    hi all,
    How do i create dynamic logo in sapscripts. i need to change the logo depending upon the company code. and there are 10 company codes. i have done my logic but how do i keep my variable.
    my varaible: complogo.
    thanxs in advance.

    Hi hari,
    make an if-statement for burks. You have to insert
    the logos as stadart-text.
    do this in script
    IF &BUKRS& = '0001'
    INCLUDE Z00001 OBJECT TEXT ID ST
    ENDIF
    IF &BUKRS& = '0002'
    INCLUDE Z00002 OBJECT TEXT ID ST
    ENDIF
    regards, Dieter

  • Dynamic Logo in PDF - Is it possible?

    Hi
    I have earlier generated text field values in a PDF using a FDF file.
    The FDF file is generated using PHP on the server side.
    Now I need to do the same but I also need to be able to set a LOGO (image file) in the PDF dynamically (programatically).
    Is there a way to accomplish this using Acrobat XI PRO to make a PDF with the form fields needed?
    Perhaps using a hidden textfield value as the basis for the logo image. Then perhaps set the hidden textfield value same way the visible text fields get their value from the FDF file?
    It is important that this is working without the PDF viewer (person) not having to do anything to make the logo appear.
    It would be great if possible to do this using an FDF file. If not possible then I would like to hear if I can combine FDF with some other solutions.
    Any suggestions on how to make this work?

    I'm using PHP to generate the FDF file and to present the visitor with the correct PDF/FDF combination.
    The source of the logo will/can be an image (.jpg) file (from same server as the PDF is on). Was hoping to be able to use an URL pointing to the image to be used.
    I came across this document:
    How to load dynamic images in a PDF file using Adobe Reader/Acrobat 8+
    http://blogs.adobe.com/dmcmahon/2009/01/06/how-to-load-dynamic-images-in-a-pdf-file-using- readeracrobat-8/
    Some down in that document we can read:
    Solution 2: Upload the images as attachments.
    Do one of the following to upload the images as attachments:Use the attachment panel in Acrobat (View > Navigation Panels > Attachments > Add).
    Upload the images through Javascript (see the “Adding Attachments” section in the Javascript scripting guide).
    Update the value of the image field using script at runtime to point to the attachment. (See the “Opening and saving attachments” section in the Javascript scripting guide)
    - Upload image through Javascript, by adding attachment (ref. Javascript for Acrobat).
    - Update the value of the image field using script at runtime to point to the attachment.
    Looking at the Javascript scripting guide as pointed to by the URL above, did not exactly show any good examples on how to do the above tasks.
    But it looks like it is doable.
    For this to work in my case I need to be able to make the javascript code load the correct image file.
    Which image file to load depends on which person is requesting the PDF and corresponding FDF file.
    Maybe it is possible to make the Javascript use a value transferred from the FDF file to the PDF file, or using another technique.
    Can someone here please explain to me how I do accomplish what is described above?

  • Dynamic Logos in Smart forms

    We have a business case to choose different logos based on a condition. This invloves significatn effort from Change mangement point of view.
    Is there any solution by which I don't need to change any thing in smart forms but able to derive the graphic dynamically.  
    any help in this regard is appreciated.
    regards,
    Sadam

    Hi Harpit,
    I did as follow in my requirement... i have to print logo based the company code.. for this
    i have created 1 graphic window, then given the name as<b> &V_LOGO& then press the Button right arrow (looks like ">").</b> so that system will understand the name will comes form vareiable V_LOGO(is type char20. rest is same.
    but some how we need to pass the logo name for this i have written code in GOBALDIFINATION-->INITIALIZATION tab...
    if xxx-BUKRS = 1008.
    V_LOGO = 'xxxxxxxx'.
    elseif xxx-BUKRS = 1011.
    V_LOGO = 'yyyyyy'.
    elseif xxx-BUKRS = 1152.
    V_LOGO = 'zzzzzzzz'.
    endif.
    Please Close this thread.. when u r problem is solved
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Regards
    Naresh Reddy K
    Edited by: Alvaro Tejada Galindo on Oct 1, 2008 3:25 PM

  • Dynamic logo ,text in smartforms

    hi there!
    as per my requirement they got 4 types of logos.
    they wanted to display those dynamically. plz gyide me.
    if possible also update me regarding dynamic texts too.
    thx in adv

    Hi
    You can upload those 4 different logos into SAP through trxn <b>SE78</b>.
    And based on your conditions, you can select the required logo to print.
    Regards,
    Raj

  • Dynamic logo loading

    I am working on an HTMLDB application where each client connects to check status of his jobs etc. I'd like tolet the client see his specific logo at the time of login. Is it possible in HTMLDB to have different logos based on who is currently looged in? Can the log be dynamically channged based on a session info?
    is there any substition variable that I can set to a file name for each specific customer?
    Thank you for your help
    my version is 1.6
    gha

    Are the logos relevant to the status of jobs OR who the client is? Or is it both?
    Either way, I'd create a set of columns in a table that associate the status (or the client) with the appropriate logo (actually, and most likely, a path to a logo file). Then when you retrieve the status of the job you can get the logo file location along with it and display different logos based on which records you're presenting.
    You can also store image files in the database as a BLOB column, and there are lots of posts about that here on the forum. Same concept applies. Slightly different handling though.
    Earl

  • Dynamic Logo.

    Hi,
    I have a requirement where the logo should dynamically change depending upon the customer in Packing Slip report.
    Would appreciate if any one can share there experience.
    Thanks.

    2 options,
    First :
    store them in the DB,based on the condition you wanted to display the image and fetch that particular record in the xml as BLOB,
    and it can be rendered asthe header logo
    Second:
    You have to store in them all in a filesystem.
    In the template based on the condition , you got to refer their name them dynamically.

  • Dynamic logo doesn't appear for multiple outbound payments in IBY

    Product: BI Publisher 10.1.2.3
    Oracle Payments (IBY) 12.1.3
    Logo for each organization on check printing appears correctly for single outbound payment but for multiple outbound payments, it doesn't appear. Any help would be greatly appearciated.
    Thanks,
    Amjad

    Product: BI Publisher 10.1.2.3
    Oracle Payments (IBY) 12.1.3
    Logo for each organization on check printing appears correctly for single outbound payment but for multiple outbound payments, it doesn't appear. Any help would be greatly appearciated.
    Thanks,
    Amjad

  • Crystal Report VS 2010 Beta - Dynamic Logo Image

    I am creating a report for an application in which the logo needs to change. I have inserted a picture in the report. I have created a parameter called LogoFile. Using FormatObject and then GraphicLocation, I have set the value to the parameter. I pass a simple string with the file path. In order to be certain that the parameter was set, I display the string as text in my report.
    The parameter is set without problem. The image does not change to the path specified by the parameter. Do I need to do something else to trigger the change?
    Thanks!

    The graphic formula feature works for me using a .NET Windows form viewer control. What type of project and viewer are you using? Do you have the appropriate user permissions to access the image file?
    Try using Process Monitor to watch your app run. Check to see if your app is trying to open/read your image file you've set using the parameter prompt. It should give you a hint about what is occuring.

  • Sapscripts dynamic logo

    hi all,
    Requirement: i need to create a logo depending upon the company code.
    I have created a function module and stored logo in a variable called v_logo in my driver program.
    the problem is that i am unable to include the variable  v_logo in sapscript
    /: BITMAP V_LOGO OBJECT GRAPHICS ID BMAP TYPE BCOL.
    do i need to create a graphic window nor  a normal window to include the above command.
    i have tried using a graphic window but it does not allow me to use the above command.
    so let me know how to insert the above command in sapscripts?
    whether to include in a graphic window nor in a normal window?
    thanxs in advance

    Hi Hari,
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP
    2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
    make it Zoom as 100% and save as *.TIFF
    3. Open SE38 and execute program RSTXLDMC
    4. Give your TIFF file path name
    5. Select Bcol (for Color)
    6. TEXT ID will be ZHEX-MACRO-*.
    7. Inplace of * write your own logo name (ZCOMPANYLOGO)
    8. Execute the program
    9. Now Goto SE71 create your ZFORM
    10. Create logo window
    11. Goto text element of logo window
    or
    In 4.6x :-
    1. Goto SE71 Change the mode to GRAPHICAL
    2. Choose the Graph Tabstrips
    3. Now type in some name for the LOGO WINDOW
    4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
    5. The code will be written automatically. You just need to drag and drop wherever you want
    the graphics to be.
    Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).
    <b>Based on the company code</b> you can send the logo name into a Variable from your Driver program and you can just use it here in the following statement.
    /: BITMAP V_LOGO OBJECT GRAPHICS ID BMAP TYPE BCOL
    make an if-statement for burks. You have to insert
    the logos as stadart-text.
    do this in script
    IF &BUKRS& = '0001'
    INCLUDE Z00001 OBJECT TEXT ID ST
    ENDIF
    IF &BUKRS& = '0002'
    INCLUDE Z00002 OBJECT TEXT ID ST
    ENDIF
    Refer this thread:
    How to change SAP SCRIPT logos at runtime
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • Different logo according to different user

    Hi,
    I need to display different logo according to different user.
    For eg: If user 1 signs on logo 1 should be displayed
                if user2 signs on logo 2 should be displayed.
    I think it can be acheived by using if condition in conjunction with current user()..but not sure how to write formula
    Thanks in advance
    Regards
    krish

    Hi Krish,
    You can use Alerters in combination with the =CurrentUser() function to display dynamic logo's in your Webi reports.
    Have a look at the youtube tutorial I posted a while back:
    http://www.youtube.com/watch?v=vOSUrFAyJ24
    Regards
    Rim

  • Company-based Logo on SMARTFORMS/Sapscript

    Dear SAP Experts,
    Is there a way to assign a logo dynamically depending on the company where the document was created?
    Please advise and thanks!

    Hello,
    Yes dynamic logos can be displayed based on the company code.
    The better solution will be maintain a Z table which will contain all the fiels you need to do the validation and also the logo name.
    Eg table
    table z_logo.
    fields
    company code
    logo name
    and now maintain the logo in the sap system, so now write an select query with where clause company code and get the logo name.
    Now pass the logo name as &ZXYZ& in the graphic window.
    please note that &ZXYZ& is the value that had been retrieved from Z-table that you had created, and field is logo name.

  • Display of image in rtf template

    Hi,
    I have a tag in my xml file like
    <ImageDistributeur>IMAGE:D:\EXPLOIT_UNPMF\Edition\Image\L29004G.tif</ImageDistributeur>
    and the image is stored in the particular location specified inside the tag.
    The xml file doesnt contain the image...
    My question is how can i use the tag and get the image in the template.
    I dont want to embed the image directly into the template as it is a dynamic logo...
    so i have to use the xml tag.
    but if use the above <ImageDistributeur> tag... its obvious that the text inside the tag only will be printed...
    Is there any other way to get the image from the path specified ..if so please guide me in this issue.

    Hi,
    have a look at Tims Blog: http://blogs.oracle.com/xmlpublisher/2006/05/02#a25
    Regards
    Rainer

  • Inserting Image Into XML Publisher Report

    I have a problem to insert an JPG Image(Dynamique Logo depending on setid ) into My XMLPublisher report.
    My Image is stored in database. My query return the field image
    I Use this syntaxe:
    <fo:instream-foreign-object content-type="image/jpg">
    <xsl:value-of select=".//IMAGE"/>
    </fo:instream-foreign-object>
    where IMAGE is the image field name of my query.
    But this does'nt work ; any Help please ?

    Make sure this parameter is set false:
    http://blogs.oracle.com/xmlpublisher/2008/03/secure_your_io.html
    Also follow along this guideline:
    http://blogs.oracle.com/xmlpublisher/2006/05/inserting_blobs_into_your_repo.html
    There you can even find an example
    Cheers
    Jorge
    ps. If this answers your question then please grant the points and close the thread

Maybe you are looking for

  • How to hide date in calendar facet

    Hi All, I have a requirement to hide the Dates on the calendar and widget has to show Sat, Sun , Mon without dates.Is there any way to customize calendar app to show only weekdays but not dates? Note:I am supporting only week mode in my app. Thanks

  • I modified graphics colors and can't get back to a normal display

    It does not help to try and delete Foxfire and re-download it. If I start Foxfire and then start Internet Explore, the bad color scheme is applied to Internet Explorer so the problem has to do with Foxfire load parameters.

  • Iphoto  5.0.4 - lots of ?'s

    I have 8000 photos, and many are raw files. It seems that pretty much nothing is working properly in iphoto anymore. Recently, when I've tried to make a slideshow, it won't move past the first photo. I've upgraded the memory in my computer twice...at

  • DAM: video conversion alternatives to FlipFactory

    Hi all, my goal is to implement a video conversion solution using UCM+DAM. As an alternative to FlipFactory i found info on how to configure and use FFMpeg (gpl license). I have 2 questions: - are there any alternative to FFMpeg? - what are the limit

  • Podcast seems to time out when downloading

    When I start a download of a podcast, it will download for a minute or so and if the podcast is not fully downloaded, I tunes stops down loading the file.