Ansicht
Dokumentation
HR_SEN_CALE_DAYS_WEIGHT - Weighting of a Duration: Only Calendar Days (If Applicable, Dec.Places)
Addresses (Business Address Services) Addresses (Business Address Services)This documentation is copyright by SAP AG.
Weighting for the Calculation in Calendar Days
This function module can be used for a conversion rule if it only uses calendar days. The function module
multiplies the days given in the import parameter with the weighting factor from the parameter IS_WEIGHT using the formula:
- Weighted days = days * numerator / denominator
If the fields for Years or Months are filled in the import parameter IS_DURATION, the function module triggers the exception CONVERSION_NOT_SPECIFIED.
Example
Import parameters
- IS_DURATION = (0.0 years; 0.0 months; 40.0 days)
- IS_WEIGHT = (50.0; 100.0)
Export parameter
- ES_W_DURATION = (0.0 years; 0.0 months; 20.0 days)
Parameters
ES_W_DURATIONID_BEGDA
ID_ENDDA
IS_DURATION
IS_WEIGHT
Exceptions
CONVERSION_NOT_POSSIBLECONVERSION_NOT_SPECIFIED
Function Group
HRSEN00CRULE_CALE_DAYSPERFORM Short Reference RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 1144 Date: 20240523 Time: 102546 sap01-206 ( 25 ms )