Higlighting currency fields in interactive report

I have an interactive report where two cells need to be highlighted if the values in these two cells are not equal. Both cells have the currency mask (FML999G999G999G999G990D00) in the column attributes. I have modified the sql for the first column based on info in this forum. However when I use the span tag to conditionally highlight the cell, the format mask is apparently overriden by the span tag in the SQL statement. Is there a way to have both highlighting and a currency mask on the same cell?
SQL for report
SELECT  CASE
                 WHEN TO_NUMBER (v.committed) < pwd.obligatedamt
                 THEN '<span style="background-color:yellow;">' || TO_NUMBER (v.committed) || '</span>'
                 ELSE
                    TO_CHAR (v.committed)
      END committed, ...Thanks,
Kim

Figured it out. Here is the revised code. Instead of using the Number / Date Format field in the column definition (in APEX) and the span tag in the select statement, put all the formatting in the select statement and leave the Number / Date Format field blank in APEX.
SELECT  CASE
                 WHEN v.committed < pwd.obligatedamt
                 THEN
                       '<span style="background-color:yellow;">'
                    || TO_CHAR (v.committed, 'L999G999G999G999G990D00')
                    || '</span>'
                 ELSE
                    TO_CHAR (v.committed, 'L999G999G999G999G990D00')
                 END committed,  ....

