Color change in webdynpro abap

Hi every one
I want horizontal bar whose color changes according to condition applied.For this I had searched on sdn.For this I found  value comparision UI element .To set it values for different colors I found class CL_WD_GRAPHICAL_VALUE_CMP and method of it SET_COLOR_ABOVE_THRESHOLD,SET_COLOR_BELOW_THRESHOLD andSET_COLOR_BETWEEN_THRESHOLDS,but i dont know how to use to in my application.Can anyone Pls let code for using thisclass?
Thanks and regards
Edited by: prashant sharma on Apr 3, 2009 8:13 AM
Edited by: prashant sharma on Apr 3, 2009 8:29 AM

hi,
Refer this doc.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
With this document , you will be able to change color of particular Cell.
I hope you are refering to Cell as a Horizontal bar.
Thanx.

Similar Messages

  • Howtomake part of text as bold or differnt color text edit-webdynpro abap

    Hi
    How to make part of text as bold or differnt color in text edit-webdynpro abap.
    If we can make it bold then it is ok....or else atleast we have make it into some other color of part of text.
    Note:
    I tried with class char utilities and able to solve the issues like new line and carriage return....but could
    not make this bold or different color.
    Also when I use formatedtextview, I can able to solve this bold issue but I cannot solve this newline or carriage return issue...?
    Can any one help on this ?
    Thanks in advance
    regards,
    Pons

    You have to use the FormattedText UI elements for such a thing.  That is their purpose. 
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm
    Supported Tags:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/08/5696420cc2c56ae10000000a155106/frameset.htm
    What kind of problem did you have with the Formatted Text?  Line breaks?  Did you try using the br tag?

  • Change in Webdynpro ABAP(FITE_EXPENSES) iView standard code in Portal.

    Hi,
       We are on EP 7.0 with ESS 1.2 and MSS 1.0. In Backend R/3, we have applied EHP2 for Webdynpro ABAP screens. In travel & expenses -> Create Expense report we have a requirement where we need to put our logic for calculation of receipt amount based on no of travel days.
    for E.G. For a particular Expense type the amount per day is 100. While creating expense (Enter Receipts portion) user selects this expense type and based on no of days the receipt amount should get changed. For 4 days the amount would be 100 * 4 = 400. We need to code this logic in the standard Webdynpro Abap iView for Create Expense Report(FITE_EXPENSES).
    Can I get some pointers for this change.
    Regards,
    --VP.

    Dear Hayerk,
          Your requirement can be fulfilled easily. Have you tried hiding a button or a field or label in simple iView same is the case in your FITE_EXPENSES hiding scanned receipts button. What you can do is attach a super user to a HR user having a pending expense report to be created. Through content administrator you can preview mytrips and expenses iview in that go and click on create in tab ALL MY TRAVLE REQUESTS for expense report then on scanned receipts button right click -> user settings -> hide button.
    Regards,
    --VP.

  • Color changed when webdynpro application is called from Portal

    Hi,
    I have developed an Webdynpro application, but the orginal color has been changed if I call it from portal.
    Does someone have an idea how to deal with it?
    best regards

    Hi,
             The attribute name in iView configuration is 'Supply Portal Stylesheet'. It should be marked as 'No' to not to use the Portal Style Sheet.
    Ranganathan.

  • How to capture multiple change in webDynPro(ABAP) Table

    Hi ,
    I would like to know 'How to Capture Multiple Change' of a node . For example , a table is bound to a node and I select Multiple entries in the table . Then, how to capture Multiple entries of the table  . Is there any method ?
    There is a method 'GET_CONTEXT_CHANGE_LOG' of 'if_wd_context' which captures single change of the node .
    Regards
    Sid

    Post this in Webdynpro forum at
    Web Dynpro Java
    have you seen these tutorials.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c70444a-0801-0010-7688-9e4bd844b783
    Regards
    Raja

  • [i]How to change the[/i]   background color in a webdynpro?

    Does somebody know how I can simpley change the background color in a webdynpro?

    You need to use external CSS..via the sap-ep-themeroot or sap-cssurl.
    For downloading and changing CSS. pls refer to
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8
    Note: as stated in the documentation for a external CSS, that is just placing it in /SAP/PUBLIC Folder, <b>did not work</b> for me....
    Do following it works..
    Create a BSP application, ZCUSTOMTHEME. GO to MIME Repository and create a folder zmytheme under ZCUSTOMTHEME
    open SE38 and execute BSP_UPDATE_MIMEREPOS and upload ur custom theme under this folder.. /sap/bc/bsp/sap/ZCUSTOMTHEME/zmytheme
    While calling ur WD application....append following at end of URL
    sap-ep-themeroot = /sap/bc/bsp/ZCUSTOMTHEME/zmytheme'

  • My Trips and Expenses - Webdynpro ABAP - Change Copy Delete button links

    Hello All,
    We are using ESS and MSS applications in our scenario. We are using EHP4 version of ECC6.0.
    I have configured my homepage framework with custom entries in SAP (resources, services, ... ) and custom Portal content (iviews, pages, ...  copied from SAP delivered stuff ). I have a very good understanding of this and I have no issues with the portal navigation and tying my custom homepage framework entries to the custom PCD locations.
    The only problem I have is with the Webdynpro ABAP application for "My Trips and Expenses". I can get to this application without any problem.
    Within the My Tirps and Expenses application, there are buttons for Displaying, Changing, Copying and Deleting existing Travel Trip Requests and Expense Reports. When I click on any of these buttons, the corresponding page/iview from the standard SAP ESS role is being launched. I would like to point these buttons to my custom page/iview from my custom role.
    I did not find any place where I can make this setting. I am not sure how the Service IDs for the standard SAP services are being linked to the application.
    I hope some one might have looked into this and any input would be really appreciated.
    Thanks,
    Raj

    I figured this out.
    This application makes use of Object Based Navigation and if you adjust the roles assigned to the user accordingly, this will automatically pick up the custom pages form the custom role.
    Thanks,
    Raj

  • How can I change column name in ALV table in WebDynpro ABAP?

    Hi Everyone,
    I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
    Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
    Please let me know how can I change the name of the column.
    Regards

    Hi,
    This may help you to define your own column text in the ALV Table of webdynpro.
    see the below code.
    Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
    "change the label of the report.
    DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
    CALL METHOD l_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'STATUS_ICON'
    RECEIVING
    value = lr_weeknum.
    SET THE LABEL OF THE COLUMN
    DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
    CALL METHOD lr_weeknum->get_header
    RECEIVING
    value = hr_weeknum.
    CALL METHOD lr_weeknum->set_resizable
    EXPORTING
    value = abap_false.
    hr_weeknum->set_prop_ddic_binding_field(
    property = if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
    set the text of the column
    CALL METHOD hr_weeknum->set_text
    EXPORTING
    value = 'C Form'.
    regarads,
    balu

  • Change dropdown values for a field in webdynpro abap

    Hi All ,
    I need to change dropdown values for a particular field ( Tax code ) in webdynpro component (FITE_VC_RECEIPTS) when selecting expense type.  Right now Tax code values are coming with respect to a company code but i need tax code with respect to other company code for two personel numbers .
    How can i change dropdown values for this taxcode in webdynpro abap . Please suggest.
    Thanks in advance.
    Regards,
    Sijin K P.

    Hi All ,
    Thanks for reply .
    In production taxcodes are coming fine but wrong in dev and quality . ( Australian taxcodes are coming in production for dropdown values but new zealand tax codes in dev and quality )
    I have not started doing any changes . Is there any configuration part to change tax codes that can reflect in expense claim portal . Please help ..
    Thanks in advance.
    Regards ,
    Sijin K P.

  • Need expertice opinion on WebDynpro ABAP vs FPM for heavy custom apps

    Hi Experts,
    I have a lot of custom UI development,.for external users in SAP. Most of these applications can be simply developed using WebDynpro ABAP framework. If I do the same development using FPM framework I may need to do lot of reaseach espcially controling the UI behaviours like hiding, changing table cell  colors based on the data, manipulating the UI behavior in the runtime, lot more like this.
    The question I have is , which one is the right tool for my development FPM vs WebDynpro ABAP, what is the value in building the same apps in FPM rather then WebDynpro ABAP? If I develop these apps in WebDynpro ABAP does my client loose any new capabilities in he future releases? are any other drawbacks?
    The challenge i see the FPM Feeder classses doesnt have lot of interfaces other then few like ( IF_FPM_GUIBB_FORM, IF_FPM_GUIBB_FORM_REPEATER,IF_FPM_GUIBB_LIST,IF_FPM_GUIBB_SEARCH,IF_FPM_GUIBB_TREE,IF_FPM_GUIBB_LAUNCHPAD )
    to extend more custom UI functionalities, and the other thing I may need to invest lot of time in reseacrhing and analysing the framework events etc....Please can you shed some light on it and put me in right direction.
    Appreciate your time and help.
    Thanks
    Krishna

    Hello Krishna,
    the whole story revolves around reusability and abstraction, extensibility atleast in this context.
    FPM offers more abstraction than Webdynpro. i am sure we all appreciate the standard webdynpro components for ALV, Value help, as this is something we could reuse and if we build our components that it manipulates itself with the help of configuration, customization and personalization.
    So all the Standard SAP Dev could be enhanced (not modified) by simple, configuration, FPM is built around this concept.
    So if you want to do custom development, which could be extended for your different customers with minimal efforts, you could go for FPM.
    So here are some takeaways
    1) FPM offers more abstraction than Webdynpro
    2) FPM offers more reusability
    3) Say manipulating the UI behaviour and say some customers wants view1 first and other doesnt want view 1 and wants only view 2. so in FPM you could simply do it with different configuration. and with Webdynpro, you need to manage this dynamically based on certain application parameter or you may end up copying certain comp,,or you use different usage,,,,and you could calibrate this.
    Regarding limitation with FPM interfaces, could you explictly share what custom development you intend to do and in worst cases, you could always use freestyle UIBB,, which is webdynpro abap
    in that scenario, atleast wiring, application config(app parameter, combination of webdynpro, with thier respective config),,could be reused.
    Regards
    Anurag Chopra

  • WebDynPro ABAP iView not picking Portal Theme stylesheet

    Hi,
    We are facing issues in integrating the WebDynPro ABAP application in Portal . The WebDynPro ABAP iView is not picking the portal theme. It is picking its actual color.
    We are in EP 6 SP 14.
    Can anyone let me know what can be the reasons.
    Best Regards
    Sid

    Hello,
    for the web dynpro for abap application you can create a application configuration. To create the configuration
    right click on the application -> create/Change Configuration -> and once you create the configuration, it will open up in browser and you can see 2 tabs structure and parameters
    In parameters tab you will find an option Force Use of External StyleSheet check the box and save the configuration. Once done with this process.
    Go to the iView Properties of the applications and set the application configuration name and it would take the Portal Theme.
    hope this helps.
    Pramod
    reward points if helpful.

  • Your experiences with Webdynpro ABAP

    Hi there,
    please give me an overview how your experiences (positive and negative) are with Webdynpro ABAP??
    Here are mine:
    Pos:
    - fast GUI modelling
    - browser = client
    Neg:
    - runtime
    - unflexible controls
    - no developer influence on programming modell
      (i dont like filling code snippets)
    - No Unddo-Button in IDE
    - auto-completion show names which are not member
      of current class/object
    Thx for your input.
    Regards,
    Markus

    On 1: Depends on the used client. With server-side rendering you will have some delay for the server roundtrip, smart clients are smarter.
    On 2: Changing of fonts/colors has not been exposed via API to enforce consistency. Only themes as a whole should be changed. Remember that the primary purpose of Web Dynpro are business applications like ERP.
    Positioning of controls restrictive? What does that mean? You cannot place controls by absolute coordinates (which is most probably not a godd idea for localizable applications) but you get a set of powerful layout managers like MatrixLayout etc.
    Armin

  • How to display summation of a field in table displayed in Webdynpro ABAP

    Hi,
    I am displaying a table in Webdynpro ABAP. This consists of data for different PERNRs.
    I need to display the sum of a particular column for each PERNR, after the end of each PERNR data. (table sorted by PERNR).
    Is there any way to display this in the table? If so then please let me know.
    Regards
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Mar 7, 2011 9:20 AM

    Hello,
    I believe you have created the query in SQ00.
    Go to SQ00.
    Select your Query.
    Click on Change
    On the Top Left Hand Corner, you will find "BASIS MODE"
    Click on the Basis Mode Button
    Once you click on Basis Mode Button, you will get "Title"
    Change the title what you are intended to change.
    SAVE the entries.
    Execute the Query.
    You will be able to see new Heading on the Query.
    Hope this helps you.
    Regards,
    Ravi

  • Create PMD (Clinical Document) Document from Webdynpro ABAP

    Greetings everyone,
           I have developed two PMD document category(Tcode :N2T6 ) for Clinical documents in SAP R/3 and somehow with the limitation of R/3 in terms of developing user friendly screens like Auto fill and image processing etc...,Users do not satisfy with it.So we are planning to develop in Webdynpro ABAP.But i am not sure how do we integrate the webdynpro development with IS-H PMD (clinical documents) documents ,also I am looking for BAPI's to create our customized parameterized documents.Any help will be really appreciated.
    Thanks,
    Vignesh

    Hi Vignesh,
    You are right that certain features, such as auto-completion, are not supported in the PMD toolset. But as most of the data captured in those documents have a high importance for treatment process, you need to elobarate whether such a feature has any impact on patient safety. Just a quick one - user types An ... and the system determines matching diagnoses such Anorexia or Angina. In case the user picks the wrong one by accident the patient safety is an issue.
    Other features such as image management can be used. For that you need to use a PMD link module which does provide the image integration. Siemens will ship in the next release EhP6 such a link module for a third party imaging software. Beforehand the link module use with custom development.
    In general Siemens has started a product redesign program named "Smart UI". It's major aim is to provide an up-to-date user interface for all major application within i.s.h.med. The very first application we plan to ship is a web-based electronical medical record.
    In case you still want to develop your application, I'm sorry to say, but there are no BAPIs or Web services in the standard delivery. For changes to existing documents you can utilize the PMD API of generator version 2. But be aware that document creation is not supported by the API. You need to have a document. Also certain user exit developments may brake a change without having the GUI running. For instance a popup in the save routine will cause a dump if no SAP GUI is available.
    Hope this help.
    Axel Biernat
    Siemens AG
    Product Commercialize

  • OnSelect event for a Drop down UI Element in Webdynpro ABAP Select Options

    Hi Experts
    We have built our UI based on the webdynpro ABAP Select Options. We have a requirement that, when we change the value of a drop down box in the UI, I need to hide some fields. Can anybody help me out in handling of OnSelect event of a drop down box built using webdynpro ABAP Select Options. We are on SAP Netweaver 7.0 EHP1.
    Rrgards,
    Srikanth.
    Edited by: Srikanth Kancherla on Apr 29, 2010 10:43 PM

    Hi Srikanth,
    as you seem to be already aware, the component is dynamically built.
    so you would have to enhance the code that builds the element and insert a reference to a new action (enhancement) that could handle the onSelect event.
    What is it about this that you particularly want help with?
    Cheers,
    Chris

Maybe you are looking for

  • Backing Up 3rd Party Apps

    Hello, I tried searching this...maybe I didn't put in the right string of words...How does one go about backing up 3rd party apps. I have gotten that Error 523 or whatever it is...where I basically have to reinstall everything on my phone. I can usua

  • One Daemon fails on startup, but I don't know which one

    Hi! During startup I see the message, that one of the daemons fails on startup, but my eyes are too slow to see which one it is I don't have any troubles and everything works fine but I want to know what's going wrong on startup. I know there are log

  • Grand Total in Rows of Pivot Table

    Hi, How to display Grand total in rows of pivot table. Thanks and Regards, Kiran

  • Word Processing problem:  How do I highlight different lines to edit at....

    How do I highlight different lines/words at the same time to edit simultaneously. Ex I like school School is fun Let's go to school I can't wait If I wanted to highlight the first and third line to center at the same time, how exactly would I do that

  • How do I download songs to my Ipod?

    Yeah, the topic pretty much says it. Does the USB port come with the nano, or is it something I need to buy seperately?