cancel
Showing results for 
Search instead for 
Did you mean: 

xml header in transformation strans

Former Member
0 Kudos

Hello,

I would like to create an xml file with the following header information:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<tem:mygesttem>

<tem:mytem>

...

So, I have created the following piece of code in transaction STRANS:

<?sap.transform simple?>

<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">

<tt:root name="ROOT"/>

<tt:template>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<tem:mygestem>

<tem:mytem>

...

However, as soon as I launch it with CALL TRANSFORMATION in my ABAP program the xml file is different from I would expect:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">

<soap:Body>

<tem:mygestem xmlns="http://tempuri.org/">

<tem:mytem>

...

Could anyone tell me why the header is different from expected?

Thank you,

Oscar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Any ideas? please.