on 10-23-2008 1:49 AM
Hi everyone.
I have the following scenario.
R3 -> XI -> Oracle
I´m trying to insert fileds into the Oracle DB, but i can not, because some of these fileds contain negative numbers and the Number data type of Oracle is rejecting those negative numbers.
It seems like Sap send negative numbers with the minus sign at the right side and Oracle Number Type is expecting to receive this sign at the left side.
Examples:
Negative number in Oracle Negative number in SAP
-1213254 1213254-
Do someone know if there is a way in XI to pass the minus sign of SAP from right side to the left side like Oracle is expecting it ?
Or how can I solve this problem??
Thanks in advance.
Hi
If you have the field as string then just use trim (remove the - from left) and concate (- to right)on this
Else create a small UDF for this.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try using StandarfFunction.. FormatNum or create a java function that will handle with patterns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.