首页 > 其他 > 详细

ABAP-规范

时间:2019-11-06 11:26:06      阅读:93      评论:0      收藏:0      [点我收藏+]

select WERKS, MATNR,
  sumcase when SHKZG ‘S‘ then MENGE when SHKZG ‘H‘ then ( MENGE * -end )
  as MENGE
  from MSEG into corresponding fields of table @LT_MSEGS
  where MATNR in @SO_MATNR
  and WERKS  in @SO_WERKS
  and BUDAT_MKPF in @R_FDAY
  and BWART in (‘101‘,‘102‘,‘161‘,‘162‘,‘122‘,‘123‘)
  group by WERKS,MATNR order by WERKS,MATNR

ABAP-规范

原文:https://www.cnblogs.com/eagle-dtq/p/11803963.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!