Sunteți pe pagina 1din 14

ALE/Idoc configuration - (R3--XI--File)

SAP XI
1) RFC Destination (S!")
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SI!"R# and system n$mber%.
e) &nter the 'ate(ay host as same details above SI!"R#.
f) 'ate(ay service is 33))*system n$mber%.
g) In the #ogon !Sec$rity tab+ enter the client $ser , Pass(ord details of estination
system.
h) -est the connection and remote logon.
#) Create Port (IDX$)
a) Select create ne( b$tton
b) &nter the port name as SAP*SI .-he starting char sho$ld be SAP)
c) &nter the destination client.
d) &nter the RFC estination created in SAP R!3 to(ards other system.
e) Save
3) Load eta Data for ID%C (IDX#) a) Create ne(
b) I/C 0essage -ype
c) &nter port created in I11.
SAP ECC&
$) RFC Destination (S!")
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SI!"R# and system n$mber%.
e) &nter the 'ate(ay host as same details above SI!"R#.
f) 'ate(ay service is 33))*system n$mber%.
g) In the #ogon !Sec$rity tab+ enter the client $ser , Pass(ord details of estination
system.
h) -est the connection and remote logon.
#) Create Port ('e#$)
a) First Select -ransactional RFC and then clic2 create b$tton
b) &nter the destination port name as SAP*SI .-he starting char sho$ld be SAP)
c) &nter the destination client.
d) &nter the RFC estination created in SAP R!3 to(ards other system.
e) Save
3) Create Partner Profile ('E#()
a) Create 3e(
b) Create the Partner no. name as same the logical system name of the destination
system.
c) Select Partner type #S
d) &nter details for -ype4 "S!"S&R+ Agent+ and #ang.
e) Clic2 on the * b$tton to select the message type.
f) Select Partner no. and #S (hich ever create above.
g) Select 0essage type
h) Select Process code related to the 0essage type.
I) save.
In SLD S)ste* Landsca+e Director)
-S for R!3 .#ogical system)45Assign the client name created in R!3 as #ogical system
3ame.
-s for -hird Party .#ogical system)45
6S for SAP R!3 .#ogical system)45 Assign the client name created in R!3 as #ogical
system 3ame.
6S for -hird Party .#ogical system)45&nter the 1I logical system name.
FILE ,% ID%C (As)nc-ronous)
%.er.ie/
-he p$rpose of this scenario is to implement a simple one5(ay+ asynchrono$s lin2
bet(een a file sender .#egacy System) and the R!3 system. 7o$ (ill be able to
$nderstand the str$ct$re of ob8ects in the S#+ Integration Repository and
Integration irectory. -his e9ercise (ill also introd$ce the graphical mapping
environment+ the central :;&& adapter engine+ the file adapter for Sender System
and the Idoc adapter for the Receiving System.
Prere0uisites
6asic 2no(ledge of 1I+ I/C!A#&+ 10# etc.
Descri+tion
A c$stom 10# doc$ment containing vendor information is pic2ed $p from the file
system by the file adapter. -he message is mapped to Ioc510# format and then
ro$ted to the Ioc adapter. -he Idoc 0essage -ype CR&0AS . vendor master data)
is posted into the bac2end R!3 system (ith error stat$s <=+ as (e are not foc$sed in
processing the idoc in the receiving application system.
SLD +re+aration&
-tt+&//1ost&+ort/re+/start/inde234s+
=))))4 :;&& port
S)ste* Landsca+e Director)
Ste+& efine ! Config$re the Prod$ct+ Soft(are Component+ -echnical
System and 6$siness System to represent the receiver system
Product
Create a soft/are +roduct
Soft/are Co*+onent
1. Select >Soft(are Components? from the drop do(n list
Create a soft/are co*+onent
,ec-nical s)ste*s
Create tec-nical s)ste* for ID%C
SAP has shipped R!3 technical system named I5, on scilssa+(#
@ence+ no need of creating ne( technical system for R!3
Create ,ec-nical S)ste* for FILE SER6ER(C-oose ,-ird-+art))
'ive the technical system name and the host name
Choose appropriate Prod$ct and clic2 on finish
78SI9ESS S:S,ES
Create 7usiness S)ste* for ID%C 3
SAP has shipped R!3 6$siness System named SAPIDES
@ence no need of creating R!3 6$siness system
Create 7usiness S)ste* for file ser.er
Choose third A party system
Provide appropriate technical system and logical system name
Select integration server to connect and clic2 on finish.
@ere+ (e complete the SLD Pre+aration333
Ste+ # ; Integration Re+ositor) (Design)
Ret$rn to the Integration 6$ilder homepage and select >Integration Repository?
and logon
From the Integration 6$ilder home page+ select >Integration Repository4 esign?.
-his (ill la$nch the :ava Beb Start application. #og in (ith yo$r $ser I and
Pass(ord.
Ste+& I*+ort t-e Soft/are Co*+onent 6ersion
1. Import yo$r soft(are component by selecting -ools 5C -ransfer from System
#andscape irectory 5C Import Soft(are Component Dersions
;. Select yo$r soft(are component version created in the previo$s section and
>Import?
3. -he soft(are component version (ill no( appear on the left hand side of the
Screen. >&9it? to clear the import (indo(
E. o$ble clic2 on the Soft(are Component Dersion to bring it $p on the right hand
Frame .Remember the $pper level of the tree is the Soft(are Component and
e9panded $nderneath is the SBCD)
=. &nter >&dit? mode on the SBCD.
<. Select I*+ort of RFC and ID%C interfaces fro* SAP s)ste* Per*itted and
enter the credentials.
F. "nder the >3amespaces? add a namespace by clic2ing on the green >*?
G. Config$re the namespace as http4!!filetoidoc
H. >Save? (hen done
1). &9pand the ne(ly associated namespace and >Imported /b8ects? elements no(
listed $nder the SBCD
Ste+& I*+ort t-e out<ound CREAS(3 Interface %<4ects
Data ,)+e= essage ,)+e= essage Interface
In the left5hand frame+ $nder the /b8ects -ab+ 'o to yo$r soft(are component and
follo( the path to locate the
Idoc ob8ect4 DE%S- DE%S= $3( of Scils-I*+orted %<4ects IDocs3
1. Right Clic2 on >Imported /b8ects? and choose >Import of SAP /b8ects?
;. Config$re the logon information and >Contin$e?
3. &9pand the >Ioc? element and select the >CR&0AS.CR&0AS)3? chec2bo9
and >Contin$e?
E. >Finish? to start the import. >Close? the (indo( once complete
=. Close the (indo( once complete and revie( the imported Ioc str$ct$re $nder
Imported /b8ects 5C Iocs
3/-&4 In this specific e9ample Iocs+ once imported+ a$tomatically generate
their $nderlying str$ct$res and can be referenced as 0essage -ypes .for
0essage 0appings) and 0essage Interfaces .in Interface 0appings) in
s$bseI$ent steps. 3ote this import can also ta2e a co$ple min$tesJ
<. &9pand the node+ Iocs and select the Ioc4 CREAS3CREAS(3. o$ble5clic2
on it and inspect the Idoc metadata. Be are going to $se this idoc metadata for o$r
Inbo$nd 0essage Interface.
Ste+& Create t-e in<ound Interface %<4ects Data ,)+e
1. "nder yo$r SBCD and e9pand the >Interface
/b8ects? element
;. Right Clic2 on >ata -ypes? and >3e(?
3. &nter >dt? as the name and >Create?
E. First (e (ill create a data type called >Addressed?.
=. In the data type editor+ create a str$ct$re for the Address+ as specified belo(.
<. 3o( create another data type called >-? as sho(n belo(
3ote that the D, type previo$sly created is no( referenced from the main data type.
-his is called nesting of data types. -his is achieved by selecting >Search @elp? from
the drop5do(n men$ in the >-ype? col$mn. -here yo$ (ill be able to select any
e9isting data type in the same SBC.
essage ,)+e
1. "nder yo$r SBCD and e9pand the >Interface /b8ects? element
;. Right Clic2 on >0essage -ype? and >3e(?
3. &nter >vendor? as the name and >Create?
E. In the >ata -ype "sed? section+ associate the >-? either via drop do(n+
copy!insert+ or drag and drop from the ata -ypes section on the left frame and
>Save?
essage Interface
1 $nder yo$r SBCD and e9pand the >Interface /b8ects? element
;. Right Clic2 on >0essage Interfaces? and >3e(?
3. &nter >o$t? as the name and >Create?
E. Config$re the 0essage Interface as sho(n belo( and >Save?
essage a++ing
1. "nder yo$r SBCD and e9pand the >0apping /b8ects? element
;. Right Clic2 on >0essage 0apping? and >3e(?
3. &nter >6endor>CREAS(3? as the name and >Create?
E. Select the So$rce 0essage type >dt? either via drop do(n
.be s$re to choose yo$r o(n SBC) from the Interface /b8ects 5C 0essage -ypes
section on the left frame
=. Select the -arget 0essage type >CREAS3CREAS(3? either via drop do(n or
drag and drop or drag and drop from the Imported /b8ects 5CIdoc section on the left
frame
<. Bith the So$rce and -arget message defined (e can no( specify the mapping
6et(een them. -o ma9imiKe yo$r (or2ing area L$ndoc2M the (indo( by clic2ing
on the th$mb tac2 in the $pper right corner of the (indo(.
Please refer to the table belo( for the mapping r$les .segments and fields are sorted
according to their order of appearance in the Idoc).
F. 3o( (e have to assign constants to certain fields and attrib$tes in the Ioc .for
segment I$alifiers+ hard coded val$es and 10# attrib$tes). -his can be achieved by
follo(ing the proced$re belo(. Refer to the table belo( for more details on the
mapping r$les.
G. o$ble5clic2 on the target field in the Ioc.
H. At the bottom of the screen+ select >Constants? from the drop5do(n list for
f$nction type.
1). Clic2 on the f$nction >Constant?. 3o( the >empty? constant appears in the
screen.
11. o$ble5clic2 on the >empty? constant and assign a specific val$e.
1;.Connect the constant to the target field.

13.For the segments &1#F610 and &1#F010 please assign an empty constant. -his
is necessary beca$se these segments are optional in the Ioc. Altho$gh some
$nderlying fields have already been mapped+ If the parent node is not e9plicitly $sed
as the target of a mapping+ the segment (ill not be instantiated at all.
essage a++ing ; ,esting
1. Select the >-est? tab
;. &9pand the So$rce -ree
3. Pop$late val$es into the so$rce message fields to be passed to the target message
as defined in the message mapping .$se the follo(ing pict$re as a g$ide)
Interface a++ing
1. "nder yo$r SBCD and e9pand the >0apping /b8ects? element
;. Right Clic2 on >Interface 0apping? and >3e(?
3. &nter >6endor>out>CREAS(3? as the name and >Create?
E. Select the So$rce 0essage interface >vendorNo$t? either via drop do(n or drag
and drop from the Interface /b8ects 5C 0essage Interface section on the left frame
=. Select the -arget 0essage interface >CR&0AS.CR&0AS)3? either via drop
o(n .be s$re to choose yo$r o(n SBC) or drag and drop from the Imported
/b8ects 5C Idoc section on the left frame
<. Clic2 >Read Interfaces ? to read the interface properties and
pop$late the lo(er (indo(
F. Select the >DendorNCR&0AS)3? message mapping as the 0apping Program
Again via drop do(n or drag and drop from the 0apping /b8ects 5C 0essage
0apping section on the left frame
G. Dalidate the final config$ration against the belo( and >Save?
Ste+& Acti.ate Re+ositor) %<4ects
1. Select the >Change #ists? tab
;. &9pand yo$r change list
3. &9pand yo$r SBC
E. Right clic2 on >Standard Change #ist? and >Activate?
=. /n the pop$p (indo( note all the ob8ects that are being activated and
>Activate?

S-ar putea să vă placă și