摘要:SAP QM模块中主检验特性(MIC)分两种,定量特性(Quantitative MIC) 和定性特性(Qualitative MIC)。
SAP QM初阶如何从ABAP角度区分定性检验特性和定量检验特性
SAP QM模块中主检验特性(MIC)分两种,定量特性(Quantitative MIC) 和定性特性(Qualitative MIC)。
比如MIC 50000072是一个Qualitative MIC,
而MIC 50000071 是一个Quantitative MIC,
在MIC维护界面上,是通过2个check box来区分。但是在底层数据库层面,这2个checkbox并不是各自对应一个单独的字段。
从ABAP的角度,如何判断某个MIC是定量特性还是定性特性?
检验特性所在的Table QPMK.
可以通过字段QPMK_STEUERKZ(Control ind:Characteristic)来判断某个MIC是定量特性还是定性特性:
If the first character of this field value is X, then it is a quantitative MIC;
If the first character of this field value is EMPTY, then it is a qualitative MIC;
应该来说,SAP QM 模块里面MIC主数据设置里,各种indicator很多,但是并不是每个Indicator在数据库层面都有一个字段与之对应。SAP是通过一个通用的indicator字段QPMK_STEUERKZ来记录某个MIC的主数据里面多个indicator的值。这是一个很独特的方式,也是有些让人乍一看不太容易理解的地方。
Quantitative with lower limit
XX X = X
Quantitative with upper limit
XX X = X
Quantitative with check value
XX X= X
Quantitative with upper & lower limit
XX XX = X
Quantitative with Upper & check value
XX X X= X
Quantitative with lower & check value
XX XX= X
Quantitative with lower/Upper/Check value
XX XXX= X
Quantitative with only sampling procedure
XX = X X
Quantitative with uppper/lower/check with sampling procedure
XX XXX= X X
Qualitative with only charac. attribute
X = X
Qualitative with only sampling
= X X
Qualitative with sampling & charac. attribute
X = X X
2025-4-16 写于上海市。
来源:不可缺教育