cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with BAPI_DOCUMENT_CHECKOUTVIEW2 while calling using JCO of XMII

HariCS23
Contributor
0 Kudos

Hi DMS Gurus,

The above FM is successfully executing and creating a local copy in temp folder of where the FM running using SAP GUI.

But when i call using jco,i am getting some problems.

1. If i execute the FM with default values for http dest and ftp dest, i am getting error saying << c:\temp\....file could not be created.

2. When i changed the HTTP destination to <<SAPHTTPA>, it is executing fm successfully but dont know in which system the file is downloaded.

My client application or xMII server ( where jco service is running ) or ABAP server.

I checked in the first 2,i didn't find.

SAP GUI is not installed in xMII server.

But my requirement is to download to the physical server of xMII ( jco ).

Is this any thing to do with creating http destinations??

If that is the case, can any body help me in creating http destinations..

and i heard something about SAPFTP.EXE ,is that should be some where in client or any servers??

Please help me.

Thanks

Vansi

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Vamsi,

As I mentioned in this forum thread, . You have to use the POST action in BLS to communicate with the HTTP Interface of Content Mgmt. directly. The only other alternative is to write your own BAPI to retrieve the content and send it back to xMII via the JCo action (Hint: The data will be base64 encoded and can be saved to the filesystem via the Image Saver action even though it is not an image).

Sam