Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3074

When should we use the QUAN type?

$
0
0

Hello, everybody!

 

I rencently had to create a table Z for storing some kind of fidelity points of customers and I could not decide on which sap datatype should I use for the column storing those points.

The first thing that came to my mind was a INT4, but then I consiedered the possibility of using a QUAN type, then I read that I need to create a UNIT field of reference (which makes a lot of sense) and an ISO code for that UNIT.

 

I found inconvenient the fact that the unit I wanted to create has no ISO code (since it only exist within the business) and that for storing the unit I had to create an extra comun whose value will never change. Therefore, I decided to use the INT4 instead.

 

Did I made a good decision? When should we use the QUAN type?

 

Thank you very much for your time.


Viewing all articles
Browse latest Browse all 3074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>