SAP采购订单修改后再次审批触发EDI输出问题


问题:

采购PO设置任何修改时需要进行再次审批,再次审批时会触发一个EDI错误消息输出.

现象:

使用 ME21N 创建PO 并使用ME29N 审批.我们会看到一个正确(绿色)的消息输出.

clip_image002

clip_image004

当我们使用 ME29N 修改了PO数量为 2 , 保存以后,再次审批.我们会看得红色的错误输出.

clip_image006

clip_image008

查看日志如下:

clip_image010

问题解决方案:

Dear Customer,

as per your screenshot the error is about that the change output not finds processing code for the Idoc. So solve this pleaes go to WE20 tcode, under logistical system (LS) choose the related partner (OPPLE001) and find there the outgoing ORDCHG Idoc message type - if that is not maintained then maintain. maintain it with ME11 message process code for change case and maintain for it processing function module IDOC_OUTPUT_ORDCHG.

Make sure you have this setup, and thereafter test again PO change.

系统实施:

WE20 查看消息类型

依次选择LS->OPPLE001, 查看出站参数中没有ORDCHG的消息类型,需要添加

clip_image012

查看PO订单结构,查看ORDERS消息类型(双击),

可以看到IDOC类型为 ORDERS05 + ZORDERSEXT

我们需要添加一样的消息类型

clip_image014

消息控制使用

应用程序: EF : 采购订单

消息类型: ZNEU : Purchase order EU

过程代码: ME10 : ORDERS: 采购订单

clip_image016

WE82查看消息类型的分配

clip_image017

ORDCHG没有使用扩展类型,需要添加.

复制添加 ORDCHG ORDERS05 ZORDERSEXT 消息类型

clip_image018

WE20 添加出站参数ORDCHG消息类型

选择消息类型ORDERS,点击复制按钮

clip_image020

输入消息类开ORDCHG

clip_image021

消息控制

EF : 采购订单

ZNEU : Purchase order EU

ME11 : ORDCHG: 采购订单更改

修改消息打勾

clip_image023

保存消息.

系统测试:

可正常输出更改消息

clip_image025

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章