Spry loadData with paged view problem

Ive created an "inbox" for information coming from a database
for different individuals. This is something that gets used
continueously by many people to manage the work flow process.
People can get new things in there inbox at anytime, so I made the
inbox non-cashed with a refresh interval. The problem is if the
person has used the paging to get to another page, the refresh
causes the paging to go pack to the first page. How can I prevent
this? This is like the last bug to deal with before we can go live
with the new spry version.
Thanks
Greg

After finding another post that wasn't exactly what I was
looking for I have come up with some code. However it doesn't work.
Basicly the page just gets realllllllllllllllllllllly laggy.
var dsInbox = new Spry.Data.XMLDataSet("url here",
"dataset/row", {useCashe:false, loadInterval:10000};
var pvInbox = new Spry.Data.PagedView(dsInbox,
{pageSize:20});
var pvInboxInfo = pvInbox.getPagingInfo();
pvInboxInfo.addObserver(resetPagedView);
var currentPageNumber;
function resetPagedView(notificationType, notifier, data) {
if ( notificationType == "onPreLoad" ) {
currentPageNumber = pvInbox.getCurrentPage();
if ( notificationType == "onPostLoad" ) {
pvInbox.goToPage(currentPageNumber);
pvInbox.preProcessData();
}

Similar Messages

  • Help with Paged view dataset!

    I'm new to Spry and not really a programmer, but I'm sure
    what I'm trying to do is pretty simple, can anyone help?
    Here's what I'm trying to do:
    - I have created a dataset (dsProjects) which contains 7 rows
    (one of the column values is 'Proj_id')
    - I have created a paged view dataset (pv1) based on
    dsProjects. The page count is 4 - so there are 2 pages I can
    navigate through.
    What I want is when there is a URL parameter (Proj_id), pv1
    will show the correct page containing the row that has the same
    column value for 'Proj_id'
    i.e. when I click on this link
    http://www.ollybaker.com/projects.php?Proj_id=11
    pv1 should display Page 2 of 2 because the row containing the
    Proj_id column value of 11 is on page 2.
    but this doesn't happen... any ideas what I'm doing wrong?
    The code is below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script src="SpryAssets/SpryURLUtils.js"
    type="text/javascript" ></script>
    <script src="SpryAssets/SpryPagedView.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    var dsProjects = new
    Spry.Data.XMLDataSet("xml/recent_work.php", "export/row");
    dsProjects.setColumnType("Proj_id", "number");
    dsProjects.setColumnType("image", "image");
    //Set up pv variables to display information about the paged
    views
    var pv1 = new Spry.Data.PagedView( dsProjects ,{ pageSize: 4
    var pvInfo = pv1.getPagingInfo();
    var params = Spry.Utils.getLocationParamsAsObject();
    params == 1;
    //Set up pv variables to display information about the paged
    views
    pv1.addObserver({ onPostLoad: function(ds, type) {
    var row = pv1.findRowsWithColumnValues({"Proj_id":
    params.Proj_id}, true);
    // If we have a matching row, make it the current row for the
    data set.
    if (row)
    pv1.goToPageContainingItemNumber(row.ds_RowID);
    </script>
    </head>
    <body>
    <div spry:region="pv1">
    <table cellpadding="10" cellspacing="0">
    <tr>
    <th>Proj_id</th>
    <th>Image</th>
    </tr>
    <tr spry:repeat="pv1">
    <td>{Proj_id}</td>
    <td><img src="images/{image}" width="100"
    height="50"/></td>
    </tr>
    </table>
    </div>
    <p spry:region="pvInfo" spry:repeatchildren="pvInfo">
    <a spry:if="{ds_CurrentRowNumber} != {ds_RowNumber}"
    href="#"
    onclick="pv1.goToPage('{ds_PageNumber}')">{ds_PageFirstItemNumber}-{ds_PageLastItemNumber }</a>
    <span spry:if="{ds_CurrentRowNumber} == {ds_RowNumber}"
    class="currentPage">{ds_PageFirstItemNumber}-{ds_PageLastItemNumber}</span></p>
    <br /><br />
    </body>
    </html>

    You have to make 2 changes:
    - Tell findRowswithColumnValues() to include filtered items
    (items not in the current page) in your search. So change:
    var row = pv1.findRowsWithColumnValues({"Proj_id":
    params.Proj_id}, true);
    to:
    var row = pv1.findRowsWithColumnValues({"Proj_id":
    params.Proj_id}, true, true);
    - Lastly, you are calling the wrong function to show the
    page:
    pv1.goToPageContainingItemNumber(row.ds_RowID);
    It should be:
    pv1.goToPageContainingRowID(row.ds_RowID);
    --== Kin ==--

  • Image Gallery with Paged View

    Hello
    I'm developing an application with an ASP backend, to allow
    users to input photos and have them immediately display in a
    gallery. It all works fine except I can't figure out how to make
    the slide show loop only within the current page.
    There's an example
    test
    gallery here in which I've turned off autoslideshow on load -
    but if you click the 'Play' button, it traverses the entire
    dataset.
    Any advice or thoughts would be appreciated.

    Your code links directly to the image not a page displaying
    the image. If
    you are wanting pagination you will need to use page to
    display the full
    size image and the paging links.
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "stevegio" <[email protected]> wrote in
    message
    news:f58unu$j5$[email protected]..
    > Hi
    > Im trying to get an image Gallery going with cfdirectory
    with no Database
    > amd
    > pagination through Cfdirectory
    >
    > Im current using cfdirectory to create a query and
    cfx_openimage to
    > create
    > thumbnails.
    >
    > the issue I have and where Ive been stuck is when a user
    clicks on a
    > thumbnail, how do i get pagination going the next page
    between the photos
    >
    > here is my code
    >
    >
    > <cfdirectory
    >
    >
    directory="#GetDirectoryFromPath(GetTemplatePath())#/#url.username#/images/#url.
    > date#/"
    > name="dirQuery"
    > filter="*.jpg. *.jpeg"
    > sort="name ASC, size DESC">
    >
    > <!--- Get all directory information in a query of
    queries.--->
    > <cfquery dbtype="query" name="GetBoth">
    > SELECT * FROM dirQuery
    > </cfquery>
    >
    > <cfoutput>
    >
    > <cfloop query="GetBoth">
    >
    > <a
    >
    href="/outandabout/#url.username#/images/#url.date#/#getboth.name#"><img
    >
    src="/outandabout/#url.username#/images/#url.date#/thumbs/_#getboth.name#"></a><
    > br>
    > </cfloop>
    >
    > </cfoutput>
    >
    >
    > Thanking you advance
    >
    >
    >
    >

  • Setrow with Paged Dataset and Master / Detail containers

    Hi,
    I am building a photo album.
    I am using paged views on the photos as the collection is currently 132 and growing.  So I have a paged view of 15 photos at a time, which are in a master container.  I want to be able to click a photo thmubnail and for it to update the large photo in the detail region.  However with paged views it doesn't seem to update the current row in the detail region.  If I used the Spry dataset the pagedview is built on the setrow functionality works fine.
    The page is here www.thehmc.co.uk/photo4.html
    What are my options to get this working?
    Cheers
    Phil

    Hi Phil,
    This is completely out of context and I am probbaly risking a flame, Still I want to share the following piece of code with you.
    <p> &copy; 2008
    <script language="JavaScript" type="text/javascript">
                var d=new Date();
                yr=d.getFullYear();
                if (yr!=2008)
                  document.write("- "+yr);
              </script>
    Created / Maintained by Phil Whitehurst</p>
    This will automatically update the year.
    Ben

  • How do you set up Paged View with Spry Data Sets

    Hope someone can help. I have constructed a Spry data set using a html table and want  to use the paged view javascript to limit the amount of rows displayed on one page at a time to 10 then forcing a new page. Have found the java script file in the spry 1.6 download and attached it to the spry assets folder and have followed the instructions found at the Adobe development center   http://labs.adobe.com/technologies/spry/articles/pager/index.html        with no luck. Have attached  files to show what I have done. If someone could look at this and point out my error or suggest a better way I would be grateful. I am not a code warrior so simple  instructions would be so helpful. Many thanks in advance.
    Here is the code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryPagedView .js"></script>
    <link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.HTMLDataSet("table.html", "ds1", {sortOnLoad: "Name", sortOrderOnLoad: "ascending"});
    ds1.setColumnType("Phone", "number");
    var pv1 = new Spry.Data.PagedView( ds1 ,{pageSize: 10});
    //-->
    </script>
    </head>
    <body>
    <input type="button" value="First" onclick="pv1.firstPage();" />
    <input type="button" value="Prev" onclick="pv1.previousPage();" />
    <input type="button" value="Next" onclick="pv1.nextPage();" />
    <input type="button" value="Last" onclick="pv1.lastPage();" /
    <div class="MasterDetail">
      <div spry:region="ds1" class="MasterContainer">
        <div class="MasterColumn" spry:repeat="ds1" spry:setrow="ds1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{Name}</div>
      </div>
      <div spry:detailregion="ds1" class="DetailContainer">
         <div class="DetailColumn">{Name}</div>
        <div class="DetailColumn">{Product}</div>
        <div class="DetailColumn">{Contact}</div>
        <div class="DetailColumn">{Phone}</div>
      </div>
      <br style="clear:both" />
    </div>
    <input type="button" value="First" onclick="pv1.firstPage();" />
    <input type="button" value="Prev" onclick="pv1.previousPage();" />
    <input type="button" value="Next" onclick="pv1.nextPage();" />
    <input type="button" value="Last" onclick="pv1.lastPage();" /
    </body>
    </html>

    Your region needs to refer to the pageview, not the dataset.  Your paged view var is already looking at/pulling in the ds.
    I would change the following code:
    <div spry:detailregion="ds1" class="DetailContainer">
         <div class="DetailColumn">{Name}</div>
        <div class="DetailColumn">{Product}</div>
        <div class="DetailColumn">{Contact}</div>
        <div class="DetailColumn">{Phone}</div>
      </div>
    to read the following:
    <div spry:region="pv1">
    <table>
    <tr spry:repeat="pv1">
    <td>{Name}</td>
    <td>{Product}</td>
    <td>{Contact}</td>
    <td>{Phone}</td>
    </tr>
    </table>
    Regards,
    Michael

  • Problem with a view in XK01 transaction

    Hi All,
    I am working on upload conversion for Vendor Master. While doing conversion, i am getting a problem with a Contact person view in XK01 transaction. In contact person view the telephone field column sometimes allowing to add data ,sometimes it's not allowing data which results an error in conversion program saying that the telephone field in not an input field. I don't know why the view is showing the telephone field like that.
    Can any one suggest the solution for this problem. I know this is configuration problem with a view but i posted in ABAP forums.
    Thanks

    Hi Ben,
    I assume that you are writing a BDC program to upload contact person information. If so, you are trying to populate a table control here. Please check to see if you are calculating the index to assign values to the correct rows.
    if you are calculating index in your program then i think it should be configuration problem as you said.
    Thanks,
    Ganesh.

  • Problem with HTML viewer

    Dear All ,
    I am facing a problem with HTML Viewer . My senario is as follows :
    1. I have created one HTML page . On that page there are 4 Images
    2. I imported that HTML page in SAP with the help of transaction SMW0
    3. I Called that HTML page in my ABAP program using the method "load_html_document" of class cl_gui_html_viewer
    4. This is happening perfectly ok on the machine on which all this developement was done.
    But the issue is when I execute my ABAP program on a different machine , those Images on that HTML page are not displaying.
    Can you please guide me how to remove that machine dependancy?
    Regards,
    Nikhil

    Hi Nikhil,
    Please check if the image is properly imported properly. Also check if there is any option which you might have forgotten while imported like dependeency.
    Regards
    Abhii...

  • Problem With Image View After Cropping

    Hi All,
    I have a problem when I try to crop an image in CS4.  The crop tool works perfectly, however sometime the cropped image has parts of the image “out of line”  I believe the problem is just with the view, not the actual file.  I have saved the image and opened it in MS Picture Viewer and the image is perfect. 
    I was using Windows XP without a problem.  I have only experienced this since I upgraded to windows 7 64 bit.
    Below is a screen shot of the problem, not the bottom right of the image.  Any suggestions please.
    Thanks  - Vicki

    No, it was me.  Feel free to review the thread history at this URL if you'd like:  http://forums.adobe.com/message/4206899
    Your display driver IS out of date.  You really don't want the one from Microsoft's WHQL
    If you would like to be able to use the OpenGL-specific features, listed on the page below, as well as not have display corruption, I recommend you update SPECIFICALLY to Catalyst 11.7 (which carries driver version 8.872).  Anything up to 11.12 is probably okay, but 12.1 has some very specific problems with Photoshop.  Several of us on the forum here have had particularly good, solid results from 11.7.
    http://kb2.adobe.com/cps/405/kb405745.html
    -Noel

  • HST60: Huge Performance Problem with VAPI Views

    We are using a VAPI view (with instead-of-triggers) for a table with +/- 60 columns.
    In this instead-of-trigger we call some functions to return constants and variables.
    Using DML (for example a Update) on this view takes the Server 80 sec. CPU time.
    Direct update on the table takes 0.2 secs. CPU time.
    Assistance please cause we are planning to use VAPI views to populate a new database model with old Forms.
    As I know in Oracle 7 there was a problem with code in triggers. I believe they were compiled each time they were called. And package onces !! MAybe has this something to do with it.
    Thanks in advise,
    M. Overdijk
    null

    Marc,
    Thanks for the reply....
    We are using 8.1.6 currently.
    This is a problem of one my fellow developers. The problem is the update using the rowid. Headstart has a booster to customize a Designer module to not use this rowid.
    Problem we have is we have a old Forms 4.5 application. We made a new server model along with cdm ruleframe. The old tables are dropped and the old forms now work with VAPI views......redericting the data the new tables.
    Now we have (we think) the same problem wherefor Headstart has this above called booster.
    Any solutions for us ??? Cause we don't want to change the old application forms (there are to much !!)
    Our solution is to drop the instead of triggers and use some cev business rule to redirect the data...
    Disadvantages:
    1. some work to do
    2. whern the old application is dropped we have to remove the cev rules.
    Any other solutions

  • PDF Initial Browser doesn't open PDF with Bookmarks as initial view - Problem (Help)

    I've saved a PDF with Initial view of Bookmarks panel and
    page opn my client and it opens with the bookmarks. I publish the
    file from my PC via Contribute and open it with my browser and it
    opens in the pages view. NOTE: when i open the PDF in Contribute,
    it opens with no special view.....

    Hey Jacksoup --
    I don't believe this is a "Contribute" issue at all.  I'm having the same problem with a .PDF of my own that I've published to the Web and I'm not using that software. 
    I had one original .pdf file that had no bookmarks.  Bookmarks were then added to the doc and resaved.  On the new version I have the document's file properties set to open bookmarks on initial view.  The document opens fine locally on my computer, but when I publish to the web (not using contribute), and then try to open the .pdf via hyperlink it opens in MSIE and the bookmarks do not appear on initial view.  It's driving me crazy.
    I'm wondering if this is some sort of adobe cache issue?  Where it's opening the document like the original?  Or if it's something to do with MSIE?  I have already cleared my browser cache and I also updated my adobe acrobat preferences to NOT restore last view settings when opening documents. 
    I have tried adding #pagemode=Bookmarks to the end of the URL to the doc...
    Everything I've read and researched on line tells me I have done all I can do.  Are we just $#!+ out of luck here or what's the deal Adobe?
    Thank you for your time! 

  • Problem view TIFF multipage images with ECL Viewer 5.1.3

    Dear All,
    using the SAPGUI 710 and CV04N, I cannot view the same TIFF multipage image twice in ECL Viewer, the second time, the first time every thing is ok, but the second time the SAPGUI display the error : "File C:Docume1dupondLOCALS1TempZEP_0457895 cannot be created"
    To view again the TIFF mulitpage image, I need to kill the sapLogon.exe process and relaunch it again.
    It seams the TIFF image file is locked by the  the saplogon.exe process the first time and on the second time, SAP cannot rewrite the temporay TIFF image file. 
    Notes:
    - I use CV04N or CV03N to view the documents.
    - This problem doesn't happends with non multipage TIFF image.
    - Tested on more than 20 computers.
    - Computers are with Windows XP SP2 + SAP GUI 7.10 Compilation 2 + SP9 + SP12 +  - ECL Viewer 5.1.3 (integrated with Comp 2)
    How can I fix this problem ?
    Thank you for your help
    I think this is not the correct forum to post this king of problem, i create the same post on
    Expert Forums » Application Server » SAP GUI » [Problem view TIFF multipage images with ECL Viewer 5.1.3|;
    Edited by: Patrick Zufferey on May 5, 2009 11:41 PM

    Can you upgrade the ECL viewer to version 6.0 and check whether the same problem still exists? you can download from service.sap.com

  • Problem with Cube Viewer

    Hi techi
    i am using OEM with the Oracle 9.2.0.1.0.
    If i try to start Cube Viewer i will get a black Screen and after a minute i will get an alert without error message.
    I found a Patch 2323004 which only be used for Windows not for Linux Suse.
    The process is as follows:
    Then the Oracle Enterprise Manager Cube Viewer starts loading. An error
    window with a fire alarm symbol and with an OK-button appears. There is no
    window title or error text displayed in the window.
    Selecting the OK-button will close the cube viewer window and the 9.2.0.1
    RDBMS instance is no longer running.
    This problem is handled in <bug:2407685>
    Apply the following 9.2.0.1 Oracle OLAP patch like described in the patch
    readme file and reboot the machine (always create a backup before applying a
    patch):
    Patchnumber: 2323002
    OLAPI API FAILS ON WINDOWS 2000 & XP
    Product:Oracle OLAP Version:Oracle 9.2.0.1
    Platform:MS Windows NT/2000/XP Server
    To download the patch login to http:
    //metalink.oracle.com
    Select button "Patches", enter the Patch Number 2323002 and select
    the "SUBMIT" button.
    Can anybody tell me if there is a pacth for Linux Server.
    I will be thanfull to get any answer
    Mehdi

    One-off 2323002 is not applicable for Linux. It addresses a bug in the OLAP API due to differences in the behavior of memory management system services between Windows platforms.
    As for your Cube Viewer problem, please make sure your OLAPI jar files found on the client match those on the server/database. You can find them at $ORACLE_HOME\olap\olapi\lib directory. Copy the database express*.jar files to the client OLAPI lib directory. Cube Viewer is based on the OLAP API.

  • Problem with Materialized Views after an export

    Hi @ everybody,
    At an Oracle 11g R2 (11.2.0.3.0) instance, all actual CPU's/SPU's are installed, on a Red Hat 6 Machine i have a problem with Materialized Views from a schema, which i have exportet from an old database machine on Oracle 10g (10.2.0.1.0) to the new machine.
    I've exportet with the old exp and imported with imp, because i know, that i get some strange errors because of the materialized views when i'm using the new expdp and impdp tools.
    At the old machine the materialized views are so programmed, that they get an update of data at a defined time like this:
    START WITH TRUNC(SYSDATE) + 21/24
          NEXT SYSDATE+1
    ...But after the export this "update function" of the materialized view is not available. So i have deleted that views and recreated them with the START WITH parameters. So now they are running.
    But why do i have this problem?
    Is this "START WITH" somewhere written as a job or so in, for example, DBMS_SCHEDULER or something else? So i had forgotten to export these jobs or where is that defined?
    Is this a bug?
    Thanks for answers and help!
    Best regards,
    David

    I can't remember the error of expdp/impdp. That is some days ago, i have to rebuild this.
    I think in my scenario for the import i don't need the TABLE_EXISTS_ACTION, because by importing at the new server i've just createt the naked tablespace for the data and the users, not more. So he didn't has something to overwrite.
    And i have to tell you: i'm just the dbA. The desining of the tables and materialized views is many years ago by installing the old server. I'm just to young in my company to know about the design of the instance and why it was designed so.
    Anyway: my problem is, that after the import of the schemas to a new server the "START WITH" option in the materialized views is not there anymore and i just want to why so i can think about a solution for that and create it with the database designers of my company.
    EDIT: And here are the SQL Statements for creating the Materialized Views:
    First, at the OLD Server (Oracle 10g 10.2.0.1.0)
      CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS"
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "DUPONT_14523"
      BUILD IMMEDIATE
      USING INDEX
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      DISABLE QUERY REWRITE
      AS (SELECT DISTINCT
          PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
          PR_CUSTOMER_MASTER_DATA.ILN_USER,
          PR_ARTICLE.EAN,
          PR_ARTICLE.CODE,
          PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
          PR_USED_ARTICLE_TEXT.LANG_CODE,
          PR_ARTICLE.SUP_ITEM_NO,
          PR_ARTICLE.OLD_ITEM_NO,
          PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
          PR_COMPANY_ITEM_MATCH.UOM_UNIT,
          PR_COMPANY_ITEM_MATCH.PRICE_UOM,
          PR_COMPANY_ITEM_MATCH.PRICE,
          PR_COMPANY_ITEM_MATCH.CURRENCY,
          PR_COMPANY_ITEM_MATCH.PRICE_QTY,
          PR_COMPANY_ITEM_MATCH.SALES_UNIT,
          PR_COMPANY_ITEM_MATCH.START_DATE,
          PR_COMPANY_ITEM_MATCH.END_DATE,
          PR_ARTICLE.UPDATED_AT
            FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
            WHERE PR_ADDRESS.ORDER_TYPE='REP'
          AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
          AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
          AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
          AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
          AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
          AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
          AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
          AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
          AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
    )And here the at the NEW Server (Oracle 11g R2 11.2.0.3.0)
      CREATE MATERIALIZED VIEW "DUPONT_CCG2_P"."PR_PRODUCT_ITEMS" ("CLIENT_ID", "ILN_USER", "EAN", "CODE", "ARTICLE_TEXT", "LANG_CODE", "LANR", "OLD_LANR", "ITEM_BY_NO", "UOM_UNIT", "PRICE_UOM", "PRICE", "CURRENCY", "PRICE_QTY", "SALES_UNIT", "START_DATE", "END_DATE", "UPDATED_AT")
      ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
    NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "DUPONT_14523"
      BUILD IMMEDIATE
      USING INDEX
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1
      USING DEFAULT LOCAL ROLLBACK SEGMENT
      USING ENFORCED CONSTRAINTS DISABLE QUERY REWRITE
      AS (SELECT DISTINCT
          PR_CUSTOMER_MASTER_DATA.CLIENT_ID,
          PR_CUSTOMER_MASTER_DATA.ILN_USER,
          PR_ARTICLE.EAN,
          PR_ARTICLE.CODE,
          PR_USED_ARTICLE_TEXT.ARTICLE_TEXT,
          PR_USED_ARTICLE_TEXT.LANG_CODE,
          PR_ARTICLE.SUP_ITEM_NO,
          PR_ARTICLE.OLD_ITEM_NO,
          PR_COMPANY_ITEM_MATCH.ITEM_BY_NO,
          PR_COMPANY_ITEM_MATCH.UOM_UNIT,
          PR_COMPANY_ITEM_MATCH.PRICE_UOM,
          PR_COMPANY_ITEM_MATCH.PRICE,
          PR_COMPANY_ITEM_MATCH.CURRENCY,
          PR_COMPANY_ITEM_MATCH.PRICE_QTY,
          PR_COMPANY_ITEM_MATCH.SALES_UNIT,
          PR_COMPANY_ITEM_MATCH.START_DATE,
          PR_COMPANY_ITEM_MATCH.END_DATE,
          PR_ARTICLE.UPDATED_AT
            FROM PR_ARTICLE, PR_COMPANY_ITEM_MATCH, PR_USED_ARTICLE_TEXT, PR_CUSTOMER_MASTER_DATA, PR_ADDRESS
            WHERE PR_ADDRESS.ORDER_TYPE='REP'
          AND PR_CUSTOMER_MASTER_DATA.ILN_USER=PR_ADDRESS.ILN_USER
          AND PR_COMPANY_ITEM_MATCH.ILN_USER=PR_ADDRESS.ILN_LINK
          AND PR_CUSTOMER_MASTER_DATA.SALES_ORG=PR_COMPANY_ITEM_MATCH.SALES_ORG
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_COMPANY_ITEM_MATCH.CLIENT_ID
          AND PR_CUSTOMER_MASTER_DATA.CLIENT_ID=PR_ADDRESS.CLIENT_ID
          AND PR_ARTICLE.SUP_ITEM_NO=PR_COMPANY_ITEM_MATCH.SUP_ITEM_NO
          AND PR_COMPANY_ITEM_MATCH.SALES_ORG=PR_USED_ARTICLE_TEXT.SALES_ORG
          AND PR_ARTICLE.SUP_ITEM_NO=PR_USED_ARTICLE_TEXT.SUP_ITEM_NO
          AND PR_CUSTOMER_MASTER_DATA.LANG_CODE=PR_USED_ARTICLE_TEXT.LANG_CODE
          AND ( PR_COMPANY_ITEM_MATCH.END_DATE IS NULL OR to_date(PR_COMPANY_ITEM_MATCH.END_DATE,'YYYYMMDD') - sysdate > 0)
          AND ( PR_COMPANY_ITEM_MATCH.START_DATE IS NULL OR sysdate - to_date(PR_COMPANY_ITEM_MATCH.START_DATE,'YYYYMMDD') > 0)
    )The own differences i can see is at the "header". In the new one is the NOCOMPRESS LOGGING Option and in the first line the code has the columns diretcly defined.
    But, i think, for my problem this line is determining:
      REFRESH COMPLETE ON DEMAND START WITH sysdate+0 NEXT SYSDATE+1And this line is the same at both server.
    Edited by: David_Pasternak on 12.04.2013 00:06

  • Problems with Street View

    new street view from new google map release shows black screen

    I'm having similar problems with Street View on openSUSE. For the time being you can try to switch back to the classic Google Maps.
    https://support.google.com/maps/answer/3045828?hl=en&ref_topic=3093612

  • View Problems with Starfire 3ds Loader

    Hi all !!
    I am new on developing 3D Applications with Java (only tryed several DirectX Programing with C).
    I've studied the SUN Tutorial of 3D Programming (first 3 Chapters) and now started to load a complex 3ds Object. I've tested several loaders and now the Starfire loader looks like working, because there is no exception during the loading process.
    But the model isn't shown. I've tryed several 3ds models with differend sizes, but nothing happend i only got the black Applet view. I've tryed both loading Objects types, but i still got the same problem.
    I thougt there is a problem with the view distance. Is there a easy way to change the translation like in C? Or is there an other failure I've make? Can someone help?
    Thanks in advanced !!
    Christian

    Christian,
    we have made very good experience with the starfire 3ds loader. I think there is no better one at this point of time.
    The problem might be one of the one described below, distance, size and lights.
    I can offer you to use AniFun3 (http://www.anifun3.de) at your first steps. It is a visual interface to the 3D api and contains the Starfire3DS loader. You can easy change the size, the point of view, lights etc.. on the fly. The graphical user interface is similar to the api. Therefore after successfully importing a file, you can continue either with AniFun3, or manually transfer the values to your source code.
    Regards,
    Oliver

Maybe you are looking for

  • Steps to upgrade SAP B1 8.8 PL10 to 8.81 PL05

    Hi All, Please could someone guide me how to upgrade my system from 8.8 PL10 to 8.81 PL05. I have the downloaded file available with me with a "upgrade" application button. Should I directly click on "upgrade" button in the 8.81 PL05 folder and follo

  • Access pdf files on-line using iPlanet as server

    We are using Sun One Web Server as server. Our system generate files in pdf fomat and this pdf format must be available online. We created a folder inside server machine directory e.g. /var/opt/generatedreports/ .. The pdf files will open once a user

  • Reversal of invoice

    Hi, I have posted one vendor invoice with reference to contract number and that vendor is liable to pay TDS. We have also created the challan for TDS. After that we want to reverse invoice because of cancellation of contract but system will not allow

  • IDOC type issue

    Hi,    A custom IDOC Type is created more than 8 Chars and in Outbound processing MASTERIDOCCREATE FM the EDIDC checks for IDOC type Char 8. Will this effect the processing. As I understand EDIDC table does not store the IDOC type. Please help. Regar

  • How to Disable "F" Keys?

    Hi there, Currently, my F8 key opens iTunes.. I want to disable this because some of my other software (Reason 5) requires this key to open certain windows etc.. How can I make it so that the "F" Key shortcuts for reason override those of the Mac OS?