cancel
Showing results for 
Search instead for 
Did you mean: 

How to check out documents from MII

ChadRichardson
Participant
0 Kudos

We were given BAPI_DOCUMENT_CHECKOUTVIEW2 to use for document checkouts.

It works fine from SAPGUI but when MII calls it with the same parm values it returns NOTHING.

Has anybody been able to use this through MII or have an alternative to it???

FYI --- MII is an external web app communicating to ECC through RFC calls.

Much thanks,

Chad

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Chad,

Can you check what are the ouput parameters returned from this BAPI. I feel there is some field mapping problem which is not reflected into MII system.

Can you delete the action module for BAPI call in MII and re-create the same . Post this check the results and revert.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

I am having the same problem.

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 dont have SAP GUI installed on MII Sever, I read some posts saying we would need SAPHTTP.exe or SAPFTP.exe installed atleast if not SAP GUI, is this really required?

Please advice.