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

Similar Messages

  • Dynamic picture in Smart forms

    hi all,
    i need to include the  picture of am employee dynamically in the smart form deponding on the personnel no selected .so each page will need to include the picture. how to create graphics node dynamically / assign the picture .
    can any one tell me the logic .
    thanks
    senthil

    Hi Senthil,
    Create a graphic node in the Smartform and under the tab  'General Attributes' fill the Name, Object and Id with variables (e.g. &NAME&, &OBJECT& and &ID&) and fill these parameters to get the picture you want at runtime.
    Regards,
    John.

  • Dynamic graphics in Smart Forms

    Dear All:
    I have a requirement in my SMARTFORM page development that i have to place a dynamic graphics and printout.
    Does anyone know how to control the dynamic graphics in Smart Forms?
    Any help whould be highly appreciated.
    Many thanks in advance.
    Regards,
    Elvis

    Hello,
    You can call the graphic dynamically as per your requirement by calling the Graphic dynamically, For ex: Name of the graphic: &WA_ITAB-FIELD1& ( which is a field of IntTab ITAB taken into Work area WA_ITAB ).
    Also please note that you cannot print / overlay text in a diamond, perhaps you can have a work around to print the graphic and beside the graphic you print the Customer short name. for this you can either define a table / template.
    Hope this helps you.
    Best Regards,Murugesh AS

  • Search for texts and logos in smart forms

    Hi there,
    Does anyone know if there is a function module that can search for specific texts and logos in smart forms?
    Any response would be really appreciated.
    Thanks
    HW

    Hi
    I really doubt if there is any FM like that. But, you can always search the existing logos in the Appln Server, the tcode is SE78.
    Regards,
    Vishwa.

  • Writing Dynamic code in smart form

    Hi All,
       I have a issue on Smart form . the smart form is customized view of bbp_po(srm) for po(purchase order) details  in that in a secoundary window where vedor adress is displaying .In the first line of the address name1 and name2 are displaying now my need is if the name1+name2 is more than 47 chars then i need  to shift name2 to next line how can i do this dynamic code plase i need it urgently .
    Thanks
    channu sajjanar

    Hi
    Write code yto count the no of character, if it is more than 47 then display NAME2 in second line else write in first line.
    for second line put conditionin text element  NAME2 <> space.
    This will work
    Thanks
    Shiva

  • Dynamic Table in SMART FORMS

    Dear,
    I just want to pass dynamic internal table to smart form which i have created in print program.How it is possible and i am also using border for field in layout.
    Anuj Modi

    Hi Anuj Modi,
    Smart forms are not really dynamic (except if you are talking about the number of lines), could you please explain what rendering you want to achieve exactly?
    Sandra

  • Dynamic graph in Smart Forms

    Hi
    I have searched the forums and noticed this question has been put forward many times but without a complete solution.
    I have so far managed to use the IGS to create a .JPG/PNG file for me. I seem to have an error while trying to create a BMP file, basis is currently looking into this for me, i get a LISTENERRFC : error.
    I'm using class : cl_igs_chart_engine
    to generate a chart from the IGS, this is returned to me in a MIME table format.
    Now how can I use this MIME table to insert it dynamically in the SMARTFORM. I see there is provision for Dynamic determined graphics in smart forms but i don't think it can be used here.
    Does anyone know how to do this ? Is there any other more effective way of inserting dynamic graphs into SAMRTFORMS
    Another question is class : cl_igs_chart_engine, how can you create a line graph instead of a bar graph ?
    Thanks

    Hi Kevin,
    Dynamic graphic in samrtform is supported provided you have the BMAP ( Bitmap ) created in SAP. In the graphics node of SMARTFORM you can assign a variable &GRAPHIC& as the name. From the program pass the graphic name in variable "GRAPHIC" through samrtform interface .
    The prerequisite is that the graphics should be there in SAP database at the time you call smartform .
    About your other question I have no idea but I can say that if you can have a graphics created on your PC at runtime you can always upload it to SAP using report RSTXLDMC , just before calling smartform. However this would generate a lot of graphics on SAP even if it is for one time use by smartform . You will have to find a way to delete subsequently .
    Cheers

  • Dynamic Changes in Smart Form ( From External Source )

    Dear Sap Folks ,
                Whether the SF layout attributes can be changed from the external loading program dynamically .
    Please give your views on this topic.
    Thanks in advance .
    Best Regards,
    Raj

    Hi Raja,
    As far as my understanding goes this cannot be achieved by an external program but what you can do is that you can some flags that you can set in the print program and when you pass them to the smart form function module(the function module generated by the smartform) you can decide whether certain windows need to be displayed or not by giving a condition to them. You can have two windows with diferrent attributes and then switch between them with the help of flags acting as conditions.
    Hope this will help
    Sudhi

  • How to insert logo in smart forms

    how to insert logo in smart forms

    Hi Ram,
    Go through this hope u can understand.
    How to Upload graphics (IMAGE) to your Sapscript?
    Command in your Sapscript
    /: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
    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 (third button from left) 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. 
    /:   INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
    Reward points if help ful.
    http://www.sap-img.com/ts001.htm
    Sorry i think for Scripts ..
    better to go for above post . it definetly works
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

  • ABAP - Dynamic Table in Smart Form

    Dear All,
                 Can i assign a table at run time mens table rows and column will depend on user selection and no. of records fetched by query.  Is there any utility.
    Plz let me know ASAP if there is any. Looking forward to your co-operation.
    Thanks & Regards,
    Gulrez Alam

    Dear All,
                 At the time of table creation in Smart Form, we had to assign no. of columns and its width.
    In the case when no. of coulumns will be decided by the no of records return from the query. how can i link smart form with that records.
    No. of coulms in the smart form will be decided on the i/p no. given by the user. it can be any no.
    Plz suggest me the appropriate things.
    Is it possible or not in the smart forms.
    Thanks in Advance
    Gulrez Alam

  • Dynamic columns in smart form

    Hi All,
    The requirement is to display columns in the form dynamically based on the user input. For example if a country is chosen, each of the states is to come as a column. So based on the country, the no. of states is likely to change. This would call for dynamically changing the no. of columns in the smartform based on the country chosen. Is this possible to achieve in smartforms?
    Regards,
    Divya.

    You cannot have dynamic columns in smartform instead create all the required columns and display them based on the conditions passed from the program.
    Refer the link -
    Re: smartforms - dynamic column of tables
    Regards,
    Amit
    Reward all helpful replies.

  • Smart forms background logo

    Hi
    Please clarify me regarding smart forms background logo. I'm trying to migrate sap script into smart forms, for the background logo in smart form is it required to write ABAP code, please let me know?
    2) Is it possible for background pictures in script? Is there any document regarding logo/pictures in sap script or smartforms? is there standard forms like purchase order etc., in smart forms? Please correct me If i'm wrong...
    Regards
    sree reddy

    Hi
    Background LOGOS are possible only in smartforms not in Scripts
    see the logo printing for Scripts and Smartforms and the important smartforms and scripts with their programs
                   SAP SCRIPT
    To create a logo in SAP printouts just do the following
    1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
    2. Run  program RSTXLDMC and enter the following parameters
       Enter file name                     C:\COMPLOGO.TIF
       UOM                           CM
        Line width for text                132
        Text name                     ZHEX-MACRO-COMPLOGO
        Text ID                          ST
        Text language = E
        Number of Tiff gray levels (2,4,9) 2
    3.  Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    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.
                          SMARTFORM
    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) Use  TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server
    SD
    SALES ORDER/ENQUIRY/QUOTATION
    Output type         : BA00
    ScriptForm Name     : RVORDER01
    Driver Program Name : RVADOR01
    smartform name
    DELIVERY NOTE
    Output type         : LD00
    ScriptForm Name     : RVDELNOTE
    Driver Program Name : RVADDN01
    smartform name      : LE_SHP_DELNOTE
    Smartform Driver Pgm: RLE_DELNOTE
    INVOICE
    Output type         : RD00
    ScriptForm Name     : RVINVOICE01
    Driver Program Name : RVADIN01
    smartform name      : LB_BIL_INVOICE
    Smartform Driver Pgm: RLB_INVOICE
    MM
    PUCHASE ORDER/RFQ/CONTRACT
    Output type         : NEU
    ScriptForm Name     : MEDRUCK
    Driver Program Name : SAPMF06P
    smartform name      : /SMB40/MMPO_L
    smartform driver program: /SMB40/FM06P
    GOODS RECEIPT
    Output type         : WE01
    ScriptForm Name     : WESCHEINVERS1
    smartform name      : /SMB40/MMGR1_A
    smartform driver program: /SMB40/M07DR
    GOODS ISSUE
    Output type         : WA01
    ScriptForm Name     : WA_SCHEINVERS1
    smartform name      : /SMB40/MMGI1_A
    smartform driver program: /SMB40/M07DR
    FI Forms
    Account Statement   : F140_ACC_STAT_01
    Cheque Printing     : F110_PRENUM_CHEK
    Balance Confirmation: F130_confirm_01
    Dunning Form:         F150_DUNN_01
    check the link below it provides steps to convert sap scripts to smartforms
    http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
    SMARTFORMS -Driver Program
    PO: /SMB40/FM06P
    SO: /SMB40/RVADOR01
    GR: /SMB40/M07DR
    Reward if useful
    regards
    Anji

  • Logo in sap smart forms

    hi,
      i have one logo and i want to insert that logo into the smart forms
    so can u suggest me the steps to insert that logo in smart forms.
    regards,
    kamal

    Hi
                   SAP SCRIPT
    To create a logo in SAP printouts just do the following
    1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
    2. Run  program RSTXLDMC and enter the following parameters
       Enter file name                     C:\COMPLOGO.TIF
       UOM                           CM
        Line width for text                132
        Text name                     ZHEX-MACRO-COMPLOGO
        Text ID                          ST
        Text language = E
        Number of Tiff gray levels (2,4,9) 2
    3.  Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    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.
                          SMARTFORM
    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) Use  TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server
    Regards
    Anji

  • Smart forms - Dynamic sizing of the windows.

    Hi gurus, iam working on smartforms, i have a problem.
    My requirement is: Printing a table data on the smart form. Is the window which prints this table data is resized with the amount of table data, if so, what is the procedure i should follow for to print this data in the window.
    Please give me the steps to go with the above issue. iam new to smartforms. what is the size of the window i should give in the Form painter and what all the attributes i should declare.
    Plz give a detailed explanation..
    Regards,
    chaitanya

    Hi Chaitanya.
    I would like to suggest a few references,
    [SDN - Reference for Smart form - setting dynamic window height  |Smart form-setting dynamic window height;
    [SDN Library - Standard Reference - Dynamic Window Height - SMARTFORM Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d937ec90-0201-0010-0ca8-b6cb3b6dd1ef]
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Smart Forms Logo Print

    Hi,
    There seems to be a problem with printing my Logos on Smart Forms. In the Print Preview it shows but when I print the same it does not show in the printout, but a dark band gets printed. Also I tried to see the same in SE78 The print preview comes but when I take a print out nothing gets printed but just a number gets printed. I think there has to be some printup setting which I havent looked up can anyone please tell me.
    Regards
    Yao Chhang

    hi yee,
    that''s not a problem with layout design or abap code,
    that's a problem with printer(some printers only can support for this functionality) or with printer setting.
    regards...
    seshu.

Maybe you are looking for

  • Historical data in r/3 wants to display in bw

    Hi i have some coundition types which i merge in new coundition types,now i want to generate a report so on the basis of coundition type i can see the cummulated fright rates can anybody let me know for new coundition type i can do this no problem bu

  • [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

    Yesterday I began having issues with SLIM.  I'm not sure if they're related, but  while running Puppy , I inadvertently deleted the desktop icon for my Arch home directory on /dev/sda8.  I rebooted Puppy and it reappeared.  After running Puppy, somet

  • Sync Send without a Exception Handler ??

    hi.. Can a synchronous send step work with out an exception handler..?? im gettin my messages and combinin then n sendin via the sync send to call rfc , followeed by a send back to my server.. at this very stage it expects me to define a handler for

  • Credit memo duplication

    Hi All, i have made the configuration for checking duplicate invoice. but when i post Credit memo it  post even if it is duplicate thanks for your help. Regards Sunitha Message was edited by:         sunitha l m

  • Multi-Select LOV with multiple return columns

    Hi, I'm wondering if it's possible (and how) to return more columns from the LOV page the calling page. Default only 1 column is displayed in the LOV and 1 column is returned. However it's easy to display an additional column in the LOV: Just copy th