10-19-2011 12:36 PM
Hi,
We are trying to uploda a file into DMS(CV01N) from SAP R/3, BAPI 'BAPI_DOCUMENT_CREATE2'. This works fine in foregroung but when we ececute it in background, we get an error saying 'Error while checking in and storing'.
Could anyone please suggest me if we can sucessfully execute in back ground mode?
Thanks,
Ranjith Singh.
10-19-2011 3:27 PM
where are your documents? on a presentation server (your PC) or on an application server?
a background process cannot take documents from your PC.
10-20-2011 6:10 AM
Hi,
Thanks for your prompt reply. I checked three scenarios 1. File from local network ,2. from local desktop (Foreground is working but background is not working ) and 3. From application froground and background is not working.
Text file from application server is being read and written in the list but not able to upload into DMS either in forgroung as well as through background.
Thanks,
Ranjith Singh.
10-20-2011 9:28 AM
I really wonder why applicaton server does not work. Dont you get any helpfull message?
did you write the file path/name in the right format?
10-20-2011 9:57 AM
The path is correct and was verified. The error message that i get is 'Error in Checking and Storing file 'FILE PATH''
10-20-2011 10:15 AM
Mainly i am focussing on uploading local Network file or local desktop into DMS(CV01N) system in backgroud mode only
Edited by: Ranjith Singh on Oct 20, 2011 11:15 AM
10-20-2011 11:08 AM
it is not possible to download in background to a presentation server (your local PC) hence it is not possbile to upload either.
when you submit the program to the background thenthe session is no longer attached to the PC that created it.
Because of this you have to go via the application server.
compare hundred of threads by searcing the ABAP forum with keywords +download +background
10-20-2011 12:19 PM
Thanks for you relpy. I went through threads. I need to upload document into DMS system which is cross platform of SAP, connected to SAP via CV01N t-code.
This document upload should happend through BAPI from JAVA calling which is similar to background.
Anyway thanks for your efforts.