Hi AIF experts,
I am attempting to map inbound XML values to a Material Create BAPI but cannot seem to fill the Raw structure with the inbound XML content (so I fail at the first step).
I have tested the overall process using a Flat File and this worked successfully, but when I moved to XML I cannot make it work.
Using a very simple example - can you suggest where I have gone wrong...
XML file is like this;
<itemName>ASSEMBLY DIAGRAM - BACKEND INPUT PCB (FM)</itemName>
Interface definition is;
Raw Structure is defined as;
I'm testing a very basic single field mapping which I know will work based on my previous Flat File testing;
File Adaptor Config is defined as;
And the XSL Transform is this (essentially a full copy of the inbound XML but into a valid ABAP structure);
<?xml version="1.0" encoding="UTF-8"?>
Testing with /AIF/IFTEST using this 'New File' setting;
I get this result;
So no data is loaded into the expected ITEM structure from the XML file.
I have tried various combinations of editing the XML structure in the source file (removing or adding surrounding Elements, changing the Structure definition and mapping within SAP but nothing I do results in the expected output.
What am I doing wrong for the inbound XML process?
Many thanks, Scott.