SAP-QM初阶如何从ABAP角度区分定性检验特性和定量检验特性
2025-04-16 20:23阅读:
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的值。这是一个很独特的方式,也是有些让人乍一看不太容易理解的地方。
对于
QPMK_STEUERKZ这个字段值,如下是一些简要的说明:
Only quantitative
XX = X
Only Qualitative
= X
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 写于上海市。