`
JerryWang_SAP
  • 浏览: 1032392 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

使用SAP CRM External Interface进行订单同步

阅读更多

We are not going to use CRM Middleware any longer for internal business processes, like creating a follow-up document from a service order. However, we want to still allow customers to use CRM MW for connecting external systems, like a BW system or a legacy system (through the XIF adapter).

So creation of the One Order messaging BDOC must still work, and the data should arrive correctly at the corresponding adapters. In particular, I am interested in any direct SELECT statements on the old One Order database tables on the way from creation of the BDOC to the (BW and XIF) adapters.

We have compiled a list of all SELECT statements, but sometimes it is hard to analyze whether the corresponding piece of code is actually processed in one of the supported scenarios.

It is still unclear in which system/client the activation of CRM Middleware could be tested.

Transaction BDFG is exactly that: it provides the possibility to generate the XIF idoc structures based on the bdoc structure.

The interface name can be found in table CRMXIF_BDOCIF.

Outbound Scenario

(1) Data is changed in application

(2) an mBDoc is created and transferred to CRM Middleware.

(3) CRM MW determines possible external receivers for the mBDoc and sent the mBDoc to XIF Adapter.

(4) XIF Adapter converts mBDoc to XML-like or IDOC and an appropriate basic service (SOAP, ALE) is started that sends the data object to the external receiver, for example, via a third-party Middleware tool.

Issue

(1) [CRMXIF_ORDER_SAVE IDOC not getting generated for BUS_TRANS_MSG BDOC](archive.sap.com/discuss)

The model of BDOC BUS_TRANS_MSG triggering IDOC CRMXIF_ORDER_SAVE_M02 perfectly worked in the development system???

(2) [use XIF adapter to transfer XML documents into CRM](archive.sap.com/discuss)

(3) [note: 2343680 - CRM outbound Idoc is not created after data is changed - Fiori url](apps.support.sap.com/sa)

# Trouble shooting

(1) Go to t-code R3AC1 and make sure the object BUS_TRANS_MSG contains the flow context from CRM to XIF.

(2) table EDIDC

(3) FM: SMW3_OUTBOUNDADP_CALLADAPTERS, CRMXIF_ORDER_IDOC_SEND, CRM_STATUS_CHANGE_FOR_ACTIVITY, CRM_UPLOAD_BUS_TRANS_MSG

(4) TJ07 & TJ31:determine whether a Business transaction is allowed when the status is at a certain user status (TJ31) and a certain system status (TJ07). Example: in TJ07, if the system status is I3037 then CHNG business transaction is prohibhited because of the entry 3 in the field MODKZ. In user interaction terms the user cannot back the transaction editable if the system status of the tranaction is I3037. The user is presented with the error in this case 'No changes possible in document'. The entries in TJ07 could be found from transaction code BS32.

An interesting finding. Recently the C4C customer I supported asked some integration question regarding integration of C4C and CRM using PI. After I go through the integration document, I know that it is possible to replicate master data( BP, Product etc) and sales data between C4C and CRM.

The necessary configuration in AG9 Vs the counterpart in an old CRM system Q0C/304:

WE19 is the test tool for IDOC processing. If there are no IDOCs in the system, you have to create one from scratch using a message type, but if there are already IDOCs in the system, it is most convenient to use the option “Existing IDoc”.

# Sync 2017-11-20

Issue 1 - after saving a Service Order in QG3/130, mno BDOC is generated.

root cause:

# solution

Issue 2 - MBOC is generated, but no IDOC is generated.

Issue: no error handling in FM CRM_ORDER_SAVE_OW

There are lots of such occurance:

Then debug this FM - it is not executed AT ALL:

in FM: CRMXIF_BT_IO_MAP_TO_DATA

The status of this Service Order:

However, it is difficult for end user to find what exactly the errors are there from WebUI:

It is possible to write a report to remove I1030 and I1056 from CRM_JEST but I don't think it is a correct approach - we must resolve the error status with solution which is also feasible for end user.

# Sync 2017-11-22

It's my fault: I am testing on a service order which still has old persistence in QG3/130:

After I create a new Service Order from scratch, the XIF outbound scenario works quite well - the IDOC is generated and sent to XIF site successfully:

I quickly go through all accessed DB table traced by ST05:

You can also find trace file here:

0
0
分享到:
评论

相关推荐

    SAP CRM同步问题记录

    在SAP CRM(客户关系管理)系统中,同步问题往往是由于不同组件间的通信故障或配置错误导致的。本文将深入探讨两个具体的问题及其解决方案,帮助用户理解和处理SAP CRM中的同步异常。 首先,我们遇到的第一个问题是...

    SAP CRM 7.0 PA-CR100

    这个课程主要针对SAP CRM的定制化基础进行深入讲解,适合希望深入了解SAP CRM系统架构、定制方法和实践的IT专业人员。课程涵盖了SAP CRM的技术架构、定制工具、业务流程设计与实现等关键内容,为学员提供了一套完整...

    sap crm 一点通

    ### SAP CRM 开发核心知识点详解 #### 一、SAP CRM 概览 SAP CRM(Customer Relationship Management)是一款由SAP公司推出的企业级软件,主要用于优化企业的客户关系管理过程。与SAP ECC(Enterprise Core ...

    sap CRM 2007 IDES.rar

    IDES全称为Integrated Development and Education System,它为开发者和学习者提供了完整的SAP CRM系统,以便进行测试、学习和演示。这个RAR压缩包文件包含了一个BT种子文件(CRM 2007 IDES.torrent),通过这个种子...

    SAP CRM系统介绍

    SAP CRM系统介绍SAP CRM系统介绍SAP CRM系统介绍SAP CRM系统介绍SAP CRM系统介绍

    SAP CRM Tables 1

    这篇博客文章可能深入解析了这些表格的结构、字段和它们之间的关联,以便开发者和管理员更好地理解如何与SAP CRM系统进行交互。 描述中提到的链接是一个ITeye博客文章,作者"Eastviking"分享了关于SAP CRM表格的...

    SAP CRM行业解决方案.pdf

    三、移动智能:SAP CRM支持移动智能,允许企业员工随时随地访问客户信息、管理客户关系和进行销售活动。 四、数据分析与挖掘:SAP CRM提供了数据分析与挖掘功能,帮助企业分析客户行为、预测销售趋势和优化销售策略...

    SAP-CRM-系统用户界面操作指导手册

    ### SAP CRM 系统用户界面操作指导手册知识点详解 #### 一、引言 SAP CRM(Customer Relationship Management)作为一款先进的客户关系管理系统,在帮助企业更好地管理客户信息、提高销售效率及客户服务方面扮演着...

    SAP CRM管理方案介绍

    ### SAP CRM管理方案介绍 #### 一、总体方案概述 SAP CRM(Customer Relationship Management)是一种全面的企业级解决方案,旨在帮助企业管理与客户的交互过程。它不仅涵盖了传统的市场营销、销售和服务等核心...

    sap crm ipc 增强介绍

    ### SAP CRM IPC增强知识点详解 #### 一、SAP CRM IPC增强概述 SAP CRM (Customer Relationship Management) 是一个全面的解决方案,旨在帮助企业管理和优化与客户之间的互动过程。IPC(Interactive Pricing ...

    SAP CRM 2007 IDES

    SAP CRM 2007 IDES

    SAP_CRM中文自学笔记

    CRM系统能够处理从客户数据的收集、管理到客户交互过程中的订单处理、服务请求等业务流程,是SAP商务套件的一部分,能够与SAP ERP(企业资源计划)系统进行紧密集成。 SAP CRM的基础知识通常包括对于其核心组件的...

    SAP CRM解决方案

    CRM原厂解决方案 SAP标准CRM业务模式介绍,CRM产品

    SAP CRM会员管理

    SAP公司全套CRM解决方案覆盖了销售、市场营销、售后服务、客户分析、客服中心、电子商务、社交CRM及移动手机等各个方面。客户可按当前业务所需选择的相关功能,应用程序可在6-8周内迅速部署并投入使用。新的SAP CRM...

    SAP_SAPCRM.rar

    通过阅读“SAP SAPCRM课程中文自学笔记.pdf”,你可以深入学习以上各个知识点,并逐步掌握SAP CRM的使用和管理,为企业的客户关系管理提供强大的技术支持。在实践中不断探索,你将成为SAP CRM领域的专家,为企业带来...

    SAP CR100 文档,用于SAP CRM培训

    SAP CR100 用于SAP CRM培训。

    SAP_CRM简介

    SAP CRM,全称为SAP客户关系管理,是一款全面、以客户为中心的电子商务解决方案,旨在帮助企业管理和优化与客户的互动,特别是在销售、市场营销和服务环节。它包含三个主要组件:可操作的CRM、可分析的CRM和可协作的...

    SAP CRM IPC技术文档

    SAP CRM IPC(Internet Pricing and Configurator)是SAP公司为销售和服务行业提供的一款强大工具,主要用于产品配置和定价管理。这个技术文档旨在详细介绍如何利用IPC进行高效且精确的销售流程处理。 首先,我们来...

    sap crm install

    在IT领域,SAP CRM(客户关系管理)是一款先进的企业级解决方案,用于管理与客户相关的所有业务流程。本文将深入探讨SAP CRM的安装过程,根据提供的标题和描述,我们将详细解析这一关键任务。 首先,SAP CRM的安装...

Global site tag (gtag.js) - Google Analytics