Skip to Content
author's profile photo Former Member
Former Member

Re-using of value translations in mappings

Suppose that for a number of different interfaces/mappings the same translation has to be done.

e.g. BUKRS A1 -> 0001

BUKRS A2 -> 0002

BUKRS B1 -> 0100

Is there some way to define the translation logic on a central place in stead of in every mapping where this translation has to be performed? The reason is easy maintenance when the translation has to change or extended.

Kind regards,

Léon.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 02:30 PM
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      In addition to reply by Bhanu above, you can use mapping templates once you have imported your user defined function in a jar file. This would avoid recreating same mapping each time & central java code would help reduce changes required incase mapping values change.

      Hope this helps.

      sachin kotalwar.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 02:28 PM

    Hi Léon,

    I would suggest to write your own mapping program, accessing the XML document using XSLT oder Java (SAX, DOM).

    Cheers,

    Heiko

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 03:27 PM

    Thanks for all the answers; I'm sure I can work it out now.

    Kind regards,

    Léon.

    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.