34
7/17/2019 1000005 B09 CRM Customizing Replication Sdsds http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 1/34  SAP CRM 7.00 September 2010 English CRM Customizing Replication (B09) SAP AG Dietmar-Hopp-Allee 16 69190 Walldorf Germany Building Block Configuration Guide

1000005 B09 CRM Customizing Replication Sdsds

  • Upload
    victor

  • View
    27

  • Download
    3

Embed Size (px)

DESCRIPTION

1000005 B09 CRM Customizing Replication Sdsds

Citation preview

Page 1: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 1/34

 

SAP CRM 7.00

September 2010

English

CRM CustomizingReplication (B09)

SAP AGDietmar-Hopp-Allee 1669190 WalldorfGermany

Building Block Configuration Guide

Page 2: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 2/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 2 of 34

Copyright

© 2010 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without theexpress permission of SAP AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary softwarecomponents of other software vendors.

Microsoft, Windows, Excel, Outlook,  and PowerPoint are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z,System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390,OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+,POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, SystemStorage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarksof IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

 Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarksof Adobe Systems Incorporated in the United States and/or other countries.

Oracle is a registered trademark of Oracle Corporation.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarksor registered trademarks of Citrix Systems, Inc.

HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®

, World Wide WebConsortium, Massachusetts Institute of Technology.

Java is a registered trademark of Sun Microsystems, Inc.

JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technologyinvented and implemented by Netscape.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, Clear Enterprise, SAP BusinessObjectsExplorer, and other SAP products and services mentioned herein as well as their respective logos aretrademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions,Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as wellas their respective logos are trademarks or registered trademarks of SAP France in the United Statesand in other countries.

 All other product and service names mentioned are the trademarks of their respective companies. Datacontained in this document serves informational purposes only. National product specifications mayvary.

These materials are subject to change without notice. These materials are provided by SAP AG and itsaffiliated companies ("SAP Group") for informational purposes only, without representation or warrantyof any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. Theonly warranties for SAP Group products and services are those that are set forth in the express warrantystatements accompanying such products and services, if any. Nothing herein should be construed asconstituting an additional warranty.

Page 3: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 3/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 3 of 34

Icons

Icon Meaning

Caution

Example

Note

Recommendation

Syntax

Typographic Conventions

Type Style Description

Example text Words or characters that appear on the screen. These include fieldnames, screen titles, pushbuttons as well as menu names, paths andoptions.

Cross-references to other documentation.

Example text Emphasized words or phrases in body text, titles of graphics and tables.EXAMPLE TEXT Names of elements in the system. These include report names,

program names, transaction codes, table names, and individual keywords of a programming language, when surrounded by body text, forexample, SELECT and INCLUDE.

Example text Screen output. This includes file and directory names and their paths,messages, source code, names of variables and parameters as well asnames of installation, upgrade and database tools.

EXAMPLE TEXT  Keys on the keyboard, for example, function keys (such as F2) or the

ENTER key.

Example text Exact user entry. These are words or characters that you enter in the

system exactly as they appear in the documentation.

 <Example text> Variable user entry. Pointed brackets indicate that you replace thesewords and characters with appropriate entries.

Page 4: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 4/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 4 of 34

Contents

1  Purpose ......................................................................................................................... 6 

Preparation .................................................................................................................... 6 

2.1  Prerequisites ........................................................................................................... 6 

2.2  SAP Notes ............................................................................................................... 6 

3  Configuration ................................................................................................................. 7 

3.1  Preliminary Activities for Replication ....................................................................... 7 

3.1.1  Registering Queues ........................................................................................... 7 

3.1.2  Starting Queue Demon and Queues .................................................................. 8 

3.1.3  Setting Up Error Handler (SAP CRM) ................................................................ 8 

3.2 

Configuration Replication ERP -> CRM................................................................... 9 

3.2.1  Checking ISO Codes (SAP ERP) ...................................................................... 9 

3.2.2  Defining Product Hierarchy Structure .............................................................. 10 

3.2.2.1  Checking Product Hierarchy Structure in OLTP (SAP ERP) .................... 10 

3.2.2.2  Defining Product Hierarchy Structure (SAP CRM) ................................... 10 

3.2.3  Defining Product ID Settings (SAP CRM) ........................................................ 11 

3.2.4  Replicating Customizing Objects (SAP CRM).................................................. 12 

3.2.4.1  Replicating Customizing Objects from ERP OLTP to CRM System ......... 12 

3.2.4.2  Monitoring Replication Status (SAP CRM) ............................................... 13 

3.2.5 

Setting Up Taxes ............................................................................................. 13 

3.2.5.1  Defining Tax Types .................................................................................. 15 

3.2.5.2  Defining Business Partner Tax Groups .................................................... 15 

3.2.5.3  Defining BP Tax Classification Assignment Settings ................................ 18 

3.2.5.4  Replicating Tax Customizing (SAP CRM) ................................................ 20 

3.2.5.5  Monitoring Replication Status (SAP CRM) ............................................... 20 

3.2.5.6  Defining Tax Type and Group .................................................................. 20 

3.2.5.7  Defining Assignment of Product Tax Data from ERP to CRM .................. 21 

3.2.5.8 

Checking Customizing of Data Transfer for Taxes (SAP CRM) ............... 23 

3.3  Setting Up the Organization Model ........................................................................ 24 

3.4  Replicating Master Data and Transaction Data ..................................................... 24 

3.5  Tips and Tricks for the Replication Process .......................................................... 25 

3.5.1  Object Management ........................................................................................ 25 

3.5.1.1  Changing Block Size ................................................................................ 25 

