explosion

反查BOM, 找出它的上阶

强颜欢笑 提交于 2019-11-30 06:33:10
转自: https://blog.csdn.net/zhongguomao/article/details/80172441 查询物料的上阶方法有三: 1. CS15 可直接查出物料的上阶直至顶阶物料. 2. CALL FUNCTION. 只能查上上阶, 要想得到顶阶, 需要递归查询. CS_WHERE_USED_MAT Bills of material; where-used list CS_WHERE_USED_MAT_ANY Bills of material; where-used list as material or class item 3. 根据表 STAS 和 STPO. REPORT z_af_023. DATA: BEGIN OF iwultb OCCURS 0. INCLUDE STRUCTURE stpov. " BOM Item DATA: END OF iwultb. DATA: BEGIN OF iequicat OCCURS 0. INCLUDE STRUCTURE cscequi. " BOM Explosion: Equipments DATA: END OF iequicat. * DATA: BEGIN OF ikndcat OCCURS 0. INCLUDE STRUCTURE cscknd. " BOM Explosion: