Showing results for 
Search instead for 
Did you mean: 

AIF Inbound XML file to BAPI call mapping issues

0 Kudos

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;







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"?>

<xsl:stylesheet version="1.0"


<xsl:template match="/">


xmlns:asx="" version="1.0">


<xsl:copy-of select="*"/>





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.

Accepted Solutions (0)

Answers (0)