Problem while restricting onfoprovider with variable

Hi All.
I have a scenario where i have to restrict the infoprovider(Data package field )in the characteristic restrictions with an variable.But iam unable to restrict it and iam getting the following error.
Unhandled exception has occured and also Index was out of range.Must be non-negative and less than the size of the collection.
please guide me accordingly to solve this.
Regards
Amar.

Hi Karthik,
The problem is that this query it´s not suposed to have any navigation, because it will be used as a data provider in WAD, so it must run without any user interaction(to select the period again, for instance).
There´s some place that I would check the standard exit?
Kind Regards,
Tomas Prusaczyk

Similar Messages

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • Problem while uploading data with GUI UPLOAD Function

    Hi,
      I am facing problem while uploading data with FM GUI UPLOAD    in out text file there are 7 row  but after the FM GUI UPLOAD  there are 14 entries are coming in Internal table   and each alternate row is coming as blank  with  0000 in some column   in internal table first row is proper and second line is blank so on.
    what can be the problem .
    The program in which we are using this we are using it from last 2 year but we are facing problem today only.
    regards,
      zafar

    Hi,
      The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change  in the file formate.
      So waht can be the problem  to check any inconsistancy in system  i have develop a samll program fro  uploading a text file with same function module ,  but it is working fine.
    regards,
      zafar

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • Restricting 0CALMONTH with variable 0RSTTCM1

    Hi,
    I´m facing a problem with standard variable 0RSTTCM1 while restricting 0CALMONTH.
    When I execute some query it´s not working, instead of current month, 0CALMONTH shows "#".It´s happening for WAD, Designer and Analizer ...
    Ist there any aditional step?I´m using BW 2004s.
    Thanks in advance,
    Tomas

    Hi Karthik,
    The problem is that this query it´s not suposed to have any navigation, because it will be used as a data provider in WAD, so it must run without any user interaction(to select the period again, for instance).
    There´s some place that I would check the standard exit?
    Kind Regards,
    Tomas Prusaczyk

  • Problem while reversing allocations with KEU5

    Dear Experts,
    we encounter some problems when reversing allocations with KEU5 (using KSU5 in the background). When doing so all 4 update processes will be occupied by the system on our 2 servers. Which means that the systems is blocked. 
    Thanks in advance for help and best regards
    Melanie

    SAP OSS Says the following
    This is not a program
    error and completely correct
    behaviour. Nevertheless, I would like provide the following
    recommendations which could possibly reduce workload/improve the
    runtime in the transaction KEU5:
    1. Please make sure that
    the flag for 'detail list' is not activated.
    If the option 'detailed list' is selected, a detailed output list is
    created for every segment. This takes up the largest amount of time
    during the process.
    2. Ensure that the Summarization that you use are updated on a regular
    basis, daily if possible.
    3. Also consider the
    cycles dimensions recommended by SAP (a maximum
    of 50 segments per cycle, a maximum total of 10,000 sender-receiver
    relationships, see documentation). If possible, enter only those
    objects in the cycle that are valid senders or receivers. Consider
    that if, for example, you entered 100 cost centers in a group of which
    only 20 are valid receivers, the complete master data validation and
    database selection is carried out for all 100. See note 79224 and
    130350 for further information.
    4. For the definition of segments and their summary in cycles, you
    should take into account the technical aspects included in note 420081.
    Please take into account that the selection of data is carried out
    from CE3xxxx, CE4xxxx (no effect at this point if you have archived
    CE1xxxx), as explained in note 420081.
    The selection of the reference data can both be carried out from a
    summarization level or from object level (tables CE3xxxx, CE4xxxx).
    In additional , you are
    recommended to perform
    this transaction during the evening/night. This will affect the system
    processes/workload during peak period.

  • Net_PRICE problem while creating PO with BAPI_PO_CREATE1 ***ASAP

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

  • Error while executing Query with Variable.

    Hi All,
    I have written a query to fetch values from some user tables and sap tables. The query is as below.
    select a.docentry,a.u_scname,e.block,e.[City],
    e.[Country], e.[State1],
    e.[StreetNo], e.[ZipCode],
    e.[Building], e.[Cellular],a.[U_WONo], a.[U_DocDate],
    a.[UserSign], b.[LineId], b.[U_Des],
    b.[u_SDes], b.[U_UoM],
    b.[U_Qty], b.[U_Rte],
    b.[U_Tamt], a.[U_PrjName], a.[u_WO_PB],
    a.[U_WO_UL], a.[U_WO_FC],
    a.[U_WO_PYT], a.[U_WO_COP],
    a.[U_WO_TRMT], a.[U_WO_DocSub],
    a.[U_WO_ADV], a.[U_WO_OCondition],
    a.[U_WO_PRPBY], a.[U_WO_RCMBY],e.[CntctPrsn],
    (T4.[WhsName]+ '-' + T4.[Street] +'-' + T4.[Block])  as 'Work Address ',
    T4.[Building], T4.[City],
    T4.[ZipCode], T4.[U_PMCNT],  T4.[WhsName], e.Taxid0
    from [@e360_owor] as a join [@e360_wor1] as b
    on a.docentry = b.docentry
    left outer join
    ( select c.cardname,d.TaxId0,d.Taxid1, c.block, c.[City],
    c.[Country], c.[State1],
    c.[StreetNo], c.[ZipCode],
    c.[Building], c.[Cellular], c.[CntctPrsn]  from ocrd
    as c  join crd7 as d  on  c.cardcode = d.cardcode 
      where d.TaxId0 is not <b>null</b> ) as e
    on
    a.U_SCName = e.CardName 
    left outer join OWHS T4 on T4.[WhsName] = a.[U_Prj]
    where
    a.U_WONo = '[%0]'
    In this code, when the variable is assigned to field U_WONo, then I get an error
    Must Specify A Table To Select From. Statement 'Service Contractors' (OCTR) (s)  could nto be prepared.
    But when the values for variables are hard coded, the query executes.
    I have been working on it from long time, but same error exists. Could anybody help resolve the same...
    I am using SAP B1 2007 B, patch level 15.
    Thanks in advance,
    Regards
    Rohan

    The error messages may be misleading. With complicated queries with parameter request I frequently saw references to service contract (or something other).
    Sometimes SBO does not manage correctly variables in complicated queries and there is a note about the workaround to solve the problem:[Note730960|https://websmp130.sap-ag.de/sap/bc/bsp/spn/sapnotes/index2.htm?numm=730960]

  • HTTPService problems while sending a String Variable to Server

    I have an xml in string form..... I want to send it as an http request to the server, which is written in .NET... server wud make its decession on the basis of this xml and wud return me another xml as http response..
    Problem ---->
    this request reaches server but when i look at the request reached at server it has my client infotmation but does not has my variable anywhere...... i iterate through all the parameters in Request.Params... but I don't find my string at all.... any idea why I can't find my sent variable ???
    Actionscript code to send xmlString to .NET Server using HTTPService:
    public function sendRequest(syncXmlString : String, httpResultHandler : Function) : void {
    try {
       var objectParam : Object = {name:PARAM_NAME, value:syncXmlString };
       var params : Object = [objectParam];
       var httpService : HTTPService = new HTTPService();
       httpService.url = serverUrl;
       httpService.method = HTTPRequestMessage.POST_METHOD;
       httpService.contentType =  HTTPService.CONTENT_TYPE_XML;
       httpService.resultFormat = HTTPService.RESULT_FORMAT_XML;
       httpService.addEventListener(ResultEvent.RESULT, httpResultHandler);
       httpService.addEventListener(FaultEvent.FAULT, httpFaultHandler);
       httpService.send(params);
    } catch (err : Error) {
       Alert.show(err.message);
    Thanks and Regards,
    Ahmed.

    No, that is the problem, the request object should not be an indexed array[], it should be an Object{}.  Remove that imtermediate array and pass objectParams in the send()
    Also, don't mess with the contentType without very good reason.
       httpService.contentType =  HTTPService.CONTENT_TYPE_XML;
    that says you are sending XML, but you are not, you are sending the default name=value pairs.  Remove that assignment and leave it at the default "form"
    One more, you do not want that resultFormat, it is the legacy AS2 class.  You want E4X
       httpService.resultFormat = RESULT_FORMAT_E4X;
    Tracy

  • Problems in SQL transform with variable in statement

    Hi,
    I have an sql transform with a variable in the statement. It looks like this:
    SELECT * FROM I.X where I.X.CUSTOMERNUMBER IN ([$variable])
    I have a script running prior which sets the $variable = '\'366800\',\'000933\'';
    (the CUSTOMERNUMBER field is a string)
    The problem is when DI compiles the SQL with the variable value, it is replacing each single quote with two single quotes, and thus turning my list of values into a single string (as recognised by DB2).
    How can I work around this? The CUSTOMERNUMBER field is indexed and the table is very large, so I want to use a very efficient statement to retrieve the data. I'm inserting this data into a different database, so I can't use the sql() function to execute the query and insert the rows into a new table in the same database (don't have authority to do that).
    I also need the sql to be dynamic because the customer numbers required will change from time to time. They're listed in another database and I plan on writing a loop to set the $variable value to contain all values in the lookup table, but I can't use that in a join because its in a different database and would not be efficient.
    Does anyone have any ideas? I'm literally all out, have tried a wide range of things to no avail, and none of my colleagues can work it out either.
    Thanks very much,
    -Steve

    I assume the SQL Transform is used only because of that in-list, not for other reasons....
    In this book page here: https://boc.sdn.sap.com/node/20046 at the very bottom it isdescribed on how to use the pushdown_sql() function in a where clause to add *any* text of your choice into the select statement DI generates. In this example I used a "where exists" but you can easily change the text to
    where key=5 and       pushdown_sql('my_datastore', 'CUSTOMERNUMBER IN ([$variable])')    and gender='M'
    I used the key=5 and gender=M just to clarify the syntax (I hope).
    For the SQL Transform, I wonder if you need the [$variable] syntax as well....

  • Problem while sync iPhone with itunes (with cable)

    hello guys
    i am using iPhone 3GS version 5.1.1,
    whilie i am syncing my iPhone with itunes 11 using cable (or perivious version), a message appears as
    "itune is stop working, please close itune"
    this message appears when itunes is "BACKING UP" the data.
    please help me. i have change three cables also but still issue
    i cannt understand this problem
    thanks!
    i am using windows 7 (64-bit)

    Hey wavymitch,
    I changed my iTunes account email address and Apple ID Sign-in.  My iPhone and iPad 3 keeps bring up my old email address when I go to download any updates to any of the apps on the phone/pad and from there I am unable to log into my Apple ID. When I enter the settings on the devices to view "iTunes & Apps Stores" and then select "View Apple ID" I am once again unable to access with existing password which did not change in iTunes. 
    I appreciate your response and look forward to a solution(s).  Thanks much for your help and patience!

  • Problem while using XML with Oracle

    I have a problem using XML with oracle applications
    The process I am following
    1. Making a XML string.
    2. Parsing it to get a document
    3. Free the parser using xmlparser.freeparser
    4. Traversing through nodes .
    5. Freeing the document.
    The whole Process is executed in batch mode.
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")
    Can you please help me out to overcome this problem
    It's urgent
    I have
    Oracle version 8.1.7.0.0
    XML version 1.2
    OS Windows NT
    To resolve the problem I have increase shared memory size and java initialization parameters ,which seems OK
    Looking forward for your answer.

    Hello, Reena
    Your process flow seems to be correct in term of getting/freeing memory.
    Following error
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")may be caused by memory leaks in xdk or memory fragmentation(due to get/free memory cycle)
    To find out if this is an memory leak issue you could try to monitor V$SGASTAT from one session while running your batch process in another session.
    To prevent (or lower its impact) fragmentation issues try to PIN objects, and adjust java_pool_size and shared_pool_reserved_size.
    Anyway, counsult your Oracle DBA.
    Oracle version 8.1.7.0.0I think, you should apply database patch first of all. The latest one (8.1.7.4.x) could be accured from Metalink.

  • A problem while using Flash with xml

    Hello,
    I made an earlier post about this but wasn't clear, so here are the details & hopefully someone can help
    I wanted to make a news slideshow for my websiteBut I keep getting this error :
    Error opening URL 'file:///F|/files/undefined'
    I think there is something wrong with the xml structure, I've changed it many times but still the same error.
    The link below have both the .fla file & the Xml file.
    Would be really nice if someone could tell me what's wrong & thanks for your time.
    The Link : http://hotfile.com/dl/42252711/2daa8da/News.rar.html

    To me it suggests that whatever the function is that's supposed to get the XML is looking for a hard link (notice the file path in the error) as opposed to a file path relative to the SWF link. Also the "undefined" suggests that the object you're calling for imay be undefined (i.e. Flash has no data about it and therefore can't do anything with it). This is likely the URL string you're passing to the function that's supposed to retrieve the XML. Double check that and make sure the variable for the URL string is defined before the function that needs it calls for it. Hope this helps you troubleshoot whats happening.

  • [File] Problem while creating files with long pathnames

    Hello everybody
    I'm trying to create File objects corresponding to physical files. These files have very long pathnames because they are located in directories tree with large depth. So, my pathname conatins a lot of directories plus the name of the file itself.
    It seems, that there is a limitation in the length of the pathname that I pass to the File constructor because files with small pathnames are OK bu the ones with very large pathnames cannot be created.
    I tried the different File constructors (File(String pathname) and File(File parent, String childname)) but it still does not work. Even if the second constructor is a little bit better as it succeeds on files where the first constructor failed. But still, it's not enough.
    Please Help!
    Thank you
    Hugo

    RESOLVED!
    The problem was from the OS itself (Windows XP) which accepts at most 255 characters long path names.

  • Facing problem while connecting N70 with bluetooth

    I am connecting N70 with my laptop thru bluetooth. But im facing a error msg saying that hardware problem with MODEM.
    do i need to install Modem & if so which one suitable.
    all others application working thru bluetooth expect net connection.
    description:
    Window XP
    Nokia PC suite letest one
    thru blutooth.
    plz suggest. Thanks

    When one installed pcsuites successfully it installed all drivers including the modem, the reasons why it takes sometimes when one is prompted to connect the cable.
    Try to uninstall pcsuite again & run the pcsuites cleaner afterwards then re-install pcsuite. Don't connect the cable until told to so & check. If it does fail again, make a backup & format your phone; is the firmware of your N70 the latest one?
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

Maybe you are looking for

  • Wrapping text around YouTube widget

    Does anyone know how to get the YouTube widget to appear inline? I tried to follow the steps below, which works fine for photos, but can't get it to work with this widget. If it's not possible, is there a workaround? Thanks! To make text wrap around

  • Problem with freevirtualservers host

    i am useing http://www.freevirtualservers.com/ web host and i go to ftp flile that is cpanel and upload my files from dreamweaver to cPanel and it the images don't show up. my website is http;//www.danielcrphotogtaphy.com to have a look at the proble

  • Filling out Website Parameters

    Hello, I had a simple question regarding the connecting to a normal html website using a program written in java. The website I am trying to connect to has two text fields that prompt your username and password, as well as a submit button. <input nam

  • WPF PDF Viewer control

    Dears, I try to open PDF files in my WPF application using AxAcroPDF control .. it is working fine but i need to get the pages count and default zoom i opened the file with Any Ideas .. ?? Thanks in advance

  • Skip Validation

    Hey Guys, I have a bad case that I need a help in it as follow: I'm using RAD 7.5 with WAS 6.1 to develop portlets, in one of my portlets I have a case in which I need to skip validation after I change the value selected in a dropdown menu. I'm using