Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML file Issue..

Hi guys,

My question is in a real time scenario how the file is asked for ?

As for testing a simple file scenario we usually get the sample file in XI from Message mapping tool only, this sample file contains primary tag of message type with attribute of namespace : <b><ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file"> </b> "

********************************************************************

<ns0:MT_FILE_INPUT xmlns:ns0="http://bsptrng.file2file">

<Record>

<Row>

<FirstName>q</FirstName>

<LastName>R</LastName>

<MiddleName>S</MiddleName>

<City>Delhi</City>

</Row>

</Record>

</ns0:MT_FILE_INPUT>

******************************************************************

but when a client will provide us a file it will be a simple xml file like...

<Record>

<Row>

<FirstName>q</FirstName>

<LastName>R</LastName>

<MiddleName>S</MiddleName>

<City>Delhi</City>

</Row>

</Record>

***********************************************************

As you can see primary tag of Message type with namespace will be missing...

because of that mapping exception is thrown in pipeline service....

<b>My question is how to tackle this ...</b>

Regards,

Former Member
Not what you were looking for? View more on this topic or Ask a question