We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] XMLNS Optional in Conversion (SAP Transformation)?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from mic-bv on Sep 12 at 3:47 AM
Nobody around with transformation experience?

---------------Original Message---------------
From: Stefan Vermeulen
Sent: Wednesday, September 05, 2012 6:49 AM
Subject: XMLNS Optional in Conversion (SAP Transformation)?

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
mic-bv  
What title?
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language