用ABAP代码读取S/4HANA生产订单工序明细
在S/4HANA事务码CO03显示的Production Order里,我希望用ABAP代码显示出该订单的operation(工序)ID,描述和状态Status,如下图所示:
很简单的几行ABAP代码:
DATA: lt_operation TYPE TABLE OF afvgd. CALL FUNCTION 'PM_ORDER_DATA_READ' EXPORTING order_number = '000001000381' TABLES iafvgd = lt_operation EXCEPTIONS order_not_found = 1. IF sy-subrc <> 0. WRITE:/ 'not exist'. RETURN. ENDIF.
需要读取的数据都在这里:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关推荐
Cocolada 2020-11-12
82550698 2020-11-09
mnm0 2020-11-08
gaobudong 2020-11-04
匆匆那些年 2020-10-15
wangdianyong 2020-07-23
webpackvuees 2020-07-23
锋锋 2020-07-14
xlb 2020-07-12
liuttorrie 2020-07-04
XiaoMuFireAnt 2020-06-18
kekeromer 2020-05-07
数据齿轮 2020-03-03
Lophole 2020-03-03
YukiRain 2020-03-01
liuyang000 2020-01-06
zhegechengxuyuan 2019-11-16
woxmh 2019-11-09
bloomrose 2019-11-08