‎2009 Jun 22 8:01 AM
Hi,
I am trying to attach files to Document Info Record using BAPI
BAPI_DOCUMENT_CHECKIN_REPLACE2. When i execute the z program that calls this BAPI on
presentation server in foreground by giving path of documents which are locating on local pc it works
fine and check in the file in document infor record
But when i run program in background and file path is of application server.It gives error that
Program no longer started via RFC. No return possible.
I want to know the cause of this error.
Please help.
‎2009 Jun 22 10:06 AM
i think u need to pass Storage category = FILESYSTEM.
check the documentation of data element -
DE CV_STORAGE_CAT
but i'm not 100% sure abt it.
regards
Prabhu
‎2009 Jul 28 1:09 PM
BAPI does not work when we want to check in the document on application server. Now we have linked content server to R3 server. So document is stored in content server. BAPI works fine with the content server.But this BAPI does not work in background mode to do check in on the application server.