Similar Messages

  • Currency fields in Salesforce reports display as "[Record]" in Power Query

    Currency fields in Salesforce reports display as [Record] in excel when using power query.    Can include screenshots due to forum rules.

    Thanks - that helped me figure it out.
    IF you right click on the source and click edit to get into edit mode on the query, then you have the option to expand the record.  Doing this and saving does the trick.  
    Will try and post some screenshots later if others run into this.

  • Is it possible to have editable text field in interactive report?

    Is it possible to have editable text field in interactive report?
    Thanks,
    Dip

    Hi,
    I followed your suggestion and defined an IR with apex_item.text columns and it works fine. Now however I face a new problem when I run the page and use the standard Search Bar:
    - Click on Actions/Filter
    - Select a column, for example the employee name.
    - Open the Expression field LOV: I correctly see the different names.
    - When I select one of the names, in the Expression field, instead of the name, I see:
    "<input type="text" name="f03" size="20" maxlength="2000" value="Eugene" />"
    Horrible!!!!!!
    Is there a way to see the name and not that expression? The same thing get downloaded, so it´s really annoying.
    Thank you very much in advance for your help!!!
    Regards
    Francesco

  • Currency symbol in interactive report

    Hi,
    I used oracle format masks "FML..." to show the euro symbol which is defined in the Process "execute immediate 'alter session set NLS_CURRENCY=''€''';"
    When it is the first time to open the report, euro symbol shows. But after you do other actions like using filter, the sign changes to '$'. How to control this?
    Thanks in advance!
    Edited by: user8991541 on Feb 1, 2010 2:41 AM
    Edited by: user8991541 on Feb 1, 2010 2:49 AM

    Hello:When it is the first time to open the report, euro symbol shows. But after you do other actions like using filter, the sign changes to '$'. How to control this?This is because Interactive Report regions use PPR (Partial Page Refresh) for filtering/sorting etc. So, your page-processes don't execute. Your best bet is to apply the currency format in the query itself. Something like
    select to_char(some_amount,'FML999G999G999G999G990D00') from amt_table;
    varad

  • Stock account currency field in MB5L report

    Hi!
    can any one tell me in MB5L report for field materials currency and stock account currency, from system will pick up the values?
    I think materials currency field will pick up from GL accounts?
    But stock account currency, from where it will pick up value?
    regs,
    ramesh b

    Hi!
    both are not GL account balances.
    I have studied the report and understood.
    the material currency field: just it will take total stock avialable * std price/MAV price ( it will be equal to value in material master, MB5B, MB51 )
    the stock account currency field: it will take GL account balance via valuation class ( OBYC setting BSX)
    Here for example if you select only one material in MB5L report , it won't show the GL balance pertaining to that material, it will simply show the total GL balances that means system won't check material number existed in line items ( BSEG table).
    any way thanks for your inputs.
    regs,
    ramesh b

  • Changing value of input field in interactive report

    Hi all,
    I have created interactive report. On 3rd list, i had calculated total for netwr filed and it is displayed at bottom.
    netwr field on list is editable. If value in netwr changed by user , value for total should be changed on same list.
    Can anybody help me out?
    Thanks and Regards,
    Rakesh.

    Hi Rakesh
    Within the third alv's usercommand, Try this code.
    FORM user_command1 USING r_ucomm LIKE sy-ucomm
           rs_selfield TYPE slis_selfield.
        CASE r_ucomm.
             WHEN 'EDIT'.
                 <code>
                 CALL METHOD <alv_instance>->refresh_table_display
                     EXPORTING
                     is_stable = <third_alv_internal_table>
                     EXCEPTIONS
                     finished = 1
                     OTHERS = 2.
      ENDCASE.
    ENDFORM.
    This will refresh the internal table each item a edit operation is done, after this write the code to find the sum.
    Thanks and Regards,
    Rinzy Deena Mathews

  • Filter on field in Interactive report to small/narrow

    In a interactive report I have the problem that the first (about) 30 positions of the values of one of the fields is not unique. So if you want to use the filter function it is impossible to know which value is selected. Is there a way to make these drop down select list wider for some fields?
    Any one?

    Found the ANSWER!!
    If I click on the little 'wheel' and click filter, I can choose other expressions. whooa!
    Marco

  • Enable email field on Interactive report

    Hi,
    I have a column that contains the contact email as well an other column that contains the website of the company both displayed on an interactive report .
    Does anyone knows what I need to do to be able to:
    1. Click on the email (on the report) and open the local email client to send an email
    2. Click on the URL field (on the report) and open the default browser to visit that site
    Thank you
    YannisR

    for the mail question, you would create a tag like this as a report column:
    <a href="mailto:youremailaddress">Email Me</a> 
    or with a subject
    <a href="mailto:[email protected]?subject=DAMIFINOY">
    Send Email</a> Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Custom date fields in Interactive Report

    Hi,
    I am using newly patched version of Apex - 4.0.2.00.06
    What I am trying to do is to have two datepicker fields P84_DATE_FROM and P84_DATE_TO in separate HTML region, on the page that has IR / Interactive Report, that will be filter in report source.
    In debug mode I noticed that values that are picked with datepicker are not binding in report sql.
    select * from calendar_x
    where
    date between to_date(:P84_DATE_FROM,'DD.MM.YYYY') and to_date(:P84_DATE_TO,'DD.MM.YYYY')
    Do I have to force submit on Go button before it executes gReport.search('SEARCH')? Is it the right way to go about this?
    Thnx,

    Hi Vish,
    I was informed by SAP few months back that Interactive Reports can not be enhanced with custom fields. I don't see any documentation regarding this.
    You may want to check with SAP also.
    Regards,
    Paparao Undavali

  • Adding new fields in interactive reports in Opportunity area

    Hi All,
         We have implemented SAP CRM 7.0 ( SP8) and we are using the interactive reporting available in the system.  When we try to build a custom report using the manage reporting link (which leads to a wizard), the wizard lets us choose between 34 available fields in opportunity area. The customer wants to include few more fields to this list like Prospect id, Opportunity id, Item descriptions which are standard fields but not available in interactive reporting. So I am trying to find out from where in system those 34 fields are configured and how I can add few extra fields to that list. 
    With EHP1, SAP has provided a interactive reporting enhancement workbench, but we are on SP8. So any help or information is highly appreciated.
    Regards,
    Manas.

    Hi Sven,
    Could you please let me know whether i can add SAP fields(like lead partner address) using Interactive Reporting Workbench  on to the Standard Leads Origin  Interactive Report .
    I am using Eph-2 Version of CRM .
    Basically i want to pull a field which is already  in the Lead Transaction on to the standard Interactive Report .
    Thanks
    With Best Regards
    Mamatha

  • Custom Z fields in Interactive reports

    Hi Gurus,
    We have enhanced the Opportunity Object using EEWB
    These fields are now not available in the Interactive Reports
    I have tried to create my own report using the 'Manage Reports' Work Center
    and saw that these fields are not available for picking in the report
    Is there anything i need to do inorder to make these fields pickable in the reports
    Regards,
    Vish

    Hi Vish,
    I was informed by SAP few months back that Interactive Reports can not be enhanced with custom fields. I don't see any documentation regarding this.
    You may want to check with SAP also.
    Regards,
    Paparao Undavali

  • Currency field in alv report

    hi
    i have to display the currency field o/p with diff. currencies according to countries.how can i do that.

    Hi,
    see example program ERGP2070. It is doing something similar to your requirement.
    It is declaring currency as a separate field 'WRG'. and for amount field, setting CFIELDNAME field as 'WRG' and DO_SUM = 'X'.
    try this.
    Regards,
    Satish

  • Referencing fields from interactive report

    Nevermind!
    Hi,
    I'm working with an interactive report for the first time and I'd like to direct the "edit" button for a record to another page so I can use that record's data in the new page. How do I get the other page to reference the record I selected in the interactive report?
    Thanks!
    Edited by: Tinlemon on Mar 19, 2009 11:36 AM

    Found my answer in the LINK COLUMN section of the Report Attributes

  • Enter in search field in Interactive report does not work

    APEX 3.2.1
    When I type a string in apexir_SEARCH field and clichk on OK button, the report behaves in a correct way - it adds a filter line and does filtering.
    When I type a string in apexir_SEARCH field and then <Enter>, nothing happens.
    The same behavior in IE9 and Chrome.
    Apparently, it's gReport.search('SEARCH') function actioned on apexir_SEARCH's keyup event that is fired, but I don't manage to get further.
    I have deleted all non-odp processes and created a test IR page, but there the behavior is still the same.
    Any idea what could cause this?
    Igor

    inspect the input element and see if it has something like this
    if($f_Enter(event)){gReport.search('SEARCH'); return false;}if not add this using javascript

  • Interactive Report Compute Field Creation Computation Formula

    I'm trying to create a compute field in Interactive Report in APEX 3.
    There are two fields: 'Plan Type' and 'Product Type'.
    I want to create Compute Field - 'My Check'
    Condition is as follows:
    If 'Plan Type' field value begins with 'FY11 AA' and 'Product Type' field value ends with 'ABC' then 'My Check' field value should be 'CHECK' else 'OK'.
    'Plan Type'-----------'Product Type'----------'My Check'
    FY11 AA123---------123ABC-------------------CHECK
    FY11 BB123---------123KKK--------------------OK
    FY11 CC123---------123ZZZ--------------------OK
    Would appreciate if you can write for me a computation formula for the case above.
    Thanks,
    Guy

    Hi Jari,
    Thanks for your formula.
    When I tried that, I got error as below.
    Actual formula entered:
    case when BH = 'Y' then
    case when SUBSTR(T,1,7) = 'FY11 OU' then
    case when SUBSTR(AL,-3) = 'REC' then
    'CHECK'
    else 'OK' end
    else 'OK' end
    else 'OK' end
    Error message:
    Invalid computation expression. then case

Maybe you are looking for

  • Preview of image in Finder?

    To make it short, I went to my Finder a few hours ago, and all of my image files were set to open in Gimp (with a Gimp File icon attatched to them), including my iPhoto images, as well as some of my PDF documents. This was completely my fault... So I

  • HELP! - ImageIcons disappear

    First, I'm using 1.4 on Windows NT. Periodically the ImageIcons on my toolbar buttons disappear. Most of the time everything is fine, but sometimes the images just disappear. If I drag another window over my toolbar, the images get redrawn most of th

  • Migrated files - can't find them

    i just migrated a bunch of files from my old computer but i was never told where they went to

  • Video thumbnails on Ipad

    I have discovered how to upload videos onto Itunes and my Ipad2, using a program called HANDBRAKE...However in Itunes and on the Ipad2 the video thumnails are either black in Itunes or a funny coloured "negative" picture......Does anyone know how to

  • SYSTEM BACKUP using Time Machine

    Can somebody tell me how one would do a complete system restore if things had gone badly wrong on my Macbook.