Conditional highlighting in standard report based on a column -disappearing

Hi All,
I implemented some conditional formatting on a standard report based on the thread below
Highlighting a ROw in a tablular form based on a column in the row
Everything works well, except when you pass the cursor over the report the highlighting disappears. It reappears if you refresh the page or scroll to the next page in the report.
In my style tag in the template I'm just using
style="background:red"
Is it something to do with the template? I'm using builder 2 theme.
Any ideas?
Andrew

Hi Andrew,
this is coming from the report template - Before Each Row: <tr #HIGHLIGHT_ROW#>
Just remove the #HIGHLIGHT_ROW# if you do not need it.
Regards Garry

Similar Messages

  • Highlight row in standard report based on value in column...

    I am trying to highlight rows of a standard report based on the value of the column TICKET_TYPE.
    I have been following the post: Highlighting a ROw in a tablular form based on a column in the row
    but having difficulty. I receive the following error:
    ORA-06550: line 1, column 34: PLS-00201: identifier 'SHRIMP' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    ERR-1025 Error processing PLSQL expression. SHRIMP = 'SHRIMP'
    My report query is:
    select T.TRIP_ID,
    T.TRIP_ID trip_show,
    T.TRIP_ID trip_select,
    T.DAYS_AT_SEA,
    T.NBR_OF_CREW,
    T.TRIP_START_DATE,
    T.VESSEL_ID,
    o.ticket_type ticket_type
    from TRIPS T, one_ticket_type o
    where t.dea_permit_id = :G_DEA_PERMIT_ID and t.trip_id = o.trip_id
    I have created a new template called one-ticket-highlight.
    row tempate 1 = <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t14data" style="background:red">#COLUMN_VALUE#</td>
    row template 1 condition = use based on pl/sql expression
    row template 1 expression = #TICKET_TYPE# = 'SHRIMP' (**** I have also tried without the quote)
    any thoughts? thanks!!
    Edited by: KEH813 on May 25, 2010 11:10 AM

    Hi,
    You can achive the same using javascript without changing the page template.
    http://apex.oracle.com/pls/apex/f?p=27576:8
    here is the code for the same
    <style>
    .myclass{ background-color:red;text-align:center}
    </style>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js "></script>
    <script>
    $(function(){
       $("td [headers='DEPTNO']").each( function(i){
           if($(this).html() == $v('P8_DEPTNO'))  //value of the textfield
               ele = $("td [headers='ENAME']").eq(i)
               ele.removeClass('t20data');   //i'm using theme 20 so t20data .. u need to change this part
               ele.addClass('myclass');
    </script>Regards,
    Shijesh

  • Filter standard reports based on user login

    Hi All,
    Is there any way to filter standard form reports (not PLD), based on the user currently logged in. for example, if user 'sales1' has logged in,  he should be able to see the sales report(say sales analysis) for the documents made by him only. there does not seem to have any access on the query being passed to this report. so even customization does not seem to be the solution. kindly help if any one knows a better way or a way at all.
    thnks and regards,
    Binita Joshi

    Hi Petr,
    thanks for replying.
    Before posting, I had already searched in SAP B1 forum and there , for a similar problem, it was advised to use SDK so I posted here.
    I knew, SDK seems to be the way. but, again, As I wrote, I wanted to know, whether there exists a way to filter the standard reports based on the user login. I don't want authorization or setting rights, sort of things.
    but, suppose If user A wants to see the sales documents reports then, he should be able to see the reports of the documents made by him only. so we will have to filter the records based on the Usersign field in marketing documents' tables but, I am clueless on, where should I give this filter.  and I am afraid there is no way to do that. make your own reports and block the access of system reports.Pls right back if U have more to say.
    regards,
    Binita Joshi

  • Debtors Ledger Standard report based on Division

    Hi SAP gurus,
    Pl let me know is there any Standard Report in Debtors based Division of a customer.
    (Or Debtors report based on Division?)
    Pl help
    Thanks in advance
    regards
    Ediga

    Hi Ediga,
    what exactly do you mean by Division?
    If you mean the division from SD (field SPART, you know, sales organization + distribution channel + division = sales area, you can see it in every sales order or SD invoice), or probably the business area (field GSBER)?
    A report customer by division (SD) should be available from CO-PA or even directly from sales. However, I do not think there is something standard here, but it should not be a problem for your CO-PA and/or SD guys to let it create easily.
    If you mean the business area, there is also nothing delivered in standard. Customer balances are not stored by business area (see fields in table KNC1). A possible workaround is if you go for line item reporting like FBL5N. However, this is not very performant and after the documents (+ index table records from table BSAD) are archived, it can get more difficult. My recommendation here would be to set up FI-SL for this purpose: transfer the customer number and the business area (plus company code, of course) to your new Special Ledger application and you'll get the information within a few minutes. Also, FI-SL could be a solution if you meant the SD division (technical field name SPART) and not the business area (technical field name GSBER).

  • Row highlighting in standard report

    I'm trying to apply a background color (ie highlighting) to a row in a standard report. The report is a summary list of several records from a table. Below this region is a form region where one can navigate and update specific records. There are way too many fields to do this using a standard tabular form. I'd like to highlight or apply the background color to the row shown in the lower region. Can anyone suggest how to do this?
    :P806_LOAD_RATE_ID is the primary key item. It is display only.

    Here's what you can try
    Modify the tab report query to be select apex_item.DISPLAY_AND_SAVE(50, LOAD_RATE_ID,'f50_' ||load_rate_id) ID,  // give this col an unique id
        apex_item.CHECKBOX(1, LOAD_RATE_ID) CHK,   
       apex_item.DISPLAY_AND_SAVE( 2, FACTORY_ID) as FACTORY_ID,
        apex_item.DISPLAY_AND_SAVE( 3, STATION_ID) as STATION_ID,
        apex_item.DISPLAY_AND_SAVE( 4, PILE_CODE_ID) as  PILE_CODE_ID,
        apex_item.DISPLAY_AND_SAVE( 5, CONFIG) as CONFIG,
        apex_item.DISPLAY_AND_SAVE( 6, ALTERNATE_FLAG) as SPECIAL,
        apex_item.DISPLAY_AND_SAVE( 7, CYCLE_TIME) as CYCLE_TIME,
        apex_item.DISPLAY_AND_SAVE( 8, CYCLE_MILES) as CYCLE_MILES,
        apex_item.DISPLAY_AND_SAVE( 9, BID_TONS) as BID_TONS
      from  LOAD_RATES where FACTORY_ID = :P802_FACTORY_IDThen in the Footer Text of the page definition <script>
    obj= $x('f50_' + $v('P806_LOAD_RATE_ID')) // get the handle for the display item
    obj.offsetParent.parentNode.style.backgroundColor='blue';  // traverse up to the 'tr' element and set its bg-color to blue
    </script>   varad

  • Conditional Display of Interactive Report Based On Different SQL Query

    Hello,
    I have two drop down list on top of my page and below that I have a interactive report.
    Based on user selection of values from drop down, interactive report should change based on different SQL queries.
    Is it possible to have different SQL queries based on values from drop down and generate interactive report based on that?
    Thanks

    I am passing my drop down value to apex_collection like the following:
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY( p_collection_name => 'IR_LIST',
    p_query => REQUEST_VIEW(:P12_VIEW));However when I change the values from the drop down, :P12_VIEW is not getting the value from drop down even though I could see value being changed in URL. I have created page process for apex_collection
    Process Point - OnLoad - Before Header
    Run Process - Once Per Session or When ResetCould someone suggest as why I cannot get the values in function when drop down is changed?
    Regards

  • OBIEE 11g : Conditional formatting in Chart view based on different column

    Hi ,
    I would like to add formatting to the bars based on another column.
    Ex: I just want to highlight bars(metric) when it is less than target value.
    We have conditional formatting option in charts but , its working on the same column but not comparing with other columns.
    Thank you..

    Hi, If you have column A and column B , and for example you want the values of column A to get formatted if the the correspoding value of column B less than a specific value. You just go to Criteria -> Get to Column A -> Column Properties -> Conditional Format -> Add Condition -> Choose your Column B , and then make sure the condition is " Less than the value you want"
    Now, In case you want the values of your column A to be formatted if they are less to the corresponding value of colum B, Well, I don't think it is natively integrated, but still, here is an idea :
    You drag again your column B , so that in Criteria -> Selected Columns , you'll have the columns A - B - B , then, you go to the newely added B Column -> Edit Formula and modify the formula to be ColumnA Minus ColumnB.
    Then go back in selected columns to your A Column -> Column Properties -> Conditional Format -> Add Condition -> Choose now the new column ( ColumnA Minus ColumnB ), and then make sure the condition is " Less than the value *0* "
    You can later, go and hide the colum A Minus B from Edit View in Results.
    Hope this helps.
    Cheers
    Salma

  • How to provide formulae for the columns in report based on date column

    Hi,
    How can we provide formulae for the columns in report, where each column is based on another Date Column.
    Can anyone suggest on this.
    Thanks

    Hi Manu,
    I think you a logical column X on which you created another Logical Column Y.
    Now you want 'Y' to be filtered based on Date Column.
    1. If, my assumption is right - You can do your requirement i.e. Filtering the logical col. 'Y' on Reports.
    Else,
    2. See - Your Logical column 'Y' While creating log. column 'Y' make sure you use any expression builder to filter across Date column. (i.e. using any case statements or where clause).
    Else,
    3. Make sure your First Logical column comes from Table by default (i.e. Create the same col. in d/b so it would be your Physic col. )
    Thank you.
    Edited by: GRK on Jan 28, 2013 7:48 AM

  • MAKE BUTTON CONDITIONAL DISPLAY IN A REPORT BASED ON STATUS OF COL VALUE

    hello,
    can anyone help me out with this issue.
    Like I have a normal SQL report with buttons update,delete,insert and I wanted to display these buttons conditionally based on the value of the "status" column.
    For Example: if the status columnvalue is 'DEV' then only display the buttons otherwise don't display them.
    thanks,
    Orton

    I would use a CASE statement in the select....
    each CASE would be an img src tag for a different button if the button is an image.
    does that make sense? I can include an example if you would like...

  • Conditional Display of Interactive Report Based on Field Above

    Page one has simple text box entry for a Vendor # with a button that branches to a page displaying information for that vendor. In a region below, I would like an interactive report that displays all of the item and description that vendor provides to our company. I have tried to use the Conditional Display to disply only items in the report but have been unsuccessful. Your help is appreciated!
    Thanks.

    Hello user2961006 (please tell us your name),
    I understand your question to be, "how do I make a report on page two only show rows related to an item entered on page one". Putting a condition on a region isn't the answer here - you want the report to always display, but just with different rows depending on the vendor number entered. A condition on a region is used to either display the region or not.
    What you need to do is put a WHERE clause on the SELECT statement that your report is using to get its data. For example, if the item holding the entered vendor number is P1_VENDOR_NUM, the SELECT statement for your report would look something like:
    SELECT item, description
      FROM my_items
    WHERE vendor_num = :P1_VENDOR_NUMNote my_items is a fictitious name. This will tell the DB to only retrieve rows where the vendor number is the vendor number entered by the user.
    Hope this helps, I'll gladly accept reward points if it does ;-)
    John

  • Radio group in classic report based on another column on the same row.

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    Application Express 4.1.0.00.32
    How can I have a radio group column based on an LOV utilizing another column on the same row of the report?
    For example: what if I had a survey application and depending on the likert scale that was assigned to the question there would be different possible answer choices:
    Question 1 on row 1 of the report: The class instructor was friendly?
    Likert scale choice is Agreement.
    Choices on Radio Group: Strongly Agree, Agree, Undecided, Strongly Disagree
    Question 2 on row 2 of the report: The class offered good materials?
    Likert scale choice is Quality.
    Choices on Radio Group: Excellent, Below Average, Average, Above Average, Excellent
    The radio group can change per row depending on the Likert scale assigned to the question which is assigned to a different column on the row.
    Can LOV utilize the column? :
    SELECT scale_text
    FROM scale_choices
    WHERE scale_category_choice_id = 2 <<= this would be the Likert scale identifier
    ORDER
    BY display_order

    Here is the answer:
    APEX_ITEM.SELECT_LIST_FROM_QUERY(
    p_idx IN NUMBER,
    p_value IN VARCHAR2 DEFAULT NULL,
    p_query IN VARCHAR2,
    p_attributes IN VARCHAR2 DEFAULT NULL,
    p_show_null IN VARCHAR2 DEFAULT 'YES',
    p_null_value IN VARCHAR2 DEFAULT '%NULL%',
    p_null_text IN VARCHAR2 DEFAULT '%',
    p_item_id IN VARCHAR2 DEFAULT NULL,
    p_item_label IN VARCHAR2 DEFAULT NULL,
    p_show_extra IN VARCHAR2 DEFAULT 'YES')
    RETURN VARCHAR2;

  • Create multiple sheets in report based on distinct column values

    Hello all,
    We are using BOXI 3.1. I have a request from my users for which i cannot find a solution. The problem is i have a query and in a a column i have lets say 10 distinct values. For each of those values i need to generate a report within a report (a new sheet in report) that has data for only this value and schedule this to the users so they get excel file with many sheets.
    Is that even possible with BO? How can i approach this problem?
    My current solution is I generate 1 report and schedule it to excel file which gets delivered to users. Then i have a macro in excel that is on a network. The user then runs this VBA macro and it generates new sheets in excel. They are not satisfied with this solution :S .
    I know webi doesnt use VBA and deski is EOL. Is there any other solution?
    Regards, Martin

    Hi,
    From the first view this is not what i had in mind. But i will take a look at this too.
    Any other suggestions?
    tnx. M.

  • Standard Report on Profitability Segment in SAP

    I need standard report based on profitability segment in SAP or any report in SAP having information related to profitability segment. Any thread is welcome.

    Hello,
    Please use KE30.
    Also you can create your own report using KE31.

  • Standard Report requirement

    Hi Guys
    In my current implementation i have one report requirement.
    Iam giving lot of benefits to my employees. I like to capture all the expenses employee wise.
    I have already uploaded the employee personel number and during transactions we are entering the personel number
    But we i go and check the report, in the dynamic selection the personel number is not available
    Is it possible to take a standard report based on personnel number. If i give a personel number - i should get all the expnese gl accounts done for that employee
    Warm Regards
    Bala

    Hi:
    I have a suggestion.
    Create Employees as Employee vendors in Accounts payable.While creating vendor master, In the accounting information tab, assign the personel no.You have a separate reconciliation account for this employee vendors.
    Make Payments to vendor by using T.code F-53 . You can view the report of all employees to whom payment was made.
    You can view the standard reports to see the payments made to the employees.
    S_ALR_87012103 - List of Vendor Line Items
    S_ALR_87012083 - List of Vendor Open Items for Printing
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • SAP Standard Report for Cost Element Category

    Hi All,
    I just wanted to know that if there are any report(s) involving Cost element categories. Say for example, if the cost element category is provided the report fetches the cost elements associated with the category and the documents posted.
    Thanks and Regards,
    Gnanasambanthan.V

    Hi,
    There is no standard report based on cost element category, but of course, you can use, for example, KSB5 and give the selection of the cost elements you want to present. I presume, you have different number range for each category and it could be easily distinguished in the selection screen.
    Regards,
    Eli

Maybe you are looking for

  • Is There A Way Of Getting My Ipod To Skip Ablum Screen

    I've seen posts about people having their ipod skip the album screen and wanting to fix it. I on the other hand want my ipod to skip it intentionally. Anyone know how to do that?

  • My screen has a gouge in it and it starting to spiderweb. Is there anyway to prevent it from getting worse?

    I went to use my iPad mini and the screen has a gouge on the side of it. It is starting to spiderweb. It is only a small spot currently. Is there any way to keep it from getting worse?

  • The web server can't return request

    I'm installing a Project in JSP with Apache and Oracle. Sometimes the sistem work well, but sometimes the next error appaers: Internet explorer can't open the site http://.... .jsp The process about the send is make but the response don't return. Any

  • Sound Blaster Audigy 2 ZS + Li

    hi! i would like to know if there's some linux drivers for linux, and where i can find them. i've looked for evrywhere i go to have somethig like this, by habits. nothings ! i hope somebody knows this. it's for a second pc under KKA .4 (knoppix 3.7 a

  • Process - Booking into Stock

    Our Organization a setup of the following process from procurement to inventory as shown below. We are having issues with this current process flow as after parts are delivered, it goes into inspections and on QM-Lot status. Once inspection is done i