P. 1
crm isu

crm isu

|Views: 301|Likes:
Published by Aman Cuinto

More info:

Published by: Aman Cuinto on Feb 12, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/15/2015

pdf

text

original

Middleware Replication: ISU Installation Facts into CRM Service Contract

Applies to:
SAP CRM and SAP IS-U. For more information, visit the Customer Relationship Management homepage.

Summary
This document is created to share the SAP CRM-ISU project experience. As per the standard SAP ISU -CRM data model the installation facts are only maintained in the SAP IS U system and this data not gets replicated to SAP CRM system. This document explains the development which is required to take care of this simple requirement of replicating ISU Installation Facts data into the CRM S ervice Contract Custom field and can be used as a reference for developing any fut ure similar requirements. I would like to thank Mr. Rajesh Elumalai for his contribution in the ABAP area. Author: Suraj Jadhav – SAP CRM-ISU Consult ant

Company: Capgemini India P vt. Ltd. Created on: 14th December 2010

Author Bio
Suraj Jadhav is SAP Sales and Distribution Certified, CRM Leasing Trained Functional Consultant with Over 7 years of total experience and over 5 years of consulting experience in SAP CRM, ISU and Sales and Distribution with leading IT consulting organizations. Currently working as a Senior SAP CRM -ISU Consultant, in Capgemini India P vt Ltd and providing innovative solutions to global clients.

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 1

.................................. 5 ISU Cont ract ............. 4 ECRM_CRM_DOWNLOAD ...............................................................................................................................com | BOC ..................................... 6 Sample Code ..............................................................................................................................................................................................bpx... 4 Test Results.....................................com 2 ........................................................................................................ 3 ISU-CRM Replication Objects .............................................................................................sap......sap............com | UAC .......................................................................uac.................................................................. 8 SAP COMMUNITY NETWORK © 2010 SAP AG SDN .....Middleware Replication: ISU Installation Facts into CRM Service Contract Table of Contents Introduction........................................................com | BPX ........ 5 CRM Servic e Contract in Web UI ......................................... 6 Relat ed Content ....................sdn.................................................................................................................................................................................................................................................... 7 Disclaimer and Liability Notice. 3 Middleware BAdI Development ...................sap......................................................................................... 5 ISU Installation Facts ......................................................................................................................... 4 ECRM_DOWNLOAD.............................sap....................................boc......................................................................... 3 Prerequisites .............................................................................................................

com 3 .boc.sap.uac. Prerequisite s      SAP ISU and CRM business process knowledge.com | BPX . ISU-CRM Replication Objects The data replication between the IS U and CRM system happens through the middleware and there are some objects for which data can be replicated int o the CRM from ISU system.sap.bpx.sap. Following diagram explains the details about the object relationship between the ISU and CRM systems in terms of middleware replication: ISU M CRM Business Partner I D Business Partner BP Relationship D L E BP Relationship Contract Account W A r Business Agreement Utility Contract E Service Contract Installation Premise PoD R E P L I CRM Installed Base PoD & Premise Connection Object C A T CRM Installed Base Connection Object Business Contact Business Contact Notes I O N Business Activ ities SAP COMMUNITY NETWORK © 2010 SAP AG SDN .com | UAC . This document will also be very useful in future for somet hing similar kind of replication requirements.sdn. then this document will help SAP Consultants to speed up the development using the sample code.Middleware Replication: ISU Installation Facts into CRM Service Contract Introduction This document is prepared for sharing a development experience of one of the CRM-ISU implementation project. Middleware settings bet ween the CRM and ISU systems CRM Middleware B Doc (Business document ) knowledge SAP ABAP programming knowledge.sap. If there is any requirement of replicating any IS U installation facts data into the CRM Service Cont ract Custom Fields. Knowledge about SAP CRM middleware replic ation objects.com | BOC .

