Fonction SAP BKKT_BKKTERM_CONVERT_TERMUNIT - Conversion of Term Unit

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_TERMUNIT_1 BKK_TERMUNIT C 1 Unit Required for Term
I_TERMUNIT_2 BKK_TERMUNIT C 1 Existing Term Unit
I_TERM_2 BKK_TERM N 6 Existing Term to be Converted

Paramètre Reférence Type Long. Description
E_TERM_1 BKK_TERM N 6 Term to be Converted

Exception Description
CONVERSION_ERROR Conversion of Errors
INVALID_CONVERSION Invalid Conversion
PARAMETER_ERROR Missing Parameters

Functionality
Conversion of a term from one period unit to another.

Example
You want to have the term in months. The existing term is two years,meaning that the result would be 24 (months).

Notes
28, 30 and 31 days = one month
360 and 365 days = one year
Partial months and partial years are rounded to the nearest whole number
, meaning that 45 days would be two months.