cancel
Showing results for 
Search instead for 
Did you mean: 

sending IDOC from ERP to xMII

former_member189719
Participant
0 Kudos

Hi Experts,

I am configuring a scenario where I am sending an IDOC from ERP to xMII. I have configured a IDOC Listener in xMII 12.0 and when I post a IDOC I can see it has reached xMII Message Monitor. I have created a rule and associated it with a transaction and the transaction also gets exectued when the IDOC reaches xMII.

But I am unable to read the IDOC data in my transaction. What should be sequence of steps(actions) in the transaction to read the IDOC data and say write it as a xml file?

Also I want to do the same exercise with a RFC call from ERP ->xMII. Again here I can listen to the call using a IDOC listener (I can see the call has reached Message Monitor) but how do I process (read) the parameters in xMII?

Thanks in advance

Dilip

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member189719
Participant
0 Kudos

Hi Udayan,

Yeah I did make some changes to the template and import it into 12.0 but couldnt figure out what exactly is happening there.

Former Member
0 Kudos

I see what you are saying, those templates are actually only helping in downloading the IDOCs but further processing is missing there. I thought it had the IDOC processing templates as well.

Probably the following sequence might help you:

1.The transaction that you've specified in the message listner should have an Input parameter of type XML.This would ensure that the downloaded IDOC is referenced via this param in your transaction.

2.Design time you can give this input param a default XML structure resembling the structure of the actual IDOC and work with it.

3.Using the various different actions in xMII then read the XML structure for the values that you require and build an Illuminator document out of that (OR whatever your requirement is.).

Apart from this you can make use of reference docs to refer the XML schema that you want to work with. Search the forum & help for reference doc use.

The above approach has worked for me in the past.

Former Member
0 Kudos

Did you go through the IDOC transaction templated available on SDN?

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/90537bfe-fd6b-2910-fda3-b04f1.... [original link is broken]

These are for 11.5 but are useful for 12.0 as well.