How to diaplay a logo dynamically in smartforms

hi experts,
i have 3 logos which needs to get printed in the smartform based on the business areas as the condition
can you please help me in providing a sample code to display the logo dynamically in smartform
Edited by: murari sampath kumar on Jan 28, 2010 7:42 AM

Hi
place all the three logos on the smartfrom.
Suppose u have three business areas,
1
2
3
then in the condition part of the graphics,
provide the condition.
like field name eq business area
       relation   Equal to
       Comaprison value eq 1.
when this conditon will satisfy then only ur logo will print.
apply this condition to all three logos.
Hope this will solve ur problem.

Similar Messages

  • How to change window sizes dynamically in smartform

    Hi,
    Dear ABAP Experts,
            I need to show different materials current sales by comparing previous year’s sales (month wise) as a table and their difference in the form of chart( diagram). Can anyone share how to draw chats(rectangular boxes) in smartform.
        Please can any one tell me how to pass dynamic coordinates (left margin, width, upper margin and height) to create window. If I know this one I can solve my problem.
    Thanks in advance,
    Meeravali Shaik.

    hi Raju,
    You can do onething. Create a variable in global defination of charcter lenth 1.
    when you are selecting your address on the basis of address number. suppose we have two address add1 and add2.
    if you get add1 set this variable 'X'.
    otherwise set it 'Y'.
    Now create two text node.
    in one text node put your add1 and in other one put add2. in text node yyou will get tab conditions.
    Put the condition varible = 'X' for add1.
    and 'Y' for add2.
    so it will execute one the basis of that condition and print the one of the addresses u have.
    Hope this will help you out.
    Reward if useful.
    Regards,
    Azad.
    do remember to clear the variable after printing.

  • How to call LOGOS dynamically in smartforms

    Hi,
    I have  15 logos ,i have to print these logos based on company code ,how can i display?
    logic to display logos.

    what Nabheet is trying to tell you is that,
    declare a variable of type below in the global definition
    GV_LOGO     TYPE     SSFSCREEN-GR_NAME
    and before the logo graphics element put a code like
    select single logo_name from Ztable in to gv_logo where bukrs = gv_bukrs. => this gv_bukrs is from your code
    this z table tolds two columns.. company code and logo name. so you will get one entry in gv_logo.
    this should be the name of the logo you have uploaded using se78.
    say comp1 has logo name logo_comp1
    say comp2 has logo name logo_comp2
    so your code say picks up logo_comp1 as your comp code is comp1.
    now, the graphics window.
    Name       &GV_LOGO&
    Object     GRAPHICS
    ID         BMAP
    you are done

  • 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);

  • How to print the data Dynamically in smartforms

    Hi Experts,
    I need to print the data dynamically in different windows on the same page.For example in the first window 25 records,2nd window 25 records and 3rd window 25 records.I need it dynamically.How to achieve this?

    Hi,
    If you have an internal table which fetches the data... Then you can have table in each window and in the data tab give from row and to row values to display how many records and from where to where you want to display.
    Regards,
    -Sandeep

  • How to get a logo dynamically in template

    Hi there
    i am developing reports to various clients . At run time i have display the logo of the appropriate bank to whom i will be selling the product . since i am developing nearly 100 reports , i want to include this in the template . I ahve tried using the link field , but i have to hardcode the path .... is there any other option ...
    any suggestion are welcome ...
    thanks
    sudhir

    Hi
    place all the three logos on the smartfrom.
    Suppose u have three business areas,
    1
    2
    3
    then in the condition part of the graphics,
    provide the condition.
    like field name eq business area
           relation   Equal to
           Comaprison value eq 1.
    when this conditon will satisfy then only ur logo will print.
    apply this condition to all three logos.
    Hope this will solve ur problem.

  • How to change the image dynamically depend upon the input parameter

    Hi All
    I have one report running depend upon the Organization specific, I have 15 operating unit and 15 different logo for each operating unit.
    How to change the Logo dynamically depend upon the input passed by the user.
    If I have three or four logo i can add in my layout using if else statement and its works fine but i have more that 10 logos so its no possible to keep these in My RTF Template.
    Is it possible to change the logo according to the input without keeping this in Template.
    I have seen this link but its not working fine
    http://erpschools.com/articles/display-and-change-images-dynamically-in-xml-publisher
    Regards
    Srikkanth.M

    Hi,
    I have not completed fully,so sorry i cant able to share the files, could you please give me some tips and steps to do.
    Without having the logo in RTF if it possible to bring the logo depends on the user input (Ie Operating unit).
    Regards
    Srikkanth

  • How to upload a  logo in smartforms

    can anybody tell me how to upload logo in Smartorms

    Hi,
    Inserting Logo in SmartForm
    Follow the given steps in order to add a logo,
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) User TCode SE78 to upload new pictures and logos.
    or----
    u can
    Try executing program RSTXLDMC program. There also you can upload a graphic.
    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 u can make use of the text name and text id to print the logo.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
    Go thru this,
    http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAPSmartFormsVersion3.pdf
    Refer these threads,
    How to upload logo in Smartforms.
    logo insertion in smartform..
    Regards,
    Padmam.

  • How to import a logo from flat file to SAP in SMARTFORM.

    how to import a logo from flat file to SAP in SMARTFORM. i need to know whether TIFF format is used and also the full steps.
    Thanks,

    Hi,
    You can not directly use a logo from a file into a Smart form. First you will have to upload it to SAP. This has to be done only once. Once it is imported into SAP then you can use it in smart form. To import a logo to SAP, goto SE78. Open the tree under GRAPHICS. Select the file type and click on the Import (first button on the toolbar, just before delete button). Select the logo file and give it some appropriate name along with description. Select appropriate type of the image and click Continue. Your logo will be uploaded into SAP from a file. Now in your smartform, Create a Graphic Node, give the name of the logo along with other properties. In this way you can import a logo from a flat file into SAP and consequently in a smart form.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • Determine dynamically option in logo upload in smartforms

    Moved to correct forum by moderator
    hi all,
    I have a logo uploaded in either color or black and white. when I select the option 'determine dynamically'
    , its giving error that graphic can not be displayed.
    How should I resolve this error.
    Please help.
    Rgds,
    Madhuri
    Edited by: Matt on Feb 9, 2009 9:22 AM

    hi Aakash,
    Thanks for reply.
    But I know how to give the logo name dynamically.
    I was asking about the 3rd option in the logo window (Detemine Dynamically(BMON,BCOL)).
    I have some of the logos uploaded in b&w and some logos uploaded in color.
    How should I determine at the run time that this logo is color one or dynamic one.?
    rgds,
    MAdhuri

  • How to upload logo in adobe forms? is it possible to give logo dynamically?

    hi experts,
    1.i need to upload logo in adobe form.
    2. is it possible to get the logo dynamically in adobe forms.
       is it possible or not?
    thanks in advace

    Hi,
         In the form builder (tcode SFP), click on layout tab, just drag image icon from library into your layout and then specify it's localtion in your frontend. Also check the below thread,
        Uploading a logo
    Best Regards,
    Jayavardhan.

  • How to add a frame dynamically in a jsp page.

    Hai all,
    In my application, in a particular jsp page i had the 3 links namely add.edit and delete. When click on add button, it is pointing to another jsp page where i can enter user details. But what i want now is when i click add button, the form in which we fill the user details should be added to the current page itself dynamically i.e., it should not go to another page when i click add button and that form should be displayed in the current page in a new frame dynamically.
    The same should happen when i click n edit or delete options. everything should be diaplayed in the same page in different frames.
    Can anyone suggest me about how to add a frame dynamically.

    You create a frameset with two frames. One frame you give 100% of the rows and run the JSP in this frame. The other frame you give 0% of the row so that it is hidden. In the JSP you use a JavaScript funtion to submit the form. This function will call the parent frameset to reset the row values to 50%/50% which will make the bottom frame visible and then submit the form request with the bottom frame as teh target.
    It is not so much as creating frames as using JavaScript to hide and display frames.

  • Displaying logo dynamically when printing to pdf

    Hi,
    I am trying to setup the pdf print feature to display a logo dynamically for clients using our site.The logos are not stored in the database as BLOBs. They are stored on our server in the images directory and the file name is stored in a database table.
    If anyone has an easy way to do this or any ideas and/or insight on how to get this done...i'd greatly appreciate it!
    Thanks!
    Hindy

    AcroTray is running in background.
    Thanks, will try that. Just have to work out Word settings so the conversion is seamless. Word tends to drop images and such when I do that.
    In the interim, I've downloaded the CutePDF driver and all seems to be working. Ultimately the issue seems to lie with the PDF driver provided by Acrobat, but no matter how many times I reinstall the driver I still get the same problem.

  • How to print color logo?

    how to print color logo using smartforms?is any printer configuration needed for printing color logo..?

    brainbytes,
    Currently, Kuler does not support direct printing of themes. You can anyways, copy the theme to swatches panel(via kuler panel or through the downloaded ASE file) and use a product like Adobe Illustrator to create a document that can be printed using those colors. Alternatively, each theme within kuler has a URL(Referred to as Theme Link within a them description, when more info is selected in the website) that can be used to show the theme to a client. All public kuler themes are accessible via the URL in any flash supported browser or through the freely available Kuler AIR application.
    Kuler Team

  • How 2 create coloumns and rows in smartforms using template????

    How to create coloumns and rows in smartforms using template????...
    Kindly explain in details.......
    Regards,
    Faiz
    Moderator message: please search for available information.
    Edited by: Thomas Zloch on Mar 5, 2012

    Hi JV,
    Yes you can create rows dynamically in a table in IF. You can follow the instruction in [this link|Re: Dynamic Table -  same data repeating in all rows] to create the dynamic table.
    Also refer to these links:
    [Data in dynamic table not pass to webdynpro java|https://forums.sdn.sap.com/click.jspa?searchID=16436680&messageID=5638776]
    [DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM|https://forums.sdn.sap.com/click.jspa?searchID=16436680&messageID=5775811]
    Hope this helps!!
    Regards,
    Arafat

Maybe you are looking for