on 03-14-2013 8:48 PM
Dear All,
My customer has implemented MES version NW 7.3 SP 8, PCO 2.2, MII
I have the same problem decribed in the oss note 1799009 "Presence of leading zeros is inconsistent over IDOC thus SAP MEINT cannot handle allinbound IDOC consistently"
Pratically the master data idoc tranfer from SAP R3 to ME the same material number (start with 10 digit arrive in XML with 10 digits. When I send the production order in ME, system trasform the number adding 8 zero + the number. This behaviour generates an error. System doesn't recognize the number and goes in error.
Searching on internet I've found a trhead that described the way to implement a "substitution" in orde to trasform the material number from
18 digits to 10 digits (imported from SAP to ME). But we aren't able to understand why doesn't work
I've attached a document with the entire example
Could you suggest me a solution
Thank's in advance
Luca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luca, Best way we found for these kind of transformation is to take care in Request XSLT transformation.
Let me know if you need code snippets for this i can provide.
I have implemented these and working perfectly in production.
Thanks
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luca, Below code is to format number to 10 digit number. You can tailor this below xslt template to your needs.
<xsl:template name="addItem">
<xsl:param name="item" />
<xsl:variable name="itemString" select="normalize-space($item)"/>
<xsl:variable name="itemNumber" select="string(number($itemString))"/>
<xsl:choose>
<xsl:when test="$itemNumber='NaN'">
<xsl:value-of select="$itemString"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="format-number($itemNumber, '0000000000')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
Thanks
Hari
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.