21
USER GUIDE TO DELETE THE REPLICATED ORGANIZATIONAL MODEL IN CRM. Sandeep. Kethepalle 16th October 2012 SAP Global Delivery SAP Tips and Tricks Solutions for Cross-Industry Name/ Industry Solution Name (optional)/

User Guide to Delete the Replicated Org Model_tips & Tricks

Embed Size (px)

DESCRIPTION

User Guide to Delete the Replicated Org Model

Citation preview

Page 1: User Guide to Delete the Replicated Org Model_tips & Tricks

USER GUIDE TO DELETE THE REPLICATED ORGANIZATIONAL MODEL IN CRM.Sandeep. Kethepalle16th October 2012SAP Global Delivery

SAP Tips and TricksSolutions for Cross-Industry Name/Industry Solution Name (optional)/

Page 2: User Guide to Delete the Replicated Org Model_tips & Tricks

2 Tips and Tricks v1.0

Document DetailsName Objective Audience Versio

nDescription

Tips and Tricks Used for reference

All Users 1.0 User Guide to delete organizational units in CRM

Change LogVersion Date Author Description Approved By1.0 Oct 16th, 2011 Sandeep. K User Guide to

delete organizational units in CRM

For any info on this document please contact:Name Email ID Contact NoSandeep Kethepalle. Sandeep.kethepalle@sap.

com080-30841992

©2008 by SAP AG.All rights reserved. SAP, R/3, xApps, xApp, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

Page 3: User Guide to Delete the Replicated Org Model_tips & Tricks

3Tips and Tricks v1.0

CONTENT1. PROBLEM................................................................................................................................. 42. DESCRIPTION........................................................................................................................... 43. SITUATIONS APPLICABLE...........................................................................................................44. SOLUTIONS.............................................................................................................................. 45. STEPS TO BE FOLLOWED..........................................................................................................46. FAQS...................................................................................................................................... 6

Instruction to author: Please feel free to rearrange contents if required

© SAP Global Delivery 2012

Page 4: User Guide to Delete the Replicated Org Model_tips & Tricks

4 Tips and Tricks v1.0

1. ProblemFor Master data replication from ERP system to CRM system, organizational structure has to be either replicated from ECC to CRM(This replication is one time activity which cannot be done twice) or should be created manually as per customer requirement , there was a situation where some combinations of ( Sales Organization, Sales Office, Sales Group, Distribution Channel, Divisions) were not replicated ,as a result of that Business Partners were not replicated because of the missing sales areas. Due to this we have to replicate the Org structure once again. To perform this activity we need to delete the existing customers, contact persons, products and org structure and then update the buffers and then recreate the Org structure.

This document will help the Middleware consultants to delete the Org structure and update the buffers for recreation Org structure.

2. DescriptionThis document is a short guide for the Middleware consultants to delete the Org structure and update the buffer to recreate the Org Structure.

3. Situations ApplicableDuring Master data download of Business Partners and Materials.

4. SolutionsIn order to replicate Business Partners whose sales area data in not maintained in the CRM

system the following activities needs to be performed.1. Deletion of transaction data associated with business partners like (sales orders,

opportunities etc)2. Deletion of marketing attributes associated with the business partner.3. Deletion of contact persons and products.

After performing the above mentioned activities we need to delete the replicated org structure.

5. Steps to be followed

Step 1: To Delete the Org structure go to T Code SE38 and choose Program rhrhdl00 and click execute button (F8)

Page 5: User Guide to Delete the Replicated Org Model_tips & Tricks

5Tips and Tricks v1.0

Step 2: Delete (O-S-P) Internal persons per organizational unit with the parameters specified below.

Plan Version: 01

Object Type: O

Evaluation Path: O-S-P

Uncheck the checkbox Test.

© SAP Global Delivery 2012

Page 6: User Guide to Delete the Replicated Org Model_tips & Tricks

6 Tips and Tricks v1.0

Step 3: Choose Execute (F8)

Page 7: User Guide to Delete the Replicated Org Model_tips & Tricks

7Tips and Tricks v1.0

Choose YES

Step 4:

If objects were deleted, then the result screen specifies entries which were deleted.

