You are on page 1of 2

25/03/2015

InboundandOutboundIdocConfigurationStepsContributorCornerSCNWiki

GettingStarted Newsletters

Welcome,Guest

Login

Register

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

PleaseNote:Saturday28thMarch2015wewillhaveascheduleddowntimeofSCNWikiduetomaintenanceactivities.
Thisdowntimeaffectsallfunctionalitiesonhttp://wiki.scn.sap.com/andisexpectedtolasttheentireday.

ContributorCorner / ContributorCorner

InboundandOutboundIdocConfigurationSteps
Addedbyrenu1ece,lasteditedbyRSampathKumaronJul12,2014
ThisdocumentexplainsaboutinboundandoutboundIdocconfigurationwithsimplesteps.DownloadDetailDocumentinWordFormat.

1.WhatisIdoc?
IDocsarestructuredASCIIfiles(oravirtualequivalent).TheyarethefileformatusedbySAPR/3toexchangedatawithforeignsystems.
IDocsistheacronymforInterchangeDocument(IntermediateDocument).Thisindicatesasetof(electronic)informationwhichbuildsalogicalentity.AnIDocise.g.allthedataofasinglecustomerinyour
customermasterdatafile,ortheIDocisallthedataofasingleinvoice.
TheinformationwhichisexchangedbyIDocsiscalledamessageandtheIDocisthephysicalrepresentationofsuchamessage.ThenamemessagesfortheinformationsentviaIDocsisusedinthe
samewaysasotherEDIstandards.

2.WhyIdocConfiguration?
ToexchangeIDocdatabetweensystemsandpartnersthatarecompletelyindependentorbetweensamesystemsweneedtoconfigure.

3.StepsinIdocConfiguration
Considerwehavetoexchangedatabetweentwodifferentclients.FollowingaretheconfigurationstepscommonforInterchangeDocumentsinboththeclients.

3.1.Createsegment
1. GototransactionWE31>Giveyoursegmentname>PressCreate.
2. Typeyourfieldnameanddataelementandpresssavethensegmentdefinitionwillbecreatedautomatically.

3.2CreateIdocType
GotoTransactionWE30
1. FornewIDOCtypeselecttheradiobuttonBasictypeandpressCreatebutton.
2. ThenselecttheIDOCoptiontocreateandpressEnter.Givesegmentname,minimumandmaximumnumberforandsaveit.Checkifthisismandatorysegment.
3. IfyouwantHeaderandItemcreatethesegmenttreeaccordingtothat,youcanviewasfollowsthenpressSave.
4. ThengobackandsetreleasetheIDOCtypeforusingitfurther.Idoctypewillbecreatedsuccessfullyoncewereleasethatstatus.Wehavetoreleasethesegments(inWE31)andIDOCtypeas
well.

3.3CreateMessageType
GototransactionWE81fornewmessagetype.GotochangemodeandclickNewEntriesforcreatingourownmessagetype.

3.4AssociateMessageTypewithBasicIdocType
GototransactionWE82forassociatingthemessagetypewithbasicIDOCtype.

3.5CreateLogicalSystem
GototransactionSPROandpressSAPReferenceIMGforcreatingthelogicalsystemforsourceanddestination.
ClickthenodedefinelogicalsystemfromSPRO>SAPReferenceIMG>SAPcustomizingImplementationGuide>SAPxAppResourceandPortfolioManagement(SAPxRPM)>Basesystem
Interfaces>SAPHumanCapitalManagementIntegration>CommonsystemconfigurationandSAPHCMALEsetup>Applicationlinkenabling(ALE)>BasicSettings>LogicalSystems>Define
LogicalSystem

http://wiki.scn.sap.com/wiki/display/Community/Inbound+and+Outbound+Idoc+Configuration+Steps

1/2

25/03/2015

InboundandOutboundIdocConfigurationStepsContributorCornerSCNWiki

ElsegototransactionSALEthengotoBasicsettings>logicalsystemthenDefinelogicalsystem.Wecancreatethesame.

3.6CreateLogicalConnection
1. GototransactionSM59forcreatingLogicalDestination.
a.SM59>logicalconnections>Create
b.ThenClickConnectiontesticonaftermarkingthecurrentusercheckboxinlogonandsecuritytab.
c.ThenDestinationclientwillautomaticallyopen

3.7CreatePorts
GototransactionWE21forcreatingports.WE21>TransactionalIR>Create

4.StepstobedoneinSourceclient
1.GototransactionSE11>createatablewithentries.
2.GototransactionWE31>createsegmentsasshownbefore.Hereyouhavetomentionallthefieldsmentionedinthedatabasetable.
3.GototransactionWE30>createbasicIDOCtypeandreleasethesegmentsandbasictype.
4.GototransactionWE81>createmessagetype.
5.GototransactionWE82>assignmessagetypetobasicIdoctype.
6.GototransactionBD64>ClickonDisplay/changebutton
7.ClickonEditmenu>modelview>create
8.Specifydescriptionandtechnicalnameandpresscontinue.
9.Selectyourmodelview>clickedit>Addmessagetype
10.Indialogboxspecifysender,receiver,andmessagetypeandcontinue.
11.Clickonenvironmentmenu>generatepartnerprofile
12.Itwillshowthefollowingscreen.Selectyourmodelviewandclickonexecute.
13.Itwillshowthepartnerprofileloginnextscreen.
14.Clickonbackbutton2timesitwilltaketodistributionmodelscreen.
15.ClickonEdit>Modelview>Distribute
16.Indisplayeddialogboxselectthepartnersystemandcontinue.
17.Thenitwillshowthelogofmodelviewdistribution.
18.TocheckpartnerprofilegototransactionWE20.
19.ThenwritethereportprograminSE38tocreateIDOCcontrolrecordsandtransferittodestinationpartnersystem.
20.GotoTransactionWE02tocheckthegeneratedIDOCcontrolrecords.

5.StepstobedoneinDestinationclient
1. GototransactionSE37tocreatethefunctionmoduleforupdatingthetablefromIDOCsegments.
2. Specifyimport,exportandtableparameters.
3. GototransactionWE57forassigningtheFMtologicalsystem.ClickonDisplay/changebutton.
4. SpecifyFMname,functiontype,basictype(IDOC),messagetypeanddirectionthensaveit.
5. GototransactionBD51todefineinputmethodforinboundfunctionmoduleandclickonDisplaychangebutton
6. Specifyyourfunctionmoduleandinputtypebyclickingthenewentries.
7. GototransactionWE42andcreateprocesscode.
8. GototransactionBD64andgeneratethepartnerprofileagain.
9. GottotransactionSE38andexecutethetransactioninsourcesystem(client100).
10. Checkindestinationsystem(client800).GotoTransactionWE02andcheckyourtableinSE11.(Youcangetthetransferredentriesinthattable).

Nolabels
ContactUs
Privacy

SAPHelpPortal
TermsofUse

LegalDisclosure

Copyright

http://wiki.scn.sap.com/wiki/display/Community/Inbound+and+Outbound+Idoc+Configuration+Steps

FollowSCN

2/2

You might also like