Professional Documents
Culture Documents
Sheetal Raina
2007
Atos, Atos and fish symbol, Atos Origin and fish symbol, Atos Consulting, and the fish itself are registered trademarks of Atos Origin SA. May 2006
2006 Atos Origin
Table of content
Table of content
ALE Training
Terminologies Involved in dealing with Idocs
Segments
IDoc Type
Message Type
Partner Profiles
Process Codes
Port
Table of content
ALE Training
IDOC - Segments
Segments: Defines format and structure of a data record.
Segment type is version independent name of the
segment.
Segment definition is version dependent definition of
segment which specifies the field which belong to the
segment.
Segment documentation gives documentation for each
field in segment definition.
Data fields used in data segments
ALE Training
ALE Training
Definition (2): Segment
Asegmentcomprises
SAPreleaseindependentsegmenttype
AtleastoneSAPreleasedependentsegment
name
SegmenttypesarestructuresintheABAPrepository.
Allfieldsofasegmentareofdatatypecharacter(CHAR).
ALE Training
Definition (3): Segment
Segment Type
E1ccccc
Segment Name
/partner/ccccc000
Segment Type
/partner/ccccc
Segment Name
/partner/ccccc001
Segment Name
/partner/ccccc013
9
Segment Name
E2ccccc000
Version 1
e.g. 3.0A
Segment Name
E2ccccc001
Version 2
e.g. 3.0C
Segment Name
E2ccccc013
Version 14
e.g. 7.7x
ALE Training
Definition (4): Segment
ByreleasingsegmentsandIDoctypesthedatastructuresof
theinterfacearefrozentosubsystemsandlabelledwith
uniquenamesfor
thesegments,and
theIDoctypes
TheIDocdefinitontoolscontrolthereleasefeature.Any
ongoingdevelopmentafterreleasingleadstonewversions
ofeithersegmentsorIDoctypes.
10
ALE Training
Definition (5): Segment
WedistinguishversionsforsegmentsaswellasforIDoctypes.
InoneSAPcorrectionlevel,e.g.4.0B,onlyonecurrentversion
canexist.
AnewversionofthedevelopmentobjectssegmentandIDoc
typeiscreatedalways,ifchangesaremadeafterreleasingthat
object.
Possiblechangesarestronglyrestrictedtoguaranteeexternal
compatibilityoftheIDocinterface.
11
Table of content
12
IDOC Components
ALE Training
TherearebasicallytwotypesofIDOCs.
BasicIDOCs
ExtendedIDOCs
Extensionsareusedbecause
Thestandardcodeofprocessingisstillinuse.
Developmentsandcorrectionsofstandardcodeare
availableautomatically.
Extensionsaremuchlesseffortthandevelopments.
13
IDOCComponents
ALE Training
BasicIDoc
BasicIDOCtypedefinesthestructureandformatofthebusiness
documentthatistobeexchangedbetweentwosystems.
Characteristics
Name
Hierarchyofsegments
Mandatoryvs.Optionalsegments
Min/Maxno.ofsegments
ExtensionIDoc
Extendingthefunctionalitybyaddingmoresegmentstoexisting
BasicIDOCs.
14
ALE Training
WhatKindofDevelopment,andWhen?
Nothing to be done !
The IDoc type requested is available, but does not match in all the
requirements:
Development as extension !
15
Table of content
16
ALE Training
AnIDoctypeisdefinedbythecorresponding:
Segments
Attributesofthesesegments
(forexample,maximumnumber,hierarchical
sequence,segmentstatus)Gototransactioncode
WE30
EntertheObjectName,selectBasictypeandclickCreateicon
EnteradescriptionforyourbasicIDOCtypeandpressenter
17
ALE Training
Create IDOC Type Cont
SelecttheIDOCNameandclickCreateicon
Thesystempromptsustoenterasegmenttypeandits
attributes
ChoosetheappropriatevaluesandpressEnter
ThesystemtransfersthenameofthesegmenttypetotheIDOC
editor.
FollowthesestepstoaddmorenumberofsegmentstoParent
orasParentchildrelation
Saveitandgoback
GotoEdit>Setrelease
18
Table of content
19
ALE Training
GototransactioncodeWE81
ChangethedetailsfromDisplaymodetoChangemode
Afterselection,thesystemwillgivethismessageThetableis
crossclient(seeHelpforfurtherinfo).PressEnter
ClickNewEntriestocreatenewMessageType
Filldetails
Saveitandgoback
20
ALE Training
Assign Message Type to IDoc Type
GototransactioncodeWE82
ChangethedetailsfromDisplaymodetoChangemode
Afterselection,thesystemwillgivethismessageThe
tableiscrossclient(seeHelpforfurtherinfo).PressEnter.
ClickNewEntriestocreatenewMessageType.
Filldetails
Saveitandgoback
21
Table of content
22
ALE Training
Thepartnerprofilelinkssystem1withsystem2,e.g.the
SAPbusinessapplicationwithanEDIsubsystem.
Theprocesscodepointstoabusinessprocess.The
businessprocesscontrolsthecreationofanIDocin
outbound,ortheprocessingofanIDoctopostabusiness
documentininbound.
Theporttakesallthetechnicalpropertiestoaddress
system2.
23
ALE Training
Partner Profile
Apartnerprofileisanidentifierforasystemusedfor
communicatingmessages.
Thereare4basictypesofpartnerprofiles
KU for customer
LI for vendor
B for Bank
LS for Logical System
24
Partner Profile
ALE Training
Apartnerprofiledefinestheparametersofcommunication
between2ormoresystems.
Apartnerprofilespecifiesvariouscharacteristicsofdata
exchangedwithabusinesspartner.
Theparametersalsodeterminethemodeofprocessingand
errorhandling.
Threeviewsofapartnerprofile
1.Generalparametersview:DatastoredinEDPP1
2.Inboundparametersview:DatastoredinEDP21
3.Outboundparametersview:DatastoredinEDP13
exceptmessagecontrolparametersarestoredin
EDP12.
25
PartnerProfile(Contd).
ALE Training
ThemainparametersareMessagetypes,IDOCtypes,process
codes,partnerfunctions,messagefunction,outputtypesandport.
CanbeviewedasagatewayforALEandEDIcommunications.
ItroutesthespecifiedmessagesthroughthedefinedIDOCtypes
tothegivenport,afterinvokingtheappropriatefunctionmodules
foroutboundprocessing
ForInbounditreceivesIDocofaspecifictypeandidentifies
modulestopostdatatotheapplicationdatabases.
LinkingtheprocesscodetothefunctionmoduleforOutbound
interfacewithmessagecontrolandalwaysforinboundinterface.
26
Table of content
27
ALE Training
Ports
Aportisalogicalrepresentationofacommunicationchannel
inSAPwiththedatacommunicatedbeingIDocs.
Thereare4maintypesofports
File
TransactionalRFC
R/2
Internetport.
EDItypicallyusesfilebasedports,whichspecifiesdirectory
location,filenameandnameofsubsystem(ifinstalled).
InALEtheportofthetypetRFC.
28
Table of content
29
ALE Training
Process Code
ProcesscodeareusedinALE/EDItoidentifythefunction
moduleorAPItobeinvokedforsubsequentprocessing.
Eachprocesscodeisassociatedwithamessagetype.
30
Table of content
31