Unexpected Error - Web ADI having more than 800 lines in an invoice.

Hi All,
I am trying to upload an invoice having more than 800 lines through a custom build "AP Invoices WebADI". I am getting "Unexpected Error"; where Error message may be different in each unsuccessful run.
I have tried decreasing the lines step by step; by decreasing 25-50 lines per run. I was able to load an invoice with 450 lines but couldn’t load invoice with 500 lines.
What can be the reason ? Is there any limitation in open interface to load particular number of lines per invoice OR some sort of Web ADI limitation ?
Please advise.
Regards,
MH

Hi Yoonas,
Thanks for your reply.
I have checked the log file and found the issue:
BneBaseSQL.executeQuery:Stack trace: java.sql.SQLException: ORA-01000: maximum open cursors exceeded
I can understand its due to limit of open cursors. Before making change to db parameter I am troubleshooting code if I can find something to close the cursors properly.
One thing I have noticed is that this message is coming, every time (after 450 records), when Web ADI calls Java LOVs to validate the given values. All other code is fine.
I have 8 java based LOVs (java components attached in Web ADI). As per my understanding, during validation of each record, it calls the SQL Code for 8 LOVs hence open 8 cursors for each record. After 450 records, limit of maximum open cursors exceeds hence causing the issue.
What do you think, Is it true in this case? If yes, is there any solution to it ? The thing I am worried about is; how I can control the call of Web ADI to Java LOVs ??
Thanks & Best Regards,
MH

