Anda di halaman 1dari 14

4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

GetStarted

Solutions Support Training Community Developer

Partner About

Community / Blogs

GeneralMiddlewaresettingsfor
DataExchange
June26,2013 | 1,413Views |
JothivenkateshM
morebythisauthor

SAPCustomerRelationshipManagement
crm | customerrelationshipmanagement | dataexchange | erp | middleware

share
1 share
0 tweet share
0

Follow

DataexchangeinCRMcarriesaveryuniqueperspectiveandutilizes
theCRMProprietarycalledCRMMiddleware.Especiallywewillsee
aboutthebasicsettingswhicharerequiredfortheexchangebetween
CRMandERPsystemsconsideringBusinesspartners.Beforegetting
intotheimportanttablestobechecked,wewilllookintofewimportant
thingswhichareofprimeinterest.
LogicalSystem:
ALogicalsystemisprettymuchimportanttobepresent
priorhandbecausethisisimportanttoestablishthe
connectionwiththatsystem.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 1/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Whendataisdistributedbetweendifferentsystems,each
individualsystemwithinanetworkhastobeclearly
identifiable.
ALogicalsystemisanapplicationsysteminwhichthe
applicationsworktogetheronacommondatacontext.
InSAPterms,logicalsystemisconsideredtobea
CLIENT.
Sincelogicalsystemisthenameusedtoidentifya
systemuniquelywithinthenetwork,twosystemscannot
havesamenameiftheyareconnectedtoeachother.
RFCConnection:
RFCconnectionsaretheoneswhichphysicallyenable
thesystemtosharetheinformationoverthenetwork.
TocreateaRFCconnection,usetransactionSM59.

Afterthesetwoentitiesareready,wecanlookatcertaintableswhich
areimportantattheECCsystemfollowedbythetablesandcertain
transactionsinCRMsystem.
ImportanttablesinERPsystem:
CRMRFCPARDefinitionsforRFCConnections*

Parameter
Description Recommendedvalues
Name

Userofconsumerthatusesthe
CONSUMER OLTPpluginorther/3adapter CRM
functionalitytoreceivethedata.

Forwhichobjectthedestination *(meansallsending
OBJNAME
isallowedtoreceivethedata data).

AnyconnectedCRM
Specifiesthedestinationofthe
RFCDEST server(RFCdestination
CRMserver.
forcrmsystem)

Whichkindofloadwouldbe
DOWNLOAD *(allLoadtypes)
allowedtosendtodestination.

XMLsupport(shoulddatabesentin
SENDXML MixedMode
XMLsupport)

*Allthedetailsindicatedforthetablesareforillustrativepurposes
only.Anyrequireddatacanbeused.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 2/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

CRMCONSUMPossibleUsersofR/3Adapter
Functionality

Parameter Recommended
Description
Name values

UserofconsumerthatusestheOLTPplugin
CONSUMER orther/3adapterfunctionalitytoreceivethe CRM
data.

Flagtoindicatewhethertheapplicationis
AKTIV X
active.

TEXT Description CRM

Q_PREFIX PrefixfortheQNameused R3A

CRMFILTABFilterConditionsforDownload

WhenthereisafilterdefinedinR3AC1transactionandthefiltersare
synchronized,thenallthefilterswillbepresentinthistableinECC.In
CRMitwillbepresentSMOFFILTAB.

CRMPAROLTPCRMOLTPParameters

WhenthefiltersaremaintainedinCRMsystem,thenthereshouldbe
anentrywiththetextCRM_FILTERING_ACTIVEforthecorrespnding
adapterobject.Samplescreenshot:

CRMSUBTABSubscriptionTableforUploadand
DownloadObjects

Thisisthetablewhichwillhavethefunctionmodulesfortheuploador
downloadobjects.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 3/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

ImportanttablesandtransactioninCRMsystem:

