Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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.
Table of Contents
Introduction............................................................................................................................................. 3 Prerequisites ....................................................................................................................................... 3 ISU-CRM Replication Objects .................................................................................................................. 3 Middleware BAdI Development ................................................................................................................ 4 ECRM_CRM_DOWNLOAD .................................................................................................................. 4 ECRM_DOWNLOAD............................................................................................................................ 4 Test Results............................................................................................................................................ 5 ISU Installation Facts ........................................................................................................................... 5 ISU Cont ract ........................................................................................................................................ 5 CRM Servic e Contract in Web UI .......................................................................................................... 6 Sample Code .......................................................................................................................................... 6 Relat ed Content ...................................................................................................................................... 7 Disclaimer and Liability Notice.................................................................................................................. 8
Introduction
This document is prepared for sharing a development experience of one of the CRM-ISU implementation project. If there is any requirement of replicating any IS U installation facts data into the CRM Service Cont ract Custom Fields, then this document will help SAP Consultants to speed up the development using the sample code. This document will also be very useful in future for somet hing similar kind of replication requirements. Prerequisite s SAP ISU and CRM business process knowledge. Knowledge about SAP CRM middleware replic ation objects. Middleware settings bet ween the CRM and ISU systems CRM Middleware B Doc (Business document ) knowledge SAP ABAP programming knowledge.
CRM
Business Partner
I D
Business Partner
BP Relationship
D L E
BP Relationship
Contract Account
W A r
Business Agreement
Utility Contract
Service Contract
Installation Premise
PoD
R E P L I
Connection Object
C A T
I O N
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, there is no object in CRM to which ISU installation facts data can be replicated. For this SAP has provided us two BAdIs (Business Add-In) which we can use to replicate such type of data.
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, which is not support ed in standard middleware objects. 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, to fetch the IS U facts data from the table and then send it into the Bdoc container. This BAdI then takes the ISU facts data from table E TTIFN and then sends this data to BDoc container. Once this BAdI is developed and data is send to CRM container then the next BAdI will take care of the next steps. 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, which is not supported in standard middleware objects. For this we have to develop the method ecrm_download_fill_data, to fetch the data from the Bdoc container and then send it to the relevant table-field. 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. Note: The sample code for the above two BAdIs are attached in the section Sample Code.
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
Sample Code
Below are the sample development codes related to the BAdIs 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. Using this approach we can easily replicate the ISU field data into CRM field through middleware.
Related Content
SDN Middleware Forum IS-Utilities SDN Forum Customer Relations hip Management homepage