Hi wmUsers!
We’re using wM 6.1 and XSLT adapter 6.0.1 in an integration between an Oracle DB and SAP R3 4.6.
I have a problem with an XSLT transforming the canonical format to IDoc-XML which is sent to SAP and would very much apprechiate expert’s input:
The erroneous part of the IDoc looks like:
…
<e1bp2017_gm_head_01>
<pstng_date>030</pstng_date>
<doc_date>20041030</doc_date>
…
The error is, that the field PTFNG should be in date-format just as DOC_DATE.
The strange thing is, that the XSLT we’re using to create the IDoc has identical rules for PSTNG and for DOC_DATE!
Relevant XSLT section:
…
<e1bp2017_gm_head_01>
<pstng_date>
<xsl:if>
<xsl:variable>
<xsl:call-template>
<xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:value-of>
<xsl:value-of>
<xsl:value-of>
</xsl:if>
</pstng_date>
<doc_date>
<xsl:if>
<xsl:variable>
<xsl:call-template>
<xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:value-of>
<xsl:value-of>
<xsl:value-of>
</xsl:if>
</doc_date>
…
I can’t reproduce the error, since everytime i trigger the original message again, the resulting IDoc is correct!?
Up to now the error occured only one time on the target system. All other Idocs created by the shown XSLT are correct…
Does anybody of you have similar experience or a hint for possible reasons?
Thanks in Advance!
Armin
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB