使用SAP CRM中间件XIF Adapter但没有IDOC生成的故障原因分析

本文涉及的产品
Serverless 应用引擎 SAE,800核*时 1600GiB*时
注册配置 MSE Nacos/ZooKeeper,118元/月
性能测试 PTS,5000VUM额度
简介: 使用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.

image.png

This FM is maintained in table CRMXIF_BDOCIF for BUS_TRANS_MSG.

image.png

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.


image.png

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

image.png

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

image.png

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

image.png

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

image.png


相关文章
|
2月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
2月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
|
2月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
|
2月前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
|
2月前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
|
2月前
|
中间件
如何在 SAP CRM 系统调试 Product Initial Download
如何在 SAP CRM 系统调试 Product Initial Download
|
2月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
|
2月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
|
2月前
|
Web App开发 数据采集 前端开发
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版