Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from mic-bv on Sep 5 at 6:48 AM We have some clients sending their Orders with XML Files. We convert those into SAP deep structures (using SAP Transformations) and create Orders with that data. However, one Client is now sending a XMLNS Tag, which is causing the Transformation to cancel. Is there a way to mark this Tag as optional within the block? usually our transformation starts:
<?sap.transform simple?> <tt:transform xmlns:tt="http://www.sap.com/transformation-templates"> <tt:root name="ROOT"/> <tt:template> <WOS_BDATA> <tt:loop ref="ROOT"> ... for that special client it should be somewhat like:
<?sap.transform simple?> <tt:transform xmlns:tt="http://www.sap.com/transformation-templates"> <tt:root name="ROOT"/> <tt:template> <WOS_BDATA xmlns="http://www.specialclient.de/XMLSchema"> <tt:loop ref="ROOT"> ... hence he sents
<WOS_BDATA xmlns="http://www.specialclient.de/XMLSchema"> I tried with <tt:cond> already, but that's not working within another tag. I don't like to make a special transformation for each client wanting to insert some own namespaces... Anybody an idea? | Reply to this email to post your response. __.____._ | _.____.__ |