Similar Messages

  • More than 999 line items in Invoice

    Hi All,
    We are having a scenario where more than 999 line items needs to be invoiced in a single billing document. If more than 999 line items are invocied in a single billing document, system can not post the acct document. Our requirement is to create single billing doc for more than 999 and post acct document also successfully.
    Please advise if any one has worked on the simillar issue.
    Thanks,
    Ravi

    Hi,
    You can not do that with 999 line items in one billing document, the reason is the line items limit in the accounting document, because one line item of billing document must generate two line items (D&C) in the accounting document, although you can maintain the max 999 line items in billing document, but actually the max line items of billing document is 499.
    So the other line items more 499 must be generate in a new billing document! Hope can help you understand the scenario.
    Regards
    Tao

  • How can I print more than 16 lines in an invoice PLD

    Hello, Im currently using SAP 2007 SP1 PL09.
    I cannot print more than 16 lines in my PLD invoice. I have tried making the repetitive area longer, making the end of report and the page footer shorter, I tried setting the "lines in repetitive area" to 50 and I also increased the max rows per page and the only thing that seemed to work was setting the "print with vertical compression" in the invoice print preferences to a value under 100.
    is this the only way I can solve my problem?
    Thanks,

    Hello neito
    Jst increase the height of the layout go to doucment properties change the height there to 1200 and see u can get more than 26 records per page
    Regards Jenny

  • Project Server 2013 : Edit "In Browser" more than 500 line throws "An unexpected error occurred" Error, something went wrong.

    Dear Experts,
    I have got Project Server 2013. These projects are migrated from 2007 to 2010 and to 2013. All the functionality working fine as expected, But few schedule got more than 500 lines of Task, We are unable to "Edit" those projects "In Browser".
    We have tried in both IE and Chrome, When you try Edit it throws error "Something went wrong, I checked the co relation Id in the logs. I get the below,
    02/09/2015 15:08:32.84
    w3wp.exe (0x16D8)
    0x04EC 0xB217023
    ahjqp High
    [Forced due to logging gap, cached @ 02/09/2015 15:08:32.70, Original Level: Verbose] SQL connection time: 0.0809460420248942
    75f5e79c-783e-a090-5f32-f52e977a9b62
    [Forced due to logging gap, cached @ 02/09/2015 15:08:32.85, Original Level: Verbose] The SecurityTokenServiceHeaderInfo including the correlation ID was added.
    Batch request was created without a batch name, specify a batch name for better telemetry. 
        at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) 
        at System.Environment.get_StackTrace() 
        at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.GetSqlBatchRequest(String batchName) .....
    [Forced due to logging gap, cached @ 02/09/2015 15:08:33.89, Original Level: VerboseEx] PWA:, ServiceApp:Project Server Service Application... 
    the above error repeated more than 100 times
    Same thing goes to the below error also
    Entering Function=TTaskTable::GetElemProp   DynamicLogging triggered SessionID = {EE8AD295-E5AD-E411-943A-005056A95E5E}
    Leaving Function=TTaskTable::GetElemProp returning HRESULT:8C010003 SessionID = {EE8AD295-E5AD-E411-943A-005056A95E5E}I really appreciate and thank for
    the support. Thanks
    Jacob Michael

    Hi Jacob,
    Have you tried re-publishing the projects from MS Project and see if that helps?
    500 tasks are quite a lot for the browser to deal with; I usually recommend switching to MS Project when you have that number of tasks for a project
    Paul

  • Syntax issue when having more than 20 warnings

    Hello,
    when having more than 20 warnings in a compilation unit (package, procedure ...),
    SQL Developer ( version 1.5.0.53)
    doesn't always flag an error (like, for example, a misspelled local variable),
    so instead of a compile-time error a runtime error is generated.
    I tried to reproduce the situation and here is a simplified case where i've
    encountered the same error.
    Best regards
    Alexander Andris, Prague
    [email protected]
    CREATE OR REPLACE
    PROCEDURE PROC AS
    l_arg1 pls_integer;
    l_arg2 pls_integer;
    -- declarations which issue PLW-07204 warnings ...( 20 or more ...)
    cursor c1 is
    select sysdate from dual
    where trunc (sysdate) = trunc(sysdate);
    cursor c2 is
    select sysdate from dual
    where trunc (sysdate) = trunc(sysdate);
    cursor c3 is
    select sysdate from dual
    where trunc (sysdate) = trunc(sysdate);
    cursor c4 is
    select sysdate from dual
    where trunc (sysdate) = trunc(sysdate);
    cursor c5 is
    select sysdate from dual
    where trunc (sysdate) = trunc(sysdate);
    cursor c6 is
    select sysdate from dual
    where trunc (sysdate) = trunc(sysdate);
    procedure proc1 is
    begin
    null;
    end;
    BEGIN
    l_arg_notdef := 42;
    -- next line would not be displayed.
    dbms_output.put_line (
    'Error in SQLDev 1.5.0 - error on the assignment line not flagged '
    || ' by the compiler when preceded by > 20 warnings ...' ||
    ' (Error not shown in navigator.Same behavior also in SQLDev 1.21 ...).');
    -- So, when lines 5 - 23 are commented out then line 31 is flagged as an
    -- error (PLS-00201), otherwise not (runtime error only).
    -- When working on a large package with more than 20 warnings and a lot of
    -- code, to find an error like a misspelled local variable one would need to
    -- a different IDE.Hope it is not difficult to fix this quickly ...
    -- Details:
    -- client platform: Windows XP
    -- SQLDev: Version 1.5.0.53 Build MAIN-53.38
    -- db.: Oracle 10.2 on Windows
    END PROC;

    Unfortunately, that's the intended behaviour.
    After complaining about errors not being reported in previous versions, they did add the "Only first 20 issues are reported" warning, but unless you know that can happen, almost nobody will notice.
    I keep advocating for reporting errors on top, next any warnings, until having used up the 20 spaces. If necessary, they could compile first with warnings turned off, then again with warnings turned on.
    I don't think I ever put a request for this on the SQL Developer Exchange, so take a look there if you're up for it.
    Also mind you can turn the warnings off yourself inside the preferences, so they won't bother (nor help) you again.
    Regards,
    K.

  • Startup issue when having more than one database on machine

    Startup issue when having more than one database on machine:
    I’ve installed two databases.
    When I shutdown one of the database and try to start it up using
    Startup pfile=’…location..’;
    I get ora-12514: TNS: listener does not currently know of service rquirest in connect descriptor
    when I try it again after 3 seconds, I get a new error, ora-01041: internal error. Hostdef extension doesn’t exist
    Shutdown and Startup gave no problems when I had one database. Why am I getting problems when I have two databases?
    I’m using: show parameter pfile|spfile; to make sure I have the right parameter locations, so the error shouldn’t be from location.
    I’ve never installed two databases on one machine, so maybe I’m making a first-timer’s error.
    Anyone know how to get this working, i.e. starting and stopping DB without issues?
    Using oracle 11gR2 on Windows 7 64bit, all is working normal.
    Thanks,
    Ayman
    Edited by: aymanzone on Jun 15, 2011 9:27 AM

    aymanzone wrote:
    my oracle_sid is set to the name of one of my databases
    echo %oracle_sid%
    shows me the name of my first database.
    Still not working though.
    When I start the services of both databases using Services, I can connect and run queries from both of the database.
    Edited by: aymanzone on Jun 15, 2011 11:47 AMFirstly ... the Oracle Service for the instance should be started for the DB you are trying to connect or start.
    Next ... from the command prompt:
    set oracle_sid=<Instance_Name>
    sqlplus sys as sysdba
    startup pfile='location of the respective db pfile'
    Now, if you want to start or connect to another DB which is on the same server (again assuming the Service is STARTED) ...
    From the same command prompt session or other ....
    set oracle_sid=<Other_Instance_Name>
    sqlplus sys as sysdba
    startup pfile='location of the respective db pfile'
    Edited by: Srikanth on Jun 16, 2011 12:27 AM

  • LSMW error: Field name '' used more than once in file"

    Hi,
    I am doing a sample vendor master load with LSMW but while reading data I am getting an error
    "Field name '' used more than once in file
    'C:\Users\sdurgia\Desktop\LSMW\MM\vendor_master_te
    s'."
    Not getting proper reason.Can you please guide?
    Urgent please help.
    BR
    Sumeet

    Hi,
    FYI.
    LIFNR
    BUKRS
    EKORG
    KTOKK
    NAME1
    NAME2
    SORT1
    SORT2
    STREET
    HOUSE_NUM1
    STR_SUPPL1
    STR_SUPPL2
    CITY2
    CITY1
    REGION
    POST_CODE1
    LAND1
    TAXJURCODE
    PFACH
    PSTL2
    REMARK
    TEL_NUMBER
    TEL_EXTENS
    MOB_NUMBER
    FAX_NUMBER
    FAX_EXTENS
    SMTP_ADDR
    DEFLT_COMM
    KUNNR
    VBUND
    KONZS
    BEGRU
    STCD1
    STCD2
    STCD3
    STCD4
    SCACD
    SFRGR
    DLGRP
    BANKS
    BANKL
    BANKN
    KOINH
    BKONT
    LNRZA
    XZEMP
    AKONT
    ZUAWA
    FDGRV
    BEGRU1
    QSSKZ
    QSZNR
    QSZDT
    ALKTN
    ZTERM
    TOGRU
    REPRF
    KULTG
    ZWELS
    ZAHLS
    LNRZB
    HBKID
    TOGRR
    EIKTO
    WAERS
    ZTERM1
    INCO1
    INCO2
    EIKTO1
    WEBRE
    XERSY
    XERSR
    VSBED
    NAMEK
    J_1IPANO
    QLAND
    LFBW-QSREC
    XVERR
    FYTYP
    STCDT
    BKREF
    4000048674
    2550
    M004
    DHL EXPRESS (USA) INC
    PAY
    4000069273
    PO BOX 4723
    HOUSTON
    TX
    US
    77210-4723
    CONTAC: IRMA MURILLO
    800-225-5345
    281-874-0678
    [email protected]
    94-3380425
    US
    11000536
    999999
    ACCOUNT HOLDER
    221300
    1
    AP VEND
    Z011
    X
    T
    B
    USD
    Z011

  • Export a BO  report to excel having more than 65500 rows

    Post Author: noble
    CA Forum: .NET
    Please let me know what are the different options available to export BO report having more than 65500 rows to excel 2003.

    Post Author: amr_foci
    CA Forum: .NET
    i think excel will not be able to handle all that records , you can devide your report into some tabs based on a specific condition for every tab, so when you export it to excel you will get many tabs as was exist in the the Business Objects report
    good luck

  • Logical table having more than one Logical table sources

    Hi ,
    Is it possible a logical table has 2 logical table sources and there is no join between the underlying table of logical table sources?
    What will happen if we create the request which contains one attribute from each source?
    Will BI server return records with Cartesian join?
    Is it mandatory if logical table is having more than one logical table sources(exp. Logical table sources are X,Y and underlying table is A,B respectively),
    The underlying tables (A&B) must be joined ?
    Can someone explain the logic behind the logical table sources? How does it work?
    Any reference of document will be appreciable.
    Thanks,Ashish

    Hi Stijn,
    Thanks for response.
    You are saying that Oracle BI server will run a query against both tables and combine the results. But if there is no possibilty of any type of join, how BI server will combine the results from both tables.
    I have a scenario like below -
    Suppose i have 2 tables A and B at physical layer. Both table contains the information of any common subject area.
    But there is no attribute is common between A and B so not any kind of join possible between two.
    Now if i create a logical table with 2 logical table source A and B and create any request having one column from A and one from B ,
    What will happen? How BI server will combine the result? Will BI server not result records after Cartesian join.
    How can i model this scenario?

  • How do I save a a web address in more than one bookmark folder?

    I often want to store the address of a web address in more than one bookmark folder. Sometimes I know this when I first decide to save the address; other times I find I want to 'copy' an already stored bookmark in a second folder. I've struggled through the Firefox Help on bookmarks to uncover how to accomplish this -- but (as with so many online computer Help sections!) have been unable to find an answer to what is, obviously, a basic question!

    You can copy a bookmark from one folder and paste it in another folder to have a copy in more than one folder.

  • In which IT To Date is not allowed & not having more than one record

    Hi all,
    Could you please tell me "In which IT To Date is not allowed & not having more than one record ?"
    Thanks in advance
    Regards,
    Asiya

    Hi,
    Just go through IT0003 and see if it fulfills the requirements or not.
    Param

  • Hi anyone please help .. i am facing issue with acrobat 11 pro version, in acrobat 7  we are able to compare 2 pdfs which are having more than 1000 pages but in acrobat 111 pro it not possible , if try do so acrobat will unresponsive.. please let me know

    please let me know how can resolve this issue... how can i compare 2 pdfs which are having more than 1000 pages.
    Acrobat

    please let me know how can resolve this issue... how can i compare 2 pdfs which are having more than 1000 pages.
    Acrobat

  • Trouble with the SQL smt to :list tables having more than 1000 rows

    Please I trying to list only tables having more than 1000 rows, but the sql stmt below doesn't work, can someone gives me a tips
    select table_name from user_tables where table_name in ( select table_name from user_tables where rownum > 1000 ) : The result is no rows!
    But I know that I have at lest 50 tables having more than 1000 rows
    Thanks a lot for the help

    If your tables are reasonably analyzed, then you can simply query:
    SELECT table_name,
           num_rows
      FROM user_tables
    WHERE num_rows >= 1000This will give you quite a reasonable estimate.
    Otherwise you have to go for dynamic sql or use the data dictionary to help you generate suitable scripts ....

  • Is it possible to display spool having more than 50 pages?

    Hi All,
    Is it possible to display spool having more than 50 pages?
    Standard SAP transactions like SP01/SP02/SM37allows till 50 pages if i am not wrong!
    Thanks,
    Vinod.

    in the setting of any spool I selected 10000 pages as the last page... I dont have spool to check and see if it really displays all 10000 pages.
    sp01> getin into some spool > hit settings buttons on the top.

  • Accessibilty tproblem with document having more than 50 pages

    If a tagged document has more than 50 pages, accessibility does not work.
    You need to change the settings in the wizard - set more than 50 pages.
    Question: I have a document for the customer. Is it possible this option to save the document? Do I need to change it on any computer with Acrobat? What about the documents having more than 50 pages?

    in the setting of any spool I selected 10000 pages as the last page... I dont have spool to check and see if it really displays all 10000 pages.
    sp01> getin into some spool > hit settings buttons on the top.

