IDCO的數據表:
EDIDC Stores the Control Record information an IDOC
EDID4 Stores the Data Records (version 4.6)
EDIDD Data Seg (EDI Intermediate doc)
EDIDS Stores the Status of an IDOC
IDOC的測試一般通過WE09/WE19去測試,但是一些通過標準程序觸發的IDOC沒法通過WE09/WE19去測試,例如,AP IDOC 的RFFOEDI1
1、IDOC的查詢: WE02
2、IDOC的FM的查詢: IDOC_OUTPUT_<MT> (message type)
The function modules for generating the IDocs are usually called IDOC_OUTPUT_<MT>, where <MT>
represents the relevant message type. Depending on the output mode, the generated IDocs are either
collected or forwarded for immediate dispatch.
WE42 通過message type 查詢到process code,然後再通過process code 查到 outbound FM。
WE02查詢message type partner no part type到WE20裏面查詢對應的FM。
其實IDOC的FM的查詢,可以反過來去思考IDOC的配置,就可以從中去找了。
3、IDOC test : WE19 , 例如你修改了某個segment 的值,然後通過WE19就可以測試修改是否成功。
4、通過idoc baisc type去查找:
通過WE02查找到了這個IDOC的 basic type 然後查看到這個basic type裏面的segment對應的structure,利用where to used-list,查到對應的程序。
5、IDOC報錯重發: BD87和WE15
首先IDOC報錯的,有些時候,會指定某個segment的:
BD87: 直接運行就好了。
WE15: 有些IDOC例如(VL03,VF03裏觸發的),當報錯,需要repeat,然後通過WE15去重發,纔可以debug。
1、設斷點
2、repeat IDOC 並設置發送時間:
3、進入WE15重發,debug。
6、IDOC debug的一些技巧:
7、Deactive IDOC type:通過BD64,把原先配好的IDOC basic type刪掉即可,然後需要重新激活的時候,再配置上。