HTMLDB_ITEM.date_popup on single row report does not work

Dear HTML DB Team,
On a report wit a single( one ) row the "HTMLDB_ITEM.date_popup" does not fill the selected date to the cell. (Same for wwv_flow_item.date_popup)
On the same report with 2 or more rows HTMLDB_ITEM.date_popup works fine.
Any suggestions?
Erik
testcase:
create region:
select htmldb_item.hidden(1,empno) empno,
ename,
htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
wwv_flow_item.date_popup(6,null,hiredate) hiredate,
htmldb_item.text(7,sal,10) sal,
htmldb_item.text(8,comm,10) comm,
htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
from emp
delete 13 rows from emp ( 1 row left ):
delete from emp
where ename <> 'KING';
=> date_pop does not work

Using the htmldb_item API vs. built-in multi-row update functionality:
I can't speak to the question about the date for the next HTML DB release. But I'd like to add a few comments to this discussion regarding the use of the htmldb_item API package. It is generally advisable to use the built-in multi-row update functionality instead of htmldb_item function calls when implementing tabular forms. While I do acknowledge that some display types such as date popups are not yet available, I would nevertheless recommend working with what's available on the report column attributes page (i.e. using a text field for the date columns) as opposed to using htmldb_item functions whenever possible. Please keep in mind though that they are mutually exclusive, so they can't be combined on the same report.
The reasons for my recommendation are simple: first of all, if you use htmldb_item calls as part of your SQL statement, the HTML form elements are rendered for all rows in your result set. The built-in types on the other hand only render HTML form elements for those rows shown on your current page, thus you get better performance. Secondly, htmldb_item calls make your SQL statement quite complicated, not only has the engine to jump back and forth between executing your SQL and calling the PL/SQL functions, you also need to take extra care implementing your PL/SQL processes according to the item IDs you assigned in your htmldb_item function calls. When working with e.g. popup LOVs, this gets even more complicated because that type actually results into two html form elements for each column (one storing the hidden ID, one storing the display value). And lastly, by using the multi-row update functionality, you would get lost update detection automatically built. That means, that you can't accidentally overwrite another person's changes in the event that you should both be working on the same data. Implementing this kind of functionality with your htmldb_item based tabular forms would take a lot more effort than simply go with what's already provided.
So please carefully weigh the benefits of additional display types that you'll get by using the htmldb_item API against all the functionality you'll get by using the built-in tabular form and multi-row update features.
Regards,
Marc