com | BOC . to fetch the data from the Bdoc container and then send it to the relevant table-field.com | BPX .sdn. Middleware BAdI Development As per the SAP CRM Middleware setup. This BAdI then takes the ISU facts data from table “E TTIFN” and then sends this data to BDoc container. this can be met using the middleware BAdI’s.com | UAC . But if there are any business requirements to replicate some IS U data into CRM through middleware then. which is not supported in standard middleware objects.sap. one in CRM system and other in ISU system   ECRM_CRM_DOWNLOAD (In ISU system) ECRM_DOWNLOAD (In CRM system) ECRM_CRM_DOWNLOAD SAP has provided this BAdI in IS U system for downloading any IS U Contract related data into CRM B Doc container. So in our scenarios what we want is to send some custom facts data from ISU table into the CRM BDoc container. For this we have to develop the method “ecrm crm_download_fill_data_new”. SAP has provided following two different middleware related BAdI’s. the ISU installation facts data replication into CRM is not a standard practice. which is not support ed in standard middleware objects. Note: The sample code for the above two BAdI’s are attached in the section “Sample Code”.sap. to fetch the IS U facts data from the table and then send it into the Bdoc container. This BAdI then downloads the ISU facts data whic h is sent by ISU BAdI and then replicated this to CRM table ORDE RADM_i and field ZZ_ME TERTYPE So as per our scenarios the installation facts data will then transferred into the custom field at the CRM service cont ract item level. Once this BAdI is developed and data is send to CRM container then the next BAdI will take care of the next steps. For this SAP has provided us two BAdI’s (Business Add-In) which we can use to replicate such type of data. there is no object in CRM to which ISU installation facts data can be replicated.sap.com 4 .Middleware Replication: ISU Installation Facts into CRM Service Contract The CRM Replication can be done by two met hods as below:    Initial Download Delta Download and Request Download So as per the standard middleware settings. ECRM_DOWNLOAD SAP has provided this BAdI in CRM system for downloading any ISU data from CRM BDoc container into the CRM Service contract table structure.sap.uac.boc. SAP COMMUNITY NETWORK © 2010 SAP AG SDN . For this we have to develop the method “ecrm_download_fill_data”.bpx.

bpx.uac.sap.Middleware Replication: ISU Installation Facts into CRM Service Contract Test Results Below are the screen shots of the test results for successfully replicating the installation facts data into CRM Service Contract custom field at the item level: ISU Installation Facts ISU Contract SAP COMMUNITY NETWORK © 2010 SAP AG SDN .sdn.com 5 .sap.com | BOC .sap.com | UAC .boc.com | BPX .sap.

sdn.com | BOC .com | BPX .uac.bpx.sap.Middleware Replication: ISU Installation Facts into CRM Service Contract CRM Service Contract in Web UI Sample Code Below are the sample development codes related to the BAdI’s mentioned above: Note: This approach can also be valid if you migrate this type of data usi ng the EMIGALL tool in SAP IS-U system.sap.sap.com | UAC .boc. SAP COMMUNITY NETWORK © 2010 SAP AG SDN .com 6 . Using this approach we can easily replicate the ISU field data into CRM field through middleware.sap.

sap.sap.sdn.com | BPX .sap.uac.sap.com 7 .Middleware Replication: ISU Installation Facts into CRM Service Contract Related Content SDN Middleware Forum IS-Utilities SDN Forum Customer Relations hip Management homepage SAP COMMUNITY NETWORK © 2010 SAP AG SDN .com | BOC .bpx.boc.com | UAC .

SAP w ill not be held liable for any damages caused by using or misusing the information.com | BPX .sap.com | BOC .sap. or seek to hold.sdn. code or methods suggested in this document. SAP COMMUNITY NETWORK © 2010 SAP AG SDN .uac.sap. SAP responsible or liable w ith respect to the content of this document.bpx.com | UAC . SAP offers no guarantees and assumes no responsibility or liability of any type w ith respect to the content of this technical article or code sample.com 8 . and anyone using these methods does so at his/her own risk. You agree that you will not hold.sap. including any liability resulting from incompatibility betw een the content within this document and the materials and services offered by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.Middleware Replication: ISU Installation Facts into CRM Service Contract Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP offic ial interfaces and therefore is not supported by SAP.boc.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->