cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to recieve Datas from MII in SAP

matthias_prller
Participant
0 Kudos

Hi everybody,

We are discussing which way is the best to get data to SAP when SAP is the initiator.

We tesed RFC but it looks like that if I call a transaction in MII as a rfc I can only send data and it is not possible to recieve data in this way. Can somebody confirm that?

To send data to MII we usually use IDOCs when SAP is the initiator.

To send data to SAP we usually use rfc when MII is the initiator.

To send data to MIIwe usually use rfc when MII is the initiator

But what can we use if we want to send data to SAP and SAP is the initiator?

Thanks for your help.

Regards,

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the RFC to send data to SAP from MII.

You can use either Insert, Update or Delete (as per your requirement) inside RFC (BAPI) to send data to SAP.

Hope this helps & you are clear.

Thanks

Rajesh Sivaprakasam.

matthias_prller
Participant
0 Kudos

Hi,

thanks for your quick answer.

Is it possible to use an rfc in ABAP-Code and recieve data?

I think this is not possible.

Our Business-case:

A user starts an SAP-Programm (e.g. custom transaction) where he has some informations to a machine.

In this program we also want to see data from MII.

it should be something like this in ABAP-code:


CALL FUNCTION mii_transaction DESTINATION mii_dest
                     parameter_list. 

But I read in a help-file that it is only possible to send information not to recieve. Is this correct?

Or is it also possible to recieve data from mii like this (in parameter_list)?

Regards,

Matthias

former_member4529
Active Contributor
0 Kudos

Hi,

One simple way to achieve this is to call a BLS transaction as web service (using WSDLGen) or via simple HHTP call (using Runner) from ABAP.

Thanks,

Dipankar

Former Member
0 Kudos

Hi,

The full information regarding how to interact with SAP is available in below link:

http://help.sap.com/saphelp_erp2005/helpdata/en/f6/a72642d0d05333e10000000a155106/frameset.htm

-Suresh

Answers (0)