3.5.1.2  Defining Filters for Objects ....................................................................... 25 

3.5.2  Improving Performance During Replication ..................................................... 27 

3.5.3  Monitoring and Error Analysis for Replication .................................................. 27 

3.5.3.1 

Monitoring Download Status .................................................................... 27 

Page 5: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 5/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 5 of 34

3.5.3.2  General Analysis Steps ............................................................................ 28 

3.5.3.3  Monitoring Outbound Queue .................................................................... 29 

3.5.3.4  Monitoring Inbound Queue ....................................................................... 29 

3.5.3.5   Analyzing BDOC Messages ..................................................................... 30 

3.5.3.6  Checking Transactional RFC Requests ................................................... 30 

3.5.3.7   Analyzing ABAP Dumps ........................................................................... 30 

3.5.4  Restart Replication .......................................................................................... 31 

3.5.4.1  Canceling Download of Objects ............................................................... 32 

3.5.4.2  Deleting Outbound Queue........................................................................ 32 

3.5.4.3  Deleting Inbound Queue .......................................................................... 32 

3.6  Checking Delta Replication Events ....................................................................... 33 

Page 6: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 6/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 6 of 34

Configuration Guide

1 PurposeThis building block (Configuration Guide) describes the necessary activities to replicatecustomizing data from the ERP system to the CRM system.This building block is the prerequisite for the installation of all CRM scenarios delivered bySAP Best Practices.This building block is not required if you run the CRM in a standalone mode, that is without anOLTP back-end system.

The Configuration Guide describes how to set up the configuration of a building blockmanually.

2 Preparation

2.1 Prerequisites

Before starting with the installation of this building block, please see the document QuickGuide to Installing SAP Best Practices for CRM .

2.2 SAP Notes

Before you begin the installation and configuration, read the relevant SAP Notes. These SAPNotes contain important information for installation and configuration, and also correctionsconcerning this building block.

Make sure that you have the most up-to-date version of SAP Notes. You can find the SAPNotes on the SAP Service Marketplace (http:/ /service.sap.com/notes ).

SAP Note Area Title

ERP System

CRM System 

490932 CRM-BTX-BF-IF Data exchange of sales transactions CRM – ERP(see chapter “Queue processing during theupload/delta download”) 

887696 CRM-MW-ADP No initial load possible

Page 7: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 7/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 7 of 34

3 Configuration

3.1 Preliminary Activities for Replication

3.1.1 Registering Queues

Use

 All replication and realignment queues for the data exchange between the ERP system andthe CRM system are registered automatically when starting the replication.

The CSA queues have to be registered manually.

Procedure

1. Access the activity using one of the following navigation options:Transaction code  SMQR 

SAP CRM IMG menu  CRM CRM Middleware and Related Components  Queue Setup Register CSA Queues 

2. Choose Registration.

3. On the Queue Registration screen, make the following entries:

Field name User action and values

Queue name CSA*

Mode D

Max. Runtime 60

Logical Destination

 Attempts 30

Pause 300

Scheduler Monitoring 0

4. Register an additional queue:

Field name User action and values

Queue name R3A*

Mode D

Max. Runtime 60

Logical Destination

 Attempts 30

Pause 300

Scheduler Monitoring

5. Choose Continue (Enter).

ResultThe CSA* and the R3A* queues are registered and are displayed in the queue list.

Page 8: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 8/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 8 of 34

3.1.2 Starting Queue Demon and Queues

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  SMOHQUEUE 

SAP CRM GUI menu   Architecture and Technology Middleware Monitoring  Queues Monitor R&R Queues 

2. Choose Start Queue Demon.

3. Release all queues by choosing Release Queue and selecting the valid line in the columnfield Client .

4. Perform step 3 for all the queues SUBCHECK, REALIGN, DEPENDENCY, EXTRACT,EXTRACTBLK and AC_EXTRACT. 

5. Perform steps 3 and 4 also for Client 000 by deselecting the checkbox Display currentclient (XXX) only and choosing Refresh.

3.1.3 Setting Up Error Handler (SAP CRM)

Use

In this step, you define an ERP e-mail recipient for each BDoc type. Recipients automaticallyreceive messages in the Business Workplace Inbox if errors occur in the related BDoc.

Procedure

1. Access the activity using the following navigation options:

Transaction code SPRO 

SAP CRM IMG menu Customer Relationship Management  CRMMiddleware and Related Components  Message FlowSetup   Assign Error Actions to Messages 

2. Select Default Error Action.

3. Choose Execute (F8).

4. Select Maintain Configuration (F9) 

5. Select Mail as Error Action.

6. Enter the following data as Mail Parameters.

Field name Value

E-Mail Address of Receivers <USER ID> of the user that is logged on

E-Mail Type B (SAP User)

7. Choose Save Configuration (Ctrl + F1).

8. Choose Execute (F8).

For other Error Handler settings please see the documentation of the IMG activity.

Page 9: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 9/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 9 of 34

Result

 An ERP e-mail recipient for each BDoc type is determined. This recipient automaticallyreceives messages in his/her Business Workplace Inbox if errors occur in the related BDoc.The e-mail recipient is specified as the user (the installation user) that is currently logged on

to the system.

3.2 Configuration Replication ERP -> CRM

3.2.1 Checking ISO Codes (SAP ERP)

Use

Before starting the Customizing replication, verify that entries for the ISO codes are unique inthe following ERP tables:

  Language keys (table T002 field LAISO)

  Currency codes (table TCURC field ISOCD)

  Countries (table T005 field INTCA).

 Although SAP delivers these tables in a consistent state, duplicate ISO entries can occurbecause this is not a key field in those tables (especially if own entries have been set up withcopy  functions).