SMOF_ERPSHERPSiteHeadertable
Thistablefillsautomaticallywheneveryoucreatethesite
intheCRMsystembyusingtheadministrationconsole
(SMOEAC)
SiteIDistheuniqueIDprovidedfortheeachsitecreated
viaSMOEAC.
CRMM_BUT_CRMOBJBuffer:WhichBPsareinWhich
Systems
Thistablewillcarrythepartnerswhicharesuccessfully
replicatedandtheSITEIDofthesystemtowhichthe
dataisreplicated.
SMOEAC(TransactionforAdministratonconsole)
InCRMservereverysystemwhichisconnectedtoitare
definedassitesandtoenablethedataexchangethe
sitesmustbedefineintheCRMsystemusingthetool
SMOEAC.
ToenablethedataexchangebetweentheCRMserver
andtheconnectedsystemfirstwehavetocreatethesite
fortheparticularRFCdestinationintheSMOEAC.
Followingarethestepstocreatesite:
Opentransactionsmoeac.
chooseobjecttypeSITE.
Clickoncreate.
Fillalltherequiredfieldslikenameofsite,typeof
site.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 4/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Clickonsiteattributebutton.
EntertheRFCdestinationinourcaseitshouldbe
anyECCsystemandhitenterthesystemwill
automaticallyfetchalltherelevantdataforthesite
likelogicalsystemname,releaseofthesystemetc.
Aftercreatingthesitethescreenwilllooklikethebelowscreen.

Oncethesiteiscreated,theconnectedsitehastobe
subscribedfortheavailablepublication.
Publication:
Publicationisthedefinitionofoneormorereplicationobjects
withspecificcriteriaforreplicationmeanstosaythat
Publicationiskindofcontainerwhichmayconsistdifferent
replicationobject.
Subscription:
Subscriptionisareplicationobjectwithinthepublication
whichconnectedsitecansubscribetoit.
Subscriptionisameansbywhichthesitecansubscribe
forsomeparticularsetofreplicationobjectsfrom
publicationwhichhewanttogetitfromtheCRMserver..
Foreg.Sitecansubscribefortheallthebusiness
partnertoflowtohimoronlytherelationshipshouldbe
replicatedtohim.Italldependsonthecustomer
requirementthatwhatdatahewanttoreplicatedtothe
connectedsite.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 5/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Inourcasemostofthetimewesubscribefortwobusiness
objectsBUPA_MAINi.e.allbusinesspartnerandBUPA_REL
i.e.allbusinesspartnerrelationshipmeanstosaythatthe
connectedECCsidecanacceptallBPdataandBPrelationship
datafromtheCRMsystemotherthanthisitwilldiscardall
othertypesofdata.
AfterdefiningtheECCasasiteintheCRMsystemwemust
assignsubscriptiontoitbelowarethescreenshotwhichwill
showhowtocreateandassignsubscriptiontotheECCsite.
Followingwillbethestepswherethesubscriptionwillbe
createdandassignedtothesite.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 6/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Intheabovescenario,wehaveonlyassignedone
subscriptioni.eALLBUSINESSPARTNERRELATIONSHIP
duringreplicationonlytherelationshipfromtheCRMserverwill
sendtotheECCandnottheBUSINESSPARTNER.

Therearemainlytwokindofsubscriptionareavailableinthe
CRMserver.

TypesofSubscription.
SimpleBulksubscription.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 7/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Simplebulksubscriptionisthestandards
subscriptionwhichgivenbytheSAPstandardSAP
deliveryandcustomerarenotallowedtomake
anychangeinthissubscription.General
recommendationistohavebulksubscription.

Simpleintelligentsubscription.

Simpleintelligentsubscriptionissomethingwhich
customercancreatetheirownsubscriptionwith
somefiltercriteriaaccordingtotheirrequirement.

Sotheabovementioneddetailswillgiveustheheadstart
forthebasicsettingsfromthemiddlewaresidetosetup
replicationbetweenCRMandERP.

AlertModerator

15Comments
YoumustbeLoggedontocommentorreplytoapost.

ItaCurran

August28,2013at1:31pm

