on ‎2023 Apr 13 5:55 PM
Hello!
I've tried replicating data through SLT with the data-type CURR (NET_AMOUNT, 28.6) which refers to a different column with the data type CUKY (DOC_CURRENCY, 5). While in the source system I get the correct values (e.g. 1402), the replicated data follows the pattern of dividing the original value by 1000 and rounding up to 2 decimal houses (e.g. 0,14). I've tried altering the data type in LTRS to CHAR (34), DEC (28.6), and DF34_DEC without success.
How can I fix this issue?
Thanks in advance!
Request clarification before answering.
Hi larissamdealmeida,
This is not an SLT error but how things works on application server, not everything you see on transaction is found exactly same on database table.
Application has convertion exits, to format something from database to what users need to see. Example: dates on database are always yyyymmdd, but is formated properly according to user settings, for me appears dd/mm/yyyy, for US mm-dd-yyyy.
In your case, seems to be the same. Go to SE16, on table with has the NET_AMOUNT and you probably see it as 1402. Now go to Settings -> User Parameters and disable flag Format -> Respect conversion exit and you probably will see 0,14 that is probably the value found on database.
See more info on SAP Note 137626 - FAQ: Decimal Places for Currency Codes.
Now, for modeling on HANA you have to follow this:
Or, depending of your user case you may found a different strategy of transformation inside SLT or on your view.
Regards, Fernando Da Rós
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.