Procedure

1. Access the activity using one of the following navigation options:

Transaction code SE16 

SAP ERP GUI menu Tools ABAP Workbench Overview DataBrowser

2. In the table name field enter T002.

3. Choose Table Contents (Enter). 

4. Choose Execute (F8).

5. Check the column LAISO for duplicate entries.

6. Repeat these steps for the other tables.

If duplicate ISO codes are detected, they have to be replaced by new ISO codes. The final

result has to be that all tables mentioned hold unique ISO code entries. Multiple entries withempty ISO codes are possible.

In order to make ISO codes unique access these tables via the following CRM IMG activities:

  Table TCURC:SAP Netweaver   General Settings   Currencies   Check Currency Codes. 

  Table T005:SAP Netweaver   General Settings   Set Countries   Specify Countries in mySAPSystems (CRM, SRM, SCM, …) 

Page 10: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 10/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 10 of 34

3.2.2 Defining Product Hierarchy Structure

Please check the Delta Guide.

3.2.2.1 Checking Product Hierarchy Structure in OLTP (SAPERP)

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  SE11

SAP ERP GUI menu  Tools ABAP Workbench  Development ABAPDictionary

2. In the ABAP Dictionary: Initial Screen, enter PRODHS in the field View .

3. Choose Display .

4. In the Dictionary: Display Structure screen the number of components corresponds to thenumber of levels in the CRM system. The field Length defines the number of digits foreach level.

3.2.2.2 Defining Product Hierarchy Structure (SAP CRM)

Procedure

1. Access the activity using the following navigation options:

Transaction code  SPRO 

SAP CRM IMG menu  Cross Application Components  SAP Product  

Product Category  Define Category NumberingSchemes 

2. Choose New entries.

3. Make the following entries:

Field name Entry

Number Scheme R3PRODHIER

Scheme Description (EN) Numbering Scheme ERP

Scheme Description (DE) ERP Nummerierungsschema 

Choose Enter twice and ignore the warning message after the first Enter .

4. Mark number scheme R3PRODHIER  and double-click on folder Define NumberingScheme Levels.

5. Choose New entries and enter the matching levels and number of digits for each level.They need to be exactly the same as in the OLTP system.

Example (SAP standard delivery): 

Level Number of Digits

Page 11: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 11/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 11 of 34

Level Number of Digits

1 5

2 5

3 8

6. Choose Enter  for all entries that have been made and ignore the warning message.

7. Save (Ctrl + S) the entries.

3.2.3 Defining Product ID Settings (SAP CRM)

Use

The output format and storage form of product IDs have to be defined.

If you intend to replicate product data to an ERP system, the number of characters youspecify will determine whether you can use the product ID as the material number.

This activity describes how to synchronize the product IDs in the CRM system and the ERPsystem.

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  COMCPRFORMAT 

SAP CRM IMG menu  Cross-Application Components SAP Product

Basic Settings  Define Output Format and Storage

Format of Product Ids

2. Check the product ID settings in the ERP system by calling transaction OMSL in the ERPsystem.

3. Enter the following values on the Material Number Format  screen in the CRM system.Choose New Entries (F5) if no number format exists.

Field Value

Prod. ID Length Value of field Material No. Length inthe ERP system (Transaction OMSL)

Template for ID Value of field Material NumberTemplate in the ERP system

Display Leading Zeros Value of field Leading Zeros in theERP system

Save Lexicographically Value of field Lexicographical  in theERP system

4. Save (Ctrl + S) your entries.

For more information, see SAP Note 545824.

Page 12: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 12/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 12 of 34

3.2.4 Replicating Customizing Objects (SAP CRM)

3.2.4.1 Replicating Customizing Objects from ERP OLTP toCRM System

Use

The following objects are relevant to the download from ERP OLTP to the CRM system.

Object Name Description

DNL_CUST_ACGRPB Accounting Group Business Partner

DNL_CUST_ACGRPP Account Group Product

DNL_CUST_ADDR Regional structure

DNL_CUST_BASIS Basis CRM online

DNL_CUST_BASIS2 Basis CRM online

DNL_CUST_BASIS3 Basis CRM online

DNL_CUST_BASIS5 Basis CRM online

DNL_CUST_BASIS6 Basis CRM online

DNL_CUST_BNKA Banking Master

DNL_CUST_KTOKD Business Partner: Acc. Group

DNL_CUST_PAYPL Payplan

DNL_CUST_PRICE Sales pricing and pricing item

DNL_CUST_PROD0 Material number conversions

DNL_CUST_PROD1 Product: categories

DNL_CUST_PROD3 Material: ERP sales status

DNL_CUST_SALES Sales

DNL_CUST_SCE SCE varcond

DNL_CUST_SHIP Sales shipping

DNL_CUST_SPROD Sales product item

DNL_CUST_T502T Business Partner: T502T

DNL_CUST_TBRC Business Partner: Industries

DNL_CUST_TKUKL Business Partner: TKUKL, TKUKT

DNL_CUST_TNLS Business Partner: TNLS, TNLST

DNL_CUST_TPFK Business Partner: TPFK, TPFKT

DNL_CUST_TSAB Business Partner: TSAB, TSABT

DNL_CUST_TVAST Sales Document Blocking Reason

DNL_CUST_TVFS Sales Document Billing: Block

DNL_CUST_TVGF Business Partner: TVGF, TVGFT

DNL_CUST_TVIP Business Partner: TVIP, TVIPT

DNL_CUST_TVKN Business Partner: Attributes

