Skip to Content

How to check out documents from MII

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 31, 2011 at 08:03 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.