Fonction SAP SLS_MISC_GET_MEDIAN - calculate median from list of numbers

Paramètre Reférence Type Long. Description
MEDIAN LS_MEDIAN P 4 PAW - decimal number length 5 with 2 decimals

Paramètre Reférence Long. Facultatif Description
P_NUM SLS_NUMS 4 PAW - Structure to simply hold a list of numbers

Exception Description
LIST_OF_NUMBER_IS_EMPTY There were no numbers passed for calculation

Functionality
This FM is useful to calculate median from the list of numbers.