ABAP顾问
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
修改后的FORM itabtodataset | 6618 | 14 | 0 | 2007-08-29 | |
SESSION方式的BDC | 4995 | 0 | 0 | 2007-08-24 | |
如何给Add-on的透明表加更改Log | 5266 | 1 | 0 | 2007-08-24 | |
一个逆向思维的优化SQL的方法 | 4651 | 1 | 0 | 2007-08-17 | |
如何执行系统命令 | 4659 | 2 | 0 | 2007-08-02 | |
格式化的日期转为SAP内部日期 | 4606 | 0 | 0 | 2007-08-01 |
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.