Wrong results in URL iview and overview of URL parameters

I have created an URL iView that is supposed to query an index and return results. I am using the URL:
/irj/servlet/prt/portal/prtroot/com.sap.km.cm.service
and added following URL parameters:
StartPage=SearchPage
ConfigFileName=Navigation.xml
layoutSetMode=exclusive
ResourceListType=com.sapportals.wcm.SearchResultList
SearchType=quick
QueryString=marketing
SelectedSearchIndices=KnowledgeBase
The problem that I have is that the iView returns the second page of results (11-20) instead of the first one (1-10). When I hit the Search button again the result is the first page of results.
Does anyone have experience with this problem?
I've searched SDN on an overview of URL parameters (for example a parameter to specify the number of results to be shown on a page) to solve this problem, but couldn't find anything. Does anyone have an overview on URL parameters?
Thanks in advance!
Kind regards, Hilco

Hi,
Please check if the iView properties are as per properties mentioned in this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/4c/eee2bedf3b4082b14a933e5ee63472/frameset.htm">link</a>.
Regards,
Sujana

Similar Messages

  • URL iViews and frames

    Hi experts,
    I created a new url iView and placed it into a portal page. The Web Page that is associated to the url iVew is displayed correctly. The problem is that the page uses frames with links included that are target="_top". When I click those links the page takes the whole browser window. Nothing is left from the portal, but I want the page to be displayed in the portal framework inside the iView. The iView is configured to be displayed in portal framework.
    Does anybody have a hint for me? Do I have to modify the target Web Page? Or is it the urliView?
    Is ist possible to develop a web Dynpro app which meets my requirements, so that this could be a workaround?
    Thanks in Advance!

    Hi Wang,
    Pls see the below links,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/70/5a3842134bad04e10000000a1550b0/content.htm
    Application Integrator
    Hope this is useful for u.
    Thanks,
    Raags

  • Content Search Web Part displaying wrong Results for anonymous Users.

    HI Forum Group,
    I am getting Wrong results for my content search web part. The requirement is to show the News Description for the selected news item.
    I have a catalog site which stores News like 
    News1
    News2
    News3
    as Items. and i have connected this catalog in publishing site which is anonymous. In the publishing site created one page "News.aspx"added search results webpart which shows all the news item. Added one page "Description.aspx" to show
    description to show the selected news item.
    When ever user selects any news from news.aspx page it will redirected to description.aspx with the selected item ID
    The "Description.aspx" the search results page gets the data based on the URL by QueryString parameter as shown below
    The problem is, if i multiple items to open in tabs all the items are showing the data same as the first selected item, though the article ID is different.
    Thanks
    Sithender

    Hi,
    Thank you for your feedback on how you were successful in resolving this issue.
    Your solution will benefit many other users, and we really value having you as a Microsoft customer.
    Have a nice day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Standard iview and custom iview

    Hi,
    Have any one tried developing a custome MDM iview which displays the record details on click of a record in standard Result Set iview?
    There is a section in portal content development guide called "Configuring Data Exchange (Eventing)" which deals with this scenario.
    Please share your experience on the integration of Standard iview and custom iview.
    I have already gone through the sdn article on "Integrating MDM Item Details iView into a WebDynpro Application".
    Thanks and best regards,
    Arun prabhu S

    Custom Event Name - EPCFgetRecordByIds
    Any name will do here, so this is fine
    Event Type - EPCF ; Record Event
    Correct again
    Target (URL or Event Name) - getRecordByIds
    Again,... Any name will do here (this is what you will use in the wdDoInit to subscribe to)
    Namespace - urn:com.sap.pct.mdm.appl.masteriviews (?. not sure abt this)
    Though it should not cause an issue I would use something else, this might interfere with the standard iViews events (though they will probably have different event names). You should be able to just come up with your own namespace here
    Auto-Fire on Row Select - Yes
    Correct
    Parameter Format - Standard
    Correct
    Mapped Field - Record ID
    Here you select all fields you like to know the values of in the action-method of your webdynpro. Most likely this is record id or some other unique identifier of the record.
    Parameter name - ?
    Just give any parameter name. You will use this name to find that specific parameter in the string of your action method.
    I want the MDM record id of the selected record as an input.
    This is in the string if you configured the iView as above. Just print it to the screen on the action method.
    Can you please help me tell me how the record id gets passed from standard iview to custom iview?
    That should already happen by the subscribing to the event you did in the wdDoInit. Welcome to the wonderful world of eventing
    Jurjen

  • OWA iViews and EP - configuration problem

    Hi All,
    since EP60 SP2 P3 HF3 there are several OWA iViews under
    Collaboration folder. According to SAP note 739911 alias of portal
    user and exchange user (or exchange mailbox) MUST be identical to
    connect to OWA.
    Using Application Integrator "HOW TO..." I've tried to break this
    condition above. But it does not work OK.
    1. I've created Exchange system with UIDPWD logon method
    2. I've mapped portal login with exchange login (in my case these are
    not identical...)
    In OWA iView Calendar:
    3. I've set property system to above created system
    4. I've set property URL Template to
    http://owa.orion.myorg.org:81/Exchange/<Authentication>
    5. I've set property "URL template fraction for user mapping" to <MappedUser>/Calendar/?cmd=contents
    Test user has: Portal login: test ; exchange login:test_exchange
    Preview is blank. But...when I saw properties of page link to OWA was
    correct:
    http://owa.orion.myorg.org:81/Exchange/test_exchange/Calendar.
    When I copied this link to new window -> result was OK.
    Where is the problem?

    Hi Eric,
    I think I've found the solution.
    1) Download the com.sap.portal.appintegrator.sap
    2) Inside .par file try to find:
        PORTAL-INF\portalapp.xml
    3) Add extra lines:
         <!-- RequestMethod -->
         <property name="RequestMethod" value="GET">
            <property name="personalization" value="none"/>
            <property name="inheritance" value="final"/>
            </property>
    under G E N E R I C part of file.
    4) Find PORTAL-INF\Property\Generic\SSO-Layer.properties
    5) Add at the end of file extra lines:
    RequestMethod
       #RequestMethod = <no value>
       RequestMethod.type=select[GET,POST]
       RequestMethod.default=GET
    6) Using Support>Administration Console upload .par file again into EP.
    7) Check the result of OWA iView preview.
    In my case it helped!
    Regards,
    Marek

  • Creating iView for WD ABAP application - Handling URL parameters

    Hi,
    I have a Web Dynpro ABAP application with me for which I have to create a iView in portal.
    This application has certain parameters to be passed via application URL.
    How do I take care of these URL parameters when iView is called?
    Thanks and regards,
    Amey

    Hi Sandip,
    I have created an iView for WD ABAP application.
    But for some unknown reason, it just displayed a tiny cross symbol while previewing it.
    Here are the properties of iView I created :-
    Authentication Scheme = basicauthentication
    Application Name = ZPLdaApp
    Application Parameters = dp=2&tn=ZGLTCO_ATTCH&so=ZGLTCO_ATT&dt=ZLDA_TCO&in=WD_ABAP_TEST
    System = mysap400
    Web Dynpro Client = Windows client
    Any idea what is going wrong here?
    Thanks and regards,
    Amey

  • WebService returning wrong result

    Hi All,
    I am trying to write a webservice but somehow getting wrong result. Not sure where i am going wrong. I am seeing following in logs -
    Request envelop -
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <Multiply xmlns="http://tempuri.org/">
    <A xsi:type="xsd:float" xmlns="">40.0</A>
    <B xsi:type="xsd:float" xmlns="">20.0</B>
    </Multiply>
    </soapenv:Body>
    </soapenv:Envelope>
    Response -
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><MultiplyResponse xmlns="http://tempuri.org/"><MultiplyResult>0</MultiplyResult></MultiplyResponse></soap:Body></soap:Envelope>
    This is a webservice available online url - http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService/VB/MathService.asmx?op=Multiply
    Please HELP!!! Thanks in advance.
    -Tarun

    send this and write the results...
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
              <m:Multiply xmlns:m="http://tempuri.org/">
                   <m:A>3.14159E0</m:A>
                   <m:B>3.14159E0</m:B>
              </m:Multiply>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • The Web Dynpro application was called up with the wrong URL parameters

    Hi all,
    I am using the systems below:
    ERP STACK :16
    EHP : 4
    EHP SP Stack :4
    EA-HR * : 604(SP12)
    SAP-HR * :604(SP12)
    XSS JAVA components : SAP ESS 603 SP05
    SAP MSS 600 SP16
    PCUI_GP 603 SP05
    Business Package : BP ERP05 ESS 1.41 SP04
    BP ERP05 MSS 1.41 SP04
    BP ERP05 COMMON PARTS 1.41 SP04
    I am getting below error after clicking on the appraisal document:
    App. Called Up Incorrectly
    The Web Dynpro application was called up with the wrong URL parameters.
    Note
    Enter the URL parameters and their use.
    You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
    I already applied the below notes also:
    1468466 Performance Management Launchpad Configuration
    1463821 Performance Management Portal Configuration
    1416756 OBN Configuration in Performance Management
    1408243 Configuration for object-based navigation
    Plz advise me??
    Thanks,
    Anumit

    can you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!

  • MDM Custom Iview and Standard Iview Portal Eventing

    Hi
    I'm trying to develop a custom iview which updates a Standard MDM Result Set iview:
    I found this documentation:
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/c87cfd43e56f75e10000000a1553f6/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/12195312-0e01-0010-a392-debbd32e39d4
    So i created an iview which raises this event
    WDPortalEventing.fire("urn:com.sap.pct.mdm.appl.masteriviews","updateSearch","ID=115551&RefreshSearch=True");
    Then i upladed my code in the portal, created a new iview and put it in the same page with a Result Set iview. During testing when i rise the event form the custom iview, the standard Result Set catch this event but instead of update it gives the following error:
    Error occurred: Error performing search. com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter,  com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter (see log for details)
    In SDN there is a thread with the same problem (Search Standard iView + Search Custom iView) which is not solved.
    Can somebody help me ?

    sorry, I have same task and tried same code for my alias, table and field.
         WDPortalEventing.fire("urn:com.sap.pct.mdm.appl.masteriviews",
                   "updateSearch",
                   "MDMSystemAlias=NSI_PRODUCTION_ALIAS&MDMTableName=Assets&R3Code=411000000000000006&RefreshSearch=True");
    I fire event  (for my alias, table and field)
    but not any resultset or Current Search on page is catching this search.
    please provide which options  must be set made for views on page so that result set to be updated,
    I hope this may help
    does it need to add some custom event to result set?
    thanks
    Edited by: Ivan Ivanov on Aug 21, 2009 3:49 PM

  • Help with URL Parameters and HTML DataSet please.

    Hello everybody!
    Looking at the example page: "Using URL Parameters to Control Data Regions", towards the bottom it gives an example of "Set by Product Name", from an XML DataSet using the following sample code:
        //Data set for the second example. var ds2 = new Spry.Data.XMLDataSet("../../demos/products/products.xml", "products/product");    //If the URL parameter 'product' has a value, set the XPath that includes a filter and then load the data. if (params.product){    ds2.setXPath("products/product[name = '"+params.product+"']");    ds2.loadData(); }
    Can anyone please explain how to amend this to work with a HTML Dataset rather than XML?
    The first example on the page (Set by RowID) works unchanged for the HTML DataSet, but I don't know what I should replace the 'setXPath' line with.
    I see this has been asked before, but I'm afraid I can't find any answer that works (or, more often, that I can understand properly!)
    Grateful for any suggestions.
    Len

    Wow! Thanks Ben.
    I hadn't thought about using Stacked Containers.
    I'll test this out tonight and let you know how I get on.
    Cheers,
    Len
    A few days later and at last I've been able to test your suggestions.
    I think I must be doing something wrong as the links and content don't work at all:
    http://www.myosanthe-bernhard-huber.com/html/stack1.php
    I know that the stacked containers do work (http://www.myosanthe-bernhard-huber.com/html/stack0.php), so I guess there are some errors in the coding somewhere.
    Would you mind reviewing, please?
    The important thing for me (in this case, anyway) is to get the called page's content using its 'Ref', and I'm not sure what benefit there is in using stacked containers as opposed to master-detail containers.
    The master-detail method works reasonably well for me at
    http://www.myosanthe-bernhard-huber.com/html/fotoalbum.php and sub-pages.
    Perhaps I am betraying my lack of knowledge, but as I said in my original post, I think that I just need the HTMLDataSet equivalent to:
        //Data set for the second example.
    var ds2 = new Spry.Data.XMLDataSet("../../demos/products/products.xml", "products/product");
       //If the URL parameter 'product' has a value, set the XPath that includes a filter and then load the data.
    if (params.product){
       ds2.setXPath("products/product[name = '"+params.product+"']");
       ds2.loadData();
    which as you can see uses an XMLDataSet, but does exactly what I need.
    (see http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.html)
    Thanks again for your help, Ben.
    Len
    Message was updated by: ec1lennie

  • NOT IN operator giving the wrong results

    DB version:10gR2
    Why is NOT IN giving the wrong results. Isn't NOT EXISTS operator a flawless alternative to NOT IN?
    create table my_table1 (col1 number);
    insert into my_table1 values (1);
    insert into my_table1 values (2);
    commit;
    create table my_table2 ( col1 number);
    insert into my_table2 values (1);
    commit;
    select * from my_Table1;
           COL1
              1
              2
    select * from my_table2;
           COL2
              1
      --correct result
      SELECT * FROM my_table1 t1 WHERE NOT EXISTS
    (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1)
           COL1
              2
    ---correct result using IN
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
           COL1
              2
    Inserting a NULL to my_Table2
    Now the query using NOT IN is returning wrong results.
    insert into my_table2 values (null);
    commit;
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
    no rows selected
    Query using NOT EXISTS is still giving the right results.
    SELECT * FROM my_table1 t1 WHERE NOT EXISTS
       (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1);
           COL1
              2

    ScottsTiger wrote:
    can i use NOT EXISTS(with a proper Co-related subquery) as a safe alternative to NOT IN?Depends on your data and what you need to achieve.
    Personally I avoid using NOT EXISTS or NOT IN if I can really help it.
    My preferred method is to outer join the tables together and then remove any resultant rows where a value exists and I didn't want one. ;)

  • IView and system admin objects appear changed or not registered when transported

    Hi,
    Recently we moved a few objects - iViews, pages and roles as epa and system admin objects as config archive and imported them manually to Test system. But when checked in the next landscape, the iView properties appear different. Eg. In Development system, the iView was unchecked for visibility option i.e. iView should not be visible. But when transported to test system, the property was checked and gave error. On reimporting, the same thing happened and we had to manually correct the property. This is not an expected behaviour and manual changes are not to happen after development changes.
    Similarly, though config archive import showed the 2 new system objects in the respective location of Test system, the expected functionality was not working. I checked this by deleting one of them and manually creating the same entry and it worked fine. So I also had to delete the 2nd one and create a manual entry. The system admin objects we used pertained to System Configuration  --> Content Mgmt--> Form Based Publishing --> Forms Availablity --> Folder Settings
    We also moved kmcs and they are reflecting properly with correct folder permissions.
    We don't understand why this is so occurring (iView and system admin entry appearing different or not getting registered )and never experienced such a case in previous projects. We don't want to face the issue going forward when transporting changes to staging and Prod systems.
    Please assist as to what went wrong or any probable cause and solution for same.
    Thanks,
    Janani

    Hi,
    Has anyone faced such a situation before and know the reason for same ?
    Regards,
    Janani

  • Wrong results for context search on empty element tags

    I'm using Oracle DBMS 11.1 and 11.2 and created a context index on an XML column (section group: PATH_SECTION_GROUP).
    When entering a query like
    SELECT count(*) FROM my_table t WHERE contains (t.co_xml,'hasPath(/tag1/tag2)') > 0
    I get wrong results if tag2 is an empty element tag (<tag2/>) that appears somewhere within the
    XML instance, but NOT directly under tag1.
    E.g., the following XML instance is found (but shouldn't!):
    <a>
    <tag1>bla<tag3>bla</tag3></tag1>
    <tag4>bla<tag2/></tag4>
    </a>
    This seems to happen only for empty element tags. Is this a known bug and does anybody know a workaround?
    Thanks in advance for your help!
    Roman

    I am unable to reproduce the problem. Can you provide a copy and paste of an actual run, including create table, insert data, create index, and select, as I have done below?
    SCOTT@orcl_11g> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE     11.1.0.6.0     Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SCOTT@orcl_11g> create table my_table
      2    (co_xml     xmltype)
      3  /
    Table created.
    SCOTT@orcl_11g> insert into my_table values (
      2  xmltype ('<?xml version="1.0"?>
      3  <tag5>
      4    <tag1>bla<tag3>bla</tag3></tag1>
      5    <tag4>bla<tag2/></tag4>
      6  </tag5>'))
      7  /
    1 row created.
    SCOTT@orcl_11g> create index my_idx
      2  on my_table (co_xml)
      3  indextype is ctxsys.context
      4  parameters ('section group ctxsys.path_section_group')
      5  /
    Index created.
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag2)') > 0
      4  /
      COUNT(*)
             0
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag3)') > 0
      4  /
      COUNT(*)
             1
    SCOTT@orcl_11g>

  • Wrong result in Web Intelligence Report

    Post Author: shriram81
    CA Forum: WebIntelligence Reporting
    When I run a query for web inteeligence documnet I receive a wrong result. But when I run the same SQL query in SQL analyzer of MS SQL server I get correct result.
    e.g. I get the same value of measure object against different dimension in web inteeligence report but I get correct values of measure when I run the query in query analyzer on SQl server
    Pl guide me to get correct result in Webi

    Post Author: GregPye
    CA Forum: WebIntelligence Reporting
    Are you copying and pasting the query from WebI into SQL Server? Seems a bit odd, as the SQL should be sent to SQL Server to run...
    I would check the report level settings, such as filters, or what have you... also check that there aren't more than one SQL query being run in WebI that you haven't noticed...
    Cheers

Maybe you are looking for