Skip to Content
avatar image
Former Member

How to design graphic mapping for this formula

I want to use graphic mapping tool to design a mapping for this formula:

Mapping from IDoc ORDCHG.ORDERS05 to my message type which contains an element "documentNumber".

- <xsl:choose>

- <xsl:when test="count(E1EDK02[QUALF = '001']) > 0">

- <documentNumber xsi:type="xs:int">

<xsl:value-of select="E1EDK02/BELNR[../QUALF = '001']" />

</documentNumber>

</xsl:when>

- <xsl:otherwise>

<documentNumber xsi:nil="true" />

</xsl:otherwise>

</xsl:choose>

I can not find a solution. Any good ideas?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 09, 2004 at 12:39 PM

    Hi Jun,

    I would like to clearly state: it is impossible to imagine/create/generate a Message-Mapping out of XSL. Mapping tool is not an XSLT processor and has nothing common with it. There are some tools on the market, that allow you to define graphically your mapping and generate XSL out of that definition. The result of mapping tool work is not an XSL, but a Java program.

    Having said this, I would say that I'm pretty sure that your mapping can be made with mapping tool, but I cannot advise you anything concrete with such statement of the problem.

    Best regards,

    Alexey

    P.S. Please refer to http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm for help on designing Message-Mappings

    Add comment
    10|10000 characters needed characters exceeded