Log error while clearing inventory document through Li20

HI All,
I have the following issue while creaing inventory document in warehouse level through LI20.
System says Available quantity of material is ZERO while clearing stock in WM. We are able to count this inventory document and status of inventory document in counted. Any suggestions would be of great help.
Thanks

Sorry, I have never heard the term "golden inventory"
L4 147 is "No storage bin selected for clearing"
Can you post a screen shot of your LI20 ?
I am not sure what you want to tell me with "As per note this is side effect if other note is implemented (1849864)."
I had read the note, it is you who have to tell me if you have note 1849864 in your system.
I had just implemented 1939938 and retested the scenario, in general the notes do not hurt, they are meant to fix a problem. Of course they can again have side effects, but with the next support package you get them anyway into your system.

Similar Messages

  • Error while clearing a document.

    Dear All,
    When I try clear from account 2370500 items, which will generate exchange rate differences, I get the following message: Ex.rate diff.accts are incomplete for account 0002370500 currency EUR. The other items can be cleared. Please complete the account 2570900.
    The GL account 2370500 is an Accrued expenses / Other, short-term, external account.
    I've already maintained the OBA1 and OB09 settings for this account, But still I'm getting the error while clearing the account.
    Is it possible through some Valuation reversal in F.05? If yes, Please let me know the detailed procedure for reversal of the document.
    Please help me out in this issue.
    Thanks a lot in advance!!

    Hi,
    I got that field in master data, but I've faced lot of issues as exactly same now,After maintaining the OBA1 settings I always able to post. Do you think maintaing the necessary settings in the master data relating to the exchange rate key I'll be able to clear the documents b'coz previously I've not maintained these kind of settings you're talking about.
    Could you please tell me how it'll affect to my problem after maintainong the necessary settings there?

  • Error while generating the Document...  Bursting Status Report

    Hey all,
    I am getting some errors in a production environment when trying to burst out some invoice data.
    This process has been pretty robust and out of 1000+ invoices a day, I can only find 4 that are failing regularily.
    Why am I mentioning?, just to show that I am thinking this is a data issue, but just cannot see anything that stands out.
    I can take the xml output and run it through my development suite on my local machine and all runs fine.
    Just when it is running live through the db is when it fails.
    Here is the Bursting output that shows the error....
    <?xml version="1.0" encoding="UTF-8"?>
    <BURS_REPORT>
    <REQUESTID>27044820</REQUESTID>
    <PARENT_REQUESTID>27044726</PARENT_REQUESTID>
    <REPORT_DESC>Invoice Print Selected Invoices</REPORT_DESC>
    <OUTPUT_FILE>[$OUT_DIR]/o27044820.zip</OUTPUT_FILE>
    <DOCUMENT_STATUS>
    <KEY></KEY>
    <OUTPUT_TYPE>pdf</OUTPUT_TYPE>
    <DELIVERY></DELIVERY>
    <OUTPUT></OUTPUT>
    <STATUS>fail</STATUS>
    <LOG>Error while generating the Document...</LOG>
    </DOCUMENT_STATUS>
    </BURS_REPORT>
    The problem is that this output doesn't necessarily help, nor can I find any hints in the OPP logs.
    So... the question becomes...
    Any ideas on where I can look to resolve this issue?+
    Or where I can find any clues at, that would possible point at the issue?+
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    BI Publisher 5.6.3
    Thanks
    Hayden,

    Tim,
    Thanks for the suggestion, always seems to slip my mind that the Bursting Report has debug on it.
    As far as what is generating the XML, it is oracle's standard, only slightly modified ... ;), invoice generating report, RAXINV_SEL.
    Well RAXINV_SEL, or RAXINV_NEW, doesn't matter, same code, that is the executable.
    I have turned on the debug, for both the source xml and the burst request, and unfortunately, still nothing stands out to me.
    I was really expecting to see something in the burst log, pasted at the bottom...
    but, it yet avoids me.
    If I had to guess, I would bet the user went, in our terminology, "slashwit crazy", or example "model /w options", in some description.
    But can't seem to find which field it is blowing up on, since we are catching these special characters in several places already, and slashwit is littered throughout the output.
    I was also looking in the bursting control file for the special xml tags identified there, as those would require no slashes. But those are all clean.
    Hayden,
    XML Publisher: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 21-SEP-2009 10:43:12
    XML/BI Publisher Version : 5.6.3
    Request ID: 27048106
    All Parameters: ReportRequestID=27044726:DebugFlag=Y
    Report Req ID: 27044726
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:{node}
    Preparing parameters
    null output =/u007/app/applmgr/{instance}/out/{instance}/o27048106.out
    inputfilename =/u007/app/applmgr/{instance}/out/{instance}/o27044726.out
    Data XML File:/u007/app/applmgr/{instance}/out/{instance}/o27044726.out
    Set Bursting parameters..
    Temp. Directory:/u007/app/applmgr/{instance}/temp
    [092109_104315337][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [092109_104315340][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {burstng-source=EBS, font.Free 3 of 9.normal.normal=truetype./usr/java/jre/lib/fonts/FREE3OF9.TTF, font.Times New Roman.normal.normal=truetype./usr/java/jre/lib/fonts/TIMES.TTF, system-temp-dir=/u007/app/applmgr/{instance}/temp, font.Arial.italic.normal=truetype./usr/java/jre/lib/fonts/ARIALI.TTF, user-variable:cp:parent_request_id=27044726, user-variable:cp:application_short_name=XDO, font.Courier New.normal.bold=truetype./usr/java/jre/lib/fonts/COURBD.TTF, font.Times New Roman.normal.bold=truetype./usr/java/jre/lib/fonts/TIMESBD.TTF, user-variable:cp:request_id=27048106, font.Arial.normal.normal=truetype./usr/java/jre/lib/fonts/ARIAL.TTF, font.Courier New.normal.normal=truetype./usr/java/jre/lib/fonts/COUR.TTF, user-variable.OA_MEDIA=http://diierp.corio.com:8002/OA_MEDIA, font.Courier New.italic.bold=truetype./usr/java/jre/lib/fonts/COURBI.TTF, user-variable:cp:org_id=83, user-variable:cp:DebugFlag=Y, font.Times New Roman.italic.bold=truetype./usr/java/jre/lib/fonts/TIMESBI.TTF, user-variable:cp:responsibility=51270, font.Arial.italic.bold=truetype./usr/java/jre/lib/fonts/ARIALBI.TTF, font.Courier New.italic.normal=truetype./usr/java/jre/lib/fonts/COURI.TTF, user-variable:cp:user=HAYDEN, user-variable:cp:reportdescription=Invoice Print Selected Invoices, user-variable:cp:language=en, font.Times New Roman.italic.normal=truetype./usr/java/jre/lib/fonts/TIMESI.TTF, user-variable:cp:ReportRequestID=27044726, user-variable:cp:locale=en-US, user-variable:cp:territory=US, font.Arial.normal.bold=truetype./usr/java/jre/lib/fonts/ARIALBD.TTF}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 27048106 on node {node} at 21-SEP-2009 10:43:19.
    Post-processing of request 27048106 completed at 21-SEP-2009 10:43:20.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 21-SEP-2009 10:43:20
    ---------------------------------------------------------------------------

  • Bursting Program errors with "Error while generating the Document"

    Hello Folks
    Here is my bursting control file
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/XMLEXCEL1/LIST_G_Q0">
    <xapi:delivery>
    <xapi:email server="mycompany.com" port="25" from="[email protected]"
    reply-to ="[email protected]">
    <xapi:message id="1234" to="[email protected]"
    attachment="true" content-type="html/text"
    subject="Employee Report for Empno"> Dear
    Please review the attached document</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document key="123" output-type="XLS" delivery="1234"
    output="XMLEXCEL1" >
    <xapi:template type="RTF" location="xdo://AR.XMLEXCEL1.en.00/?getSource=true">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    this is the output of bursting status report:
    <?xml version="1.0" encoding="UTF-8"?>
    <BURS_REPORT><REQUESTID>40403415</REQUESTID>
    <PARENT_REQUESTID>40403339</PARENT_REQUESTID>
    <REPORT_DESC>XMLEXCEL1</REPORT_DESC>
    <OUTPUT_FILE>/opt/local/application/orafin/applmgr/out/outfaud/S1759.zip
    </OUTPUT_FILE>
    <DOCUMENT_STATUS>
    <KEY>123</KEY>
    <OUTPUT_TYPE>XLS</OUTPUT_TYPE>
    <DELIVERY></DELIVERY>
    <OUTPUT>
    </OUTPUT>
    <STATUS>fail</STATUS>
    <LOG>Error while generating the Document...</LOG>
    </DOCUMENT_STATUS>
    </BURS_REPORT>
    Can anyone help on this please.

    can anyone help me?

  • Runtime error while posting a document (FB70/FBS1)

    Hi
    I am getting a runtime error while posting a document through FB70 or FBS1 .
    The erro description tells The type "CL_BCS_OBJHEAD" is unknown.
    And the program dumps in Function module SO_KPRO_DECIDE.
    Has any one faced this problem?

    Hi,
    Please check the psoting date and also the reversal  date in FBS1. Please check when you have posted the document and when you want ot reverse the same.
    Thank you,
    Shilpa.

  • Error while Activating Inventory record in WM

    Hi All,
    I am getting an error while activating Inventory record using LI02N ,The Inventory record has been created using LICC Cycle Inventory at Quant Level.The error detrails are as below:
    Message Text:
    Function code cannot be selected
    Technical Data
    Message type__________ A (Cancel)
    Message class_________ BL (Application Log)
    Message number________ 001
    Message variable 1____ Function code cannot be selected
    Message variable 2____ 
    Message variable 3____ 
    Message variable 4____ 
    Message Attributes
    Level of detail_______ 
    Problem class_________ 4 (Additional information)
    Sort criterion________ 
    Number________________         
    Thanks you all in Advance.
    Regards,
    NVK                                                                               

    I am encountering a similar error whils tryng to create or display WM Physical Inventory documents.
    Tx: LX16 - Error Message no. BL001: u201CWarehouse number WH1 does not exist (check your entry)u201D
    Tx: LI01N and LI03N u2013 Error Message no. L4001: u201CWarehouse number WH1 does not exist (check your entry)u201D
    Errors when trying to create or display PIs, but can run reports on u201CWH1u201D and configuration looks ok?
    I cannot find anthing n SAP OSS for WM.
    Any assistance would be appreciated.

  • Error while creating delivary document

    Hi
    i got error while creating delivary document
    "Delevivary documents could not be created"
    Thanks&regards
    kishore kumar

    Hi Kishore,
    Please check the sales order is this relevent for the delivery or not.
    Check the copy control settings between your sales document type and delivery document type in VTLA transaction.
    Check the incompletion log for the sales order.
    I hope it will help you,
    Regards,
    Murali.

  • Getting error while uploading a document in a library

    Hi,
    I'm getting a weird error while uploading the document in the library. And I don't get it all the times but most of the times.
    It reads:
    The file <library name>/<file name> has been modified by i:0#.<user-id> on <datetime stamp>
    How to resolve this ? I have referred many articles on this one, but none helped.
    Thanks for your response in advance.
    Regards

    Hi Prajk,
    Based on your description, I recommend to check if there are any ItemAdded event receiver or workflows which are triggered when an item is created to update the document properties in the library.
    If there is any ItemAdded event receiver on the library, I recommend to wait for ItemAdded to finish before the ListFieldIterator control residing on EditForm.aspx loads (It’s the ListFieldIterator which displays the Item’s fields ).
    http://blogs.msdn.com/b/manuj/archive/2009/09/22/itemadded-event-on-document-library-the-file-has-been-modified-by-on-error.aspx
    If there is any workflow on the library, I recommend to add a Pause for Duration step at the beginning of the workflows.
    If above cannot work, please check ULS log for detailed error message.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error in crawl log "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "

    Hi 
    I get the following error in my crawl logs
    "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "
    Because of this i suspect, the search results are not including those aspx pages marked as "Hide physical urls from search".
    This error is not available in the another environment where the aspx pages are coming in the results.
    Thanks
    Joe

    Hi Joe,
    Greetings!
    Reset the index and re-crawl. That usually clears it
    If you are using NTLM authentication, then make sure that you specified the PassThrough authentication for crawling
    Probably you need to debug the BDC code that underlies the external content types.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/41a86c43-151d-47cd-af73-967a4c940611/lotus-notes-connector-error-while-crawling-lob-contents?forum=sharepointsearch
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Error while installing Adobe Document services

    Hello,
           am getting following error while installing Adobe document services on HP-UX system. The portal version is EP 6.0 SP 11.
    AdobeDocService/DVD_NW_04_SR1_NetWeaver_Components/ADOBE/ADOBEGEN/OFFLINE/ADSSAPOFF.sca' does not exist.
    Jun 27, 2005 1:59:50 PM  Error: Processing error. Return code: 4
    i HAVE ALREADY CHECKED AT THE ABOVE LOCATION & THE FILE DOES EXISTS AT THAT LOCATION.
    Regards,
    Sunil Kulkarni

    is this problem resolved ? -  this seems related to DB/OS (e.g., if largefiles not enabled then the datafile cannot grow beyond 2GB and file resets)
    or something like that which SAPinst is not equipped to handle and does not give a better error message
    the system.log in the sapinst_instdir may have some clues
    Birdie

  • Error while detrmining Internal Document Number for Excise Invoice.

    Hello mate, I am trying to create excise invoice for for factory sale. while saving the document I am getting an error" Error
    while detrmining Internal Document Number for Excise Invoice. Message: Maintain Number Range for J_1IINTNUM". I have already maintained number range for mentioned object "J_1INTNUM" in TCODE SNUM , still getting error. Please solve my querry . Is it related to transport or number range activation or something else? I have maintained number range with serial no. "01"

    Hello ,
    Ensure that number ranges are properly maintained in the respective client that should be the year specific.Some times even u maintained the system should not consider that number ranges  due to table updation problem ,because i had faced the same in the earlier and received the reply from the sap stating that this error was occured rarely after the years,so please ignore that ,for your problem u first come out of the screen and then re log in and then create the excise invoice ,then check the number ranges .
    Please revert for any
    Kalyan

  • Error while compiling the composite through custom ant script

    Hi,
    I am getting the following error while compiling the composite through custom built ant scripts which are intern call the ant-sca-package.xml. And the composite is created by upgrading the 10g bpels. But the same composite is successfully compiling from Jdeveloper (11.1.1.4).
    oad of wsdl "oramds:/soa/shared/workflow/NotificationService.wsdl" failed
    oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/NotificationService.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:304)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:388)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:176)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
         ... 9 more
    Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:339)
    And in the following blog, its recommended to check for the adf-config.xml. But when upgrading the bpels from 10g to 11.1.1.4, I don't see any such file created by Jdeveloper.
    http://orasoa.blogspot.com/2010/08/ant-and-mds-composite-compile-error.html
    Not sure if I am missing some properties to add in by custom script while compiling.
    Thanks
    Sree
    Edited by: Sree on Jul 4, 2011 7:25 AM

    Hi Hussain,
    Thanks for the reply.
    Were you able to compile the form at the client side successfully?
    1) Were you able to compile the form at the client side successfully?:
    Ans: Yes, I was able to compile the form successfully at client side.
    2) Are you logged in as applmgr user? Have you sourced the application env file before compiling the form?
    Ans: No, I have not logged by applmgr user, i am using my own login. Yes I have sourced the application env file before compiling the form
    3) What does "echo $FORMS_PATH" return?
    Ans: echo $FORMS_PATH on server gives this path
    /u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource:/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource/stub
    Can you please advise?
    Thanks,

  • Error while running web application through JDEV (10.1.3.0.3) in OC4J

    Error while running web application through JDEV (10.1.3.0.3) in OC4J.
    Here is the error message.
    07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
         Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    07/10/02 14:45:28      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • Getting error while opening Excel document from SharePoint site

    Hello All,
    I am getting following error while opening Excel document from SharePoint site.
    This issue appears when we open Excel document from Windows>> Run using below mentioned command:
    Excel.exe "{File Name}"
    If once I go to Excel back stage and browse for the SharePoint location, then this problem disappears.
    I have a work around for this issue but main problem is that i do not have any work around when i need to open Exel document using Excel COM interop in C#.
    Thanks,
    Amit Bansal
    Amit Bansal http://www.oops4you.blogspot.com/

    Hi Amit Bansal,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues involve Excel application.
    According to the description, you got an error when you open the document form SharePoint site.
    Based on my understanding, this issue maybe relative to the SharePoint, I would like move it to
    SharePoint 2013 - General Discussions and Questions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

Maybe you are looking for

  • How BW manages deletion of Sales Order by LIS Data Source

    Hi experts, we implemented LIS data sources for SD and MM modules to BW. Loading the deltas, we see many order quantity as negative numbers... they are cancelled sales orders! How we can manage that? thanks in advance cs

  • BDLS problem

    Hello, i have created a BW 7 system copy - after finishing all post installations , i had to run the bdls for the source system since it was changed from the original copied BW system. now whenever i try to run bdls with the old and new logical syste

  • Are there any character limits to PDF keyword metadata?

    I'm working on a project that involves scanning a lot of handwritten documents, so manually entering keyword metadata is key for searchability. Is there any character limit to individual keywords or the entire keywords field? Thanks, Sean

  • While speaking through voip app , cannot watch video

    Hi, While using voip calling apps like mobilevoip or viber, i cannot watch video. If i open any video suddenly my calling cuts, Please help me in do this multi-tasking. I need to watch video while speaking to someone through voip calls

  • Divide Digitially Signed Document into Components

    Hi All, I have a scenario where i get a message(plain text) which consists of the document data(plain text) and the digital signature packed together. I have to decrypt and have to verify the digital signature for the accuracy. I have seen lot of exa