Skip to Content

Create xml from deep structure renaming structure names to tag names

Oct 11, 2017 at 08:24 AM


avatar image
Former Member


Hope I'm right here.

We definded a deep structure containing internal tables with internal tables for components. After creating a simple transformation using transaction XSLT_TOOL we have a nice xml but still the technical (Z-) structure names for node tags.
Is there a simple way to adapt the transformation that the tags are named as we want it?

Replacing in the xml string is not an option. Using a second transformation to transform the names is not an option.

What is the exact way to change the transformation code?

Thank you all.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Oct 11, 2017 at 02:49 PM

... the best answers are the ones you get from yourself :-)

Just rename the tags and corresponding end tags in the transformation source code.

I.e. inside a loop we have tags as DDIC structure name like <zxyzs> and </zxyzs>. Just repklaced zxyzs with my_own_name and everything is fine.

As nobody gave any answer or comment here I still hope it may help.

Regards Clemens

10 |10000 characters needed characters left characters exceeded