Skip to Content
0
Former Member
Nov 19, 2011 at 12:36 AM

Issue with document retrieval using BAPI_DOCUMENT_CHECKOUTVIEW2

248 Views

I am having an issue to get the document from DMS using BAPI_DOCUMENT_CHECKOUTVIEW2.

When I executed the BAPI from SE37 I see that the file is created in my local machine C:/temp folder.

However when I execute the BAPI from MII using JCo action block, I dont see the file neither in local machine nor in MII sever.

These are the parameters I am passing:

DocumentNumber - with leading zeros

DocumentPart

DocumentVersion

GetStructure - "1"

Getcomponents - "X"

GetHeader - "X"

DocumentType

PF_FTP_DEST - "SAPFTPA"

PF_HTTP_DEST - "SAPHTTPA"

I see that the BAPI executes successfully and returns the doc file path as C:/Temp/xyz

however I dont see this document anywhere.

where can I expect the file to be created, is it in my local machine or MII Server?

Note: I now have SAP GUI installed on MII Sever, still document is not created.

Please advice.

Edited by: Srinivas Kumar on Nov 19, 2011 1:36 AM