We have created a set of SAP IDoc XML profiles using the SAP Import Wizard and used them in Map components to process IDocs picked up by a SAP listener. However there is a mismatch in the format of the messages picked up by the listener and the profile (i.e. the imported profile does not match the structure of the IDocs picked up from SAP).
We have also been supplied a separate set of schemas for the IDocs from the SAP system that does match the IDocs recieved by the listener. We could use these sepreate schema documents to create valid XML profiles but I am wondering if anyone could advise why the Import Wizard is not picking up the correct IDoc structure form SAP.