1.尝试注释标准逻辑,看会不会有什么问题,

ZME_BAPI_PO_CUST

IF_EX_ME_BAPI_PO_CREATE_02~INBOUND 里面有个控制很费解 我给注释了

2.改用 BAPI_PO_CREATE,

3.用 BAPI_PO_CREATE1 后,  and status on hold.
再使用 BAPI_PO_CHANGE 将状态改回来,

3.

 Hello Jürgen,

Thanks for your reply~
According to NOTE 354771:
MEMORY_UNCOMPLETE:
You can use this parameter to define whether an INCORRECT or incomplete purchase order is to be held.

If the value of the parameter is 'X', then the purchase order is held.

If the value of the parameter is ' ', then the purchase order NOT is created.

Seems possible to hold an incorrect or incomplete purchase order.

But in our situtaion, both of the parameters MEMORY_COMPLETE and MEMORY_UNCOMPLETE are set to ' '.

That means:

If purchase order is incomplete.

it will NOT be created since the parameter MEMORY_UNCOMPLETE is set to ' ';

Else.

it will BE saved not held since the parameter MEMORY_COMPLETE is set to ' '.

ENDIF.

Actually, the MEMORY_COMPLETE is set to 'X' by a BADI:

INCLUDE 'L2012F47', found a BADI: CL_EXM_IM_ME_BAPI_PO_CUST

Example Implementation for BAdI ME_BAPI_PO_CUST.

IF NOT ch_poheader-vendor IS INITIAL.

* hold PO without error

ch_memory_complete = cl_mmpur_constants=>yes.

* do not perform application authority check

ch_no_authority = cl_mmpur_constants=>yes.

ENDIF.

Could it be other parameters to control the hold status? Please kindly to correct me if i am not right above.

Best regards,

Eason

最新文章

  1. 【.net 深呼吸】序列化中的“引用保留”
  2. 【HOW】如何配置SharePoint传入/传出电子邮件设置
  3. java继承的对象中构造函数的调用顺序
  4. 关于response.getWriter()写回数据的实际发生时间点
  5. GitHub注册流程(中英对比)
  6. Leetcode 283 Move Zeroes 字符串
  7. bootstrap 列表 表格 表单 复选 单选 多选 输入框组
  8. PHP命令行模式基本介绍
  9. 【英语】Bingo口语笔记(76) - 不知如何应答的场景对话
  10. Masonry 布局 cell 高度适应的一种方案(实现类似朋友圈简单布局)
  11. asp.net 小技巧
  12. log4j记录exception异常有价值信息及log4j级别
  13. Sqlserver 时间字段批量增加
  14. iphone与安卓的兼容性问题汇总
  15. hdu1181 变形课(vector容器+dfs)
  16. 《剑指offer》数字在排序数组中出现的次数
  17. Cookie的一点认识!
  18. JDK8安装与配置
  19. [luogu3455][POI2007]ZAP-Queries【莫比乌斯反演】
  20. 洛谷 P3962 [TJOI2013]数字根 解题报告

热门文章

  1. Linux 之 文件压缩解压
  2. hdu 4514(树的直径+并查集)
  3. AC日记——合唱队形 洛谷 P1901
  4. js库-AngularJS
  5. html-禁用右键、键盘F12、网页上选取内容、复制、粘贴
  6. 从壹开始 [ Ids4实战 ] 之三║ 详解授权持久化 & 用户数据迁移
  7. 洛谷——P2658 汽车拉力比赛
  8. IntelliJ IDEA重构技巧收集
  9. C#深入学习:泛型修饰符in,out、逆变委托类型和协变委托类型
  10. Jquery实现的图标抖动效果