SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Billing & Invoicing amount decimal places

Former Member
0 Likes
3,468

Hi,

do you know any way to extend the decimal places for the AMOUNT fields in Billing & Invoicing transactions?

Actually the amount comes with 2 decimals (12.34) and I'm studying the feasibility of extending it up to 7 (12.3456789).

Thanks,

John

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,826

Hi John

All amounts in SAP (including the billing invoicing tables) are defined as CURR, 13 characters, 2 decimals. This is something you cannot change.

However, all amount fields have a currency field assigned to. For example amount:

ERDK.TOTAL_AMNT    Data Type CURR

is assigned to currency field

ERDK.TOTAL_WAER   Data Type CUKY

(you can check this in transaction SE11, by double clicking onto the amount field).

The currency key holds the number of decimals required for the currency, for example JPY has 0 decimals, but the decimals of the amount field are used because of the larger numbers required.

You can create your own currency, where you can specify the number of decimals (table TCURX). For example:

NZD - Standard with 2 decimals (Not in TCURX)

NZD5 - Same as standard currency only with 5 decimals (in TCURX).

In the IMG go to:

  SAP NetWeaver

    -  General settings

      -  Currencies

        -  Set Decimal Places for Currencies

Yep

Jürgen

View solution in original post

3 REPLIES 3
Read only

Former Member
0 Likes
1,827

Hi John

All amounts in SAP (including the billing invoicing tables) are defined as CURR, 13 characters, 2 decimals. This is something you cannot change.

However, all amount fields have a currency field assigned to. For example amount:

ERDK.TOTAL_AMNT    Data Type CURR

is assigned to currency field

ERDK.TOTAL_WAER   Data Type CUKY

(you can check this in transaction SE11, by double clicking onto the amount field).

The currency key holds the number of decimals required for the currency, for example JPY has 0 decimals, but the decimals of the amount field are used because of the larger numbers required.

You can create your own currency, where you can specify the number of decimals (table TCURX). For example:

NZD - Standard with 2 decimals (Not in TCURX)

NZD5 - Same as standard currency only with 5 decimals (in TCURX).

In the IMG go to:

  SAP NetWeaver

    -  General settings

      -  Currencies

        -  Set Decimal Places for Currencies

Yep

Jürgen

Read only

0 Likes
1,826

Hi Juergen,

many thanks for your advice. In fact, I would consider your solution (by defining a new currency) and link it to all the involved organizations, rather than implementing custom logic/enhancements.

I have just one concern:

e.g. in EA22 - Display billing document, the standard amount field (NETTOBTR) has 2 decimals; how will it be displayed if the BillDoc is created with the new currency (7 decimals)?

Read only

0 Likes
1,826

Hi John

I don't have the time to check it, but - YES - it should show it in the format defined by the currency linked to the amount field.

Just give it a try, for example with JPY, which shows no decimals.

Yep

Jürgen