Sunteți pe pagina 1din 2

3/2/2015

AutomaticEnrollmentUsingmySAPCRM(SAPLibrary)

AutomaticEnrollmentUsingmySAPCRM
Inthefollowingexamples,thisalternativeusestheproposalprocedurebasedontheserviceproviderrelationship.
ThegridisdeterminedasdescribedinthemanualprocessunderServicesBasedonServiceProviderRelationship.
TheexamplesfirstdescribetheCRMISUintegrationconcept:
AreplicationmechanismensuresthatISUmasterdatathatisrelevantforCRMisrepresentedbydatainthe
CRMSystemandviceversa.Forexample,anISUcontractcorrespondstoacontractitemintheCRM
System.
ACRMproductintheCRMSystemismappedtoonemasterdatatemplateintheISUSystem.

ProcessFlow
IfenrollmentisinitiatedintheCRMSystem,processingtakesplaceasfollows:

1. Businesspartnerdata,addressdataandtechnicaldatasuchastheconnectionobject,premiseandpointof
deliveryarerecordedintheCRMSystem.Tocreatethismasterdata,thereplicationmechanismstartsthe
masterdatageneratorintheISUSystemwithatemplatebelongingtotheCRMPARTNERTECHtype.
2. ThesaleofautilityproductisrecordedinCRMandcreatesanewcontractitemintheCRMSystem.This
triggersthemasterdatageneratorintheISUSystemduringreplication.
3. Beforethemasterdatatemplate(CRMNEWCONTRACT)isexecuted,thesystemcallsaBAdImethod
(BADIdefinitionEIDE_CRM,interfaceIF_EX_EIDE_CRM,methodIDE_PROCESS_NECESSARY),which
determineswhetherornotIDEcommunicationisrequired.
a. Ifcommunicationisrequired,theeventIDECallNecessaryistriggeredfortheBORobjecttype
ISUCRMCNCT(ISUCRMConnector),soastostartanIDEworkflow,andthemasterdatagenerator
terminateswithoutcreatingdata.
b. Ifcommunicationisnotrequired,themasterdatatemplateisexecutedandthemasterdataiscreated.
4. TheIDEworkflowmanagescommunicationanddetermineswhetherenrollmentmustbeexecuted.TheIDE
workflowalsosetsastatusparameterintheworkflowcontainerindicatingthattheIDEworkflowiscurrently
running.
a. Ifenrollmentistobeexecuted,theworkflowcallsthemasterdatageneratoragain.Thisoccursusinga
methodthatiscalledbythefunctionmoduleISU_PRODUCT_IMPLEMENT.Internally,themasterdata
generatorcallstheBAdImethodIDE_PROCESS_NECESSARYagain.Thestatusparameterinthe
containerindicatestothemethodthattheIDEworkflowisrunning,sothatitdoesnotneedtobe
triggered.
Theworkflowmusttransportthedatarequiredforexecutionbythemasterdatageneratorinthe
container.Itisalsopossibletochangethedateintheparametersforthemasterdatatemplate,for
example,ifthemoveindatechanges,beforethemasterdatageneratoriscalled.
b. Ifenrollmentisnottotakeplace,theworkflowmustcallthemethodContractStatusChangeforthe
BORobjecttypeISUCRMCNCT(ISUCRMConnector)sothattheCRMSystemisinformedofthe
rejectionandcancancelthecontractitemagain.
Pleasenotethefollowingwithregardtothisprocedure:
ThemasterdatageneratoronlycallstheBAdImethoddescribedwhenprocessingaCRMproduct.
Ifthescenariorequiresseveralcontracts,theIDEworkflowmayneedtoaccessthemasterdatagenerator
severaltimeswithtemplatecategoryCRMNEWCONTRACT.Thereplicationmechanismthencreatesfurther
contractitemsautomaticallyintheCRMSystem.
TheonlystatusavailableforthecontractitemintheCRMSystemis"distributed".Thisstatusindicatesthat
theobjectisinthequeuefortheISUSystembutdoesnotindicatethatreplicationinISUwassuccessful.
IftheIDEworkflowneithersendsarejectionnorcreatesthecontracts,thestatusofthedatainCRMisnot
http://fmis.minfin.bg/help/EN/f1/8fd63be985c24de10000000a11402f/content.htm

1/2

3/2/2015

AutomaticEnrollmentUsingmySAPCRM(SAPLibrary)

consistentwiththatinISU.
Youcanmaintaintheproposalsforbillableservices(contracts)inthemenufortheUtilitiesIndustryunder
IntercompanyDataExchangeServicesServicesBasedonServiceProviderRelationships.Youmust
implementtheseproposalsyourselfintheIDEworkflowtoensurethattheyareused.

http://fmis.minfin.bg/help/EN/f1/8fd63be985c24de10000000a11402f/content.htm

2/2