zoukankan      html  css  js  c++  java
  • 使用SAP CRM中间件XIF Adapter但没有IDOC生成的故障原因分析

    Today I meet with this issue as title. I followed the steps in blog Step by step to send IDOC data into external receiver via XIF adapter to try to send the changed Service Order to file via XIF adapter. Although the IDOC generation works perfectly for BusinessPartner, unfortunately after I make changes to a given Service Order, no IDOC is generated at all.

    There is a well-written note by SAP: CRM outbound IDOC is not created after data is changed which contains all the necessary system configuration for IDOC generation.
    I compared my system setting with it and everything is configured correctly.
    As the last solution I have to debug to understand what has happened. Via debugging I found out that the FM CRMXIF_ORDER_IDOC_SEND is actually not executed so no IDOC is generated.

    This FM is maintained in table CRMXIF_BDOCIF for BUS_TRANS_MSG.

    So I check why is_data_mapped is initial. The mapping function module CRMXIF_ORDER_MAP_TO also configured in the table above is responsible for actuall mapping, which will call CRMXIF_BT_IO_MAP_TO_DATA.

    Inside this FM, the possibility about whether the status changes into process “XIF” is evaluated.

    For the Service Order being edited by me, it has system status I1030 – contains errors,


    and according to system status settings, only the following system status supports the status transition to XIF.

    After I resolve all errors of this Service Order, IDOC is then generated as expected:


    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    面试笔试
    scala(9) Monad
    scala (8) 模糊匹配
    scala (7) Set and Tuple
    scala (6) Map
    scala (5) 可变序列和不可变序列
    scala (4) 可变数组和不可变数组
    scala (3) Function 和 Method
    scala (2) while 和变量
    scala (1) for 循环
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13577076.html
Copyright © 2011-2022 走看看