DATA: lwa_object TYPE bapi_pp_order_objects, "objects
lit_components TYPE TABLE OF bapi_order_component, "components.
lit_operations TYPE TABLE OF bapi_order_operation1. "operations
lwa_object-components = abap_true.
lwa_object-operations = abap_true.
CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
EXPORTING
number = <lfs_afpo>-aufnr
order_objects = lwa_object
TABLES
component = lit_components
operation = lit_operations.
取得PP订单组件(Components)和工序(operations)
最新推荐文章于 2024-08-26 16:38:21 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)