Вы находитесь на странице: 1из 16

IDOC Configuration Manual (SAP side)

1. Inbound IDOC
1.1 Define logical system
T-CODE: BD54
In this ste !e define logical system and it !ill be a"tne" "ofile name in the ne#t
ste. $ogical system is one of the a"tne" tye in %&'.
'"ess button to ente" logical system code and name.

1.( Define Inbound )unction module
T-CODE: %E*+
In this ste !e define inbound function module to "ocess the inbound idoc data.
Detailed info"mation fo" function module, lease see the follo!ing function module
documentation.
ZIDOC_INPUT_HRSM_
HIRE Functional Spec.doc
1.* &ssign )unction -odule to -essage and IDOC tye
T-CODE: .E5+
In this ste !e assign the inbound function module to the message tye and idoc
tye. /elationshi bet!een idoc and function module is 1:0, it means inbound idoc
can has diffe"ent function modules fo" fu"the" "ocessing.
'"ess button and ente" belo! info"mation.
1.4 Define the Cha"acte"istics of the inbound function module
T-CODE: BD51
In this ste !e define the inut tye of the inbound function module, "ess
button to c"eate ne! cha"acte"istics of the inbound function module
Inut tye 1 means mass "ocessing, 1 means indi2idual inut, ( means indi2idual
inut !ith Idoc loc3 in C&$$ t"ansaction. 4Dialog allo!ed5 means IDoc can be
"ocessed in dialog mode, it is fo" f"ontend debugging u"ose.
1.5 Define Inbound "ocess code
T-CODE: .E4(
In this ste !e define the "ocess code fo" the function module, "ocess code !ill be
used in the a"tne" "ofile to secify the inbound function module fo" standa"d
inbound "ocess. Technically %&' allo!s c"eate se2e"al "ocess codes fo" one
function module, but tyically it has 1:1 "elationshi.
'"ess button and ente" the follo!ing info"mation
1.6 Define 'a"tne" '"ofile fo" inbound IDOC
T-CODE: .E(1
In this ste !e define the a"tne" "ofile fo" inbound idoc
'"ess button and Ente" the follo!ing info"mation
&gent is the one !ho c"eates7"esonsible fo" any e""o"s7idoc failu"es. Common
"actice is c"eate a secific %&' use" ID fo" IDOC use.
'"ess button at the bottom of the inbound a"amete"s.
%et the a"tne" "ofile status as 4&cti2e5.
(. Outbound IDOC
(.1 Define IDOC segment
T-CODE: .E*1
In this ste !e define IDOC segment fo" outbound data t"ansfe", !e defined 4
segments in this ste. Data elements sta"t !ith 4&5 to 585 a"e "ese"2ed fo" %&'
standa"d use and only 495 and 4:5 is "ese"2ed fo" custome" use.
9I0)T:
9'E/0/

9/ET;/0
9DOC0;-
(.( Define IDOC tye
T-CODE: .E*1
In this ste !e define the IDOC tye using IDOC segment !hich is defined in
"e2ious ste.
Ente" IDOC name and then "ess button to c"eate ne! idoc tye
%et the cu"so" on the IDOC tye and then "ess button to c"eate ne! segments

(.* Define IDOC message tye
T-CODE: .E<1
In this ste !e define the IDOC message tye
'"ess button to c"eate ne! message tye

(.4 Bind IDOC message tye and basic tye
-essage tye is the message !hich is t"ansfe""ed bet!een the business a"tne"s.
Basic tye is the containe" of the actual message info"mation. One message tye
may contain se2e"al diffe"ent basic tyes
T-CODE: .E<(
In this ste !e assign IDOC basic tye to the message tye
'"ess button to c"eate ne! combination
(.5 Define /)C destination
T-CODE: %-5=
In this ste !e need to define the /)C connection !ith the %&' adate" in B'-
side. This is only need fo" outbound idoc "ocessing.
'"ess button to c"eate ne! /)C destination
Ente" the follo!ing info"mation
'%: %&' gate!ay info"mation can be dislayed !ith t-code 4%->.5 and it is defined
by the basis team at the oint of the system setu

(.6 Define 'o"t
T-CODE: .E(1
In this ste !e can define o"t !hich used fo" outbound idoc a"tne" "ofile.
%et cu"so" on the t"ansactional /)C and then "ess button

Ente" the follo!ing info"mation
(.+ Define logical system fo" outbound idoc
T-CODE: BD54
In this ste !e define logical system fo" outbound idoc
'"ess button to c"eate ne! logical system

(.< Define a"tne" "ofile fo" Outbound IDOC
T-CODE:.E(1
In this ste !e define the a"tne" "ofile fo" outbound
'"ess button and Ente" the follo!ing info"mation
'a"tne" "ofile can be both of sende" and "ecei2e", if !e maintain the outbound
a"amete"s then it !ill be outbound a"tne" "ofile, if !e maintain the inbound
a"amete"s then it !ill be inbound a"tne" "ofile, but one logical system can not
be a sende" and "ecei2e" in one idoc at the sametime
'"ess button unde" the outbound a"amete" and then inut the follo!ing
info"mation
4T"ansfe" IDoc immed.5 means it !ill send the IDoc as soon as it is c"eated in the
%&' system, 4Collect IDocs5 means it !ill 3ee IDOC !ith 4t"ansaction "eco"ded5
status and not send out automatically. %chedula" setu is needed fo" the 4Collect
IDOC%5 otion.
*. Test .ith .E1=
Tye 4.E1=5 in the command field
%elect Basic tye "adio button
Ente" ?/%-@&1* and then "ess button
%et cu"so" on the EDIDC and then "ess to e#and all sub t"ee

Clic3 "ight side of the EDIDC and ente" the follo!ing cont"ol "eco"d info"mation

Clic3 "ight side of the E1'1111 and ente" the infotye 1111 info"mation
Clic3 "ight side of the E1'1111 and ente" the infotye 1111 info"mation
Clic3 "ight side of the E1'111( and ente" the infotye 111( info"mation
Clic3 "ight side of the E1'1116 and ente" the infotye 1116 info"mation
Clic3 "ight side of the E1'111< and ente" the infotye 111< info"mation
&fte" inut all of the "eAui"ed info"mation, clic3 the button
BB 'lease see the /)C definition 21.4 fo" mandato"y field info"mation.
RFC definition
V.!."l#"

'"ess button
."ite do!n the IDOC numbe" info"mation

Tye 4.E155 in the command field and then "ess Ente"
'"ess button
)ind the inbound idoc !ith the idoc numbe". %tatus 56 means the"e a"e some
e""o" in the idoc data

Double clic3 the idoc numbe"
E#and %tatus "eco"ds sub t"ee to see the e""o" message

&fte" find out the "eason, !e can go bac3 to the !e1= and fi# data and t"y again.
If the light is g"een, it means that the inbound idoc is successfully added to %&'
system
&fte" the inbound idoc !e can also see the outbound "ely idoc send out
co""ectly.
'%: Outbound test is basically same !ith the inbound test, the only diffe"ence is
cont"ol "eco"d and !e need to clic3 button instead of
button
Cont"ol "eco"d fo" outbound test
4. T"ouble shooting
4.1 The"e a"e too many 4t"ansaction "eco"ded5 status fo" outbound idoc in %-5<
>O to T-CODE 4%-C%5

'"ess >oto-DC/)C /esou"ces on the to menu
If the "esou"ces status is 0OT OE, it means the"e a"e not enough dialog
"og"esses fo" T/)C7C/)C, !e need to inc"ease the dialog "ocess numbe"
%olution:
>o to T-CODE /911
%elect the instance "ofile and latest 2e"sion
%elect 4Basic maintenance5 "adio button and then "ess Change button

Inc"ease the dialog no of !o"3 "ocesses F&t least 6G+H

&fte" modification, need to "esta"t %&' se"2e"
)o" mo"e info"mation about the "esou"ce not o3, lease "efe" to the %&' 0OTE%
5(+4<1:
htts:77!ebsm1*1.sa-
ag.de7saFbD1"by9I'T&!-CJJH7bc7bs7sn7sanotes7inde#(.htmK
nummJ11115(+4<1LnlangJ1

Вам также может понравиться