on 12-16-2009 11:56 AM
Hi All,
I've a scenario which is RFC to JDBC.
I've a currency field which has the value like "34.15 -" and I'm unable to pass this through XI where I've declared the data type as XSD:STRING.
Kindly let me know how to pass this currency field.
Thanks in Advance,
Sreedhar.
What do you mean by "unable to pass" ? Mapping raises errors ? JDBC insertion fails ? Anyway, a "xsd:decimal" type would have been more appropriate for such type of values
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by "unable to pass" ? Mapping raises errors ? JDBC insertion fails ? Anyway, a "xsd:decimal" type would have been more appropriate for such type of values
Hi Chris,
The JDBC insertion fails.
I've changed the data type to XSD:DECIMAL but still it gives an error "Missing Expression".
Sreedhar.
Hi Chris,
Please find the sample payload below:
- <item>
<VKORG>US01</VKORG>
<VBELN>7096000481</VBELN>
<FKDAT>2009-10-27</FKDAT>
<ERDAT_VBAK>2009-10-27</ERDAT_VBAK>
<AUART>ZOR</AUART>
<AUDAT>2009-10-27</AUDAT>
<VBTYP />
<ERDAT_VBRK>2009-10-27</ERDAT_VBRK>
<FKART>RE</FKART>
<NETWR>35.14-</NETWR>
<MWSBK>0.00</MWSBK>
<TOTAL>35.14-</TOTAL>
<WAERK>USD</WAERK>
<VBELV>7000010691</VBELV>
</item>
Sreedhar.
<NETWR>35.14-</NETWR>
If it is not affecting the business can you convert the above value to be represented as -35.14
Source --> Replace (- with empty emtry) --> Concat (first input to concat will be -) --> Target
maybe the way the negative value is being passed is causing some problem.
Regards,
Abhishek.
If you have declared it as string, then it should pass through XI.
Where are you getting this error?
May be you can find out how JDBC expects this field to be...and then handle it in mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have declared it as string, then it should pass through XI.
Where are you getting this error?
May be you can find out how JDBC expects this field to be...and then handle it in mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.