VeryhelpfuldocumentThanksVenkat

JothivenkateshM Postauthor

April8,2014at9:56am

ThanksIta.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 8/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

MerveGul

March3,2014at6:59am

Hi,
IneedtocreatetwositesforECCwithdifferentRFCdestinations.
ImeanthereistwoRFCdesctinationsforECCandIneedtosenddifferent
subscriptionstothesesites.ButwhenIwanttocreateasitewithR/3site
typesystemgivesSMOF_ERPSITE002errorYouhavetoenteranRFCfor
anR/3site.
CanwecreatetwositeforsamesitetypeR/3?

JothivenkateshM Postauthor

April8,2014at9:58am

Hi,
Youcanalwayscreatemorethanonesiteforeachtypeofsite.

MaximAfonin

May13,2014at6:27am

JothivenkateshMNicearticle,buthonestlythisisnotenough,atall.Forthe
expierencedpeopleitisuseless,forthenewbiesitdoesntprovideall
information,notevenalinktothesaphelporbestpracticies,where
everythingiswritten.
P.S.HereisthelinkBasicConfiguration
andyoucanusethefollowinfBPguides:
1.C71RFCSetup
2.B09CustomizingDownload
3.SAPNote490932
P.P.S.Ifyouwanttomakeitusefularticleputmoreinformationinthisartcile
withscreenshotsandliveexample.Otherwiseitjustwasteoftime,sorry,
nothingpersonal.

JothivenkateshM Postauthor

May13,2014at7:23am

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 9/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

MaximAfonin.Thanksforyourcomments.Ihavesortedoutthe
informationwhichifeltfrommyexperienceareimportantfor
settingupreplicationbetweensystems.Ofcourseyoucanfind
lotsandlotsofinformationbyusingInternet.Butthiswillserve
asbasicguidelineandintendedtocaterthatneedandsystems
havebeensetupwiththis
informationalone.
Sofrommyopinion,thisdocumentcanhelptosetupthe
replication.Againiamnottellingthisistheonlydocumentwhich
canhelptosetupreplication.Ifyouconsiderthisasawasteof
time,icannothelpyououtmuchotherthantellingtheabove
thingsandyoucanalwaystryreferringdocumentswhichisof
helptoyou.Againnothingpersonalhere.Iwilltrytoputinbit
moreinformationwhenevertimepermits.

FaisalPC

May13,2014at7:45am

HiMaxim,
Ithinkitwouldbebettertoquoteinabetterway.Ijustwent
throughJothispostandseemsthatitisgoodforbeginners
thoughIamnotabeginner.Peoplewillhavedifferent
perceptions.However,itsnotfairtoblindlycriticizingbysaying
thattherearelotofotherinfoininternet.Therewillbemuch
moreininternetthananybodycanpost.
Also,ifyoufeelsomethingbettercanbegiven,youcanalways
comeupwithyourownblog/documentbyaddingadditional
points.
Thanks,
Faisal

LusPrezGrau

May13,2014at6:01pm

Well,foryourfirstcontributionsinceyousignedin(27/12/2011),
notbad
Ifyoureadagainyourcomment,dontyouthinktheotherwise
isawasteoftimesentencecouldbealittleoffensive?
https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 10/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Itsquiteeasytogivefeedback,but,goodfeebdackthats
anotherhistory.
Cheers!
Luis

AndreyVishnevskiy

May13,2014at8:12pm

HelloMaxim.
Letmequoteyou:

saphelporbestpracticies,whereeverythingiswritten.

Quiteastrongstatement,isntit?ButitsyourwordssoI
welcomeyoutomydiscussionwhichIcreatedhalfayearago,it
has~550viewscurrently,butnoproperansweryet:HRCRM
integration(7.0andabove).Organizationalmodel.Any
valueableinputswillbemuchappreciated.
Backtothedocument.Butitsnotadocumentactually.Itsa
blogpostifyoutakeacloserlook.JustFYI:TheDifference
betweenaDiscussion,BlogPost,DocumentandWiki
Asyoucanseefromthisdocument,blogpostisintendedto
shareownexperience.JothivenkateshMdidexactlythis.And
diditquitewellactually.Atleasthedidit.
IllbegladifyoubringtoSCNamorevalueablecontentthan
thisone.OrdoSAPemployeeshaveanysortofNDAtoshare
theirknowledge?

