cancel
Showing results for 
Search instead for 
Did you mean: 

send IDOC from XMII to SAP

Former Member
0 Kudos

Hi All,

I want to send an IDOC from xMII to SAP. Can anyone suggest me the steps and how to configure in SAP and xMII.

thanks

Manoja

Accepted Solutions (0)

Answers (3)

Answers (3)

jamie_cawley
Advisor
Advisor
0 Kudos

Using JCO, there is a FM IDOC_INBOUND_ASYNCHRONOUS that you may be able to use. Transaction BD87 will allow you to view the reception of the idocs.

Former Member
0 Kudos

Hi Jamie,

If creating an Idoc from xMII is not possible,how can we see inbound Idoc in BD87.

If we are using the FM IDOC_INBOUND_ASYNCHRONOUS directly which is used for Idoc inbound processing , are we not by-passing ALE layer and inviting trouble.

And how about we02 and we05?

Did you try that already in production and what was your experience?

Thanks in adavance.

Bikram

Former Member
0 Kudos

Hi Bikram,

As stated earlier by other fellows xMII does not support to send IDOC to SAP system. So now you have option either use BAPI instead of IDOC that will solve the problem.But if you want to use only the IDOC you have to write custom function module( remote) which will be call by xMII. In the FM module you have to do the following.

1. Get the data from xMII into internal table.

2. Populate the required segment for the IDOC.

3. post the IDOC using the FM IDOC_INBOUND_ASYNCHRONOUS .

This will create the IDOC and it will posted.

Please make sure that all configuration Partner profile etc are done for inbound IDOC

Hope this will help.

Thanx & Regards

Vinod

Former Member
0 Kudos

Hi,

What ever Dipankar Saha said is correct.

SAP xMII is used for the purpose of connecting ERP and shop floor.

Usually from R/3 system, you can get info in the form of idoc.(through other forms also you can get data. I hope that you have got the data through idoc)

From shop floor, you get data in the form of B2MML.

If you want some data back to ERP, you can use JCO interface present in the

business logic editor. Use this, to find correct BAPI which can push some data into ERP.

Link the data from B2MML field to BAPI field.

Save this transaction and call this where you want.

Hope this may help you...

Regards,

P.S.Kishore kumar

former_member4529
Active Contributor
0 Kudos

Hi Manoja,

As xMII is not an IDOC system you can't send IDOC from xMII to ERP or any any SAP system. However, you can receive IDOCS in xMII sent from SAP ERP using the IDOC listener in xMII. For the configuration steps see the following document:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3861e693-0e01-0010-e791-9b4...

Thanks & Regards,

Dipankar