`
guanhuaing
  • 浏览: 1239480 次
文章分类
社区版块
存档分类
最新评论

RFC--How to replicate material master from R/3 to SRM

 
阅读更多
I am going to present a quick guide to replicate material master from backend system to SRM 5.0, including all the BASIS(BC) activities, I would like to highlight that the system has the latest patch level and support packages installed, so here we go:

  1. Basis Setup
    • Create system users for remote connection (RFC_CONN). This user must have SAP_ALL authorisation.
    • Create RFC connections in SRM system.
      Go to transaction SM59 on SRM side and click on 'create' button. Set RFC destination name to backend system CLNT (eg. R3DCLNT200), connection type to 3 (abap / R/3 connection) and fill target host to your backend system. On tab Logon/Security add RFC_CONN user created in previous step. Save your settings.
    • Create RFC connections in backend system.
      Go to transaction SM59 on backend side and click on 'create' button. Set RFC destination name to SRM system CLNT (eg. SR1CLNT300), connection type to 3 (abap / R/3 connection) and fill target host to your backend system. On tab Logon/Security add RFC_CONN user created in previous step. Save your settings.
    • Create a logical system name in SRM.
      Go to transaction SPRO -> SAP Implemantation Guide -> Supplier Relationship Management -> SRM Server -> Technical Basic Settings -> ALE Settings -> Distribution -> Basic Settings -> Logical Systems -> Define Logical System Add a new value:

      Log.System Name
      R3DCLNT200 R3DCLNT200

      Save your settngs.
    • Create logical system name in backend.
      Go to transaction SPRO -> SAP Customizing Implemantation Guide -> SAP Web Application Server -> Application Ling Enabling -> Sending and Receiving Systems -> Logical Systems -> Define Logical System Add a new value:

      Log.System Name
      SR1CLNT300 SR1CLNT300

      Save your settngs.
    First of all you must set a RFC connectivity between SRM and backend system:


  2. Middleware parameters setup Go to transaction SM30 on backend system and choose table CRMCONSUM. Add the following values:

    User Active Description Q Prefix
    CRM checked SRM connection R3A
    Next, choose CRMSUBTAB for subscription table for Up and Download Object and add the following values:

    User ObjectName U/D Obj. Class Function Obj. Type Funct. Name
    CRM empty Download Material empty empty CRS_MATERIAL_EXTRACT
    CRM empty Download Material empty empty CRS_CUSTOMIZING_EXTRACT
    CRM empty Download Material empty empty CRS_SERVICE_EXTRACT


    Next, choose CRMRFCPAR for definitions of RFC Connections and add following values:

    User ObjectName Destination Load Type INFO InQueue Flag Send XML
    CRM * SR1CLNT300 Initial Download SR1CLNT300 X Send XML
    CRM * SR1CLNT300 Request SR1CLNT300 X Send XML
    CRM MATERIAL SR1CLNT300 Delta Download SR1CLNT300 X Send XML

    All other fields leave empty.
    Now, configure filtering for material master:
    Choose CRMPAROLTP table for CRM OLTP Parameters and add the following values:

    Parameter name Param. Name 2 Param. Name 3 User Param. Value Param. Value 2
    CRM_FILTERING_ACTIVE MATERIAL empty CRM X empty


    Now we must edit the table for application indicator. Go to transaction SE16N on backend side and choose table TBE11. Search or add an application component BC-MID and edit activity settings (field AKTIV = X).
    Save your settings.

  3. Enterprise Buyer with/without CRM In this activity, you define whether you are running the Enterprise Buyer and CRM in the same system. This might accelerate the Master Data download performance. If you are using CRM in the client, then skip this activity.

    In SRM system run transaction BBP_PRODUCT_SETTINGS, deselect 'Test mode' and choose Execute button.
    The system generates a report containing all tables that have been deactivated.

  4. Generate Repository Objects With this procedure, you generate the middleware function modules (BDoc Object Type) for the material master.

    Go to transaction SMOGGEN and choose object PRODUCT_MAT and PRODUCT_SRV. Generate services for all Object Categories.

    image

  5. Number Range Object Maintenance On SRM system go to transaction SRNO and assign number ranges for all CRM Replication and Realigment Queues. Enter in object field RRSEQ* and hit F4 button. Choose the first object (RRSEQ_AC) and click on 'change' button. On next screen click button 'Number Ranges' and add the following range:

    No From number To Number Ext.
    01 00000000000000000001 99999999999999999999 no


    Repeat these steps for all of RRSEQ* objects.

  6. Output format of Product ID Check Your output format for Product ID in backend and SRM system. This values must be the same for both systems.
    Go to transaction COMCPRFORMAT in SRM and check product ID lenght and values for displaying leading zeroes.

    Save your settings.

  7. CRM Middleware Monitoring Cockpit On SRM side go to transaction SMWP. Open System Settings and double-click on 'Number of sites per site type' name. Administration Console shows up.
    Click on 'Create Object' icon and fill Name and description. Choose R/3 for 'Type' parameter and click on Site Attributes. Enter and created RFC destination to backend system (R3DCLNT200).

    image
    Save your settings.

  8. Start of download material
    • DNL_CUST_PROD0
    • DNL_CUST_PROD1
    • DNL_CUST_SRVMAS
    • MATERIAL
    Go to transaction R3AS on SRM side and choose first object to download (DNL_CUST_BASIS3).

    image

    After this, source site and desitination site on data flow should fill with proper values. Click on 'Execute' button. After this, go to transaction R3AM1 for monitoring object.

    image

    If you have a green light, go to transaction R3AS again and repeat steps for objects:



    After this, go to transaction COMM_HIERARCHY to see what kind of Categories are replicated from backend system.

    image

    Go to transaction COMMPR01 to see what kind of Products are replicated from backend system.

    image

  9. Filtering Material Master records If you want to filter material master or other objects, go to transaction R3AC1 on SRM side. You will see the following table:

    image

    Click on filter icon on object MATERIAL. On filter settings tab choose Source Site Name and click edit button.

    Object filter settings table corresponds fields and tables/structures from backend system. If you want to download only one material enter the following values:

    image

  10. Deleting Material Master from SRM
    • COM_HIERARCHY_DELETE_SINGLE - Deletes All Hierarchy and Category Data
    • COM_HIERARCHY_DELETE_ALL - Deletes All Hierarchy and Category Data
    • COM_PRODUCT_DELETE_SINGLE - Deletion of a product from the database
    • COM_PRODUCT_DELETE_ALL - Deletion of All Product Master Data
    If you want to delete hierarchy of product, run Report:

    If You want to delete all or selected product, run Report:

source url:https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5728

分享到:
评论

相关推荐

    Python库 | rfc-xmldiff-0.5.2.tar.gz

    **Python库rfc-xmldiff-0.5.2详解** 在信息技术领域,Python是一种广泛使用的编程语言,因其简洁的语法和丰富的库支持而备受青睐。rfc-xmldiff是Python中一个用于XML文档差异比较的库,版本号为0.5.2。这个库基于...

    SAP PI RFC-to-Web Service Scenario

    该场景中,我们将使用自定义的RFC客户端应用程序在SAP R/3系统中调用免费的Web服务,该Web服务托管在互联网上。 首先,让我们了解一下Web服务的细节。在这个示例场景中,我们将使用“DelayedStockQuote”Web服务的...

    RFC-8285 A General Mechanism for RTP Header Extensions

    3. 会话设置信息:在 RFC-8285 中,实际使用的扩展是在会话设置信息中信令的,这样可以确保所有参与者都可以了解当前会话中使用的扩展。 4. RFC-5285 的更新:RFC-8285 取代了 RFC-5285,提供了一个更加灵活和可...

    RFC-6184 RTP Payload Format for H.264 Video (H.264)

    RFC-6184 RTP Payload Format for H.264 Video (H.264) RFC-6184 是一种标准化的 RTP 负载格式,用于传输 H.264 视频编码数据。H.264 是一种广泛使用的视频编码标准,由 ITU-T 和 ISO/IEC 联合制定。RFC-6184 的...

    RFC1271-MIB

    RFC1271-MIB.mib

    RFC-33A.rar_rfc-33a

    此程序为无线模块RFC-33A接收及发送程序,STM32的

    rfc-index.zip_RFC_index_rfc-all

    rfc-index.txt : This file contains citations for all RFCs in numeric order

    sap-java-rfc-jco3

    sap-java-rfc-jco3

    RFC-30F模块资料汇总.rar

    【标题】"RFC-30F模块资料汇总.rar"是一个包含关于无线通信模块RFC-30F详尽信息的压缩文件。这个压缩包显然为那些对无线模块技术感兴趣或者正在从事相关项目开发的人员提供了宝贵的资源。从描述来看,这份资料集合...

    RFC-3550-中文版.zip

    标题中的"RFC-3550-中文版.zip"指的是互联网工程任务组(IETF)发布的Request for Comments(RFC)3550文档的中文翻译版本,被压缩在一个名为"RFC-3550-中文版.zip"的文件中。这个压缩包包含了一个PDF文件,方便用户...

    sapjco3-call RFC-code

    "sapjco3-call RFC-code"涉及到的是利用SAP JCo 3版本的API来调用远程功能调用(RFC)的代码实践。在本篇中,我们将深入探讨SAP JCo 3、RFC以及如何编写调用RFC的Java代码。 SAP JCo 3是SAP提供的一种Java库,它...

    RFC-7845 Ogg Encapsulation for the Opus Audio Codec (Opus)

    RFC-7845 Ogg Encapsulation for the Opus Audio Codec (Opus) RFC-7845 是一个关于 Ogg 封装 Opus 音频编解码器的标准文档,发布于 2016 年 4 月。该文档定义了 Ogg 逻辑比特流中 Opus 音频编解码器的封装格式,...

    RFC10xx 内容,分析与详解

    RFC10xx 系列 RFC1000 - Obsoletes: RFCs 084, 100, 160, 170, 200, 598, 699, 800, 899, 999 RFC1001 - PROTOCOL STANDARD FOR A NetBIOS SERVICE RFC1002 - PROTOCOL STANDARD FOR A NetBIOS SERVICE RFC1003 -...

    rfc-quic.7z

    包含quic协议的四个版本 rfc8999-Version-Independent Properties of QUIC rfc9000-QUIC A UDP-Based Multiplexed and Secure...rfc9001-Using TLS to Secure QUIC rfc9002-QUIC Loss Detection and Congestion Control

    RFC-768-791-792-793-826-1122-6298

    标题 "RFC-768-791-792-793-826-1122-6298" 提到的是互联网相关的RFC文档集合,这些文档在定义和规范网络协议方面起着核心作用。描述中提到的"ARP-ICMP-IPv4-UDP-TCP协议"是这个压缩包中可能涵盖的关键协议,它们是...

    RFC-2068(HTTP)

    它的发展是万维网协会(World Wide Web Consortium)和Internet工作小组IETF(Internet Engineering Task Force)合作的结果,(他们)最终发布了一系列的RFC,RFC 1945定义了HTTP/1.0版本。其中最著名的就是RFC ...

    RFC大全--中文翻译

    现在,HTTP/2(RFC 7540)和HTTP/3(RFC 9113)也已发布,提高了性能和安全性。 3. **DNS域名系统**:RFC 1034和RFC 1035定义了域名系统(DNS)的工作方式,允许将人类可读的域名转换为IP地址。 4. **SMTP邮件传输...

    RFC-5764 DTLS Extension to Establish Keys for the SRTP

    RFC 5764 DTLS Extension to Establish Keys for the SRTP RFC 5764是一份Internet标准跟踪文档,由Internet Engineering Task Force (IETF)发布,主要描述了Datagram Transport Layer Security (DTLS)扩展,以便为...

    中方RFC RFC3---RFC3093,chm文件,查找、学习、引用的好帮手

    中方RFC,RFC3---RFC3093,chm文件,查找、学习、引用的好帮手。中方RFC,RFC3---RFC3093,chm文件,查找、学习、引用的好帮手。中方RFC,RFC3---RFC3093,chm文件,查找、学习、引用的好帮手。中方RFC,RFC3---RFC3093...

    RFC-5340 OSPFv3 for IPv6 的中文翻译

    本人翻译的 RFC-5340 OSPFv3 for IPv6 中文文档

Global site tag (gtag.js) - Google Analytics