XI 学习笔记 - 一些典型场景的练习

<!-- [if !mso]> <mce:style><!-- v/:* {behavior:url(#default#VML);} o/:* {behavior:url(#default#VML);} w/:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --> <!-- [endif]--><!-- [if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning/> <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing> <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery> <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:SpaceForUL/> <w:BalanceSingleByteDoubleByteWidth/> <w:DoNotLeaveBackslashAlone/> <w:ULTrailSpace/> <w:DoNotExpandShiftReturn/> <w:AdjustLineHeightInTable/> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:UseFELayout/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!-- [if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!-- [if !mso]> <object classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui> </object> <mce:style><!-- st1/:*{behavior:url(#ieooui) } --> <!-- [endif]--> <!-- [if gte mso 10]> <mce:style><!-- /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} --> <!-- [endif]--><!-- [if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1086"/> </xml><![endif]--><!-- [if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1"/> </o:shapelayout></xml><![endif]-->

Exercise1

<!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><span style="mso-element:field-begin;mso-field-lock:yes" mce_style="mso-element:field-begin;mso-field-lock:yes"></span><span style='mso-spacerun:yes'>&nbsp;</span>SHAPE<span style="mso-spacerun:yes" mce_style="mso-spacerun:yes">&nbsp; </span>/* MERGEFORMAT <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]--><!-- [if gte vml 1]><v:group id="_x0000_s1026" editas="canvas" style='width:435.6pt;height:93.6pt;mso-position-horizontal-relative:char; mso-position-vertical-relative:line' coordorigin="1815,4035" coordsize="8712,1872"> <o:lock v:ext="edit" aspectratio="t"/> <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/> </v:shapetype><v:shape id="_x0000_s1027" type="#_x0000_t75" style='position:absolute; left:1815;top:4035;width:8712;height:1872' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> <o:lock v:ext="edit" text="t"/> </v:shape><v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"> <v:stroke joinstyle="miter"/> <v:path gradientshapeok="t" o:connecttype="rect"/> </v:shapetype><v:shape id="_x0000_s1028" type="#_x0000_t202" style='position:absolute; left:7367;top:5235;width:1577;height:360' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.70181mm,.85089mm,1.70181mm,.85089mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal style="mso-layout-grid-align:none;text-autospace:none" mce_style="mso-layout-grid-align:none;text-autospace:none"><b><span lang=EN-US style='font-size:8.0pt;font-family:Arial;color:black'>XML Vendor Data<o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:shape id="_x0000_s1029" type="#_x0000_t202" style='position:absolute; left:3147;top:5283;width:1852;height:582' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.70181mm,.85089mm,1.70181mm,.85089mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">CREMAS03<o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:line id="_x0000_s1030" style="position:absolute;flip:x; v-text-anchor:middle" mce_style="position:absolute;flip:x; v-text-anchor:middle" from="3321,4935" to="4114,4936" strokecolor="red"> <v:stroke endarrow="block"/> <v:shadow color="#b2b2b2"/> </v:line><v:rect id="_x0000_s1031" style='position:absolute;left:1815;top:4375; width:1481;height:1219;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.70181mm,.85089mm,1.70181mm,.85089mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">SAP <o:p></o:p></span></b></p> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">R/3 <st1:chmetcnv UnitName="C" SourceValue="4.6" HasSpace="False" Negative="False" NumberType="1" TCSC="0" w:st="on">4.6C</st1:chmetcnv><o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1032" style='position:absolute;left:8974;top:4429; width:1481;height:1219;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.70181mm,.85089mm,1.70181mm,.85089mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">Legacy System<o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:group id="_x0000_s1033" style='position:absolute;left:4866;top:4035; width:1844;height:1860' coordorigin="1030,1980" coordsize="450,450"> <v:oval id="_x0000_s1034" style='position:absolute;left:1030;top:1980; width:450;height:450;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#6b8db7" stroked="f" strokecolor="#273c83" strokeweight="1pt"> <v:fill color2="fill lighten(114)" angle="-45" focusposition=".5,.5" focussize="" method="linear sigma" focus="100%" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="8pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval><v:shapetype id="_x0000_t99" coordsize="21600,21600" o:spt="99" adj="-11796480,,5400" path="al10800,10800@8@8@4@6,10800,10800,10800,10800@9@7l@30@31@17@18@24@25@15@16@32@33xe"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="val #1"/> <v:f eqn="val #0"/> <v:f eqn="sum #1 0 #0"/> <v:f eqn="val 10800"/> <v:f eqn="sum 0 0 #1"/> <v:f eqn="sumangle @2 360 0"/> <v:f eqn="if @2 @2 @5"/> <v:f eqn="sum 0 0 @6"/> <v:f eqn="val #2"/> <v:f eqn="sum 0 0 #0"/> <v:f eqn="sum #2 0 2700"/> <v:f eqn="cos @10 #1"/> <v:f eqn="sin @10 #1"/> <v:f eqn="cos 13500 #1"/> <v:f eqn="sin 13500 #1"/> <v:f eqn="sum @11 10800 0"/> <v:f eqn="sum @12 10800 0"/> <v:f eqn="sum @13 10800 0"/> <v:f eqn="sum @14 10800 0"/> <v:f eqn="prod #2 1 2"/> <v:f eqn="sum @19 5400 0"/> <v:f eqn="cos @20 #1"/> <v:f eqn="sin @20 #1"/> <v:f eqn="sum @21 10800 0"/> <v:f eqn="sum @12 @23 @22"/> <v:f eqn="sum @22 @23 @11"/> <v:f eqn="cos 10800 #1"/> <v:f eqn="sin 10800 #1"/> <v:f eqn="cos #2 #1"/> <v:f eqn="sin #2 #1"/> <v:f eqn="sum @26 10800 0"/> <v:f eqn="sum @27 10800 0"/> <v:f eqn="sum @28 10800 0"/> <v:f eqn="sum @29 10800 0"/> <v:f eqn="sum @19 5400 0"/> <v:f eqn="cos @34 #0"/> <v:f eqn="sin @34 #0"/> <v:f eqn="mid #0 #1"/> <v:f eqn="sumangle @37 180 0"/> <v:f eqn="if @2 @37 @38"/> <v:f eqn="cos 10800 @39"/> <v:f eqn="sin 10800 @39"/> <v:f eqn="cos #2 @39"/> <v:f eqn="sin #2 @39"/> <v:f eqn="sum @40 10800 0"/> <v:f eqn="sum @41 10800 0"/> <v:f eqn="sum @42 10800 0"/> <v:f eqn="sum @43 10800 0"/> <v:f eqn="sum @35 10800 0"/> <v:f eqn="sum @36 10800 0"/> </v:formulas> <v:path o:connecttype="custom" o:connectlocs="@44,@45;@48,@49;@46,@47;@17,@18;@24,@25;@15,@16" textboxrect="3163,3163,18437,18437"/> <v:handles> <v:h position="@3,#0" polar="10800,10800"/> <v:h position="#2,#1" polar="10800,10800" radiusrange="0,10800"/> </v:handles> </v:shapetype><v:shape id="_x0000_s1035" type="#_x0000_t99" style='position:absolute; left:1078;top:2037;width:354;height:337;v-text-anchor:middle' o:bwmode="grayScale" adj="3138071,-320283,7899" fillcolor="#ce902c" stroked="f" strokeweight="1pt"> <v:fill color2="fill lighten(46)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="3pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:shape><v:oval id="_x0000_s1036" style='position:absolute;left:1193;top:2148; width:124;height:114;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#e14d19" stroked="f" strokeweight="4.5pt"> <v:fill color2="fill lighten(108)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d"/> <o:extrusion v:ext="view" backdepth="2pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval></v:group><v:oval id="_x0000_s1037" style='position:absolute;left:6745; top:4774;width:723;height:437;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.70181mm,.85089mm,1.70181mm,.85089mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">File<o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:oval id="_x0000_s1038" style='position:absolute;left:4132;top:4754; width:723;height:438;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.70181mm,.85089mm,1.70181mm,.85089mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">IDoc<o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:line id="_x0000_s1039" style="position:absolute;flip:x y; v-text-anchor:middle" mce_style="position:absolute;flip:x y; v-text-anchor:middle" from="7444,4935" to="8977,4936" strokecolor="red"> <v:stroke endarrow="block"/> <v:shadow color="#b2b2b2"/> </v:line><w:wrap type="none"/> <w:anchorlock/> </v:group><![endif]--><!-- [if !vml]--><!-- [endif]--> <!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:435.6pt; height:93.6pt'> <v:imagedata croptop="-65520f" cropbottom="65520f"/> </v:shape><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->

Overview

文件服务器中路径 /usr/sap/tmp/venderXX.xml 保存 Vender 的信息 , XI 通过 File Sender Adapter 定时读取该文件的信息后删除该文件 , 然后通过 IDOC Receiver Adapter 发送至 SAP 系统 .

Note

  • <!-- [if !supportLists]--> <!-- [endif]-->在 SLD 中创建 Business System, Product, Software Component Version
  • <!-- [if !supportLists]--> 在 IR 中创建 VenderMessage Interface( 异步 , Outbound)
  • <!-- [if !supportLists]--> 直接从 SAP 中导入 IDOCInterface
  • <!-- [if !supportLists]--> Mapping Message, Interface Mapping
  • <!-- [if !supportLists]--> <!-- [endif]-->在 ID 中创建 Scenario
  • <!-- [if !supportLists]--> <!-- [endif]-->Sender Agreement: Communication channel 使用 File Sender Adapter
  • <!-- [if !supportLists]--> Receiver determination
  • <!-- [if !supportLists]--> <!-- [endif]-->Interface determination
  • <!-- [if !supportLists]--> <!-- [endif]-->Receiver Agreement: Communication channel 使用 IDOC Receiver Adapter
  • <!-- [if !supportLists]--> <!-- [endif]-->发送和接收都为异步 (EO)

TCODE

  • <!-- [if !supportLists]--> SXDA_TOOLS: 上传文件到服务器 ( Object type: DXPROJECT / Program type: BAPI / Program: CREATE -> copy )
  • <!-- [if !supportLists]--> AL11: 查看文件
  • <!-- [if !supportLists]--> SM51: 查看 Host Name
  • <!-- [if !supportLists]--> <!-- [endif]-->SMGW: 查看 Gateway Service
  • <!-- [if !supportLists]--> <!-- [endif]-->SXI_MONITOR: 查看 Adapter 进入到 IEMessage
  • <!-- [if !supportLists]--> SXI_CACHE: 刷新 IECache
  • <!-- [if !supportLists]--> <!-- [endif]-->IDX5: 查看发出的 IDOC
  • <!-- [if !supportLists]--> <!-- [endif]-->WE02: 查看 IDOC 列表
  • <!-- [if !supportLists]--> <!-- [endif]-->SMQ1/SMQ2: 查看 QRFC
  • <!-- [if !supportLists]--> BD54: 查看 Logic System
  • <!-- [if !supportLists]--> SM59: 查看 RFC Destination
  • <!-- [if !supportLists]--> IDX1: 查看端口

Exercise2


<!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><span style="mso-element:field-begin;mso-field-lock:yes" mce_style="mso-element:field-begin;mso-field-lock:yes"></span><span style='mso-spacerun:yes'>&nbsp;</span>SHAPE<span style="mso-spacerun:yes" mce_style="mso-spacerun:yes">&nbsp; </span>/* MERGEFORMAT <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]--><!-- [if gte vml 1]><v:group id="_x0000_s1040" editas="canvas" style='width:6in;height:93.45pt;mso-position-horizontal-relative:char; mso-position-vertical-relative:line' coordorigin="2454,2784" coordsize="9779,2141"> <o:lock v:ext="edit" aspectratio="t"/> <v:shape id="_x0000_s1041" type="#_x0000_t75" style='position:absolute;left:2454; top:2784;width:9779;height:2141' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> <o:lock v:ext="edit" text="t"/> </v:shape><v:shape id="_x0000_s1042" type="#_x0000_t75" style='position:absolute; left:2454;top:2784;width:9779;height:2141' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> </v:shape><v:shape id="_x0000_s1043" type="#_x0000_t202" style='position:absolute; left:8737;top:4159;width:1786;height:591' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox style="mso-next-textbox:#_x0000_s1043" mce_style="mso-next-textbox:#_x0000_s1043" inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal style="mso-layout-grid-align:none;text-autospace:none" mce_style="mso-layout-grid-align:none;text-autospace:none"><b><span lang=EN-US style='font-size:8.0pt;font-family:Arial;color:black'>XML Material Data</span></b><span lang=EN-US style="font-size:8.0pt; mso-bidi-font-size:18.0pt;font-family:Arial;mso-bidi-font-family:宋体; color:black" mce_style="font-size:8.0pt; mso-bidi-font-size:18.0pt;font-family:Arial;mso-bidi-font-family:宋体; color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:shape id="_x0000_s1044" type="#_x0000_t202" style='position:absolute; left:4050;top:4259;width:2096;height:666' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox style="mso-next-textbox:#_x0000_s1044" mce_style="mso-next-textbox:#_x0000_s1044" inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">Material Data</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:line id="_x0000_s1045" style="position:absolute;flip:x; v-text-anchor:middle" mce_style="position:absolute;flip:x; v-text-anchor:middle" from="4158,3816" to="5056,3817" strokecolor="red"> <v:stroke startarrow="block" endarrow="block"/> <v:shadow color="#b2b2b2"/> </v:line><v:rect id="_x0000_s1046" style='position:absolute;left:2454;top:3175; width:1677;height:1397;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox style="mso-next-textbox:#_x0000_s1046" mce_style="mso-next-textbox:#_x0000_s1046" inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">SAP </span></b><b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:5.0pt;font-family:Arial; color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:5.0pt;font-family:Arial; color:black"><o:p></o:p></span></b></p> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">R/3 <st1:chmetcnv UnitName="C" SourceValue="4.6" HasSpace="False" Negative="False" NumberType="1" TCSC="0" w:st="on">4.6C</st1:chmetcnv></span></b><span lang=EN-US style="font-size: 8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial;mso-bidi-font-family: 宋体;color:black" mce_style="font-size: 8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial;mso-bidi-font-family: 宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1047" style='position:absolute;left:10416;top:3235; width:1678;height:1399;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox style="mso-next-textbox:#_x0000_s1047" mce_style="mso-next-textbox:#_x0000_s1047" inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">HTTP Client</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:group id="_x0000_s1048" style='position:absolute;left:5908;top:2784; width:2086;height:2133' coordorigin="1030,1980" coordsize="450,450"> <v:oval id="_x0000_s1049" style='position:absolute;left:1030;top:1980; width:450;height:450;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#6b8db7" stroked="f" strokecolor="#273c83" strokeweight="1pt"> <v:fill color2="fill lighten(114)" angle="-45" focusposition=".5,.5" focussize="" method="linear sigma" focus="100%" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="8pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval><v:shape id="_x0000_s1050" type="#_x0000_t99" style='position:absolute; left:1078;top:2037;width:354;height:337;v-text-anchor:middle' o:bwmode="grayScale" adj="3138071,-320283,7899" fillcolor="#ce902c" stroked="f" strokeweight="1pt"> <v:fill color2="fill lighten(46)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="3pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:shape><v:oval id="_x0000_s1051" style='position:absolute;left:1193;top:2148; width:124;height:114;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#e14d19" stroked="f" strokeweight="4.5pt"> <v:fill color2="fill lighten(108)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d"/> <o:extrusion v:ext="view" backdepth="2pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval></v:group><v:oval id="_x0000_s1052" style='position:absolute;left:8033; top:3632;width:1022;height:500;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox style="mso-next-textbox:#_x0000_s1052" mce_style="mso-next-textbox:#_x0000_s1052" inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">HTTP</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:oval id="_x0000_s1053" style='position:absolute;left:5077;top:3609; width:819;height:502;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox style="mso-next-textbox:#_x0000_s1053" mce_style="mso-next-textbox:#_x0000_s1053" inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">RFC</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:line id="_x0000_s1054" style="position:absolute;flip:x" mce_style="position:absolute;flip:x" from="9055,3837" to="10392,3856" strokecolor="red"> <v:stroke startarrow="block" endarrow="block"/> </v:line><w:wrap type="none"/> <w:anchorlock/> </v:group><![endif]--><!-- [if !vml]--><!-- [endif]--> <!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><v:shape id="_x0000_i1026" type="#_x0000_t75" style='width:6in; height:93.45pt'> <v:imagedata croptop="-65520f" cropbottom="65520f"/> </v:shape><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->

Overview

HTTP Client 将物料 ID 通过 XML 格式发给 XI. XI 将物料编号通过 RFC Adapter 调用 SAP BAPI 函数 BAPI_GET_MATERIAL_DETAIL, 然后将返回的物料描述发回至 HTTP Client.

Note

  • <!-- [if !supportLists]--> 在 IR 中分别创建物料编号和物料描述的 Data Type
  • <!-- [if !supportLists]--> 分别创建物料编号和物料描述的 Message Type
  • <!-- [if !supportLists]--> 创建物料数据的 Message Interface( 异步 , Outbound)
  • <!-- [if !supportLists]--> 分别对 BAPI 的输入和输出做 Message mapping
  • <!-- [if !supportLists]--> <!-- [endif]-->Interface Mapping
  • <!-- [if !supportLists]--> 在 ID 中创建 Scenario
  • <!-- [if !supportLists]--> 通过 HTTP 发送数据到 XI 不需要 Sender agreement
  • <!-- [if !supportLists]--> Receiver determination
  • <!-- [if !supportLists]--> <!-- [endif]-->Interface determination
  • <!-- [if !supportLists]--> Receiver Agreement: Communication channel 使用 RFC Receiver Adapter
  • Business System SAP communication channel 中输入 SAP 的信息 :
  • RFC Client Parameter: host, system number, username/password
  • <!-- [if !supportLists]--> 发送和接收都为同步 (BE)

TCODE

  • <!-- [if !supportLists]--> SXI_MONITOR: 查看 Adapter 进入到 IEMessage
  • <!-- [if !supportLists]--> SXI_CACHE: 刷新 IECache
  • <!-- [if !supportLists]--> <!-- [endif]-->IDX5: 查看发出的 IDOC
  • <!-- [if !supportLists]--> WE02: 查看 IDOC 列表

Exercise3


<!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><span style="mso-element:field-begin;mso-field-lock:yes" mce_style="mso-element:field-begin;mso-field-lock:yes"></span><span style='mso-spacerun:yes'>&nbsp;</span>SHAPE<span style="mso-spacerun:yes" mce_style="mso-spacerun:yes">&nbsp; </span>/* MERGEFORMAT <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]--><!-- [if gte vml 1]><v:group id="_x0000_s1055" editas="canvas" style='width:435.6pt;height:93.6pt;mso-position-horizontal-relative:char; mso-position-vertical-relative:line' coordorigin="1816,6140" coordsize="8712,1872"> <o:lock v:ext="edit" aspectratio="t"/> <v:shape id="_x0000_s1056" type="#_x0000_t75" style='position:absolute;left:1816; top:6140;width:8712;height:1872' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> <o:lock v:ext="edit" text="t"/> </v:shape><v:shape id="_x0000_s1057" type="#_x0000_t75" style='position:absolute; left:1816;top:6140;width:8640;height:1869' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> </v:shape><v:shape id="_x0000_s1058" type="#_x0000_t202" style='position:absolute; left:7535;top:7340;width:1373;height:360' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal style="mso-layout-grid-align:none;text-autospace:none" mce_style="mso-layout-grid-align:none;text-autospace:none"><b><span lang=EN-US style='font-size:8.0pt;font-family:Arial;color:black'>Material Data</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size: 18.0pt;font-family:Arial;mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size: 18.0pt;font-family:Arial;mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:shape id="_x0000_s1059" type="#_x0000_t202" style='position:absolute; left:3226;top:7428;width:1764;height:428' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">Material Data</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:line id="_x0000_s1060" style="position:absolute;flip:x; v-text-anchor:middle" mce_style="position:absolute;flip:x; v-text-anchor:middle" from="3322,7041" to="4115,7042" strokecolor="red"> <v:stroke endarrow="block"/> <v:shadow color="#b2b2b2"/> </v:line><v:rect id="_x0000_s1061" style='position:absolute;left:1816;top:6481; width:1482;height:1220;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">SAP <o:p></o:p></span></b></p> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">R/3 <st1:chmetcnv UnitName="C" SourceValue="4.6" HasSpace="False" Negative="False" NumberType="1" TCSC="0" w:st="on">4.6C</st1:chmetcnv> <br> B</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size: 18.0pt;font-family:Arial;mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size: 18.0pt;font-family:Arial;mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:group id="_x0000_s1062" style='position:absolute;left:4868;top:6140; width:1843;height:1862' coordorigin="1030,1980" coordsize="450,450"> <v:oval id="_x0000_s1063" style='position:absolute;left:1030;top:1980; width:450;height:450;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#6b8db7" stroked="f" strokecolor="#273c83" strokeweight="1pt"> <v:fill color2="fill lighten(114)" angle="-45" focusposition=".5,.5" focussize="" method="linear sigma" focus="100%" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="8pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval><v:shape id="_x0000_s1064" type="#_x0000_t99" style='position:absolute; left:1078;top:2037;width:354;height:337;v-text-anchor:middle' o:bwmode="grayScale" adj="3138071,-320283,7899" fillcolor="#ce902c" stroked="f" strokeweight="1pt"> <v:fill color2="fill lighten(46)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="3pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:shape><v:oval id="_x0000_s1065" style='position:absolute;left:1193;top:2148; width:124;height:114;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#e14d19" stroked="f" strokeweight="4.5pt"> <v:fill color2="fill lighten(108)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d"/> <o:extrusion v:ext="view" backdepth="2pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval></v:group><v:oval id="_x0000_s1066" style='position:absolute;left:6745; top:6880;width:724;height:437;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">RFC</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:oval id="_x0000_s1067" style='position:absolute;left:4133;top:6860; width:724;height:438;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">RFC</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:line id="_x0000_s1068" style="position:absolute;flip:x y" mce_style="position:absolute;flip:x y" from="7494,7059" to="8908,7076" strokecolor="red"> <v:stroke endarrow="block"/> </v:line><v:rect id="_x0000_s1069" style='position:absolute;left:8892;top:6534; width:1482;height:1221;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">SAP <br> R/3 <st1:chmetcnv UnitName="C" SourceValue="4.6" HasSpace="False" Negative="False" NumberType="1" TCSC="0" w:st="on">4.6C</st1:chmetcnv> <br> A</span></b><span lang=EN-US style="font-size:8.0pt;mso-bidi-font-size: 18.0pt;font-family:Arial;mso-bidi-font-family:宋体;color:black" mce_style="font-size:8.0pt;mso-bidi-font-size: 18.0pt;font-family:Arial;mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><w:wrap type="none"/> <w:anchorlock/> </v:group><![endif]--><!-- [if !vml]--><!-- [endif]--> <!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><v:shape id="_x0000_i1027" type="#_x0000_t75" style='width:435.6pt; height:93.6pt'> <v:imagedata croptop="-65520f" cropbottom="65520f"/> </v:shape><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->

Overview

A 系统使用 ABAP 程序代码调用 RFM, 通过 RFC 协议将物料编号和描述发送给 XI. XI 通过 RFC Sender Adapter 接收数据 . 然后 XI 通过 RFC Receiver Adapter 调用 B 系统中的 RFM, 将数据写到数据库 .

Note

  • <!-- [if !supportLists]--> 在 IR 中通过 RFC 导入方式来创建 OutboundInboundMessage Interface
  • <!-- [if !supportLists]--> Message Mapping
  • <!-- [if !supportLists]--> Interface Mapping
  • <!-- [if !supportLists]--> <!-- [endif]-->在 SAP A 系统中使用 SM59 新建 RFC Destination. (Registered Server Program) 输入 XI 系统 IP 、网关、 Program ID.
  • <!-- [if !supportLists]--> ID 中创建 Scenario
  • <!-- [if !supportLists]--> Sender Agreement: Communication channel 使用 RFC Sender Adapter
  • Business System Acommunication channel 中分别输入 XISAP A 的信息 :
  • RFC Server(XI): host, gateway, program id
  • RFC Metadata Repository Parameter (SAP): host, system number, username/password
  • <!-- [if !supportLists]--> Receiver determination
  • <!-- [if !supportLists]--> Interface determination
  • <!-- [if !supportLists]--> Receiver Agreement: Communication channel 使用 RFC Receiver Adapter
  • Business System B communication channel 中输入 SAP B 的信息 :
  • RFC Client Parameter: host, system number, username/password
  • <!-- [if !supportLists]--> 编写程序异步调用 RFM, commit work.

TCODE

  • <!-- [if !supportLists]--> SM51: 查看 Host Name
  • <!-- [if !supportLists]--> <!-- [endif]-->SMGW: 查看 Gateway Service
  • <!-- [if !supportLists]--> SM59: 注册服务到 Gateway
  • <!-- [if !supportLists]--> SXI_MONITOR: 查看 Adapter 进入到 IEMessage
  • <!-- [if !supportLists]--> SXI_CACHE: 刷新 IECache
  • <!-- [if !supportLists]--> <!-- [endif]-->IDX5: 查看发出的 IDOC
  • <!-- [if !supportLists]--> <!-- [endif]-->WE02: 查看 IDOC 列表

Exercise 4


<!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><span style="mso-element:field-begin;mso-field-lock:yes" mce_style="mso-element:field-begin;mso-field-lock:yes"></span><span style='mso-spacerun:yes'>&nbsp;</span>SHAPE<span style="mso-spacerun:yes" mce_style="mso-spacerun:yes">&nbsp; </span>/* MERGEFORMAT <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]--><!-- [if gte vml 1]><v:group id="_x0000_s1070" editas="canvas" style='width:6in;height:92.9pt;mso-position-horizontal-relative:char; mso-position-vertical-relative:line' coordorigin="1824,6980" coordsize="8640,1858"> <o:lock v:ext="edit" aspectratio="t"/> <v:shape id="_x0000_s1071" type="#_x0000_t75" style='position:absolute;left:1824; top:6980;width:8640;height:1858' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> <o:lock v:ext="edit" text="t"/> </v:shape><v:shape id="_x0000_s1072" type="#_x0000_t75" style='position:absolute; left:1824;top:6980;width:8640;height:1858' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> </v:shape><v:shape id="_x0000_s1073" type="#_x0000_t75" style='position:absolute; left:1824;top:6980;width:8569;height:1854' o:preferrelative="f"> <v:fill o:detectmouseclick="t"/> <v:path o:extrusionok="t" o:connecttype="none"/> </v:shape><v:shape id="_x0000_s1074" type="#_x0000_t202" style='position:absolute; left:7111;top:8170;width:1363;height:358' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal style="mso-layout-grid-align:none;text-autospace:none" mce_style="mso-layout-grid-align:none;text-autospace:none"><b><span lang=EN-US style='font-size:8.0pt;font-family:Arial;color:black'>Vender Data</span></b><span lang=EN-US style="font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:shape id="_x0000_s1075" type="#_x0000_t202" style='position:absolute; left:3223;top:8258;width:1748;height:426' filled="f" fillcolor="#ce902c" stroked="f" strokeweight="1.5pt"> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">Vender Data</span></b><span lang=EN-US style="font-size:18.0pt;font-family:Arial;mso-bidi-font-family:宋体; color:black" mce_style="font-size:18.0pt;font-family:Arial;mso-bidi-font-family:宋体; color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:shape><v:line id="_x0000_s1076" style="position:absolute;flip:x y; v-text-anchor:middle" mce_style="position:absolute;flip:x y; v-text-anchor:middle" from="3317,7876" to="4074,7881" strokecolor="red"> <v:stroke endarrow="block"/> <v:shadow color="#b2b2b2"/> </v:line><v:rect id="_x0000_s1077" style='position:absolute;left:1824;top:7317; width:1471;height:1213;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">SAP <o:p></o:p></span></b></p> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">R/3 <st1:chmetcnv UnitName="C" SourceValue="4.6" HasSpace="False" Negative="False" NumberType="1" TCSC="0" w:st="on">4.6C</st1:chmetcnv> <br> B</span></b><span lang=EN-US style="font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black" mce_style="font-size:18.0pt;font-family:Arial; mso-bidi-font-family:宋体;color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:group id="_x0000_s1078" style='position:absolute;left:4852;top:6980; width:1828;height:1849' coordorigin="1030,1980" coordsize="450,450"> <v:oval id="_x0000_s1079" style='position:absolute;left:1030;top:1980; width:450;height:450;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#6b8db7" stroked="f" strokecolor="#273c83" strokeweight="1pt"> <v:fill color2="fill lighten(114)" angle="-45" focusposition=".5,.5" focussize="" method="linear sigma" focus="100%" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="8pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval><v:shape id="_x0000_s1080" type="#_x0000_t99" style='position:absolute; left:1078;top:2037;width:354;height:337;v-text-anchor:middle' o:bwmode="grayScale" adj="3138071,-320283,7899" fillcolor="#ce902c" stroked="f" strokeweight="1pt"> <v:fill color2="fill lighten(46)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d" opacity=".5"/> <o:extrusion v:ext="view" backdepth="3pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:shape><v:oval id="_x0000_s1081" style='position:absolute;left:1193;top:2148; width:124;height:114;v-text-anchor:middle' o:bwmode="grayScale" fillcolor="#e14d19" stroked="f" strokeweight="4.5pt"> <v:fill color2="fill lighten(108)" angle="-45" method="linear sigma" type="gradient"/> <v:shadow on="t" color="#4d4d4d"/> <o:extrusion v:ext="view" backdepth="2pt" rotationangle="25,25" viewpoint="0,0" viewpointorigin="0,0" skewangle="0" skewamt="0" lightposition=",-50000" type="perspective"/> <v:textbox inset="0,0,0,0"/> </v:oval></v:group><v:oval id="_x0000_s1082" style='position:absolute;left:4074; top:7694;width:765;height:435;v-text-anchor:middle' fillcolor="silver"> <v:fill color2="fill darken(197)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">IDOC</span></b><span lang=EN-US style="font-size:18.0pt;font-family:Arial;mso-bidi-font-family:宋体; color:black" mce_style="font-size:18.0pt;font-family:Arial;mso-bidi-font-family:宋体; color:black"><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:oval><v:line id="_x0000_s1083" style="position:absolute;flip:x y" mce_style="position:absolute;flip:x y" from="6774,7991" to="8572,7991" strokecolor="red"> <v:stroke endarrow="block"/> </v:line><v:rect id="_x0000_s1084" style='position:absolute;left:8616;top:7206; width:1419;height:1409;v-text-anchor:middle' fillcolor="#9ce78d" strokeweight="1.5pt"> <v:fill color2="fill darken(207)" angle="-90" method="linear sigma" focus="100%" type="gradient"/> <v:shadow color="#b2b2b2"/> <v:textbox inset="1.2593mm,.62967mm,1.2593mm,.62967mm"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">SAP <br> R/3 <st1:chmetcnv UnitName="C" SourceValue="4.6" HasSpace="False" Negative="False" NumberType="1" TCSC="0" w:st="on">4.6C</st1:chmetcnv> A</span></b><span lang=EN-US style='font-size:18.0pt;font-family:Arial;mso-bidi-font-family: 宋体;color:black'><o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1085" style='position:absolute;left:8909;top:8072; width:790;height:478;v-text-anchor:middle' fillcolor="#b2b2b2"> <v:fill color2="#525252" rotate="t"/> <v:textbox> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal align=center style="text-align:center;mso-layout-grid-align: none;text-autospace:none" mce_style="text-align:center;mso-layout-grid-align: none;text-autospace:none"><b><span lang=EN-US style="font-size:8.0pt; font-family:Arial;color:black" mce_style="font-size:8.0pt; font-family:Arial;color:black">Proxy<o:p></o:p></span></b></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><w:wrap type="none"/> <w:anchorlock/> </v:group><![endif]--><!-- [if !vml]--><!-- [endif]--> <!-- [if mso & !supportInlineShapes & supportFields]><span lang=EN-US><v:shape id="_x0000_i1028" type="#_x0000_t75" style='width:6in; height:92.9pt'> <v:imagedata croptop="-65520f" cropbottom="65520f"/> </v:shape><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->

Overview

SAP 系统 A 通过 Outbound ABAP ProxyVender 数据发送至 XI 系统 ,XI 将数据通过 IDOC Receiver Adapter 发至 SAP 系统 B.

Note

  • <!-- [if !supportLists]--> 在 IR 中创建 VenderMessage Interface( 异步 , Outbound)
  • <!-- [if !supportLists]--> 直接从 SAP 中导入 IDOCInterface
  • <!-- [if !supportLists]--> Mapping Message, Interface Mapping
  • <!-- [if !supportLists]--> 在 ID 中创建 Scenario
  • <!-- [if !supportLists]--> 通过 Proxy 不需要 Sender Agreement
  • <!-- [if !supportLists]--> Receiver determination
  • <!-- [if !supportLists]--> Interface determination
  • <!-- [if !supportLists]--> Receiver Agreement: Communication channel 使用 IDOC Receiver Adapter
  • <!-- [if !supportLists]--> 发送和接收都为异步 (EO)
  • <!-- [if !supportLists]--> 在 SAP A 系统通过 SPROXYMessage Interface 自动生成 Outbound Proxy( 异步 )
  • <!-- [if !supportLists]--> 编写 ABAP 程序调用 ABAP Proxy Class 发送数据 , commit work.

TCODE

  • <!-- [if !supportLists]--> SXI_MONITOR: 查看 Adapter 进入到 IEMessage
  • <!-- [if !supportLists]--> <!-- [endif]-->SXI_CACHE: 刷新 IECache
  • <!-- [if !supportLists]--> <!-- [endif]-->IDX5: 查看发出的 IDOC
  • <!-- [if !supportLists]--> WE02: 查看 IDOC 列表
  • <!-- [if !supportLists]--> SM59: SAP A 中查看 H 类型 INTEGRATION_XNT 配置 (Host: IP/ Port: 8000/ Path Prefix: /sap/xi/engine?type=entry)
  • <!-- [if !supportLists]--> SICF: 查看 ICM Service (default host -> sap -> xi -> engine)
  • <!-- [if !supportLists]--> <!-- [endif]-->SMICM: 查看 ICM Service 的端口 (Goto -> Service)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值