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

使用SAP CRM中间件从ERP下载BOM的一些常见问题

阅读更多

I have created the following download request in tcode R3AR2 to try to download a BOM from ERP:

 

 

When I perform request download, I meet with the following error message:

 

 

I go to tcode R3AC1 to check the parent tab of adapter object BOM_ERP. To my surprise, there is no parent information maintained.

 

 

Compare the parent setting for OBJCL:

 

 

So where are the parent information Materials, Equipment and Function locations mentioned in the error message coming from?

I debug the request download program itself to know the answer. Execute function module SMOF0_READ_SMOFSUBINT with the following parameters:

 

 

There are eight check function modules returned as the error message is raised within function module CRM_BOM_ERP_CHECK_FOR_FATAL:

 

 

Then in sub routine check_parent, I found out that the parent of BOM_ERP is set dynamically according to the table name maintained in download request. In my case, it is material.

 

 

The parent check will only pass if the status of parent object is D ( finished ).

 

 

In my case, the download status of MATERIAL is R ( running )

 

 

This status could be found in tcode R3AM1:

 

 

After I fix the error of MATERIAL itself and repeat request download of BOM_ERP, the error message disappears.

 

 

How to download BOM from ERP to CRM – relationship STRSET or BOMITM?

(1) In ERP, create one material 1468 “JVM”:

 

 

And another material 1469 “JDK 1.8”:

 

 

(2) Create BOM via tcode CS01 based on material 1468 with the following settings:

 

 

Add 1469 as line item:

 

 

Once saved, there is one entry generated in table MAST:

 

 

(3) Create one download request in CRM via tcode R3AR2:

 

 

Specify MATNR to the material id of BOM header:

 

 

After I perform request download via this request, in WebUI I found that the assignment block “Components” is still empty.

 

 

The reason is the dependent material 1469 is not downloaded to CRM yet.

 

 

(4) Then I first download material 1469 to CRM, and then I perform request download again via the request created in step 3. After that in tcode SMW01 I can see necessary data for BOM structure, the relationship STRSET, is successfully downloaded.

 

 

Now go back to WebUI, I can see the expected component structure as displayed below.

 

 

However, in another set of CRM and ERP system, once the same operation has been done, we will not get BOM downloaded as relationship STRSET, but BOMITM instead. Let’s name the system so far discussed above where STRSET is generated as ERP system A and CRM system A, and the system mentioned in discussion below as ERP system B and CRM system B, where BOMITM is generated.

This is BOM created in ERP system B:

 

 

When this BOM is downloaded to CRM system B, the data is stored in relationship BOMITM instead:

 

 

The reason which leads to this different behavior is the different settings defined in table CRMSUBTAB in two ERP system to control what kinds of data for BOM should be extracted and sent to CRM:

 

 

Here via comparison we can find out that the extraction logic for adapter object BOM_ERP are different in two ERP system. In CRM middleware inbound process program LCOM_PRODUCT_IL_R3_ADAPTERF03, there is a IF-ELSE branch:

 

 

For CRM system A, in ERP system A,function module CRS_BOM_EXTRACT will fill data to MARA table so in CRM, the inbound processing will go into first IF branch.

 

 

And for CRM system B, the function module CRS_BOM_ERP_EXTRACT is executed in ERP system B, where MARA table is not filled, so finally in CRM system B, the inbound process goes to ESLE branch to generate data into BOMITM instead.

 

 

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

0
1
分享到:
评论

