<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BAPI_DOCUMENT_CHECKOUTVIEW2 with JCO retrieve only one document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561136#M1076612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sastien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the requirement somewhere similar to it. I need to download IBD_MSDS documents attached to a formulation on local pc file at user defined path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how can I change the path and filename while downloading using BAPI_DOCUMENT_CHECKOUTVIEW2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2008 06:59:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-12T06:59:17Z</dc:date>
    <item>
      <title>BAPI_DOCUMENT_CHECKOUTVIEW2 with JCO retrieve only one document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561135#M1076611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing an issue using JCO API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is our cinematic :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Call of BAPI_DOCUMENT_GETLIST to retrieve a list of SAP documents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Call of BAPI_DOCUMENT_GETDETAIL2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Call finally BAPI_DOCUMENT_CHECKOUTVIEW2 which, in theory, will retrive all the attached files of current SAP document (using middleware sapftp.exe)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our environment is JRE 1.6, JCO 2.1.8 and calling our java program always retrieves only the first attachement and not the following...&lt;/P&gt;&lt;P&gt;No exception are raised. The same call RFC from ABAP is successful : the three documents attached are downloaded in C:\Temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea where to look? JCO compatibility? Where could i find logs? Trying to debug the BAPI when i call it from java, raised an error : Unable to create file in C:\Temp... But the previous file was created in the same folder... So it's weird...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe timeout issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561135#M1076611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DOCUMENT_CHECKOUTVIEW2 with JCO retrieve only one document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561136#M1076612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sastien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the requirement somewhere similar to it. I need to download IBD_MSDS documents attached to a formulation on local pc file at user defined path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how can I change the path and filename while downloading using BAPI_DOCUMENT_CHECKOUTVIEW2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 06:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561136#M1076612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T06:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DOCUMENT_CHECKOUTVIEW2 with JCO retrieve only one document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561137#M1076613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use this function CV120_DOC_CHECKOUT_VIEW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-checkoutview2-with-jco-retrieve-only-one-document/m-p/4561137#M1076613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T09:19:33Z</dc:date>
    </item>
  </channel>
</rss>

