How to change the format of a cell in a web report

Hello experts,
Is it possible to implement this in a Web Report/BEx query?
We have a list of products grouped into Company A and Company B. One key figure is for example Net Cost Price.
We need to highlight the lowest net cost price in every company but with a different colour depending on the company assuming prices are sorted in ascending order.
We have been recommended to use Web Design Api for Tables but we understand that in order to format a cell content we need to know the axis position of the cell but we don't know how many rows the query will display for every company. Is this kind of requirements only possible with "static" reports where we know exactly the number of rows and columns that are going to be displayed?
This is an example.
COMPANY      PRODUCTS    NET COST PRICE
Company A    Product 1    <b>5€</b>
             Product 2    10€
Company B    Product 1    <b>10€</b>
             Product 2    20€
Any help would be very much appreciated.
Thanks in advance,
Inma

Hi Inma,
  If you have already not solved your problem , you can try the following solution with table interface class.
Table interface class generates HTML table row by row so it first process the charecterstics and then KFs .
You define a  attribute(type public) in class and set that attribute to X (In CHARECTERSTIC menthod)when ever the company code changes.
Then make use of that flag in DATA method to change the format of cell (Assuming you sorted by Ascending).
hope this helps.
Regards
Madhukar

Similar Messages

  • How to change the message in a cell of a ssrs report to a hyperlink dynamically

    Hi,
    I am developing a ssrs report.
    I want to change the message to hyperlink for a particular message and not all messages of a column.
    and link it to another report.
    for e.g-if a cell of the column has values A,B,C then I want to change only cell with values C as hyperlinks and not A and B

    Hi fanu987,
    According to your description that you want to conditional add the hyperlink according to different values in the fields, the link is to another report, right?
    I have tested on my local environment and we have two method to do this: one method is to choose ”Go to report” and add expression to conditional add the link which will link to the subreport for the special values, another method is to create
    an placeholder and add the HTML tag to conditional hyperlink to the URL of the Subreport in the Report Server.
    Details information for your reference:
    Method one: "Go to Report":
    Right click the fields which will add the hyperlink and select the “Textbox Properties”, click the “Font” to add expression conditional add an underline for ”Text1” which have the hyperlink function and change its color to blue. (expression add to
    "Effect" and "color"):
    Effect:
    =IIF(Fields!YourHyperlinkFields.Value="Text1","Underline","default")
    Color:
    =IIF(Fields!YourHyperlinkFields.Value="Text1","Blue","Black")
    Click "Action" to select the "Go to Report" and using this expression in the "Select a report from the list" (If the value is "Text1" then link to Subreport  or it will just refresh on the main report):
    =IIF(Fields!YourHyperlinkFields.Value="Text1","SubreportName","mainReportName")
    If have parameter delivery between main report and the subreport, add expression to omit this parameter for the fields which value is not "Text1":
    =IIF(Fields!YourHyperlinkFields.Value="Text1",false,true)
    Method two: Create Placeholder and using the HTML tags to conditional  add the hyperlink which will link to the subreport URL in the Report Manager.
    Double click the fields which will add the hyperlink and select the "Create Placeholder".
    In the Placeholder properties window, add this expression in the Value to add hyperlink only to the "Text1" and check the "HTML- interpret HTML tags as style under the "Markup type" section:
    =IIF(Fields!YourHyperlinkFields.Value="Text1", "<a href=""Subreport Link in the Report Manager"">" & Fields!YourHyperlinkFields & "</a>" ,Fields!YourHyperlinkFields.Value)
    You can also add parameter in the URL if you have parameter delivery between main report and the subreport. Finally preview will have the report like below:
    If you still have any problem, please provide us more details information.
    Any problem, please feel free to ask!
    Regards
    Vicky Liu

  • How to change the format in sap script

    Hi,
    I am working on a report which calls a sap script and i have to modify the script i.e. the values which are displaying in it. i had never worked on SAP SCRIPTS ,plzz provide me guidlines how to change the format of the data displayed in it.

    hi,
    this will give you the whole idea about the scripts in SAP the t-code is SE71.
    refer this link::
    [SAP SCRIPTS|http://help.sap.com/saphelp_40b/helpdata/en/d6/0dc169494511d182b70000e829fbfe/applet.htm]
    [WIKI|https://wiki.sdn.sap.com/wiki/display/ABAP/FormPrinting-SAPscript%2CSmartforms]
    regards
    sarves
    Edited by: Sarves Sombhatla on Feb 20, 2009 1:38 PM

  • How to change the format in shipping point

    Hiii.. When we define shipping point, how to change the format from hours to days for entering loading time & pick pack time.
    Regards,
    Jay

    When you maintain working times in define shipping point, the time is maintained in HRS. This is called precise scheduling.
    If u do not mainatin the workin times field (blank) then the time is maintained in days. This is daily scheduling.
    Vishal

  • How to change the format of a picture?

    I've saved a picture that I got from Twitter. The end of the picture file says ".jpg-large".
    This file will not open in Preview, nor in iPhoto which are the two apps where I knew how to change the format.
    Could anybody help me out in another method of changing this picture format?
    Thank you

    Rename it to end in .jpg.
    (77789)

  • How to change the format of the cell in input schedules

    Hi gurus
    I tried to change the format of the cel in input schedulesl, but I can not, for example
    when I insert 80 in the cell, and i send the data the system switches to -80 and the report shows (80) y when i insert -80, the system switches the number to 80
    I want it when you insert 80, the system keeps 80 and do not change
    Anyone know how to do that?
    thanks
    regards

    Hi,
    The other experts have guided you with the steps to change the property. However, you need to understand why is the design like this and what impact can it have on your system.
    Usually, the accounts defined belong to the PnL or BL statements. There definitely can be some other accounts as well. The PnL and BS accounts can be either income (INC), expense (EXP), asset (AST) or liability and equity (LEQ). Changing the account type of these type of accounts can heavily impact your financial statements. So, you should carefully think over this before changing the property.
    Hope this helps.

  • How to change the format of the video on my Palm Centro

    I have used the video feature on the phone & have played back the videos fine on my phone.  However, when I sync them to the computer, they are in a Real Player format.  When I try to open them through the back up folders (I wanted to delete them off my phone & palm software so I could take more videos & sync easily.  So I'm trying to move the videos to a separate folder on the computer.  They are actually put in a back up folder automatically when I sync, but they are all in Real Player Format.)
    Anyway - they won't play in Real Player.  How can I change the format so that I can play them back in a program other than Palm????
    THANKS!!
    Post relates to: Centro (Verizon)

    Quicktime is available free from apple.com.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to change the format of the display_name

    Hi,
    Does anyone have an idea, how can I change the format of the display_name of the employee to First_name|| last_name? I do not want to include the title in the name format. This is for India Localisation.
    I tried changing the HR profile value "Default full name format". But the format of full_name does not change.
    your response would help me alot
    Thanks
    Mano

    Pl post full versions of your OS, EBS and HR patch level. Pl see if these MOS Docs can help
    362229.1 - How to Display Full Name as Surname PreferredName
    359995.1 - How to Access Global Name Format Functionality
    HTH
    Srini

  • How to change the format of a date field inheriting format from subclass.

    Currenctlty date filed is inheriting the format from a property class. The date format in my property class is 'dd/mm/rrrr'.
    Now my requirement is to change the format mask according to my applications user from 'dd/mm/rrrr/ to 'dd/mon/rrrr'.
    Some may use 'dd/mm/rrrr' and some may use 'dd/mon/yyyy'.
    Thanks.

    Some may use 'dd/mm/rrrr' and some may use 'dd/mon/yyyy'.
    I want a generic solution to change the date format at runtime These two seem to conflict. How will you decide which one to change and which not?

  • How to change the format of an in build date

    How to change the inbuild date datatype format?

    Hi Renuka,
    Follow these steps:
    1. Create a context attribute named date1
    2. create a simple type (local Dictionary-->simpletype) named date1 of type date.
    3. If you want your date format to be same always and doesn't require to change dynamically then go to representation tab for your simple type (date1) and set its format to dd/MM/yyyy(eg.)
    4. For your context date1 set it type property to your simple type(using browse button ...)
    5. Bind this context to a input field in your view
    If you want to change the format of your date at runtime then you need to write this code in the method where you would like to change its format.
    IWDAttributeInfo attr = wdContext.getNodeInfo().getAttribute("date1");
    ISimpleTypeModifiable simple = attr.getModifiableSimpleType();
    simple.setFormat("dd/MM/yyyy");
    Regards,
    Murtuza

  • How to Change the Format of Object.................

    Hi,
    The client is asking us to change the format of the out of th object into another format.
    With The existing format the result is DisplayFare: 4,673.23
    and the formula used is :
    WhilePrintingRecords;
    global currencyvar DisplayFare;
    global currencyvar array PaxFare;
    global numbervar num;
    if {fld.Fld1}= 'IPAX' then
        DisplayFare := PaxFare[num];
    DisplayFare;
    But client want the same in different format DisplayFare:4 673,22.
    For what changes i needs to do...................please do the needful.
    Regards,
    Maheedhar

    Hi Maheedhar,
    The only difference I see if that the required format does not have a thousands separator (Or does it have space as the separator?) and it uses a comma as the decimal separator.
    You can right-click the field > Format Field > Customize > In here you should be able to change the Decimal separator, Thousands separator etc.
    -Abhilash

  • In Numbers, how can you change the format of a cell on ipad mini?

    I used the paintbrush but the changes are not taking on the ipad mini but it keeps going back to the 'automatic' default.

    Hi Dempb,
    One of the ways this can happen is if the cells you are trying to format are the result of a formula or coming from elswhere in the table. For instance, if I have the formula SUM that is totaling a column formated "currency" I will not be able to change its format to "text".
    What do you want to do? there may be another way to accomplish it.
    Quinn

  • How to change the content of a cell in an ALV-List?

    Hi,
    knows anybody a way to change the cell-content in an ALV-List?
    In my case, I want to give the user the posibility to click on a pecific cell
    in the list and change in an edit-mode or similar else!?
    Thanks for your ideas!

    Get the existing field catalog using the method cl_gui_alv_grid->get_frontend_fieldcatalog. Change the edit property in the field catalog and refresh it using the method cl_gui_alv_grid->set_frontend_fieldcatalog.
    Hope this helps.
    Regards,
    Nithya

  • How to change the Format Colour?

    Hi,
    I found that something are really useful~in the Inspector~Link tab~Format tab,it can change the colours of the instruction like NEXT,PREVIOUS...
    But this useful skil only able to apply on some pages like the Blog~Entries;but it seems doesn't work on the page of Photo Album~those command of Back to index,play slideshow,subscribe...are not able to change as the changing in Blog Entries...
    May someone teach the skil to do that?or...it can't be?
    Thanks!!

    Hi Richard,
    I think you're referring to the entries in the "Body" section of the tab definition.
    Look further down the page at the "Current Tab" and "Non Current Standard Tab" settings - this is where the actual tabs are constructed.
    Regards
    Andy

  • How to change the format of a decimal input field?

    Hello,
    When creating an input field of type decimal the numbers appear at this format: 123,123.
    Is it possible to disable this format and let the numbers to be displayed like this: 123123 ?
    Regards,
    Roy

    Hi Roy,
    Create a simple type in local dictionary of built in type integer. In the representation tab you can give any format you want. For your requirement you can give ####### in the  format. You can also try other formats like ##,#### etc. Now create a context attribute and in it's type property give the simple type you have created by selecting the appropriate folder. Now map this attribute with the input field. 
    Regards,
    Jaydeep

Maybe you are looking for

  • How to charge my MacBook Pro in Singapore

    I will be travelling in Singapore this August where the electricity is 220 volts and different plug than the USA. How to recharge my MacBook Pro?

  • How to switch off save option  for endusers in Portal

    Hi, how to remove save, cancel option when end user runs the workbook in Portal and make some small changes like using page items or increasing rows and columns I already made 2 changes 1) I removed the option in Oracle Enterprise Manager under disco

  • Exporting or relocating masters changes the created date on the new image/file/s ?

    When I export or relocate masters onto hard drive (internal or external) it changes the created date? I have tried every option possible with no resolve. Can anyone help? eg. img98007.jpg (arranged by date in aperture and is 12/05/2001) when saved/cr

  • Cannot view and Numbers can no longer open xlsx files

    I used to be able to view and open these xlsx files and can no longer do either. I get a blank page with a folder corner page icon and an identifier that the document is xml when viewing. Numbers gives me an out of memory error on import even when I

  • HTMLDB URL Alias

    Hi, Is there a way to create an alias for my application URL, so that when I give the link out to somebody, they don't see the servername and port? So, instead of http://servername:7777/pls/htmldb.... they see http://someothername/pls/htmldb....... T