on 05-23-2008 4:36 AM
Hi All,
I have file to proxy scenario, and i am using XSLT mapping for source to Traget mapping,
Here, I add all amounts in details and compare it to Header amount, issue is that although the totals are matching i am still getting total mismatch error.
The number have 2 decimal places.
This is the code that i am using:
<xsl:if test="format-number(number($vInvoice),'#.00') != format-number(sum(a:MT_PaymentData/RecordSet/RecordLineItem/LineItemAmount),'#.00')">
<xsl:value-of select="string('AmtMisMatch ')"/>
</xsl:if>
Pls advice,
XIer
Hi,
Did you try to use it in your mapping? I mean import the zip in your Interface Mapping and try to execute it there.And see if you are getting the wrong output still. Even i was getting the wrong output in the XMLSPY for my code. But when i implemented the same code in mapping it worked fine.
Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Self resolved..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
as u mentioned header and detail mismatch, XSLT mapping is used pls check with filed sizes and filed types this may lead to error and chk in xi server rather thanXML SPY .
if find useful pls do the req
thanx
sampath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.