Skip to Content

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

Strans - Optional Transform templates

Hi Gurus!

I am new to transformations and I am having an issue that's revealing to be to mutch for me.

<?sap.transform simple?>

<tt:transform xmlns:tt=""


               xmlns:def="" xmlns:xsi=""


   <tt:root name="DOCUMENT" type="ddic:Z3FI_SEPA"/>



Line 5 has an attribute with a literal value. This attribute is there because a version of XML file that I am trying to deserialize has this atribute in his <DOCUMENT> element:

<?xml version="1.0" encoding="utf-8"?>

<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="">


Now I need to deserialize another document that is almost the same (with some additional non obligatory fields) but wiht atribute xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02".

Is there a way to remove/discard/ignore this attribute?

Thank you guys!

Best regards,


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