Skip to Content
avatar image
Former Member

How to receive data from MII into SAP through a RFC call (in ABAP)?

Hi experts,

I'm starting to explore MII communication with SAP, and I was already capable of push (IDOC) and pull (RFC) information from SAP to MII and treat the information in workbench transactions on MII. I also was able to call a BAPI in MII BLS transctions, through JCO Functions, and change information on master data (e.g. changing MRP Controller for a given material).

But now I was searching how could I call a RFC in ABAP asking for data from MII (stored in persistent MDOs) and receive this data through parameters so I could treat it inside my ABAP program, and I'm not finding any useful information.

I am able create the function and insert the exporting parameters that will get to MII. I just don't know how to configure the workbench transaction so it can send the data, and the ABAP function so it can receive it.

Is it even possible?

Thanks in advance,
Tiago Cardoso

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 25, 2015 at 04:09 PM

    It looks like this functionality was implemented in version 15 sp03. If you read thru the help docs on the message listener the configuration steps are discussed.

    Message Listener Help 15 sp 03

    Might be worth a blog.

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Sorry Tiago, I do not have access to a box at that patch level yet. The only advice I can give is make sure your outputXML is an Output parameter type and also make sure your xml format is correct. I imagine it should match whatever format the JCo action block generates for the RFC. From there I would start looking at the RFC traces and Netweaver logs etc for any clues.

      Regards,
      Christian