Isu
Upcoming SlideShare
Loading in...5
×
 

Isu

on

  • 2,227 views

 

Statistics

Views

Total Views
2,227
Views on SlideShare
2,227
Embed Views
0

Actions

Likes
3
Downloads
164
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Good One
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Isu Isu Document Transcript

  • Middleware Replication: ISU Installation Facts into CRM Service ContractApplies to:SAP CRM and SAP IS-U. For more information, visit the Customer Relationship Management homepage.SummaryThis document is created to share the SAP CRM-ISU project experience. As per the standard SAP ISU -CRMdata model the installation facts are only maintained in the SAP IS U system and this data not gets replicatedto SAP CRM system. This document explains the development which is required to take care of this simplerequirement of replicating ISU Installation Facts data into the CRM S ervice Contract Custom field and can beused 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 antCompany: Capgemini India P vt. Ltd.Created on: 14th December 2010Author BioSuraj Jadhav is SAP Sales and Distribution Certified, CRM Leasing Trained Functional Consultant with Over7 years of total experience and over 5 years of consulting experience in SAP CRM, ISU and Sales andDistribution with leading IT consulting organizations.Currently working as a Senior SAP CRM -ISU Consultant, in Capgemini India P vt Ltd and providinginnovative solutions to global clients.SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 1
  • Middleware Replication: ISU Installation Facts into CRM Service ContractTable of ContentsIntroduction............................................................................................................................................. 3 Prerequisites ....................................................................................................................................... 3ISU-CRM Replication Objects .................................................................................................................. 3Middleware BAdI Development ................................................................................................................ 4 ECRM_CRM_DOWNLOAD .................................................................................................................. 4 ECRM_DOWNLOAD............................................................................................................................ 4Test Results............................................................................................................................................ 5 ISU Installation Facts ........................................................................................................................... 5 ISU Cont ract ........................................................................................................................................ 5 CRM Servic e Contract in Web UI .......................................................................................................... 6Sample Code .......................................................................................................................................... 6Relat ed Content ...................................................................................................................................... 7Disclaimer and Liability Notice.................................................................................................................. 8SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 2
  • Middleware Replication: ISU Installation Facts into CRM Service ContractIntroductionThis document is prepared for sharing a development experience of one of the CRM-ISU implementationproject. If there is any requirement of replicating any IS U installation facts data into the CRM ServiceCont ract Custom Fields, then this document will help SAP Consultants to speed up the development usingthe sample code. This document will also be very useful in future for somet hing similar kind of replicationrequirements.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.ISU-CRM Replication ObjectsThe data replication between the IS U and CRM system happens through the middleware and there are someobjects for which data can be replicated int o the CRM from ISU system.Following diagram explains the details about the object relationship between the ISU and CRM systems interms of middleware replication: ISU CRM M Business Partner Business Partner I D D BP Relationship BP Relationship L E W Contract Account Business Agreement A r Utility Contract E Service Contract R Installation PoD CRM Installed Base E PoD & Premise P Premise L I CRM Installed Base Connection Object C Connection Object A T Business Contact I O Business Activ ities Business Contact Notes NSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 3
  • Middleware Replication: ISU Installation Facts into CRM Service ContractThe CRM Replication can be done by two met hods as below:  Initial Download  Delta Download and  Request DownloadSo as per the standard middleware settings, there is no object in CRM to which ISU installation facts datacan be replicated.For this SAP has provided us two BAdI’s (Business Add-In) which we can use to replicate such type of data.Middleware BAdI DevelopmentAs per the SAP CRM Middleware setup, the ISU installation facts data replication into CRM is not a standardpractice. But if there are any business requirements to replicate some IS U data into CRM throughmiddleware then, this can be met using the middleware BAdI’s.SAP has provided following two different middleware related BAdI’s, one in CRM system and other in ISUsystem  ECRM_CRM_DOWNLOAD (In ISU system)  ECRM_DOWNLOAD (In CRM system)ECRM_CRM_DOWNLOADSAP has provided this BAdI in IS U system for downloading any IS U Contract related data into CRM B Doccontainer, 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 BDoccontainer.For this we have to develop the method “ecrm crm_download_fill_data_new”, to fetch the IS U facts data fromthe 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 nextsteps.ECRM_DOWNLOADSAP has provided this BAdI in CRM system for downloading any ISU data from CRM BDoc container intothe 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 containerand 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 CRMtable ORDE RADM_i and field ZZ_ME TERTYPESo as per our scenarios the installation facts data will then transferred into the custom field at the CRMservice cont ract item level.Note:The sample code for the above two BAdI’s are attached in the section “Sample Code”.SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 4
  • Middleware Replication: ISU Installation Facts into CRM Service ContractTest ResultsBelow are the screen shots of the test results for successfully replicating the installation facts data into CRMService Contract custom field at the item level:ISU Installation FactsISU ContractSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 5
  • Middleware Replication: ISU Installation Facts into CRM Service ContractCRM Service Contract in Web UISample CodeBelow 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.Using this approach we can easily replicate the ISU field data into CRM field through middleware.SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 6
  • Middleware Replication: ISU Installation Facts into CRM Service ContractRelated ContentSDN Middleware ForumIS-Utilities SDN ForumCustomer Relations hip Management homepageSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 7
  • Middleware Replication: ISU Installation Facts into CRM Service ContractDisclaimer and Liability NoticeThis document may discuss sample coding or other information that does not include SAP offic ial interfaces and therefore is notsupported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.SAP w ill not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,and anyone using these methods does so at his/her own risk.SAP offers no guarantees and assumes no responsibility or liability of any type w ith respect to the content of this technical article orcode sample, including any liability resulting from incompatibility betw een the content within this document and the materials andservices offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable w ith respect to the content of thisdocument.SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com© 2010 SAP AG 8