This is basically
the continuation of my earlier blog Step by Step Guide: XML File 2 XML File Scenario: Part I. Click on “*Integration
Directory*”
| » |
|
| » |
Just fill the values and press “Create”.
Then you need to save it in order to see the Configuration Scenario
on the left hand side.
| » | Fine! |
| » |
Did you remember what we did in SLD ? Yes,
we created Product , Software
Component, Technical System and Business
System.
[Product | #Product]
and Software Component is used in Design Part
and here we are going to use the Business system ?
Why not Technical system ? My Favorite Question?
If you remember correctly when
we create the Business system in SLD we selected
the Technical system from the drop down menu means if you are
going to use the Business system then indirectly you are linked
with the Technical System.
In Design also we have imported
Software Component
not the Product because When we create the
Software Component we have selected the Product .
So, they both are linked.
How Business systems are linked
with Product?
We selected the Product when we created
the Technical System. So your Business Systems are linked with the
Product. Also the objects that you have designed in the Design part
are linked with the Software Component which is inturn linked with
the Product and Product linked with the Technical system and Technical
system linked with the Business system.
Huuuuuuufffffffff! Soo much
linked. Where were we? – We are in the Configuration part
and next step is to import the Business System? Right click the
Business system and select “Assign Business System”
this will opens up a wizard.+*
*+
| » |
First
screen is Introduction (Sorry no theory as I promised) just say “Continue”
button and then it will ask for Party - Sorry no Party say “Continue”
button. Select the Business system and press “Finish”
button.
| » |
Next step Right Click on the Communicate Channel and say “New”.
| » |
Now configure your Sender Communicate channel. First Click on the
Help button to select the Adapters - Select "File"
!https://weblogs.sdn.sap.com/weblogs/images/251692121/Figure_81.gif|height=173|width=501|src=https://...!.
| » |
Then
select “Sender” and give the
All other are default
[ | ]
| » |
|
Folder path should be XI Server system path not your system folder
path. As I have installed it on my machine that is the reason I
have given my C: path but If you are having XI server not
on your machine then create the folder in the XI Server and give
the Local path.
Its logically make sense that
from where XI will pick up the file, give that path and check that
can Adapter access that path from XI server. I mean a share drive.
Did u understand?
| » |
|
| » |
|
| » |
|
| » |
|
| » |
Done! Next is “Receiver Determination”
| » |
Did I told u that XI makes our job easier then here it is the proof.
Just use the help button to select the Service means your
Business system and in the Interface box it will present you the
correct interface just select. Before closing, match the following
input as below.
| » |
|
And to this sender information we need to map the Receiver Business
system. In order to do that select the Help option from the “Service”
option in “Configured Receivers”
!https://weblogs.sdn.sap.com/weblogs/images/251692121/Figure_88.gif|height=67|width=575|src=https://w...!
| » |
After selecting the Receiver Business System. Click on “Save”
| » |
|
| » |
|
| » |
|
| » |
|
| » |
|
| » |
Simple as it shows. “Save”
| » |
|
| » |
|
Are we in the same Boat?
| » |
|
| » |
Activate the scenarios same steps as we have done in the Design
part. You need to move to “Change List"
tab in order to see the activate option.
| » |
|
| » |
|
| » |
Now XI will be a Scheduler job which tries to search for the file
in the “Sender Folder” what is this? This is the folder
(C:XI_FILESSENDER) that we have configured
in the Sender Communication Channel and
also we gave the file name to pick up. As the file is not there
so there will not be any output in the Receiver Folder (C:XI_FILESRECEIVER)
| » |
So
how can I provide the file to XI? You need to create a file +*xi_xmlfile_input.dat
+in the folder +C:XI_FILESSENDER*+
But what is the content. Content should be XML data. But where can
I get it? I will show you.
| » |
Open your Design: Integration Builder and open you Software Component
and then open the Mapping Objects under it open Message Mappings
select the mm_mapping . This will open
the mapping program .
!https://weblogs.sdn.sap.com/weblogs/images/251692121/Figure_101.gif|height=123|width=177|src=https:/...!
| » |
|
| » |
|
| » |
Copy this and paste it into the file C:XI_FILESSENDERxi_xmlfile_input.dat
only the xml contents and now wait for the XI to pick the file.
Once XI picks the file then it will delete the file.
!https://weblogs.sdn.sap.com/weblogs/images/251692121/Figure_104.gif|height=89|width=191|src=https://...!
| » |
|
| » |
How to debug if anything went wrong? Login into the XI server and
type the TCode “SXMB_MONI”
this will take u to the message monitoring screen. Just select the
first option then press “Execute”.
One more screen opens up Just Press "Execute"
| » |
|
*+Thanks |