on 06-08-2010 2:27 PM
Hai SAP Equery Experts
I am using FMS in Sales invoice for bringing Net Rate by adding Two field (Total LC and TaxAmount)
The calculation is = U_NTRT = INR Total LC + INR Tax Amount LC
here Total LC and Tax Amount LC are Character type and U_NTRT is numering type.
But while running the FMS query, the error is showing like this
"Data Type Conversion Error" , I know that this error is showing because of the data type difference.
I would like to know , what type of query will be suitable for fetching the total amount (Netrate).
please give me a suitable solution.
Thanks
Regards
Hi,
Try this one:
SELECT $[$38.21.number\] + $[$38.82.number\]
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
check out this i think this will solve ur prob
SELECT (CONVERT(DECIMAL(10,2),T0.[VatSum])+
CONVERT(DECIMAL(10,2),T1.[LineTotal]))
FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.[DocNum] ='287'
cheers
Jenny
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 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.