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

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