STEP 5: Change the parameters to delete the job level.

Plan Version: 01

Object Type: C

Evaluation Path: C_S_O

Uncheck the checkbox Test.

© SAP Global Delivery 2012

Page 8: User Guide to Delete the Replicated Org Model_tips & Tricks

8 Tips and Tricks v1.0

Step 6: Choose Execute (F8)

Choose YES

Step 7: If objects were deleted, then the result screen specifies entries which were deleted.

Page 9: User Guide to Delete the Replicated Org Model_tips & Tricks

9Tips and Tricks v1.0

Step 8: Change the parameters to delete the position

Plan Version: 01

Object Type: S

Evaluation Path: S-O

Uncheck the checkbox Test.

© SAP Global Delivery 2012

Page 10: User Guide to Delete the Replicated Org Model_tips & Tricks

10 Tips and Tricks v1.0

Step 9: Choose Execute (F8)

Page 11: User Guide to Delete the Replicated Org Model_tips & Tricks

11Tips and Tricks v1.0

Choose YES.

Step 10: If objects were deleted, then the result screen specifies entries which were deleted.

Step 11: Please, maintain table T77OMATTR in TCODE SM30 and flag the buffer field for Sales and Service scenarios.

We do this activity to buffer the data.

© SAP Global Delivery 2012

Page 12: User Guide to Delete the Replicated Org Model_tips & Tricks

12 Tips and Tricks v1.0

Step 12: Once the Buffering is done, run the report (HRBCI_ATTRIBUTES_BUFFER_UPDATE) to delete all the Buffers Filed.

TCODE: SE38

Program Name: HRBCI_ATTRIBUTES_BUFFER_UPDATE

Choose F8

Page 13: User Guide to Delete the Replicated Org Model_tips & Tricks

13Tips and Tricks v1.0

Step 13:

Step 14:

© SAP Global Delivery 2012

Page 14: User Guide to Delete the Replicated Org Model_tips & Tricks

14 Tips and Tricks v1.0

Step 15: Delete the Business Partners

TCODE: SE38

Program Name: bupa_test_delete

Page 15: User Guide to Delete the Replicated Org Model_tips & Tricks

15Tips and Tricks v1.0

Choose F8

Step 16: Provide the Number Range to Delete. Make sure to run in TEST Mode,

To Find out No of Entries

GOTO TCODE: SE16 and enter the table name BUT000 and find the no of entries and then select the number range to delete the customers.

© SAP Global Delivery 2012

Page 16: User Guide to Delete the Replicated Org Model_tips & Tricks

16 Tips and Tricks v1.0

Test run indicates Business Partners can be deleted are not.

Page 17: User Guide to Delete the Replicated Org Model_tips & Tricks

17Tips and Tricks v1.0

Step 17: Choose back (F3) and Uncheck the Checkbox Test Run and click F8

Choose Yes

© SAP Global Delivery 2012

Page 18: User Guide to Delete the Replicated Org Model_tips & Tricks

18 Tips and Tricks v1.0

Step 18:

After performing the above mentioned steps there are times the replicated org entries are not available for replication. To make it available the below mentioned report needs to be created and executed.

Make sure that there should not be any entries under the generated org structure. To find the whether the entries are generated earlier refer the below mentioned SPRO

Page 19: User Guide to Delete the Replicated Org Model_tips & Tricks

19Tips and Tricks v1.0

REPORT ZCRM_ORGMAN_R3_ORGDATA_DEL.

DATA: lv_answer TYPE char1.

START-OF-SELECTION.

* popup to confirm

CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'

EXPORTING

defaultoption = 'N'

titel = text-001

textline1 = text-002

IMPORTING

answer = lv_answer.

* refresh buffer

IF lv_answer = 'J'.

DELETE FROM DATABASE indx(st) ID 'KEY'.

ENDIF.

© SAP Global Delivery 2012

Page 20: User Guide to Delete the Replicated Org Model_tips & Tricks

20 Tips and Tricks v1.0

After creating and running the above mentioned report the entries marked in the red color in the below screen shot would be available for replication again. It’s mandatory to create and run the report to make sure that all the combinations are available for replicating the org structure.

6. FAQs N/A