‎2006 Nov 21 7:14 PM
Dear all,
Is it possible to checking document in background process ?
I would appreciate if anyone could please guide me on this procedure.
Thanks in advance .
‎2006 Nov 22 4:59 AM
Hi Bruno...
u can very well schedule ur BAPI_DOCUMENT_CREATE2 in background.
What u need is tht the originals to be checked should be placed at a location from which the application server can access it.
This necessarily means tht the folder must be shared on the network. And the absolute network path e.g.
<sharedfolder>\<filename> must be specified in the BAPI call.
Regards,
Mahesh.
‎2006 Nov 22 1:58 PM
Hello Mahesh,
Thank for your anwser, but this is not what i really want.
Is it possible to checking document in background process without share folder on the network ?
Regards.
‎2006 Nov 22 5:53 PM
Hi Bruno,
Since u need to upload originals from the background, ur frontend pc is no longer in the scenario. So ur originals must be located where ur Application server can access it.
So this can be either on a shared folder or on the Application server hard disk.
if u r concerned about the security of shared folder, u can have a secured ftp connection and specify the url of the ftp folder.
Regards,
Mahesh
‎2009 Mar 07 4:56 PM
I have been searching through the forum and seem like everybody will this issue has not got a solution so do I. Our situation is when the ABAP debugger is turned on in the SAPRFC.ini file, the BAPI works fine checking in a file from the network drive. But when the debugger is off, the BAPI threw an error saying "Cannot check in file".
This BAPI works fine in 4.7 but failed in 6.0. Any idea?
‎2009 Mar 07 5:40 PM
Refer to this [LINK>>>> |http://www.sap-press.de/download/dateien/1681/sappress_effective_document_management_with_sap_dms.pdf]it should help
‎2009 Mar 07 8:38 PM
You could solve this by defining a RFC destination in SAP that points to SAPHTTP.EXE on the computer that holds, and hass access to the documents. When you use function module API_DOCUMENT_MAINTAIN2 (or a simular one) you can pass this RFC destination to the function module (input parameter pf_http_dest). This will trigger the HTTP call from the computer that can access the documents to the content server.
Regards Jack