Skip to Content



I have a following problem. I need to convert one ABAP table into XML, using a CALL TRANSFORMATION, but with some corrections.

Each table field should be transformed into XML without changes, except in case that it has a value of, let's say 'ABC'. If the field has this value, than resulting XML should not contain 'ABC', but result of CL_ENCRYPT=>ENCODE('ABC') method call.

Is it possible to solve this with a simple transformation, and if not, how to solve it with the "normal" transformation ? This is my first XSL transformation , so any help/advice/template is very welcome 😊

Thanks, Srdjan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 05, 2006 at 06:52 AM


    SAP XSLT engine has some extensions with which you can call ABAP class method. See here - Additional" target="_blank">">Additional SAP Statements.

    Sorry, I have not tries it myself.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 12:08 PM

    simple transformations can not call any method of ABAP. XSLT can do it. But I think the simplest solution is do this in ABAP, and passed the finalized ABAP data structure to simple transformations

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.