ABAP-直接取表获取特性值

 1 SELECT ausp~objek ,
 2   cabn~atnam,
 3   cabn~atfor,       " 数据类型
 4   cabn~msehi,       "单位
 5   cabn~atint,       "间隔值
 6   ausp~atwrt,        "char特性值
 7   ausp~atflv,         "num特性值从
 8   ausp~atflb         "num间隔特性值到
 9   INTO TABLE @DATA(lt_ausp)
10   FROM ausp
11   INNER JOIN cabn ON cabn~atinn = ausp~atinn
12   INNER JOIN mara ON ausp~objek = mara~matnr
13   FOR ALL ENTRIES IN @gt_data
14   WHERE mara~matnr = @gt_data-matnr
15   AND ausp~klart = '001'
16   AND ( cabn~atnam = 'A' ) .
posted @ 2023-09-22 11:23  TigerMan  阅读(92)  评论(0编辑  收藏  举报