You are on page 1of 31

ALE-IDOC Training

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

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

Table of content

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

ALE Training
Terminologies Involved in dealing with Idocs
Segments
IDoc Type
Message Type
Partner Profiles
Process Codes
Port

Custom presentation- or document control name

Table of content

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

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

Custom presentation- or document control name

Definition (1): Segment

Custom presentation- or document control name

ALE Training

ALE Training
Definition (2): Segment
Asegmentcomprises
SAPreleaseindependentsegmenttype
AtleastoneSAPreleasedependentsegment
name
SegmenttypesarestructuresintheABAPrepository.
Allfieldsofasegmentareofdatatypecharacter(CHAR).

Custom presentation- or document control name

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

Custom presentation- or document control name

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

Custom presentation- or document control name

ALE Training
Definition (5): Segment
WedistinguishversionsforsegmentsaswellasforIDoctypes.
InoneSAPcorrectionlevel,e.g.4.0B,onlyonecurrentversion
canexist.
AnewversionofthedevelopmentobjectssegmentandIDoc
typeiscreatedalways,ifchangesaremadeafterreleasingthat
object.
Possiblechangesarestronglyrestrictedtoguaranteeexternal
compatibilityoftheIDocinterface.

11

Custom presentation- or document control name

Table of content

12

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

IDOC Components

ALE Training

TherearebasicallytwotypesofIDOCs.
BasicIDOCs
ExtendedIDOCs
Extensionsareusedbecause
Thestandardcodeofprocessingisstillinuse.
Developmentsandcorrectionsofstandardcodeare
availableautomatically.
Extensionsaremuchlesseffortthandevelopments.

13

Custom presentation- or document control name

IDOCComponents

ALE Training

BasicIDoc
BasicIDOCtypedefinesthestructureandformatofthebusiness
documentthatistobeexchangedbetweentwosystems.
Characteristics
Name
Hierarchyofsegments
Mandatoryvs.Optionalsegments
Min/Maxno.ofsegments
ExtensionIDoc
Extendingthefunctionalitybyaddingmoresegmentstoexisting
BasicIDOCs.

14

Custom presentation- or document control name

ALE Training
WhatKindofDevelopment,andWhen?

The IDoc type requested is available, and matches all


requirements:

Nothing to be done !

The IDoc type requested is available, but does not match in all the
requirements:

Development as extension !

The IDoc type requested is not available, or matches only in few


requirements:

Development as basis type !

15

Custom presentation- or document control name

Table of content

16

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

Create IDOC Type

ALE Training

AnIDoctypeisdefinedbythecorresponding:
Segments
Attributesofthesesegments
(forexample,maximumnumber,hierarchical
sequence,segmentstatus)Gototransactioncode
WE30
EntertheObjectName,selectBasictypeandclickCreateicon
EnteradescriptionforyourbasicIDOCtypeandpressenter

17

Custom presentation- or document control name

ALE Training
Create IDOC Type Cont
SelecttheIDOCNameandclickCreateicon
Thesystempromptsustoenterasegmenttypeandits
attributes
ChoosetheappropriatevaluesandpressEnter
ThesystemtransfersthenameofthesegmenttypetotheIDOC
editor.
FollowthesestepstoaddmorenumberofsegmentstoParent
orasParentchildrelation
Saveitandgoback
GotoEdit>Setrelease

18

Custom presentation- or document control name

Table of content

19

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

Create Message Type

ALE Training

GototransactioncodeWE81
ChangethedetailsfromDisplaymodetoChangemode
Afterselection,thesystemwillgivethismessageThetableis
crossclient(seeHelpforfurtherinfo).PressEnter
ClickNewEntriestocreatenewMessageType
Filldetails
Saveitandgoback

20

Custom presentation- or document control name

ALE Training
Assign Message Type to IDoc Type
GototransactioncodeWE82
ChangethedetailsfromDisplaymodetoChangemode
Afterselection,thesystemwillgivethismessageThe
tableiscrossclient(seeHelpforfurtherinfo).PressEnter.
ClickNewEntriestocreatenewMessageType.
Filldetails
Saveitandgoback

21

Custom presentation- or document control name

Table of content

22

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

IDOC Configuration Terms

ALE Training

Thepartnerprofilelinkssystem1withsystem2,e.g.the
SAPbusinessapplicationwithanEDIsubsystem.
Theprocesscodepointstoabusinessprocess.The
businessprocesscontrolsthecreationofanIDocin
outbound,ortheprocessingofanIDoctopostabusiness
documentininbound.
Theporttakesallthetechnicalpropertiestoaddress
system2.

23

Custom presentation- or document control name

ALE Training
Partner Profile

Apartnerprofileisanidentifierforasystemusedfor
communicatingmessages.
Thereare4basictypesofpartnerprofiles

KU for customer
LI for vendor
B for Bank
LS for Logical System

24

Custom presentation- or document control name

Partner Profile

ALE Training

Apartnerprofiledefinestheparametersofcommunication
between2ormoresystems.
Apartnerprofilespecifiesvariouscharacteristicsofdata
exchangedwithabusinesspartner.
Theparametersalsodeterminethemodeofprocessingand
errorhandling.
Threeviewsofapartnerprofile
1.Generalparametersview:DatastoredinEDPP1
2.Inboundparametersview:DatastoredinEDP21
3.Outboundparametersview:DatastoredinEDP13
exceptmessagecontrolparametersarestoredin
EDP12.

25

Custom presentation- or document control name

PartnerProfile(Contd).

ALE Training

ThemainparametersareMessagetypes,IDOCtypes,process
codes,partnerfunctions,messagefunction,outputtypesandport.
CanbeviewedasagatewayforALEandEDIcommunications.
ItroutesthespecifiedmessagesthroughthedefinedIDOCtypes
tothegivenport,afterinvokingtheappropriatefunctionmodules
foroutboundprocessing
ForInbounditreceivesIDocofaspecifictypeandidentifies
modulestopostdatatotheapplicationdatabases.
LinkingtheprocesscodetothefunctionmoduleforOutbound
interfacewithmessagecontrolandalwaysforinboundinterface.

26

Custom presentation- or document control name

Table of content

27

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and answers

Custom presentation- or document control name

ALE Training

Ports

Aportisalogicalrepresentationofacommunicationchannel
inSAPwiththedatacommunicatedbeingIDocs.
Thereare4maintypesofports

File
TransactionalRFC
R/2
Internetport.

EDItypicallyusesfilebasedports,whichspecifiesdirectory
location,filenameandnameofsubsystem(ifinstalled).
InALEtheportofthetypetRFC.

28

Custom presentation- or document control name

Table of content

29

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and Answers

Custom presentation- or document control name

ALE Training
Process Code
ProcesscodeareusedinALE/EDItoidentifythefunction
moduleorAPItobeinvokedforsubsequentprocessing.
Eachprocesscodeisassociatedwithamessagetype.

30

Custom presentation- or document control name

Table of content

31

Introduction - ALE Terminologies


IDOC Segment
IDOC Components
IDOC Types
Message Type
Partner Profiles
Port
Process Codes
Questions and Answers

Custom presentation- or document control name

You might also like