ABAP顾问
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
根据行事历确定交期 | 3175 | 1 | 0 | 2010-12-26 | |
如何使cl_gui_alv_tree响应NODE单击事件 | 5025 | 1 | 0 | 2010-12-25 | |
STATUS_TEXT 对象状态 | 3868 | 2 | 2 | 2010-12-22 | |
如何去掉STMS的Import All Requests按钮 | 5858 | 3 | 0 | 2010-12-06 |
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.