Maybe you are looking for

  • How to delete photos that are "saved images" on iphone 5?

    No iCloud Win7 Professional iPhone says 1631 pix, 88 vids, and 12GB Camera roll says 773 photos, 9 vids iTunes says 1719 pix, along with 12 GB used I have individually deleted massive numbers of pix.  Not a problem; just can't get rid of the "remnant

  • The sign in to icloud keeps coming in and i can not do anything even i put my password

    in my i pad sudenly the sign in to icloud start to pop in to my screen, and i can not do anything even i am writing my password

  • Help - Adobe Photoshop Starter Edition 3.2 - Unlocking

    Hi, I know there are alot of questions on here about the same thing but I need some help!. I have lots of photos in the starter edition which is asking me to register but will not connect to the internet and I just can't get them out. I have looked e

  • Voltage out from parallel port

    Hi there, I want to use the parallel port to run a relay. I do not understand the example given by labview. I also read the forum but I did not see what I am looking for. I am kindly asking if some one can write a small program ( I use labview 8.5) s

  • BO -  Problem to connect through windows client

    Server OS: Windows Server 2003 SP2 BOE Version: XI Release 2 Client SO: Windows XP Professional SP2 DB: Oracle 10 v 10.2 Problem: I have a BOE XI Release 2 installed on a server and if I try to connect via WEB everything is perfect but when I try to