ABAP顾问
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
老白在SCN的博客 | 4095 | 3 | 0 | 2009-10-29 | |
ITS WebGUI - Activation (Back End) | 3107 | 0 | 0 | 2009-10-09 | |
判断字符型变量里面是否有空格 | 3910 | 0 | 2 | 2009-10-08 | |
按照指定序列对内表排序和稳定排序 | 4748 | 0 | 0 | 2009-10-08 |
wert772010-11-02 14:52
l老白: 请教个问题,我用BAPI_PO_CHANGE 修改外协采购订单时,把交货计划拆分为分批交货,可是第二行、第三行的组件需求数据无法写入,试了很多办法,都不行,帮忙看看,我的传值代码如下: WA_BAPIMEPOSCHEDULE-PO_ITEM = WA_ZMMT306-EBELP. WA_BAPIMEPOSCHEDULE-SCHED_LINE = LW_SLINE. WA_BAPIMEPOSCHEDULE-QUANTITY = WA_ZMMT306-MENGE. WA_BAPIMEPOSCHEDULE-DELIVERY_DATE = WA_ZMMT306-EINDT. WA_BAPIMEPOSCHEDULE-DELIV_TIME = WA_ZMMT306-UZEIT. APPEND WA_BAPIMEPOSCHEDULE TO TD_BAPIMEPOSCHEDULE. WA_BAPIMEPOSCHEDULEX-PO_ITEM = WA_ZMMT306-EBELP. WA_BAPIMEPOSCHEDULEX-SCHED_LINE = LW_SLINE. WA_BAPIMEPOSCHEDULEX-PO_ITEMX = 'X'. WA_BAPIMEPOSCHEDULEX-SCHED_LINEX = 'X'. WA_BAPIMEPOSCHEDULEX-DEL_DATCAT_EXT = 'X'. WA_BAPIMEPOSCHEDULEX-DELIVERY_DATE = 'X'. WA_BAPIMEPOSCHEDULEX-QUANTITY = 'X'. WA_BAPIMEPOSCHEDULEX-DELIV_TIME = 'X'. APPEND WA_BAPIMEPOSCHEDULEX TO TD_BAPIMEPOSCHEDULEX. WA_BAPIMEPOCOMPONENT-PO_ITEM = WA_ZMMT306-EBELP. WA_BAPIMEPOCOMPONENT-SCHED_LINE = LW_SLINE. WA_BAPIMEPOCOMPONENT-ITEM_NO = LW_SLINE. WA_BAPIMEPOCOMPONENT-MATERIAL = '100000'. WA_BAPIMEPOCOMPONENT-ENTRY_QUANTITY = WA_ZMMT306-MENGE. WA_BAPIMEPOCOMPONENT-ENTRY_UOM = 'PC'. APPEND WA_BAPIMEPOCOMPONENT TO TD_BAPIMEPOCOMPONENT. WA_BAPIMEPOCOMPONENTX-PO_ITEM = WA_ZMMT306-EBELP. WA_BAPIMEPOCOMPONENTX-SCHED_LINE = LW_SLINE. WA_BAPIMEPOCOMPONENTX-ITEM_NO = LW_SLINE. WA_BAPIMEPOCOMPONENTX-MATERIAL = 'X'. WA_BAPIMEPOCOMPONENTX-ENTRY_QUANTITY = 'X'. WA_BAPIMEPOCOMPONENTX-ENTRY_UOM = 'X'. APPEND WA_BAPIMEPOCOMPONENTX TO TD_BAPIMEPOCOMPONENTX.