DNL_CUST_TVLS Deliveries: Blocking Reasons/C

Page 13: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 13/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 13 of 34

Object Name Description

DNL_CUST_TVPV Business Partner: TVPV, TVPVT

DNL_PLANT Plant

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  R3AS 

SAP CRM GUI menu   Architecture and Technology Middleware DataExchange  Initial Load  Start  

2. In the Load Object  field, enter an object from the table above.

3. In the Source Site (Sender) field enter OLTP and in the Destination Site (Receiver) field,

enter CRM .

4. To run the replication, choose Execute.

5. Repeat this step for all other objects listed above.

3.2.4.2 Monitoring Replication Status (SAP CRM)

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  R3AM1 

SAP CRM GUI menu   Architecture and Technology Middleware DataExchange  Initial Load  Monitor Objects 

2. Enter the replicated object in the Object Name field to get the download status of thisobject.To get the status of all replicated objects, leave the field empty.

3. Choose Execute.

Result

The replication is complete if all objects have the status Done.

Choose Refresh to update the object status.

In case of problems during replication refer to section Tips and Tricks forReplication of this guide.

3.2.5 Setting Up Taxes

Please check the Delta Guide.

Page 14: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 14/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 14 of 34

In CRM standard, there is no automatic generating and transferring function for all of theconfiguration about taxes from OLTP to CRM yet. To transfer it from OLTP to CRM, it isnecessary to maintain a mapping table in the CRM system.

The new mapping allows you to have more complex tax determination combined with easiersetup. The determination is based on the combinations of: country  + region + tax type + tax

group. The tax group of a certain tax type determines, for example, if a product is fully orpartly taxed or exempted from this tax.

This information is also used by a third party program that finally determines the applicabletax rate.

How does the transfer logic from ERP OLTP to CRM work? 

  Products: All existing tax data which is material based (table MLAN) is transferred.To function correctly the mapping of tax setup needs to be consistent on both sides.Otherwise the data transfer stops.

  Business Partners: The mapping of the tax classification is already done in ERP. Thenew configuration objects also have to be maintained in the ERP system since thebusiness partner mapping is done in ERP system. The Configuration load imports data

from the following tables of the ERP system into the following tables of the CRM system:

ERP System CRM System

Tax Types TSTL TB070

BP Tax Groups TB071_CM TB071

Mapping of businesspartner relevantinformation ofCondition records

TB072_CM CRMC_TAX_MAP_BP

The new configuration objects are:

 TB070_CM: Tax Types

 TB071_CM: BP Tax Groups

 TB072_CM: Mapping BP Tax Classification ERP CRM

  Condition Records: The data transfer of Condition records for taxcalculation requires the mapping for Products and Business Partners.

This setup of Tax Types can be disabled if the setup for taxes is not required forBusiness Partners and Products.

1. Access the activity using one of the following navigation options:

Transaction code R3AC1

SAP CRM menu  Architecture and Technology Middleware  DataExchange  Object Management -> BusinessObject  

2. Choose the business adapter object MATERIAL.

3. Choose the tab Tables/Structures Within Object.

4. Choose Display  Change (Ctrl + F2).

5. Choose Cut for the table MLAN.

Page 15: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 15/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 15 of 34

6. Save (Ctrl + S) your changes.

3.2.5.1 Defining Tax Types

Procedure

1. Access the activity using the following navigation option:

Transaction code 

PITC

SAP ERP IMG menu Integration with Other mySAP.com Components  Customer Relationship Management BasicFunctions Taxes Business Partner Tax Groups  Define SAP CRM Tax Types and Business Partner TaxGroups

2. Check tables TSTL (Tax categories by countries).

3. For every relevant combination of country and tax category in table TSTL acorresponding entry has to be available in table TB070_CM.

4. Choose the transaction PITC.You branch to the Define Tax Types screen.

5. Check if entries for the relevant countries and tax types exist.If not, proceed as follows:

6. Choose Define Tax Types. 

7. Choose New Entries.

8. Enter the Country .

9. Enter the Tax Type.

10. Indicate, via the checkboxes, if the tax type is relevant for the Business Partner , Product ,or both.

11. Choose Save.

Example of correct mapping

3.2.5.2 Defining Business Partner Tax Groups

Procedure

1. Access the activity using the following navigation option:

Transaction code PITC

Page 16: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 16/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 16 of 34

SAP ERP IMG menu Integration with Other mySAP.com Components  Customer Relationship Management BasicFunctions Taxes Business Partner Tax Groups Define SAP CRM Tax Types and Business PartnerTax Groups 

2. Check tables TSTL and TSKD in the ERP system.

3. For every relevant country and tax category in table TSTL determine the taxclassifications in table TSKD. For each combination of country, tax category and taxclassification an entry in table TB071_CM consisting of country, tax type and tax grouphas to exist.

4. Choose transaction PITC. 

5. Select a tax type.

6. Choose Assign BP Tax Group. Check if an entry according to table TSKD exists.If not proceed as follows:

7. Choose New Entries. 

8. Enter the Country .

Enter the Region, if required.

If you calculate tax via the jurisdiction method, you must maintain a region. If this fieldcontains no value, the settings made apply to all regions defined for the country.

9. Enter the Tax Type.

10. Enter the Tax Group.

11. Choose Save. 

Example of correct mapping

The country Germany (DE) has the tax category ‘MWST’ (‘Mehrwertsteuer’). This customizingin the ERP table TSTL now has to be maintained in the ERP table TB070_CM (CRM TaxTypes) with the following fields and values: country ‘DE’, tax type ‘MWST’ and the relevancefor Business Partner (‘BP’) and Product. 

