cancel
Showing results for 
Search instead for 
Did you mean: 

Calculation of the median is still not available.

Former Member
0 Kudos

Hello,

I once again a question.


I have an inspection characteristic with single results.


In the table QAMR the MAX-Value, the Min-Value, the Mean value and the Variance value exists, but the Median value is missing.


In the help-context is following:


Median of Valid Measured Values

Use

Calculation of the median is still not available.



Why is that?


I expect that the median value is calculated automatically.


Can anybody help me?


Best regards


Ulrike



Accepted Solutions (0)

Answers (2)

Answers (2)

former_member235613
Participant
0 Kudos

Ulrike, if you are still looking for a solution, implement note 2237411.

john_lutz
Active Participant
0 Kudos

Hi Ulrike,

This came up a few years ago, and there's some good discussion around it here:

http://scn.sap.com/thread/2152775?start=0&tstart=0

A quick look in OSS seems to suggest nothing has changed since....

Regards,

John

Former Member
0 Kudos

Hi John,

thanks for your response.

I will calculate the median now by a function module.


CALL FUNCTION 'SLS_MISC_GET_MEDIAN' "calculate median from list of numbers
         IMPORTING
           median = median                   " ls_median     PAW - decimal number length 5 with 2 decimals
         TABLES
           p_num = p_num                 " sls_nums      PAW - Structure to simply hold a list of numbers
         EXCEPTIONS
           LIST_OF_NUMBER_IS_EMPTY = 1.


But one more question, where you can see the median? In what Dynpro view?


Best regards


Ulrike

john_lutz
Active Participant
0 Kudos

I do not know, sorry

Regards,

John


Former Member
0 Kudos

Nevertheless, thank you!!!

Best regards,

Ulrike