相关推荐

    SAP CRM同步问题记录

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

    SAP PP BOM批量下载

    ### SAP PP BOM批量下载工具解析 #### 一、引言 SAP PP(Production Planning)模块是SAP系统中的一个重要组成部分,它主要用于支持企业的生产计划与执行过程。其中,BOM (Bill of Materials) 是一种用于记录产品...

    SAP MIDDLEWARE PA教材

    SAP CRM中间件PA教材主要针对SAP CRM(客户关系管理)系统的中间件部分进行讲解,希望能够帮助用户更好地理解和使用SAP CRM中间件。教材中还提到了与该教材相关的日期、培训机构、授课教师、教育网站等信息,以及...

    SAP BOM详细解析

    详细解释SAP的BOM,生产BOM,销售BOM,包装BOM等。

    SAP_CRM中文自学笔记

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

    sap crm 一点通

    - **集成技术**:SAP 提供了一系列标准的中间件技术来实现 CRM 与 ECC、BW 之间的数据交换。这些技术基于 QRFC (Quick RFC) 实现,并内置了许多标准对象,简化了集成过程。 #### 三、总结 SAP CRM 作为一款强大的...

    SAP CRM行业解决方案.pdf

    SAP CRM行业解决方案 SAP CRM行业解决方案是一个基于客户关系管理(Customer Relationship Management,CRM)的解决方案,旨在帮助企业更好地管理客户关系、提高销售业绩和客户满意度。该解决方案提供了一整套的...

    SAP 批量导出BOM的代码实现.docx

    在标题“SAP 批量导出BOM的代码实现.docx”中,我们可以看到该文档的主要内容是使用ABAP语言编写的批量导出BOM的代码实现。该标题明确地表明了该文档的目的和内容。 描述解析 在描述中,我们可以看到该代码实现了...

    SAP CRM Tables 1

    标签"源码"表明内容可能涉及到SAP CRM系统的一些底层代码或者数据结构的实现细节,这对于开发者来说是非常有价值的。"工具"可能指的是用于查询、分析或维护这些CRM表格的实用程序,比如ABAP开发环境、SQL查询工具...

    SAP CRM系统介绍

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

    SAP 批量BOM反查

    ### SAP 批量BOM反查 #### 背景介绍 在SAP系统中,物料清单(BOM, Bill of Materials)是生产计划与控制(MRP, Material Requirements Planning)的重要组成部分,它详细列出了制造一个产品所需的全部或部分组件、原...

    sap CRM 2007 IDES.rar

    这个RAR压缩包文件包含了一个BT种子文件(CRM 2007 IDES.torrent),通过这个种子文件,用户可以下载大约12GB的SAP CRM 2007 IDES安装文件。 SAP CRM是SAP公司推出的企业级客户关系管理解决方案,旨在帮助企业更...

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

    本章节将针对用户在使用过程中可能遇到的一些常见问题提供解答,如忘记密码如何重置、如何恢复已删除的数据等。 #### 五、注意事项 - 在使用过程中应确保数据的安全性和隐私保护。 - 定期备份重要数据以防意外丢失...

    SAP中间件PO技术总结

    SAP中间件PO技术是SAP企业应用集成(Enterprise Application Integration, EAI)的重要组成部分,主要涉及SAP Process Orchestration(简称PO)的配置和实施。PO作为一个全面的集成平台,结合了XI(Exchange ...

    SAP CRM管理方案介绍

    SAP CRM系统与SAP ERP等其他SAP产品紧密结合,形成了一个集成度高、灵活性强的业务平台。 #### 二、市场营销管理 SAP CRM的市场营销管理模块提供了强大的市场资源管理能力,包括但不限于市场活动策划与执行、市场...

    SAP CRM 2007 IDES

    SAP CRM 2007 IDES

    SAP_SAPCRM.rar

    在SAP的模块化架构中,SAP CRM扮演着关键角色,它能够与其他SAP模块(如ERP、SCM等)无缝集成,为企业提供一个统一的客户视角。 通过学习"SAP SAPCRM",我们可以深入了解以下几个核心知识点: 1. **CRM基础理念**...

    SAP BOM展开 完整有注释

    ### SAP BOM展开知识点解析 #### 一、SAP BOM(Bill of Materials)概念介绍 在SAP系统中,BOM(物料清单)是一种重要的技术文档,它详细记录了一个产品(父项)由哪些零部件(子项)组成,以及这些零部件的数量、...

Global site tag (gtag.js) - Google Analytics