How to highlight a row in a standard report?

Friends,
Hope you can help.
I need to highlight a row in standard report dependent on some criteria.
Having searched the forum I have been trying to implement the example given here.
This is what I have done:
1) Create a new report using the following query
select decode(deptno, 10, 'class1', 20, 'class2', 30, 'class3') trclass , ename, job, sal, comm from emp
2) Created a new Report Row Template from scratch and added the details given in the example above.
3) Placed the CSS Style sheet code in the stylesheet box at the following location:
Shared Components>Cascading Style Sheets>Edit Cascading Style Sheet
3) Ran the page
4) Employee report is displayed but nothing is highlighted.
What have I done wrong?
Thanks in advance for any help given (which of course will be marked helpful\correct!)
Ian

>
>
3) Placed the CSS Style sheet code in the stylesheet box at the following location:
Shared Components>Cascading Style Sheets>Edit Cascading Style Sheet
>
What have I done wrong?The CSS needed to go in the page HTML Header.

Similar Messages

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How we can add custom field in standard report 2kee.

    Hi,
    How we can add custom field in standard report 2kee.
    I need one extra field to add in 2kee report for the same is there any customization req.
    Regards
    Ravi

    Ravi,
    Which extra field do you want to add or see?  Without specifying the field, it is difficult for one to tell you precisely whether you need a custom field or just change the layout to get the standard one.
    There are so many fields which exists but are not displayed when you execute 2KEE. You need to change the layout selections to your preference.
    Nonetheless, if the field you want to add does not already exist, then yes you can do customization.  Is there a customization requirement? No. But remember, you are making changes to SAP Standard program which will no longer be supported by SAP should in the case an issue arise in the future related to this very program.
    Have your abaper add the said field in the program or why not just create a query to pull the report?
    Elias
    Edited by: Elias Akorli on Sep 18, 2009 9:02 PM

  • How to set different header for different Standard report page

    How to set different header for different Standard report page

    Hi,
    A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ?

  • How to highlight the row from the JTable then remove

    hi !!
    i'm using an abstract model in making a table....
    and having a button up and down and delete also!!
    how can i highlight the row when i click down and up!!!
    and when selected or highlighted i can press the button delete ...
    then the data is removed!!!
    pls... i need it!!
    tnx...

    Table row selection should take care of it. By default table rows can be selected.
    The getSelectionModel() method on the JTable gives you access to the row selection model. You can set that either to allow one at a time or multiple selection, and when your delete button is pressed, you access that selection model to decide which rows to delete.
    Add a ListSelectionListener so you can enable or disable your delete button as rows are selected or deselected. JTable will take care of the highlighting.

  • How to highlight selected  row in a region ? ? ?

    Hi There!
    I have two regions Region1 and Region2. Region2 data is populated when I select a row in Region1.
    Now I have Region1 and Region2 data on the same page, but I cant exactly tell which row in Region1 corresponds the data in Region2.
    I was thinking of highlighting the row which was selected in Region1. Went through couple of solutions, but wasnt able to implement it.
    So was wondering if any one of you know a easy to understand and implement a solution for this problem.
    Any help or suggestions is greatly Appreciated.
    Thank you
    Krishna

    Hi krishna,
    You can try this
    http://roelhartman.blogspot.com/2009/06/highlight-row-in-interactive-report.html
    and examples
    http://apex.oracle.com/pls/otn/f?p=ROEL:CURROW:763487747488998
    http://apex.oracle.com/pls/apex/f?p=34839:27:0
    or try solutions from this thread
    Highlighting currently selected row in a Report-Form page
    hope this will help you
    regards,
    Chetan
    Edited by: Chetan on 24 May, 2010 12:44 PM
    Edited by: Chetan on 24 May, 2010 12:45 PM

  • How to highlight a row in tree table - jdev 11.1.2

    Hello:
    Given a key, I want to highlight (select/set currency) the corresponding row in a tree table. I thought the following code would highlight the row in the tree table that corresponds to the key, but nothing is highlighted in the tree table. ie---> treeTable.setSelectedRowKeys(selectedRowKeys); What am I doing wrong? Thanks much.
    public String cb1_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Next");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    DCBindingContainer bc = (DCBindingContainer) getBindings();
    DCIteratorBinding iter = (DCIteratorBinding) bc.findIteratorBinding("DDF1Iterator");
    RowKeySet selectedRowKeys = new RowKeySetImpl();
    ArrayList list = new ArrayList();
    Row r = iter.getCurrentRow();
    Key k = r.getKey();
    list.add(k);
    selectedRowKeys.add(list);
    treeTable.setSelectedRowKeys(selectedRowKeys);
    AdfFacesContext adfc = AdfFacesContext.getCurrentInstance();
    adfc.addPartialTarget(treeTable);
    }

    Hello:
    Do you mean setting the selectedRowKeys in the setter method of the treeTable in the Request Scoped Managed Bean?
    If that is what you mean, I tried that and there was no change in behavior. (Still does not highlight the correct row in the tree table upon execution of the next method for the bindings) Does anyone have any sample code they can provide that works?
    Thanks for the help.

  • How To Highlight A Row

    Hi.
    I'm using Apex 4.2.0 against Oracle 11gR2 and using mod_plsql. I'm searching for a good way to highlight a row (both the text and the background) in a report (both Classical and Interactive) when clicking an edit icon in the row and to preserve the highlighting as a way to give users context as they look at other regions, say, a form on the same page.
    I've seen solutions for this: everything from placing calls to a Javascript function within a custom report template to using css styles. Unfortunately, thus far, these all fall short in that they "work" for only certain Apex themes or when using certain browsers. If users look at my app in IE 9, they see the row highlighted. But in Firefox 14, it is not. Or if a developer changes the theme, the highlighting may or may not work.
    Does anyone know of a method that just plain works for any Apex theme and for any modern browser (IE 9+, Firefox 15+, Chrome, etc.). I sure would appreciate pointers to working code.
    Thank you.
    Elie

    My question was answered by a talented person named Neelesh Shah on the Apex LinkedIn Forum page. Here is the link to our exchanges:
    http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=198216434&gid=82082&commentID=111109223&trk=view_disc&ut=1K9ux3Q2VTcBA1
    Thanks very much, Neelesh.
    Elie

  • How to highlight a row in IR based on User Name

    Hi,
    What is the best way to highlight a row in a IR, based on User Name. ie APP_USER.
    Suppose if a APP_USER log in to the application, the row in the IR corresponding to the APP_USER should alone be highlighted.
    (Edit button is not visible in the IR)

    Hi,
    APP_USER value is uppercase. Your name column values are lowercase.
    Example code that I did post string comparison is case sensitive.
    I did change your example dynamic action JavaScript to convert cell value to upper case
    this.affectedElements.find('table.apexir_WORKSHEET_DATA td[headers="NAME"]').each(function(i){
        var lThis=$(this);
        if(lThis.text().toUpperCase()=="&APP_USER."){
            lThis.parent().children().css({"background-color":"#55A955"});
    });Now it should work
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to get Transaction code for SAP standard report painter in FI

    Hi All -
       Please let me know, How to get the transaction code for Standard SAP report painter / report writer in FI module.
    These report painters are created thru GR51...
    Thanks,
    Kannan

    Please refer to [Creating Transaction Code For Report Painter Reports|http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAgQFjAA&url=http%3A%2F%2Fdap-consulting.com%2Fyahoo_site_admin%2Fassets%2Fdocs%2FReport_Painter_Reports.47142031.pdf&ei=MiWYS5ilCYeOlAfn4pCGDQ&usg=AFQjCNEZ0YO6vJ97K24MbU_NI5ROTb5vJA&sig2=Ke-svnqddqrz8RMcTuEnaw].

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • How to send the output of a standard report

    Hi Friends,
    I came across an issue where I need to send the output list of the SAP standard report to an email ID .
    Please, let me the the right way for doing this . or any useful information regarding this will be regarded.
    Thanks
    Prasead K

    use submit <program name>
    convert data to tab delimited or excell file and use some email FM's and email it.

  • How to get the output of a standard report  RFBILA00 in PDF form.

    hi,
    I have to get the output of the standard report RFBILA00 in the PDF form.
    Thanks.

    Hi Rao,
    you can run your report RFBILA00 in background  and in background  job you can add one more step, next in that step you can add custom  report like zsubmit .
    job should be set like
    step1:  RFBILA00 with variant.
    Step2:  zsubmit report with variant.
    In Zsubmit report  you can  read, your first step spool using FM GET_JOB_RUNTIME_INFO
    and pass that spool  in the FM  CONVERT_ABAPSPOOLJOB_2_PDF.
    when second  report run in job  you can set your target like download in the server or  send email etc.
    Regards,
    Prasenjit

  • How to fetch the data from a standard report to a user defined report

    Hi,
    i m using a standard report RFEBKA00 which uses CHAR300 variable(it is not used in selection screen).
    can u help me ,
    to collect the data from CHAR300 and to use it in my own report.
    Message was edited by:
            jaya raman

    hi   jayaramm..
    you have to  use  SUBMMIT  and  send the parameters of your selection screen to the standard submmit  prorgram...
    beliow is the  program for you  ....  just  pick the selection parameter and  pass corresponding parameter in the Submit  which i mention as  ......  replace with  = and  parameter in the selection screen.
    report  zrsers.
    INCLUDE rfebka03.
    INCLUDE rfebfr03.                      " Data France
    INCLUDE RFEKAP00.                                          "n927883
    TABLES: rfsdo,
            sscrfields,
            hrdeaoifld.
    DATA: lt_statements TYPE STANDARD TABLE OF fieb_kukey,
          l_statement TYPE fieb_kukey.
    *Daten für die Mahnsperre                                  "mo260105
    TYPES: BEGIN OF s_kukey_mansp,
            sign(1),
            option(2),
            low TYPE kukey_eb,
            high TYPE kukey_eb,
            mansp TYPE mansp,
            anztg TYPE anztg,
            bukrs TYPE bukrs,
          END OF s_kukey_mansp.
    DATA: lt_kukey TYPE STANDARD TABLE OF s_kukey_mansp,
          l_kukey LIKE LINE OF lt_kukey,
          l_gjahr TYPE gjahr,
          LT_GJAHR TYPE STANDARD TABLE OF GJAHR,
          L_MANSP TYPE MANSP,
          l_kunnr TYPE kunnr,
          l_lifnr TYPE lifnr.
    FIELD-SYMBOLS: <mansp> LIKE LINE OF gt_mansp.
    SELECTION-SCREEN  BEGIN OF BLOCK 1 WITH FRAME TITLE text-165.
    PARAMETERS:     einlesen     LIKE rfpdo1-febeinles,
                    format       LIKE rfpdo1-febformat DEFAULT 'M' AS
                    LISTBOX VISIBLE LENGTH 30 USER-COMMAND bai,
                    AUSZFILE     LIKE  RFPDO1-FEBAUSZF,
                    umsfile      LIKE rfpdo1-febumsf,
                    pcupload     LIKE rfpdo1-febpcupld DEFAULT 'X'.
    SELECTION-SCREEN  END OF BLOCK 1.
    *------- Buchungsparameter ---------------------------------------------
    SELECTION-SCREEN  BEGIN OF BLOCK 2 WITH FRAME TITLE text-160.
    *SELECTION-SCREEN  BEGIN OF LINE.
    PARAMETERS: pa_xcall TYPE febpdo-xcall    RADIOBUTTON GROUP 1.
    *SELECTION-SCREEN
    *  COMMENT 03(29) FOR FIELD pa_xcall.
    PARAMETERS: pa_xbkbu TYPE febpdo-xbkbu.
    *SELECTION-SCREEN
    *  COMMENT 35(16) text-171 FOR FIELD pa_xbkbu.
    PARAMETERS: pa_mode  TYPE rfpdo-allgazmd NO-DISPLAY.
    *SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN  BEGIN OF LINE.
    PARAMETERS: pa_xbdc  LIKE febpdo-xbinpt   RADIOBUTTON GROUP 1.
    SELECTION-SCREEN
      COMMENT 03(29) text-163 FOR FIELD pa_xbdc.
    SELECTION-SCREEN
      COMMENT 35(20) text-164 FOR FIELD mregel.
    PARAMETERS: mregel   LIKE rfpdo1-febmregel DEFAULT '1'.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    PARAMETERS: pa_test LIKE rfpdo1-febtestl RADIOBUTTON GROUP 1.
    SELECTION-SCREEN
      COMMENT 03(29) text-168 FOR FIELD pa_test.
    SELECTION-SCREEN: END OF LINE.
    PARAMETERS: valut_on     LIKE rfpdo2-febvalut DEFAULT 'X'.
    SELECTION-SCREEN  END OF BLOCK 2.
    *------- Finanzdisposition ---------------------------------------------
    SELECTION-SCREEN  BEGIN OF BLOCK 5 WITH FRAME TITLE text-172.
    SELECTION-SCREEN: BEGIN OF LINE.
    PARAMETERS: pa_xdisp LIKE febpdo-xdisp.
    SELECTION-SCREEN
      COMMENT 03(29) text-170 FOR FIELD pa_xdisp.
    PARAMETERS: pa_verd  LIKE rfffpdo1-ffdisxverd.
    SELECTION-SCREEN
      COMMENT 34(15) text-174 FOR FIELD pa_verd.
    SELECTION-SCREEN
      COMMENT 55(15) text-173 FOR FIELD pa_dsart.
    PARAMETERS: pa_dsart LIKE fdes-dsart.
    SELECTION-SCREEN: END OF LINE.
    PARAMETERS: intraday     LIKE rfpdo1_en-akintraday AS CHECKBOX.
    SELECTION-SCREEN  END OF BLOCK 5.
    *C5060356
    *------- BAI Preprocessor --------------------------------------
    SELECTION-SCREEN  BEGIN OF BLOCK 6 WITH FRAME TITLE text-007 .
    PARAMETERS:     p_baipre   TYPE bai_prep AS CHECKBOX MODIF ID mo1,
                    p_priord   LIKE prior_day AS CHECKBOX MODIF ID mo1,
                    p_stop     LIKE stop_flag AS CHECKBOX MODIF ID mo1.
    SELECTION-SCREEN  END OF BLOCK 6.
    *------- Interpretationsparameter --------------------------------------
    SELECTION-SCREEN  BEGIN OF BLOCK 3 WITH FRAME TITLE text-166.
    DATA: num10(10) TYPE n.
    DATA: chr16(16) TYPE c.
    SELECT-OPTIONS: s_filter FOR  febpdo-febfilter1.
    SELECT-OPTIONS: t_filter FOR  febpdo-febfilter2.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN
       COMMENT 01(31) text-176 FOR FIELD pa_bdart.
    PARAMETERS: pa_bdart     LIKE febpdo-bdart.
    SELECTION-SCREEN
       COMMENT 36(21) text-177 FOR FIELD pa_bdanz.
    PARAMETERS: pa_bdanz     LIKE febpdo-bdanz.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN  END OF BLOCK 3.
    *------- Ausgabeparameter ----------------------------------------------
    SELECTION-SCREEN  BEGIN OF BLOCK 4 WITH FRAME TITLE text-167.
    PARAMETERS: batch        LIKE rfpdo2-febbatch,
                p_koausz     LIKE rfpdo1-febpausz,   " Kontoauszug drucken
                p_bupro      LIKE rfpdo2-febbupro,
                p_statik     LIKE rfpdo2-febstat,
                pa_lsepa     LIKE febpdo-lsepa.
    SELECTION-SCREEN  END OF BLOCK 4.
    SUBMIT RFEBKA00
            WITH AUSZFILE = AUSZFILE   ***like this replace the  .... and pass  selection parameters
            WITH BATCH =  BATCH
            WITH EINLESEN ...
            WITH FORMAT ...
            WITH INTRADAY ...
            WITH MREGEL ...
            WITH PA_BDANZ ...
            WITH PA_BDART ...
            WITH PA_DSART ...
            WITH PA_LSEPA ...
            WITH PA_MODE ...
            WITH PA_TEST ...
            WITH PA_VERD ...
            WITH PA_XBDC ...
            WITH PA_XBKBU ...
            WITH PA_XCALL ...
            WITH PA_XDISP ...
            WITH PCUPLOAD ...
            WITH P_BAIPRE ...
            WITH P_BUPRO ...
            WITH P_KOAUSZ ...
            WITH P_PRIORD ...
            WITH P_STATIK ...
            WITH P_STOP ...
            WITH S_FILTER ...
            WITH T_FILTER ...
            WITH UMSFILE ...
            WITH VALUT_ON = VALUT_ON   and return  .
    reward points if it is usefull
    Girish

  • Add background color to the summary row in the standard report

    Hi All,
    I have a standard SQL report that have the sum at the bottom of the report by checking the compute sum. How do I add the background color to that row.
    Would you please help?
    I use APEX version 4.0.1
    Thanks,
    Nina

    Hi Nina,
    Take a look at the example at http://apex.oracle.com/pls/apex/f?p=50942:91. It is using the static ID attribute "MYTABLE" and conditionally applying background color to the cell which contains the text "Report Summary".
    &lt;script>
    //Report Summary
    $("#MYTABLE tbody tr td table tbody tr td:contains('Report Summary')").each(function(){
      $(this).parent('tr').children().css("background-color","#FFFF33"); ;
    &lt;/script>Thanks,
    Manish

Maybe you are looking for

  • Black bar below email instead of menu bar

    After installing the software update, I have a solid black bar below my email boxes. I can't reply, forward, delete or move mail without it. Is there a solution for this?

  • Apple TV doesn't rotate photos correctly in slideshow

    Hi, In ATV OS 2.4, a new bug was introduced by Apple where photos taken in vertical portrait mode were not rotated correctly in the photos slideshow. In prior releases (v2.3 and earlier), there was not problem and portrait photos rotated just fine in

  • How to install F5 plugin EM12c

    There is a doc for configuring F5 for EM12c, but I cannot find documentation about installing the plugin into EM12c. Anybody know where to find that information.

  • Anyone having massive headaches w/ the new updater

    I just downloaded the new updater and new version of iTunes. Myy computer will recognize my iPod (click wheel 40Gb) but it says its name is "Senior Recover" and has no songs on it. It also says it is a 30Gb vs. w/ 20Gb free. I actually only have abou

  • TS3694 what is the 1015 error?

    i can't restore my iphone with itunes, bcz it shows 1015 error, and my iphone is in recovery mode what should i do?