SAP Function /SAPHT/SPC_C_SHEWHART_40 - Algorithms for c chart with sigma limits (SAP 4.0B version)

Parameter Reference Type Length Default Optional Text
I_CALCULATE_LIMITS QM00-QKZ C 1 X Calculate control limits
I_FPAR1 QPST-FPAR1 F 8 X sigma factor for upper action limit
I_FPAR2 QPST-FPAR2 F 8 X sigma factor for upper warning limit
I_FPAR3 QPST-FPAR3 F 8 X sigma factor for lower warning limit
I_FPAR4 QPST-FPAR4 F 8 X sigma factor for lower action limit
I_QASH QASH u 512 X Transaction data for the quality control chart
I_QAST QAST u 120 X Control chart track
I_QPSH QPSH u 68 X Master data for the quality control chart
I_STRUCTURE_OF_RESULTS DDINFO-DDNAME C 30 X Structure of transferred results

Parameter Reference Type Length Text
E_LIMITRC SYST-SUBRC I 4 Recalculation of the control limits (4= yes, 0= no)
E_QAST QAST u 120 Control chart track
E_TESTSRC SYST-SUBRC I 4 Acceptance inspection (01=Upper action limit crossed, 02=Lower AL crossed)

Parameter Reference Length Optional Text
T_RESULTSTAB 0 X Results (raw data)
T_SPURTAB QRKSPURPOS 152 X Track data

Exception Text
COMPUTING_ERROR Error calculating limits
INVALID_STRUCTURE Invalid structure
MASTER_DATA_ERROR Master data error
MISSING_DATA No data, or too few data for calculation
PROGRAMMING_ERROR Program error