In the ERP table TSKD the tax category ‘MWST’ has 2 tax classifications, ‘Tax Exempt’ and‘Liable for Taxes’. This customizing now has to be maintained in the ERP table TB071_CM(BP Tax Group) for each corresponding country. In this example two entries have to becreated for the country Germany ‘DE’, one for BP Tax Group ‘FULL’ (=’Liable for Taxes’) andone for BP Tax Group ‘NONE’ (=’Tax Exempt’).

Page 17: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 17/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 17 of 34

Result

The tax category and tax classification that is assigned to a business partner master record inthe ERP system is mapped to the tax type and tax group in the corresponding businesspartner master record of the CRM system.

Page 18: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 18/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 18 of 34

3.2.5.3 Defining BP Tax Classification Assignment Settings

Use

With this activity you replicate ERP tax categories and tax classifications to the CRM system.You have to map the newly created CRM tax types and tax categories created in thepreceding activities to the corresponding ERP tax categories and tax classifications.

Procedure

1. Access the activity using one of the following navigation option:

Transaction code PITM

SAP ERP IMG menu Integration with Other mySAP.com Components  Customer Relationship Management BasicFunctions Taxes Business Partner Tax Groups Assign SAP CRM BP Tax Groups to Tax

Classifications

2. On the screen Tax Classification: Mapping ERP <-> CRM, choose New Entries.

3. Enter the Country .

4. Enter the Region.

5. If you calculate tax via the jurisdiction method, you must maintain a region.

6. Enter the CRM Tax Type.

7. Enter the CRM Tax Group.

8. Enter the ERP Tax Category.

9. Enter the ERP Tax Classification.10. Choose Save.

Page 19: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 19/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 19 of 34

Example of a correct mapping

In this example in the ERP-CRM Assignment (ERP table TB072_CM, ERP Transaction PITM)two entries have been maintained for the country Germany ‘DE’. 

Page 20: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 20/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 20 of 34

3.2.5.4 Replicating Tax Customizing (SAP CRM)

Procedure

1. Access the activity using one of the following navigation options:Transaction code R3AS

SAP CRM GUI menu  Architecture and Technology Middleware  DataExchange  Initial Load   Start  

2. In the Load Object  field, enter DNL_CUST_TAX.

3. In the Source Site (Sender) field enter OLTP and in the Destination Site (Receiver) field

enter CRM .

4. To run the replication, choose Execute (F8).

3.2.5.5 Monitoring Replication Status (SAP CRM)

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  R3AM1

SAP CRM GUI menu  Architecture and Technology Middleware  DataExchange  Initial Load  Monitor Objects

2. In the Object Name field, enter the downloaded object DNL_CUST_TAX  to get the

download status of this object.

Result

The replication is complete if all objects have the status Done. 

In case of problems during replication, call transaction SMWP (MiddlewarePortal) and search for error states in the area Runtime Information.

For a detailed error handling see section Tips and Tricks for the ReplicationProcess at the end of this guide.

3.2.5.6 Defining Tax Type and Group

Use

In this activity you establish the tax types with the relevant tax groups for products. Theassignment of the appropriate tax types and groups for Product and Business Partner servesthe purposes of tax determination.

The tax types/groups and the assignment of the business partner tax groupshave been maintained in the ERP system and have been replicated already fromthe ERP system to the CRM system in the activity Replicating Tax Customizing .

Page 21: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 21/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 21 of 34

Procedure

1. Access the activity using the following navigation options:

Transaction code SPRO

SAP CRM IMG menu Customer Relationship Management  Basic Functions Taxes  Basic Settings  Tax Types and TaxGroups Define Tax Types and Tax Groups

2. Check ERP tables TSTL and TSKM using transaction SE16.

3. Choose the IMG activity Define Tax Types and Tax Groups in the CRM system.

4. Select the countries tax types for which you have to maintain product taxes and choose Assign Product Tax Groups.

5. Choose New entries.

6. For each combination of Country, Tax Category and Tax Classification in the ERP system(tables TSTL and TSKM) create a corresponding entry of Country, Tax Type and Product

Tax Group.

Example of a correct mapping

3.2.5.7 Defining Assignment of Product Tax Data from ERP toCRM

Use

In this activity, you can assign the ERP material tax classification (TAXMx) to the combinationof country, region (optional), tax type, and tax group defined in the CRM system in the activityDefining Assignment of Tax Data for Products from ERP to CRM.

When data is imported from an ERP system to a CRM system, all existing tax data in the ERP

system (table MLAN) is transferred to the CRM system for each material. This requires the

Cntry Sequence Tax Type

DE 1 MWST

CA 1 CTX1

CA 2 CTX2

CA 3 CTX3

R/3 Table TSTL

Tax Category Tax

Classification

Text

MWST 0 No tax

MWST 1 Full tax

MWST 2 Half tax

CTX1 0 No tax

CTX1 1 Full tax

CTX2 0 No tax

CTX2 1 Full tax

CTX3 0 No tax

CTX3 1 Full tax

R/3 Table TSKM

Cntry Tax Type Tax Seq

DE MWST 1

CA CTX1 1

CA CTX2 2

CA CTX3 3

CRM Tax Types

Cntry Reg Tax

Type

Product Tax

Group

DE MWST FULL

DE MWST HALF

DE MWST NONE

CA CTX1 FULL

CA CTX1 NONE

CA CTX2 FULL

CA CTX2 NONE

CA CTX3 FULL

CA CTX3 NONE

Product Tax Group

Page 22: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 22/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 22 of 34

