IDOC的debug、错误处理和各项IDOC信息查询(各种查询,全)。

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删掉即可,然后需要重新激活的时候,再配置上。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值