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

Similar Messages

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

  • 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

  • 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

  • How to add Logo in SAPSCRIPT

    Hi frnds,
    How I will upload Logo in SAPSCRIPT?
    I have created Header window, Now I want to add Logo in Header Window.
    Regards.

    Hi,
    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.
    regards,
    Munibabu.K

  • Dynamic Login Page & Logo

    How can I have a dynamic login page and logo. I am developing an app which will be used by two different groups, so depending on the group, they should see a different homepage/logo etc. Is that possible? Do I need to have two different login pages?
    Also the "Change a Logo in a Page Template" topic is obsolete in htmldb how to section:
    http://www.oracle.com/technology/products/database/htmldb/howtos/howto_change_logo.html

    Anonymous - The logout URL, which is editable as an attribute of the authentication scheme, specifies the page or URL to go to after logout. You might want to change that target to a common page that does a before-header branch to any of several pages based on session state. Or you can display different logout URLs without using the logout url and its substitution variable (&LOGOUT_URL.) in the navigation bar icon, but simply display whatever logout URL works for the current user so it results in their going to the desired page after logout.
    Scott

  • Best Practice: Dynamically changing Item-Level permissions?

    Hi all,
    Can you share your opinion on the best practice for Dynamically changing item permissions?
    For example, given this scenario:
    Item Creator can create an initial item.
    After item creator creates, the item becomes read-only for him. Other users can create, but they can only see their own entries (Created by).
    At any point in time, other users can be given Read access (or any other access) by an Administrator to a specific item.
    The item is then given edit permission to a Reviewer and Approver. Reviewers can only edit, and Approvers can only approve.
    After the item has been reviewed, the item becomes read-only to everyone.
    I read that there is only a specific number of unique permissions for a List / Library before performance issues start to set in. Given the requirements above, it looks like item-level permission is unavoidable.
    Do you have certain ideas how best to go with this?
    Thank you!

    Hi,
    According to your post, my understanding is that you wanted to change item level permission.
    There is no out of the box way to accomplish this with SharePoint.               
    You can create a custom permission level using Visual Studio to allow users to add & view items, but not edit permission.   
    Then create a group with the custom permission level. The users in this group would have the permission of create & add permission, but they could no edit the item.
    In the CodePlex, there is a custom workflow activities, but by default it only have four permission level:
    Full Control , Design ,Contribute and Read.
    You should also customize some permission levels for your scenario. 
    What’s more, when use the SharePoint 2013 designer, you should only use the 2010 platform to create the workflow using this activities,
    https://spdactivities.codeplex.com/wikipage?title=Grant%20Permission%20on%20Item
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Issue changing the Logo on web UI

    Hello all,
    I have an issue where I can't get a new logo to show on our WEB UI skin.
    What i've done so far..
    1, I've created a BSP in se80,
    2, spro > sap ref IMG > CRM > UI framework > UI framework definition > skins > Access Skin Workbench
        Select Nova and copied the Skin to a new Skin with the BSP I created in se80.
    3. On my new Skin - changed the logo.png and logo.gif in all locations, ( I believe the main one is in  'styling/Lshape/Logo.png' )
        The one one that looks like the image I wanted to change was in /_images/logo.gif.
    4. Assigned this Skin to my technical Profile
         spro > sap ref IMG > CRM > UI framework > define Techical Profile > <myprofile>
    5. Ensured my technical profile is specified against my busines Role.
    Saved my work, loaded up the web UI, hit my business Role, 
    6. Clicked preferences and checked my Skin was already selected, it was...
    But the image that I replaced is still the original??
    I've been through all the images on my new skin to see if there are any others that are the same as the main SAP logo, which there isn't - I can't understand where its getting it from, (other then the predefined skins)
    Any help or advice on this would be much appreciated!
    Regards
    Dave
    about me,
    I'm fairly new to SAP with only 6 months light experience,
    I have sat the CR100 and CR580 courses so have a little bit of knowledge

    Hello all,
    I have managed to fix it / find out what I did wrong.
    in spro > sap ref IMG > CRM > UI framework > UI framework definition > skins > Define Skins.
    I had created my reference to point to the NOVA files? so even thou I was editing my skin, it was only ever showing the NOVA files. - I just created a new entry pointing to my Skin and it now works..
    Regards
    David

  • 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 change the logo size on all the pages?

    I have some 125 pages and i need to change the logo size of every page .Is there any method to change with one click that reflects on all the other pages ? Rather than i do it manually open every page and change the logo size? The logo is in the div. I want to use it as html rather than using as css div background image. Any help will be highly appreciated am using DWCS6 on win xp pro.

    If the code is the same on every page, you could use the Find & Replace function within DW...
    1. Make a backup of your site files, just in case
    2. Make the necessary changes to one page to get what you want (make sure you know what the original code for it was/is)
    3. Hit Ctrl + F to open the Find/Replace Dialogue
    4. For "Find In" choose Entire Current Local Site
    5. In "Search" choose Source Code
    6. For "Find" put the line(s) of code that contain your background image on all pages (the original code mentioned in #2 above)
    7. For "Replace" put in the newly changed line(s) of code from step 2.
    8. Hit Replace All
    DW will go through all of the pages, replacing whatever code you put in Find with whatever code you put in Replace.

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • Dynamically change the Binding of a view object

    I want to reuse a panel several times in my application. The VO has one bind parameter (:1). The same panel should be reused several times with different bind variables.
    I found a technical note concerning this issue called: How to Dynamically Change the binding of a View Object to a JClient Panel. This works for JDeveloper 9i but not for JDeveloper 19g. Does anybody know how to dynamically change the binding in JDeveloper 10g

    You may use bindRowSetIterator() and pass in a custom fetched ViewObject or a RowSetIterator to the iterator binding that is displayed in your panel.

  • 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

  • Dynamically changing internal table in 'gui_download'

    Hi Experts,
                     i have to download 4 internal tables, each with different structures, to the presentation server using 'gui_download', based on which radio-button is selected in the selection screen. I am hoping to use a single 'form' and 4 'perform' calls. how can I dynamically change the tables in the 'gui_download' function modules.
    plz help.....................

    Hi ,
    Build the field catalog dynamically based on the internal table structure based on the radio button selected.Use the dynamic internal table generated from the filedcatalog and use in GUI_DOWNLOAD.
    See the below code:
    *& Report  ZRAJESH02
    REPORT  zrajesh02.
    Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                  <dyn_wa>.
    DATA: alv_fldcat TYPE slis_t_fieldcat_alv,
          it_fldcat TYPE lvc_t_fcat.
    DATA: lv_monate TYPE f,
          lv_months TYPE i,
          lv_date TYPE sy-datum,
          p_check1 type n value '1'.
    lv_date = sy-datum + 360.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_check TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      CALL FUNCTION 'MONTHS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis   = lv_date
          i_datum_von   = sy-datum
          i_kz_incl_bis = ' '
        IMPORTING
          e_monate      = lv_monate.
      lv_months = lv_monate.
      PERFORM f_fcat USING 'AUFNR' 'CHAR' '12'.
      PERFORM f_fcat USING 'POSNR' 'CHAR' '06'.
      while p_check1 LE p_check.
      PERFORM f_fcat USING p_check1 'CHAR' '1'.
      p_check1 = p_check1 + 1.
      endwhile.
      PERFORM build_dyn_itab.
      LOOP AT <dyn_table> INTO <dyn_wa>.
        WRITE:/ <dyn_wa>.
      ENDLOOP.
    FORM f_fcat USING fieldname dattyp length.
      DATA:wa_it_fldcat TYPE lvc_s_fcat.
      CLEAR wa_it_fldcat.
      wa_it_fldcat-fieldname = fieldname.
      wa_it_fldcat-datatype = dattyp.
      wa_it_fldcat-intlen = length.
      APPEND wa_it_fldcat TO it_fldcat .
    ENDFORM.                    "f_fcat
    *&      Form  build_dyn_itab
          text
    FORM build_dyn_itab.
      DATA: new_table TYPE REF TO data,
      new_line TYPE REF TO data.
    wa_it_fldcat TYPE lvc_s_fcat.
    CLEAR wa_it_fldcat.
    wa_it_fldcat-fieldname = 'AUFNR'.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 12.
    APPEND wa_it_fldcat TO it_fldcat .
    CLEAR wa_it_fldcat.
    wa_it_fldcat-fieldname = 'POSNR'.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 6.
    APPEND wa_it_fldcat TO it_fldcat .
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fldcat
        IMPORTING
          ep_table        = new_table.
      ASSIGN new_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA new_line LIKE LINE OF <dyn_table>.
      ASSIGN new_line->* TO <dyn_wa>.
    ENDFORM.                    "build_dyn_itab
    Thanks,
    Rajesh.

  • Dynamically change the Priority Group of Logical Table Sources in OBIEE 11g

    Hi All,
    I have 2 Logical Table Sources(LTS 1 and LTS 2 for a Logical Table in BMM Layer).
    Example: Logical Table : Sample
    LTS Source 1 : Sample 1(Priority Group Set to 1)
    LTS Source 2 : Sample 2(Priority Group Set to 0)
    I have set the Priority Group of Sample 1 LTS Source to 1 and Priority Group of Sample 2 LTS Source to 0.
    I need to dynamically change the Priority Group of Sample 1 LTS Source to 0 if my role is DEVELOPER where role is a column in database.
    If my role is not equal to DEVELOPER then the Priority Group of Sample 1 LTS Source will remain same(1).
    Please suggest how can i achieve this.
    Thanks,
    Soukath Ali

    hello Soukath Ali,
    didi you find a way to dinamically changing Priority Group?
    thanks,
    Maria Teresa Marchetti

Maybe you are looking for

  • What is difference between sy-tabix and sy-index.

    SAP Seniors, Can you please let me know what is difference between sy-index and sy-tabix. I read the SAP help, it is confusing for me. it looks like both are same from help. please help me. Thank you Anitha.

  • Performance issue in abap program

    hi, how can we improve the performance of  abap program

  • Skype doesn't work on LTE

    I'm using an iPhone 5.  Skype app works definitely well on WIFI. However, when shifted to LTE network (without WIFI), it doesn't show ONLINE CONTACTS and I couldn't receive or make a skype calling even my status is ONLINE. I tried to reinstall the ap

  • MyFace Configuration

    I've googled this to death, and have seen folks having similar problems, but no resolutions. What I'm doing seems very straight forward, but I get the following exception. "org.apache.jasper.JasperException: ExtensionsFilter not correctly configured.

  • Why can't I get any sound out of Firefox.

    I cannot get any audio from Firefox in any format (Flash, .wma, mp3, online radio, etc). I have tried the suggestions on the help page concerning the volume mixer, updating flash, etc. I did notice that Firefox and the Plug-in container do not even s