tax settings to be assigned from the ERP system to the CRM system correctly. If this is notthe case, the data transfer process stops.

Procedure

1. Access the activity using the following navigation options:Transaction code SPRO

SAP CRM IMG menu Customer Relationship Management  Basic Functions

 Taxes  Basic Settings  Tax Types and TaxGroups Assign Tax Groups to SAP ECC TaxClassifications (Product)

2. Check tables TSTL and TSKM in the ERP system.

3. For each combination of country, tax category and tax classification in the tables TSTLand TSKM you have to create an entry in the table CRMC_TAX_MAP in the CRM systemas follows:

4. Run IMG activity Assign Tax Groups to SAP ECC Tax Classifications (Product). 

5. Choose New Entries.

6. Enter values for country, tax type, product tax group, tax sequence and tax classification.

Example:

  In the SAP ERP system

Table TSKM

TATYP TAXKM

CTX1 0CTX1 1

CTX2 0

CTX2 1

CTX3 0

CTX3 1

Table TSTL

Country LFDNR TATYP

CA 1 CTX1

CA 2 CTX2

CA 3 CTX3

  CRM

Table CRMC_TAX_MAP (assignment) which is also the IMG activity Assign Tax Groupsto SAP ECC Tax Classifications (Product)

Country  Region  Tax Type  Tax Group  Tax Seq.  Tax Class. 

CA  CTX1  NON  1 0CA  CTX1  FULL  1 1

Page 23: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 23/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 23 of 34

Country  Region  Tax Type  Tax Group  Tax Seq.  Tax Class. 

CA  CTX2  NON  2 0

CA  CTX2  FULL  2 1

CA  CTX3  NON  3 0CA  CTX3  FULL  3 1

Result

The product tax data is maintained in the CRM system and synchronized with the ERPsystem.

The tax information in the product master data will be downloaded in the following way:

3.2.5.8 Checking Customizing of Data Transfer for Taxes(SAP CRM)

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  CRM_TAXCUST_VALIDATE

SAP CRM IMG menu Customer Relationship Management  Basic Functions

 Taxes  Basic Settings  Tax Types and Tax

Groups Check Data Transfer Customizing Settings

2. The Check Results screen is displayed.

Page 24: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 24/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 24 of 34

3. Check the results and correct the errors according to the messages.

3.3 Setting Up the Organization Model

Please see the Configuration Guide for building block C01 CRM Organization Model  fordefining the CRM Organizational structure.

The setup of the organizational model is the prerequisite for replicating the master data fromthe ERP system to the CRM system.

3.4 Replicating Master Data and Transaction Data

Please see the Configuration Guide for building block C03 CRM Master and Transaction DataReplication for this topic.

Page 25: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 25/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 25 of 34

3.5 Tips and Tricks for the Replication Process

Please see SAP Note 430980 for the latest error analysis procedure.

3.5.1 Object Management

3.5.1.1 Changing Block Size

Please check the Delta Guide. 

Use

The block size specifies the number of object instances that will be selected and forwarded ina single operation. The block size is set by the system. The default value only has to be

changed if there are problems (for example, memory overflow when making selection in theERP system).

Procedure

1. Access the activity using one of the following navigation options:

Transaction code  R3AC1

SAP CRM GUI menu  Middleware  Data Exchange  Object Management Business Objects 

2. In the Object Overview  screen choose Display  Change.

3. Select the object for which the block size should be changed and select the button Filters.

4. Change the entry in the field Block Size.

3.5.1.2 Defining Filters for Objects

Please check the Delta Guide. 

Use

Under Filter Settings you can set filters for a business object. For Customizing and conditionobjects the filters can be defined only using tables/structures and the table-related filtersymbol. If you use more than one filter entry per object, filters to the same table field arelinked with an OR. Filters to different table fields are linked by AND.

The filter condition VKORG = 0001, VKORG = 0002 results in a set that contains both the firstand second sales organization.

The filter condition VKORG = 0001, VTWEG = 01 results in objects that fulfill both conditionsat the same time.

Procedure

1. Access the activity using one of the following navigation options:

Page 26: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 26/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 26 of 34

Transaction code  R3AC1

SAP CRM GUI menu  Middleware  Data Exchange  Object Management Business Objects 

2. Mark a business object and choose Details.

3. Choose Filter Settings.

4. Enter the data for the following fields:

Field Procedure 

Source site Use the input help to select the site you want to set the filtercriteria for. For example, for an initial data transfer from SAPERP, this is the ERP system from which the data is to betransferred.

Note: The selection is dependent on the allowed flow contexts(SMOFINICON).

Table Use the input help to select a table, for example, KNA1 forcustomer master.

Field Use the input help to select a field.

OP (Operator) Select an operator.

LOW Specify the lower limit for the filter condition. If the field youselected is a date field, enter the date with the formatYYYYMMDD. Leading zeros should be used as values forexample, for customer and material numbers.

HIGH Specify the upper limit.

Incl./Excl. Specify whether the stated value/interval range should beincluded or not.

Inclusive: the resulting set lies within the range.

Exclusive: The resulting set lies outside the range.

Inactive Set your filter conditions to active.

5. Save your entries.

The Generate Filter  pushbutton located below the menu is only used forregenerating filter modules for selected objects, and should only be used in

exceptional cases.  The fields for filtering are available predefined for the objects. You will find the values

allowed for each object when you make your selection.

  Some objects are delivered with predefined filters. SAP recommends that you do notchange or delete. If necessary, you should define new filters. The purpose of filters isto reduce the size of the dataset transferred. You can find the predefined filters in thechange functions of the Adapter Framework and in table SMOFFILTAB.

  Filters from CRM to CDB are currently not supported; only filters from ERP OLTP toCRM are supported.

  Filter conditions are only stored locally and are not contained in the transport ofadapter objects. In this way filters are not transported from the development system

