cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Check in of Originals by BAPI In background

MangeshP
Active Contributor
0 Kudos

Hi Friends

We have requirement to check in the documents in DMS in background mode using BAPI_DOCUMENT_CHECKIN_REPLACE2 . Original files are stored on

application server in folder G: drive . When I run this BAPI in foreground mode it runs

fine. But in background mode it gives error u2018Program no longer

started via RFCu2019. No return possible.u2019 I debugged the BAPI and found that error occurs at

function module 'CV120_FTP_START_REG_SERVER in include LCV120F06.

Error occurs when it calls SYSTEM_START_REG_SERVER.

When this program runs in background it is unable to find SAPGUI.

That is why it fails while calling function module RFC_PING inside function module

CV120_FTP_START_REG_SERVER at line 28.

I have referred note 505891 for DMS related issues.

But when this BAPI runs in background it fails to check in.

We have also requirement to check in files located at remote FTP location.

Whether this is possible or not.

With Regards

Mangesh Pande

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Please let us know how you solved this error.

Help needed please

MangeshP
Active Contributor
0 Kudos

Hi Friends

Sorry to reply so late.

When we were testing this program we were using DMS_C1_ST as storage category.

But when we used Content sever the program worked OK.

With Regards

Former Member
0 Kudos

Hi Mangesh,

I am facing the same issue. will you please explain me 'what is content sever?', that needs to be passed in storage category.

Thanx,

Kumarguru.

0 Kudos

Hi Mangesh,

I'm facing the same problem, could you please give us some further explanations?

->Files are on the same server

->Checkin always fails (RFC-Callback not allowed)

->online works always fine (sure: with gui-download instead of FTP->No probs)...

Does it mean, i need a special Storage category? the one i have has the vault-Indicator...

Thanks in advance for any information and greetings from France...

Guillaume Delorme

Edited by: Guillaume Delorme on May 5, 2010 10:15 AM

jongilman
Explorer
0 Kudos

Mangesh,

When you state "we used Content server," are you saying you pointed your documents to a content repository that was defined as type ARCHLINK, and thus pointed at Content Server?  If you could add some details, I'm sure it would help a lot of people.  Thanks.

Jon

MangeshP
Active Contributor
0 Kudos

Hi Jon

we stored document of SAP DMS in SAP Content server.

We did not configured OAC0 for ARchivelink

WIth Warm Regards

Mangesh

jongilman
Explorer
0 Kudos

Ah yes, I found you in another thread :

jongilman
Explorer
0 Kudos

For those still in the dark, you cannot execute SAPFTP from a user's PC, so you need to pick a storage category that is not pointed to the SAP database, but instead pointed to Content Server.  In transaction OACT, you can point the various storage categories to any content repository.  In my case, we want SAP Office documents to be stored on Content Server, so in OACT we updated the configuration of SOFFDB to point to one of the repositories on Content Server.

0 Kudos

Mangesh,

Would you like to give tips to the members, how did you resolve this probelm. All inputs are highly appreciated.

Regards

VG

MangeshP
Active Contributor
0 Kudos

Hi Friends

Any Inputs on this.

With Regards

Mangesh Pande

MangeshP
Active Contributor
0 Kudos

Hi Friends

Problem Solved

With Regards

Mangesh Pande

Former Member
0 Kudos

Hi, I have the same problem. When I execute BAPI_DOCUMENT_CREATE2 in background it fails giving a check in error.

How did you solve the problem.

Thanks in advance.