Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Any data element Currency with length 17 and decimals as 6

0 Kudos
1,699

Hi All,

Is there any standard data element of Currency type with length 17 and decimals as 6?

Ex: 1234.654321

It is not advisable in our system to create Custom data element.

Regards,

Pruthvi.

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor
1,634

SE11 > F4 on "Data Type" > Select Search for Data Element > Information System > Expand search help options > Select type CURR, length 17, decimals 6:

As there is no selection field for Decimals, you may display the table DD04L via SE16/SE16N/S416N (below is S416N):

6 REPLIES 6

thkolz
Contributor
0 Kudos
1,634

SAP uses internally just 2 decimals for currency amounts (e.g. NETWR which is used in structure KOMP for pricing).

You can for instance use P05_DEC12_5, but it has just 5 decimals.

0 Kudos
1,634

Thanks Thorsten,

I actually have data element TB_CURR_11_5 which accommodates 5 decimals, but i will require all 6 decimals to be there.

Regards,

Pruthvi

Sandra_Rossi
Active Contributor
1,635

SE11 > F4 on "Data Type" > Select Search for Data Element > Information System > Expand search help options > Select type CURR, length 17, decimals 6:

As there is no selection field for Decimals, you may display the table DD04L via SE16/SE16N/S416N (below is S416N):

0 Kudos
1,634

Thank's Sandra,

This is helpful, I was able to find out an existing data element this way.

Regards,

Pruthvi.

0 Kudos
1,634

But I feel you still don't understand the currency concept, the technical number of decimals is meaningless, SAP use a dynamic number of decimals (see all these questions in the forum about currency amounts changed by factor of 100, 1000 or whatever). If it's something else than the classic concept of currency amounts, you should use DF16_DEC / DF16_RAW (16 or 34) type, and decfloat16/34 in ABAP.

Sandra_Rossi
Active Contributor
0 Kudos
1,634

As Thorsten suggested, the technical number of decimals has no importance, currency amounts are displayed with a number of decimals depending on the assigned currency key.

I think that you should ask your question differently, could you explain the business requirement?