6
Replicate material master from R3 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 o Create system users for remote connection ( RFC_CONN). This user must have SAP_ALL authorisation. o 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. o 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. o  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 o Save your settngs. o 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 o Save your settngs. 2. First of all you must set a RFC connectivity between SRM and backend system: 3. 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 4. 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 

Replicate Material Master From R3 to SRM

Embed Size (px)

DESCRIPTION

Replicate Material Master From R3 to SRM

Citation preview

  • 5/22/2018 Replicate Material Master From R3 to SRM

    1/6

    Replicate material master from R3 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 Setupo Create system users for remote connection (RFC_CONN). This user must have SAP_ALL authorisation.o Create RFC connections in SRM system.

    Go to transaction SM59on 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/Securityadd RFC_CONNuser created in previous step. Save your settings.

    o Create RFC connections in backend system.Go to transaction SM59on 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/Securityadd RFC_CONNuser created in previous step. Save your settings.

    o Create a logical system name in SRM.Go to transaction SPRO -> SAP Implemantation Guide -> Supplier Relationship Management -> SRM Server -> TechnicalBasic Settings -> ALE Settings -> Distribution -> Basic Settings -> Logical Systems -> Define Logical SystemAdd a new value:

    Log.System Name

    R3DCLNT200 R3DCLNT200

    oSave your settngs.

    o 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

    oSave your settngs.

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

    3. Middleware parameters setupGo to transaction SM30on backend system and choose table CRMCONSUM. Add thefollowing values:

    User Active Description Q Prefix

    CRM checked SRM connection R3A

    4. Next, choose CRMSUBTABfor subscription table for Up and Download Object and add the following values:

    User ObjectName U/DObj.

    ClassFunction

    Obj.

    TypeFunct. Name

  • 5/22/2018 Replicate Material Master From R3 to SRM

    2/6

    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

    5.Next, choose CRMRFCPARfor 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

    6.All other fields leave empty.

    Now, configure filtering for material master:

    Choose CRMPAROLTPtable for CRM OLTP Parameters and add the following values:

    Parameter nameParam. Name

    2

    Param. Name

    3User

    Param.

    Value

    Param. Value

    2

    CRM_FILTERING_ACTIVE MATERIAL empty CRM X empty

    7.Now we must edit the table for application indicator. Go to transaction SE16Non backend side and choose table TBE11.

    Search or add an application component BC-MIDand edit activity settings (field AKTIV = X).

    Save your settings.

    8. Enterprise Buyer with/without CRMIn this activity, you define whether you are running the Enterprise Buyer and CRM inthe 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.

    9. Generate Repository ObjectsWith this procedure, you generate the middleware function modules (BDoc Object Type) forthe material master.

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

    Categories.

  • 5/22/2018 Replicate Material Master From R3 to SRM

    3/6

    10. Number Range Object MaintenanceOn SRM system go to transaction SRNOand assign number ranges for all CRMReplication and Realigment Queues. Enter in object field RRSEQ*and hit F4button. 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

    11.Repeat these steps for all of RRSEQ*objects.

    12. Output format of Product IDCheck Your output format for Product ID in backend and SRM system. This values must be thesame for both systems.

    Go to transaction COMCPRFORMATin SRM and check product ID lenght and values for displaying leading zeroes.

    Save your settings.

    13. CRM Middleware Monitoring CockpitOn 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/3for 'Type' parameter and click on Site Attributes.

    Enter and created RFC destination to backend system (R3DCLNT200).

    Save your settings.

  • 5/22/2018 Replicate Material Master From R3 to SRM

    4/6

    14. Start of download materialo DNL_CUST_PROD0o DNL_CUST_PROD1o DNL_CUST_SRVMASo MATERIAL

    Go to transaction R3ASon SRM side and choose first object to download (DNL_CUST_BASIS3).

    After this, source site and desitination site on data flow should fill with proper values. Click on 'Execute' button. After this, go

    to transaction R3AM1for monitoring object.

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

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

  • 5/22/2018 Replicate Material Master From R3 to SRM

    5/6

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

    15. Filtering Material Master recordsIf you want to filter material master or other objects, go to transaction R3AC1on SRMside. You will see the following table:

  • 5/22/2018 Replicate Material Master From R3 to SRM

    6/6

    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:

    16. Deleting Material Master from SRMo COM_HIERARCHY_DELETE_SINGLE- Deletes All Hierarchy and Category Datao COM_HIERARCHY_DELETE_ALL- Deletes All Hierarchy and Category Datao COM_PRODUCT_DELETE_SINGLE- Deletion of a product from the databaseo 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: