cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending IDOC to xMII

Former Member
0 Kudos
247

Hi All,

I would like to send the IDOC (MATMAS & LOIPRO) from SAP to xMII. I have already created the RFC destination in SAP and configured the IDOC Listener in xMII. And I have sent the IDOCs successfully to xMII.

Now I want to proceed with the transaction, which Interface I have to use what is the input I have to give?

can anyone help me in telling the steps to be used in the transaction?

Best Regards,

Ajit Dubal.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ajit,

You have to use SAP interface repository action block to process the incoming idocs. A detail explanation on how to use this action is given in the help.

Sushma

salvatore_castro
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sushma,

Actually the Interface Repository (IFR) action block will probably not work anymore since the ifr was taken down. Instead of using this action you should use transaction code WE60 to acquire the schema of the iDoc. This can be done by entering the iDoc type as a Basic Type then selecting Documentation -> Get Schema.

Then use the Schema loader action block to load the iDoc shema and then assign the schema action to an InputXML transaction property.

Hope this helps.

-Sam

Former Member
0 Kudos

Hi Sam,

Can you pls explain it a little more. Do we have to save the schema of iDoc manually in the Reference Schema folder on the xmii server & then assign the inputXML to this schema?

Thanks,

Sushma

salvatore_castro
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sushma,

The Schema needs to be saved on the xMII Server in:

<DriveLetter>:\Lighthammer\Xacute\ReferenceDocuments\....\IDocSchemaFile.xsd

The ... should correspond with the "Best Practices" directory structure you are using. I recommend namd the schema file after the IDoc type that it represents for example for a MATMAS05 type schema call it MATMAS05.xsd

Then use the schema loader action to point to this file and then Assign the reference XML to the InputXML property of the transaction. This will allow you to see what the IDoc XML sent in from the IDoc listener will look like during runtime. This way you can make sure that the XML Paths are correct.

Hope this helps.

-Sam

salvatore_castro
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sushma,

Just as a sidenote we have defined some transactions for LOIPRO and MATMAS and posted them onto the SDN. Goto Downloads -> Manufacturing -> Templates -> IDoc to download them.

-Sam

Former Member
0 Kudos

It's clear now.. Thank you Sam.