to the production system. This is because filter conditions are site-specific and are

Page 27: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 27/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 27 of 34

defined differently in the development system to the production system. New filtersettings have to be defined in each system.

3.5.2 Improving Performance During Replication

Please check the Delta Guide. 

Use

The initial download of objects such as the material master data can lead to performanceproblems.

Procedure

In order to improve performance, apply SAP Note 0350176.

3.5.3 Monitoring and Error Analysis for Replication

Please check the Delta Guide. 

Several tools for monitoring can be used to check the status of the replication.

3.5.3.1 Monitoring Download Status

Please check the Delta Guide. 

Use

The list Monitor Objects shows the current download status (Running, Wait, Done) forpreviously selected objects.

Procedure

1. Access the activity using one of the following navigation options:

Transaction code R3AM1

SAP CRM GUI menu Middleware  Monitoring Data Exchange Monitor Objects 

2. Enter either an object name or an object name area or use the F4 input help.Leave the selection empty if you want to display all objects.

3. Under Additional Selection Criteria you can select by the current status: Abort , Waiting ,Running  or Done. 

4. Choose Execute.

5. On the Monitor Download Objects screen you get the following information that gives youhints about the correctness of the download for each object.

Field Value 

Checkbox Set the indicator to select a transfer object for further

Page 28: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 28/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 28 of 34

Field Value 

processing.

Status The following values are possible:

  Red (waiting) i.e. not yet started or aborted

  Yellow (Running )

  Green (Done)

Object name

P (Parent) If this indicator is set, there is a superordinate object inthe transfer.

Date Date of the last transfer block.

Time Start time of the last transfer block.

Block No. The block number indicates how many blocks havealready been downloaded.

If, for example, the block size has been set to 100, thenblock number 15 means that 1,500 objects have alreadybeen posted on the CRM Server database.

 Attempt This field shows the number of attempted transfers.

Source Site Specification of the RFC OLTP destination.

Destination Specification of the CRM system or CDB

6. If an object will not start (red light and status = Waiting ), check if the object is dependent(field Subobject ). Only if the parent object has been loaded successfully, can dependent

objects be started, e.g. Material  can only be downloaded once Customer  has beendownloaded, since there are materials dependent on customers.

7. If an object has not changed in the Monitor for a long time, (e.g. no increase in blocknumbers for the last five minutes), ascertain the reason first and then try to download theobject again.In this case you should run the following activities to detect the error.

3.5.3.2 General Analysis Steps

Please check the Delta Guide. Carry out the following steps:

1. Make sure the highest available Plug-In (PI) Support Packages plus Core SupportPackages are installed in the OLTP in the same way as on the CRM/EBP server.

2. Check the setting for ERP table CRMRFCPAR (see chapter Maintaining TableCRMRFCPAR ).

3. Check the RFC connections from CRM to ERP and vice versa.

Page 29: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 29/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 29 of 34

3.5.3.3 Monitoring Outbound Queue

Please check the Delta Guide. 

Procedure

1. Access the activity using the following navigation option:

Transaction code SMQ1

SAP CRM GUI menu Middleware  Monitoring Queues DisplayOutbound RFC Queues 

2. To display a list of the queues, enter the client, queue name (for example *) and thequeue destination (for example *).

3. Choose Execute.

4. To display the status, select the queue and choose Display selection (F7).

5. Call a specific outbound queue, select it and choose Display Selection (F7).

6. To display details on a queue, double-click the field Queue name.

7. If the queue was stopped because of capacity overload, use F6 to restart the queue.

8. If a second start of the queue is not successful, call the short dump analysis in the CRMsystem.

3.5.3.4 Monitoring Inbound Queue

Please check the Delta Guide. 

Procedure

1. To view the inbound queues in the CRM system and their status, choose one of thefollowing navigation options:

Transaction code SMQ2

SAP CRM GUI menu Middleware  Monitoring Queues DisplayInbound RFC Queues 

2. Enter the client and the queue name (for example *).

3. Choose Execute.

4. To display the status, select the queue and choose Display selection (F7).

5. When you double-click the field Status, additional detailed information is generated.

6. To display details on a queue, double-click the Queue name field.

7. On the queue details screen, a red entry in the field Status indicates an error.

8. If the queue has status STOP, this is a Customizing problem in the CRM application.

9. When you double-click on the status field entry detailed information is displayed.

Page 30: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 30/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 30 of 34

3.5.3.5 Analyzing BDOC Messages

Please check the Delta Guide. 

UseBy analyzing the BDOC messages you get information about incorrect settings in the CRMsystem that influence the replication.

Procedure

1. Access the activity using one of the following navigation options:

Transaction code SMW01

SAP CRM menu Middleware  Monitoring Message Flow DisplayBDOC Messages 

2. Specify date and time of the relevant period of time.3. Choose Execute.

4. BDOC messages with status beginning with E (red traffic light) need manual correctionand retry.

5. Select the message and choose Errors.

6. Here you will find notes regarding CRM setting problems.

3.5.3.6 Checking Transactional RFC Requests

Please check the Delta Guide. 

Procedure

1. Access the activity using one of the following navigation options:

Transaction code SM58

SAP CRM GUI menu  Architecture and Technology   System Administration Monitor  Transactional RFC  

2. On the initial screen Transactional RFC , specify dates for the display period.

3. Fill in the remaining fields. Alternatively, enter *.

4. Choose Execute.

