cancel
Showing results for 
Search instead for 
Did you mean: 

Checkin originals in background

Former Member
0 Kudos

Hello,

I am an ABAPer, and I am using 'BAPI_DOCUMENT_CREATE2' to create document and checkin original files. BAPI is working fine in R/3 (via SE37) with the file on my PC (C:\temp\file.doc). But, when I call call this BAPI from portal (frontend), document checkin is not happening, I think this is due to the file path (C:\temp\file.doc) is not recognized when the BAPI is executed in the backend. How do I checkin a file in background from portal? Any configuration in Document Management has to be done to acheive this? Any ideas?

Thank You,

Chandra

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

This thread is already answered as stated in the last reply

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Chandra,

Unfortunately BAPIs are not so batch-friendy. API functions provide

more flexibility in special cases concerning the checking in and checki

out of documents. Therefore better use the functions modules like

CVAPI_DOC_CREATE of the Function group CVAPI01.

Please pay attention at the testprograms provided in the note 504692.

Pay attention to the fact that in background the originals are

loaded from an application server, not from the frontend.

In note 504692 you will find a collection of example programs which

can be used as a workaround to BAPIs as they are not covering all

possible scenarios.

Hope this information is usefull.

Best regards,

Christoph

Former Member
0 Kudos

Thank you Christoph