MaximAfonin

May14,2014at6:23am

Mybad.Allthisistrue,sorryifitwasoffensiveto
anybodyespeciallyinconcernttotheTopicOwner,
didntwanttomiff,ortobeinpoliteoraggressive.
Anywaylinksinmyfirstcommentisstlluseful,
nomatterthefactthatstandarddocumentsare
oftenfartobegood.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 11/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

StephenJohannes

May13,2014at9:23pm

Imgoingtohavetosaythatyoumustbeprettybrilliantifyou
canfollowthestandarddelivereddocumentationandnotmake
anymistakes.Ipersonallycantalwaysdothatmyselfsothere
arepeoplewhomightlikealittleextrahelp.Althoughthisblog
isnotcomplete(butdoesnthaveto),itisanicelittleoverviewof
someoftheareasandwhattocheckwhenyousetupthe
middleware.Iwouldprobablywouldhavehadaddedfewmore
pointsbutnothingmore.
SomeofthebestmiddlewareconsultantsIknow(thedudes
workingbacksince2.0C),havepersonaldocumentationthatis
builtinsimilarstyle,becauseeventheyneededtoexpandfrom
thestandarddeliveredstuff,butwhatdotheyknow .
Intermsofsharingasmallbloglikethiscouldleadtoafullbook
orchapterinabookonthesubject.Iknowofsomeonewho
wroteabloghereanditturnedintoabook.
FinallyforJothivenkateshthanksforsharing,yepyoucaptured
therealspiritofcontributionwithyourintenttoprovideafew
usefultipsfromexperience .
Takecare,
Stephen

MaximAfonin

May13,2014at8:01am

Hello,ifreambypost,youcanfindthatIamnotcriticizingbysayingabout
internet\google.
Forsuretherearetomsofinformation.Iamjustsayingthatifyoudecideto
createanarticleitshouldbesomethingcomplete.
1.GuidingwiththisnotesyouwillnotcreateCRM<>ERPconnection,you
needadditionalsteps,sothatmeansitisnotaguidelineforthebasicsetup.
2.Wecanseetablesdescriptions,butagain,hereyouwillnotfind
descriptionofallfields.Sothisarticledoesntlikewiki.
3.Noexpierencesharinginthisarticle.Soitisnotabestpracticeguide.

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 12/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Iamnotsayingitisbad,ButontheSAPcommunitywllbegoodtohave
somethingmoresolid\complete.Thisismorelikeadraft.Butagainitisjust
myIMHO.
ThatiswhyIthinkthatatleastlinkstotheadditionalinformationshouldbe
puthere..

JothivenkateshM Postauthor

May13,2014at8:39am

Hi,
Iunderstoodyourconcernaboutcoveringalltheminutedetails.
Thisisjustastepupdocumenttosetupthesystem.Willtryto
covervariousotherscenariosbasedondifferententitiesin
anotherarticle.Togetherwewillmakethecommunityabetter
place.

SkumarSAP

January21,2016at12:58pm

HiJothi,
ThankyousomuchforthispieceofworkonintroofMiddlewaresettings,
thisisgoingtobetorchlightforsomanylikeme.
Jobwelldone!!!
Regards,
Senthil.

FabianCousley

November8,2016at8:23pm

Thankyou..!

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 13/14
4/19/2017 GeneralMiddlewaresettingsforDataExchange|SAPBlogs

Share & Follow


Privacy TermsofUse LegalDisclosure Copyright Trademark Sitemap Newsletter

https://blogs.sap.com/2013/06/26/generalmiddlewaresettingsfordataexchange/ 14/14

Anda mungkin juga menyukai