5. To display further details, drill down in the log.

3.5.3.7 Analyzing ABAP Dumps

Please check the Delta Guide. 

Procedure

1. Access the activity using one of the following navigation options:

Page 31: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 31/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 31 of 34

Transaction code ST22

SAP CRM GUI menu  Architecture and Technology -> Middleware Monitoring  Performance  Exceptions/Users Exceptions  ABAP Runtime Errors 

2. Specify the period (today, yesterday).

3. Choose Display list  (F8).

4. To display the ABAP short dump description, select one of the short dumps and chooseDump analysis (F2).

3.5.4 Restart Replication

Please check the Delta Guide. 

Use

 After detecting and solving the replication error you have to restart the replication.

While there are no restrictions for repeating data transfers from ERP to CRM, data transfersfrom CRM to CDB are more serious, because in this case the data has to be distributed. Toavoid inconsistencies between the CDB and mobile application databases, a repeated initialdata transfer from CRM to CDB is prevented. If you are sure that no mobile clients have beensupplied with data or that no data can be extracted again, then a repeated initial data transferfrom CRM to CDB can be carried out. To do this, you have to change an entry in tableSMOFINICUS.

The table contains the following fields:

  ObjName: Name of object (corresponds to the object name from table SMOFOBJECT)

  BDoc Name: Name of the BDoc

  Data Dist.: determines whether data is distributed (selected) or only written to the CDB(empty)

  User Name: Name of changer.

Table SMOFINICUS is delivered empty. With initial data transfers from CRM to CDB datadistribution is automatically selected. If you are sure that mobile clients have still not beensupplied with data, then the selection for data distribution can be unselected for the requiredobject using the view maintenance for table SMOFINICUS (transaction code SM30). Then a

new initial data transfer can be started for this object.Table SMOFINICUS replaces parameter CRM_USE_BULK_DURING_INITof theconfiguration file SMOFPARSFA.

Procedure

In order to restart the replication you have to run the following steps:

1. Canceling download of objects

2. Deleting outbound queue

3. Deleting inbound queue

4. Restart download

Page 32: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 32/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 32 of 34

3.5.4.1 Canceling Download of Objects

Please check the Delta Guide. 

Procedure1. Access the activity using one of the following navigation options:

Transaction code R3AM1

SAP CRM GUI menu  Architecture and Technology -> Middleware Monitoring   Data Exchange  Monitor Objects 

2. Enter either an object name or an object name area or use the F4 input help.Leave the selection empty if you want to display all objects.

3. Under Additional Selection Criteria you can select the status: Waiting  and Running. 

4. Choose Execute.

5. On the Monitor Download Objects screen select the objects you want to cancel fordownload.

6. Choose the Cancel  symbol.

3.5.4.2 Deleting Outbound Queue

Please check the Delta Guide. 

Procedure

1. Access the activity using the following navigation option:

Transaction code SMQ1

SAP CRM GUI menu  Architecture and Technology -> Middleware Monitoring  Queues Display Outbound RFCQueues 

2. To display a list of the queues, enter the client, queue name (for example *) and thequeue destination (for example *).

3. Choose Execute.

4. To delete an outbound queue, select the queue and choose Delete selected objects. 

3.5.4.3 Deleting Inbound Queue

Please check the Delta Guide. 

Procedure

1. Access the activity using one of the following navigation options:

Transaction code SMQ2

SAP CRM GUI menu  Architecture and Technology -> Middleware

 Monitoring  Queues Display Inbound RFC

Page 33: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 33/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

© SAP AG Page 33 of 34

Queues 

2. To display a list of the queues, enter a queue name (for example *).

3. Choose Execute.

4. To delete an inbound queue, select the queue and choose Delete selected objects. 

3.6 Checking Delta Replication Events

Please check the Delta Guide. 

Use

For all master data objects an automatic delta replication will be activated during the initialdownload, which means that each modification of a master data object is automaticallytransferred from the ERP into the CRM system. Customizing data is not automaticallyreplicated. You have to run the delta replication manually or run a background jobperiodically.

The initial load of an object normally performs the activation of delta events automatically.

You have to activate the delta events manually only if you need the delta eventsbut have not performed the initial load of an object, for example for salesdocuments.If all relevant objects that will be used in the scenarios have been downloaded

successfully, you can skip this activity.

Procedure

1. Access the activity using one of the following navigation options:

Transaction code SE16

SAP ERP GUI menu Tools ABAP Workbench  Overview DataBrowser  

2. In the table name field enter TBE31.

3. Choose Table Contents (F7). 

4. Choose Execute (F8). 5. Check the column FUNCT  for the relevant entries. For sales documents the relevant

entry is:

APPLK FUNCT

BC-MID CRS_SALES_COLLECT_DATA

If this entry is in the table, the delta replication for sales documents is switched on.

In case you need to activate the delta events manually, run the following activity in the CRMsystem:

Transaction code R3AC4

SAP CRM GUI menu  Architecture and Technology Middleware DataExchange  Delta Load  Set Up Delta Load  

Page 34: 1000005 B09 CRM Customizing Replication Sdsds

7/17/2019 1000005 B09 CRM Customizing Replication Sdsds

http://slidepdf.com/reader/full/1000005-b09-crm-customizing-replication-sdsds 34/34

SAP B est Pract ices   CRM Customizing Replication (B09): Configuration Guide

1. Choose Display  Change in order to switch to change mode.

2. Choose New Entries.

3. Enter the relevant object class in field Object Class and the RFC destination to the ERPsystem in the field Destination.

4. Save your entries.

This transaction also maintains database table TBE31 in the ERP system!