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

来源:互联网 发布:免费矢量绘图软件 编辑:程序博客网 时间:2024/06/12 00:57

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 0
原创粉丝点击