点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) 选择 A.MANDT,A.MA...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) 选择 A.MANDT,A.MA...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
选择 A.MANDT,A.MATKL,T023T.WGBEZ AS GRP_DESCR,A.MATNR AS ITEM_CODE,( SELECT MAKTX FROM SAPABAP1.MAKT WHERE MANDT = A.MANDT AND MATNR = A.MATNR) AS ITEM_DESCR,
总和(A.MENGE)* -1 AS QUANTITY, MAX (A.NET_WT) AS NET_WT,总和(A.WEIGHT)* -1 AS WEIGHT FROM
(
选择,MATDOC.MANDT,MARA.MATKL,MARA.MATNR,
案例 何时 MATDOC.SHKZG ='H'何时 MATDOC.MENGE * -1 ELSE MATDOC。 MENGE END AS AS MENGE,
MARA.NTGEW AS NET_WT,案例 何时 MATDOC.SHKZG ='H'何时 MATDOC.MENGE * -1 ELSE MATDOC.MENGE END * MARA.NTGEW AS 重量
FROM SAPABAP1.MATDOC,SAPABAP1.MARA 位置
MATDOC.MANDT = MARA.MANDT 和 MATDOC.MATNR = MARA.MATNR AND
MATDOC.BWART IN ('601','602','641','642') AND
MATDOC.MANDT ='500'
AND ((MATDOC.MATNR BETWEEN 'RLTOWT1004WH' AND 'RLTOWT1004WH') OR (MATDOC。 MATNR 喜欢'%RLTOWT1004WH%' OR INSTR('RLTOWT1004WH',MATDOC.MATNR)> 0))
AND (((MARA.MATKL BETWEEN '' AND '') OR (MARA.MATKL < strong>喜欢'%%'或 INSTR('',MARA.MATKL)> 0))
AND (MATDOC.WERKS 喜欢'%3030%' OR INSTR('3030',MATDOC.WERKS)> 0)
AND MATDOC.BUDAT BETWEEN '20180901' AND '20180927'
)A,SAPABAP1.T023T
位置 A.MANDT = T023T.MANDT AND T023T.SPRAS ='E' AND T023T.MATKL = A.MATKL >
组 BY A.MANDT,A.MATKL,T023T.WGBEZ,A.MATNR;
您尝试了什么?
一周热门 更多>