- 2023-11-10ABAP:CS01/CS02/CS03 BOM创建/修改保存前增强
BADI:BOM_UPDATEMETHODif_ex_bom_update~change_at_save.******ADDBYZJ20231108校验存储地点是否为空SIFsy-tcodeEQ'CS01'ORsy-tcodeEQ'CS02'ORsy-tcodeEQ'CS03'.LOOPATdelta_stpobINTODATA(ls_stpob)WHERE
- 2023-09-18用CSAI_BOM_CREATE创建WBS元素BOM
REPORTZTEST2.datawa_csintypeCSIN.datawa_stpoblikeSTPOB.datawa_stzublikeSTZUB.datatab_STPOBtypetableofSTPOB.datawa_STKOBlikeSTKOB.datag_warn_stlnrtypeSTZUB-STLNR.datag_flwarningtypeCAPIFLAG-FLWARNING.cLEARwa_csin
- 2023-09-18用CSAI_BOM_MAINTAIN修改WBS BOM
注意在修改之前要先用'CSAI_BOM_READ读取该BOM的数据 。可实现对BOM行项目做增删改的操作,而且可以带上更改号。REPORTZTEST5.datawa_csintypeCSIN.datatab_stpobtypetableofSTPOB.datatab_STKOBtypetableofSTKOB.datatab_DEP_DATAtypetableofCSDEP_DAT.