09-29-2008 9:34 AM
Hello,
We are facing an issue using JCO API.
Here is our cinematic :
1. Call of BAPI_DOCUMENT_GETLIST to retrieve a list of SAP documents
2. Call of BAPI_DOCUMENT_GETDETAIL2
3. Call finally BAPI_DOCUMENT_CHECKOUTVIEW2 which, in theory, will retrive all the attached files of current SAP document (using middleware sapftp.exe)
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...
No exception are raised. The same call RFC from ABAP is successful : the three documents attached are downloaded in C:\Temp.
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...
Maybe timeout issue?
Thanks a lot for your help!
12-12-2008 6:59 AM
Hi Sastien,
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.
Please tell me how can I change the path and filename while downloading using BAPI_DOCUMENT_CHECKOUTVIEW2.
12-12-2008 9:19 AM