ABAP顾问
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
BAPI_PR_CHANGE 修改项目长文本 | 8556 | 8 | 2 | 2009-07-25 | |
如何在QAS、PRD更改Repository对象 | 3663 | 2 | 0 | 2009-07-15 | |
日期时间+秒 获取新日期时间 | 2890 | 0 | 0 | 2009-07-08 | |
获取本地打印机信息 | 3606 | 1 | 1 | 2009-07-08 | |
解析XML的多个ATTRIBUTE | 6418 | 6 | 0 | 2009-07-06 | |
单身日记 | 1768 | 0 | 0 | 2009-07-06 | |
看看你是啥体质 | 1775 | 0 | 0 | 2009-07-02 | |
用NATAIVE SQL做分页取数 | 3168 | 2 | 0 | 2009-07-01 | |
领导与员工 | 1804 | 0 | 0 | 2009-06-26 | |
SAP的帮助网址 | 4725 | 1 | 0 | 2009-06-24 | |
程序生成IDOC例子 | 5103 | 7 | 0 | 2009-06-23 | |
选择屏幕动态选择子屏幕 | 4105 | 0 | 0 | 2009-06-23 | |
开车人小提示 | 1434 | 0 | 0 | 2009-06-23 | |
发展 | 1392 | 1 | 0 | 2009-06-23 | |
Windows平台下用命令行的方式管理打印机 | 7072 | 0 | 0 | 2009-06-23 | |
限制同名程序同时只运行一个 | 3249 | 2 | 2 | 2009-06-22 | |
广泛使用的一个针对特定在线用户发送系统消息的程序 | 3071 | 0 | 0 | 2009-06-22 | |
翻转字符串 | 2879 | 3 | 0 | 2009-06-22 | |
获取fiscal week的函数 | 3094 | 0 | 0 | 2009-06-22 | |
MD5的ABAP实现 | 4725 | 0 | 1 | 2009-06-21 |
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.