Transferring Org Data From ECC to CRM 

An Org.  structure was maintained manually in our CRM system. Without deleting the structure we tried to generate the Org structure from ECC using the program CRMC_R3_ORG_GENERATE.  Now it created problems and our products and business partners are not picking up the Sales Org Data.
When we tried to regenerate the org using CRMC_R3_ORG_GENERATE a dump error is observed.  We tried deleting the org structure using report rhrhdl00 but it didn’t worked.

You can delete the complete org structure in order to copy it again from the R/3. For that please use report RHRHDL00 to completely delete all org units.

- Enter "O" for object type and the number of your root org unit as ID.

- Enter "ORGEH" as evaluation path and execute the program (you can first check what will happen by leaving the "test" flag set). Kindly refer to the documentation attached to this report in trx. SE38. You should repeat this for all other root org units.

Unfortunately this report does not delete the corresponding Business partners created in role Organisational unit, but they can be deleted by means of trx. BUPA_DEL.

With report RHCHECKRELATIONS you might delete eventually remained relations for these objects.

Before reprocess report CRMC_R3_ORG_GENERATE you need to refresh the buffer(before note 696229, generated records were considered as already saved in PPOMA_CRM).

For example this report could be :

*********************************************

REPORT CRM_ORGMAN_R3_ORGDATA_DEL_GEN.

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.

IF lv_answer = 'J'.

refresh buffer 

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

ENDIF.

********************************************

Execute this report and then CRM org data could be created via transaction CRMC_R3_ORG_GENERATE

CRM Tables
Find The Table Names For a CRM Transaction

SAP CRM Books
SAP Customer Relationship Management Certification, Interview Questions and Configuration Reference Books

SAP CRM Hints
SAP CRM - Customer Relationship Management Tips

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.