ABAP顾问
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
SAP 已有客户编码/供应商编码/物料编码更改标准解决方案 | 9142 | 0 | 1 | 2014-09-07 | |
SAP 会计科目表变更,会计年度变更,资产类别/资产科目确定更改,标准解决方案 | 8776 | 0 | 1 | 2014-09-07 | |
SAP 利润中心重组,Segment重组,利润中心/成本中心编码更改 标准解决方案 | 9899 | 0 | 1 | 2014-09-07 | |
SAP 成本控制范围合并,控制范围编码更改 标准解决方案 | 5823 | 0 | 1 | 2014-09-07 | |
SAP 公司出售,公司合并,公司代码更改 标准解决方案 | 7494 | 0 | 1 | 2014-09-07 | |
SAP 物料编码更改标准解决方案 | 6308 | 0 | 1 | 2014-09-07 |
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.