Similar Messages

  • Discoverer Reports does not work in Multi-org Environment after R12 Upgrade

    Discoverer Reports does not work in Multi-org Environment after R12 Upgrade. Created a simple report using the below query:
    SELECT po_header_id, segment1, type_lookup_code
    FROM po_headers
    WHERE segment1 = '5000002'
    Query works perfectly fine; when i set the ORG_CONTEXT in the database using the command:
    EXEC mo_global.set_policy_context('S',129)
    But the report doesn't fetch any data when ran from an Org based responsibility. We've ensured that the MO: Operting Unit is set accurately and general Oracle reports (PLSQL Program OR XML Publisher) are working perfectly fine.
    ===========
    I followed the steps provided in Metalink Note: 732826.1 - It works for some responsibilities where the MO: Security Profile is not set; but fails for those responsibilities where the MO: Security Profile is set.
    I am looking for specific solution that works irrespective of either the MO: Operating Unit profile is set of not.
    Please suggest. Appreciate your response.
    Thanks,
    Kesava Chunduri

    Hi Hussein,
    Thanks for the quick response.
    Yes, I've gone thru both the notes specified below:
    Discoverer Workbooks Based On Organization Enabled Views Are Not Populated [ID 1293438.1]
    - Tried this option; but this option is messing up a couple of Oracle Standard Functionalities.
    - For ex: If i set this profile option; we are not able to create any receipts using Custom Responsibilities.
    I am able to create the receipt, when i remove this profile option.
    No Data Shows for Reports in Discoverer 10g with Applications Release 12 [ID 1054380.1]
    - I see that the products i am running these reports from AR/GL - already exists in these tables.
    Anything other options??
    Thanks,
    Kesava

  • Row highlight does not work when class has a background-clolor

    This is more a CSS / javascript question but since the problem occurs in Apex I'll try my luck here.
    I try to implement a row highlight feature that worked in 3.2 but not in 4.0. The difference is that the style that is used for the table cells contains a background-color in the 4.0 template and it did not in 3.2.
    This is how it works.
    I created a report template with "before each row" : <tr onMouseOver="cOn(this);" onMouseOut="cOut(this);">
    The javascript does this:
    function cOn(td) {
       if(document.getElementById||(document.all && !(document.getElementById))) {
          if (td.previousSibling != null) {
              td.style.backgroundColor="#FFFF99";
              td.style.color="#000000";         
    }My thought was that td.style.backgroundColor="#FFFF99" would overrule the background color given by the class but when this happens from within javascript this does not work. Is this proper behaviour? Are there other methods that will work?

    Hi Rene
    If you are just looking for a row highlight on a mouse hover, it might be easier to place the following in the html header of the page:
    <style = text/css>
    .apexir_WORKSHEET_DATA tr:hover td {
    background-color: #FFFF99 !important;
    color: #000000 !important;
    </style>
    ~Andrew Schultz

  • Report does not work in 2nd instance after transported

    My SAP Script report does not come out correctly after its transport into a 2nd instance.  The fonts displayed in the report don't look the same like what we have in instance #1.
    The report originally created in the instance #1 is good, but after the transport, the fonts in instance #2 are larger and some of the contents are not properly aligned.  Some part of the boxes are also missing.  I would appreciate any suggestions of how to fix them.  Thanks, Sam

    Hi,
    There might be a possiblity that the necessary style used in the SapScript is not transported to the New Instance and hence the Cosmetic issues...
    Check whether all the associated objects like Style are transported to nre Instance or not?

  • Smartview v11.1.1.3 drill through reports does not work in grids?

    Hi,
    I'm using v11.1.1.3 and know there is a drill through function to FDM from Smartview grids. I've tried but it does not work in the grids, only works in the forms. However, I'm able to drill through to FDM from workspace grids. Does anyone encounters the same?? Appreciate any kinds advices. Thanks!

    Are you certian that the report is showing an input level cell? Often reports are designed to run at Total dimension members, i.e. <Entity Curr Total> which you can not drill into.

  • BPC75NW: Offline Distribution of reports does not work in Schedule mode

    Hello BPC experts,
    I'm new in SAP world.
    I have the following problem.
    In BPC 7.50.06 NW I'm trying to adjust the distribution on e-mail to schedule.
    I set up Distribution List. When I start the Offline Distribution Wizard -> Distribute Now all works without problems.
    The problem starts when I start the Offline Distribution Wizard in the Schedule mode. All the settings I do the same as at "Distribute Now".
    Then I set the report should be sent daily, starting with 13.10.2011, indicating the Start Time. As a System password I'm pointing my domain password (I  know no other passwords).
    At the time specified in the Start Time nothing happens, i.e. the schedule does not work.
    Tell me, please, if faced with a similar problem, how it can be solved?
    Thank you for your help, this is greatly appreciated.
    Regards,
    Todoshi Takato

    Moved to .NET SDK forum.
    Search here, lots of post on IIS and setting Printer Access Permissions for your application.
    Also search MSDN on what is required to for IIS to access local Printers.
    Also search for ActiveX Controls and Browser permissions, you'll likely have problems there also since most Browsers will not or do not recommend allowing any ActiveX control.
    Don

  • CRVS2010 Beta - Crystal Report does not work with VS 2010

    After having installed vs 2010, as mentioned, I dowloaded crsytal report . But when trying to create a new crystal report object, I have a html page displayed but crystal report does not start. I would like to know how to make crystal report start to create new report ?
    Thanks
    Patrick
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Thread moved to NET Development - Crystal Reports
    Edited by: Ludek Uher on Aug 27, 2010 6:48 AM

    My OS is windows XP. Visual studio 2010 Professional version 10.0.30319.1.rtm rel. Visual basic is 01018-532-2002102-70383. dot net framework is 4.0.30319 rtm rel. When I add a new crystal report object to my project a file named CrystalReport1.mht. Its content is :
    From: <Saved by Windows Internet Explorer 8>
    Subject: Crystal Reports for Visual Studio 2010
    Date: Fri, 2 Oct 2009 17:24:34 -0700
    MIME-Version: 1.0
    Content-Type: multipart/related;
         type="text/html";
         boundary="----=_NextPart_000_0000_01CA4385.35B07AB0"
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
    This is a multi-part message in MIME format.
    =_NextPart_000_0000_01CA4385.35B07AB0
    Content-Type: text/html;
         charset="utf-8"
    Content-Transfer-Encoding: quoted-printable
    Content-Location: file://C:\_Working\Projects\Cortez\Stub Templates\RTM\EN\CR for VS 2010 HTML\CRforVS2010.html
    =EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    then followed by characters whch are not readable.
    Thank you for your help
    Patrick

  • Web reporting does not work in BW system

    Hi-
    I'm a BW consultant with very little BASIS knowledge and have been asked to look into why web reporting is not working on our system.
    We get the following message when trying to run BW queries on the web:
    Not found
    The following error occured:
    %3cpre%3e%0aLOCATION+++MessageServeronhosttongue%0aERROR+++++Grouptonguenotfound%0a%0aTIME+++++++TueMar2004%3a21%3a132007%0aRELEASE+++640%0aCOMPONENT+LG%0aVERSION+++5%0aRC++++++++-6%0aMODULE++++lgxx_mt%2ec%0aLINE++++++3518%0aDETAIL++++LgIGroup%0aCOUNTER++++10%0a%3c%2fpre%3e
    I've checked SICF and all services are activated.  I suspect that the problem is in the RZ10 parameters, but do not know what needs to be set there.  Here are our settings:
    rdisp/max_wprun_time                        3600                        
    abap/cache_area                             10000000                    
    abap/buffersize                             1500000                     
    login/system_client                         100                         
    INSTANCE_NAME                               DVEBMGS00                   
    SAPSYSTEM                                   00                          
    rdisp/wp_no_dia                             10                          
    rdisp/wp_no_btc                             6                           
    rdisp/wp_no_vb                              2                           
    rdisp/wp_no_vb2                             1                           
    rdisp/wp_no_enq                             1                           
    rdisp/wp_no_spo                             1                           
    DIR_TRANS                                   /usr/sap/trans              
    ms/server_port_<xx>                          PROT=HTTP, PORT=8080       
    icm/server_port_0                           PROT=HTTP,PORT=8080,EXTBIND=1
    DIR_ORAHOME                                 /oracle/BWD/920_64          
    ipc/shm_psize_10                            104000000                   
    ipc/shm_psize_14                            0                           
    ipc/shm_psize_18                            0                           
    ipc/shm_psize_19                            0                           
    ipc/shm_psize_30                            0                           
    ipc/shm_psize_40                            114000000                   
    ipc/shm_psize_41                            0                           
    Is there anything obvious missing?
    Thanks,
    Tristan

    Following seems a little odd....
    ms/server_port_<xx> PROT=HTTP, PORT=8080
    I would expect something like:-
    ms/server_port_0 = PROT=HTTP,PORT=8102 (or other relevent port number)

  • Print report does not work in built mode (LV7.1+XP)

    Good morning,
    I've read some threads about the topic in this Q, but no solution. So my hope is that NI has resolved the problem. Here it goes:
    In normal edit mode I can use the Print Report.vi (using the default win printer) to print out some data. The generated report is a standard NI report (that is NOT HTML).
    When building an application this no longer works. No data is passed to windows (the printer icon in the system tray never appears) - and hence no output on the printer!
    I use WinXP and LV7.1 in both modes. The printer is a HP2300 LaserJet but I've also tried using the old stable Canon LBP 8 II on the FILE: port - but in .exe mode the file box does not appear.
    I really hope that NI has a solution
    for the problem since we need the built application on several client. And we do not want to pay for several LV licenses.
    Speculations on both the application builder and report generation tools have been given in previous threads... However, these gave no solution and all threads are from before LV7.1.
    Thanks in advance!
    Martin

    Skinny wrote:
    > In normal edit mode I can use the Print Report.vi (using the default
    > win printer) to print out some data. The generated report is a
    > standard NI report (that is NOT HTML).
    >
    > When building an application this no longer works. No data is passed
    > to windows (the printer icon in the system tray never appears) - and
    > hence no output on the printer!
    >
    > I use WinXP and LV7.1 in both modes. The printer is a HP2300 LaserJet
    > but I've also tried using the old stable Canon LBP 8 II on the FILE:
    > port - but in .exe mode the file box does not appear.
    >
    > I really hope that NI has a solution for the problem since we need the
    > built application on several client. And we do not want to pay for
    > several LV licenses.
    Are you sure you checked the "NI R
    eport Support" under the Advanced
    button of the Installer tab in the application builder?
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Row selection does not work

    I have jtable with some data and in some particular columns checkboxes.
    Only one of those columns can be edited. I implemented in my table model a method to pass rows which should be disabled and implemented the functionality in the isCellEditable for disabling the editing.
    This works just fine.. but
    I have a multiple selection on my table.. but whenever i try to select a row or several rows the row does not get highlighted.. (this worked well before without the editing functionality).
    Could anyone explain how to get around this problem? or where the problem exactlly is
    thnx in advance
    stfndln

    show the code.. the problem is within..

  • Using firefox 5 - when ever I try to use the same key more than once in a row, it does not work. Hitting the multiple times does nothing at all. How can this be corrected. HELP!!!

    everything that needs to be done on the keyboard is effected - letters, numbers, backspace, directionals, delete, home, end, page up, page down, '''all keys that are pressed more than once''' It does not matter what webpage I am on.
    PLEASE HELP
    this is very frustrating

    You may have switched on an accessibility feature called FilterKeys by keeping the Shift key pressed for too long.
    * http://www.microsoft.com/enable/products/windowsxp/default.aspx
    *http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/access_filterkeys_turnon.mspx?mfr=true

  • Xl Reporter does not work after the upgrade to 2007A PL 47

    Hi Experts
    UPgraded to 2007A PL 47 from 2005A. Upgrade was done successfully. However the XL reporter is
    not functioning. When you go to Tools and click on XL reporter nothing happens. No error message
    comes up even.
    Client is using SQL 2005 MS server 2003
    I ahve done the test upgarde in an image of the live server
    thank you
    Regards
    Aosara
    Edited by: Apsara Senaratna on Feb 10, 2010 4:33 AM

    Hi Thannga
    The answer is no.
    I believe when i logon to SAP add on at the bottom of the menu it should come up " connecting Addon: XL reporter" (i get this on other dB's when connecting to SAP)
    Could this be related to the environment. As other than this there was no issues with the Upgrade.
    Thank you
    Regards
    Apsara

  • 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

  • Link in Report does not work when run on Citrix

    Hello,
    we use Crystal Reports (v11) for creating Reports.
    Data is based on our CRM system "SuperOffice".
    We have several reports and what we did is to add a column that includes a link to SuperOffice.
    For example - if I have a list of contacts as a report, then every line has a link to SuperOffice.
    If I click this link, the contact in SuperOffice gets open.
    This works on lokal pc installations.
    But is doesn't work on a citrix server.
    If I click the link - nothing happens.
    Is that a known problem or does anyone have any ideas for that?
    Are there any known problems with links in reports on citrix servers?
    Thanks in advance.
    Best regards,
    Tony

    Hi Don,
    thank you for fast response.
    That is a good advice. We will check that.
    The main question is, to which folders etc. does CR needs access?
    To explain the situation better: To run the reports we use Crystal Reports Runtime (Version 11.1.1883).
    Do you (or anyone else in these forum) know where we could get information about which kinds of access CR Runtime needs to handle with these links?
    Regards,
    Tony

  • Scheduled BEX Broadcaster reports does not work automatically after BW 7.3 upgrade

    Hello,
    We recently upgraded our BW system from 7.0 to 7.31
    Since then broadcasting reports has been inconsistent. Not all the reports are broadcasted.
    Some reports of object type Query has been scheduled to run everyday but I don't see that in released status in SM37.
    Some WAD templates throws an error that states " JAVA SYSTEM ERROR : EXCEPTION in method process function"
    WAD reports also flags this warning : "Transformation Exception while transforming BEX web templates" in all the reports.
    System Version:
    BI ABAP 7.31 SP11
    BI JAVA 7.00 SPS 30 Patch.
    Most of the suggested SAP Notes are covered in this release.
    SAP suggests to upgrade BI JAVA. But we are looking for a quick fix  since JAVA upgrade has to go through a process and that's time consuming.
    Appreciate your suggestions on this.
    Thanks,
    Nithya.

    Hi,
    Please have a look to the Blog - BI-JAVA, BEx Web and EP: the real connection to resolve your Problems after the Upgrade to 7.31.
    There a quite massive differences between BI-JAVA 7.0x and 7.3x.
    See also the Section BEx Web Java 7.3x in the SCN Document - BEx Versions 3.5 and 7.x after Upgrade
    Best Regards Roland

Maybe you are looking for

  • BAPI used for Scheduling Agreement in SD

    Which standard BAPI do we use to create Scheduling Agreement in Sales and Distribution?

  • Unable to Create a Simple LOV

    I am trying to create a simple LOV, but I keep getting the 'LOV query is invalid, a display and a return value are needed, the column names need to be different' error. This is my query: SELECT evaluation d, evaluation r FROM GRT_PRJ_EVALUATIONS WHER

  • Database setup with MySQL and PHP question

    Hello all, I recently had a problem getting a report to work for a site I was updating.  This site is written in PHP with a MySQL database.  The application is to track customer calls to auto repair stores.  The database has a lot of foreign keys bec

  • 802.11a/g/n optimizing for compatibility

    How to ensure maximum client compatibility and stability in 802.11a/b/g/n networks? I am running a Wireless network based on the WLC 5508 6 SW version, (with WCS mgmt) and 1142 APs. I would like a broad variety of clients, old G clients and new N cli

  • AJA Kona Support in Premiere CS5.5

    I'm new to Premiere, and I've encountered some unexpectedly poor performance that I'm currently attributing to my AJA Kona 3, but I'm wondering what I can do about it. I downloaded a trial of CS5.5 and installed the latest AJA drivers (9.0.3) and Ado