Ansicht
Dokumentation

/SAPCE/IURU_SHARESCOUNT - Count Share of Consumption for Billing

/SAPCE/IURU_SHARESCOUNT - Count Share of Consumption for Billing

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Count time dependant share of consumption for installation. Get each time slices from table /SAPCE/IURU_SHAR and multiply them with days of particular time slice. This number is divided by number of days in billing period and rounded to 2 decimals.

Example

Billing period: 10.8.2005 - 09.09.2005

Shares:

  • Main installation:
  • 10% for 22 days = 7.10%

  • 2% for 9 days = 0.58%

  • Secondary installation 1:
  • 30% for 22 days = 21.29%

  • Secondary installation 2:
  • 10% for 22 days = 7.10%

  • Secondary installation 3:
  • 50% for 22 days = 35.48%

  • 98% for 9 days = 28.45%

Notes

Further information

Part of function module (variant) ISU__CE_SHR1.





Parameters

I_AB
I_ANLAGE
I_BIS
I_SOBJ
O_PERCENT

Exceptions

HAS_LOGIKNR
NOT_SHARE
PRIMARY
ROUND_DECIMALS
SHARE_ERROR
ZERO_DIVIDE

Function Group

CE/SAPLIURU_SHARESFUNC

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1815 Date: 20240420 Time: 124502     sap01-206 ( 31 ms )