SAP批量报工源码,适用于工序少的情景。
*&---------------------------------------------------------------------*
*& Report ZPPR106
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*REPORT ZPPR106.TABLES: afko,afpo,aufk.TYPES: BEGIN OF tp_output,box TYPE xfeld,aufnr TYPE afko-aufnr, " 生产订单werks TYPE afru-werks, " 工厂plnbez TYPE afko-plnbez, " 物料编码maktx TYPE makt-maktx, " 物料描述wrkst TYPE mara-wrkst, " 基本物料
* zcpgg TYPE mara-zcpgg, " 规格型号gamng TYPE afko-gamng, " 生产订单数量gmein TYPE afko-gmein, " 单位lmnga TYPE afru-lmnga, " 确认数量xmnga TYPE afru-xmnga