| |
» |
Click to open the “Integration Repository” if you are using the XI for the first time this will take some loading time. |
| |
» |
You will be shown an Integration Builder: Design Screen.

|
| |
» |
First step is to import the Software Component which you have created in the “System Landscape Directory”
 
|
| |
» |
Select you Software Component from the list shown and click on import button. Done importing – click on “Exit”   |
| |
» |
Now you can see the Software Component on the Left hand side with no objects in it. Double click your Software Component, a page will open up in the right hand side. Can you see it? Now everything will be in Disable mode to make it in Enable mode click in Edit or Change Icon. 
|
| |
» |
Just enter the Namespace.  |
| |
» |
If you are not able to see the Namespace it will in the minimize mode. Just click on “Namespace” and then click on Cap button . This will maximize the Namespace box.
|
| |
» |
Press save icon .
|
| |
» |
Can you see this on the left hand side?  |
| |
» |
Now we are going to create Two Data Types.
|
| |
» |
Right Click on Data types and click on “New”. 
|
| |
» |
Enter the details as per shown and press “Create” Button.

|
| |
» |
Now start inserting the Fields that you are going to have in the input XML file.

|
| |
» |
Create the Sender Data Type (dt_sender) which is some things like this. 
|
| |
» |
Now we need to create the Receiver Data Type (dt_receiver) as per shown below: 
|
| |
» |
Receiver Data type Fields: 
|
| |
» |
Now we need to create two Messages Types one for Sender and other for Receiver. In order to create anything new just right click on the object on the left side and select “New”. 
|
| |
» |
Select the Data Type (dt_sender) for the Message Type (mt_sender) by clicking the help button and then save it. 
|
| |
» |
Similar way, create the Receiver message type (mt_receiver) and then press save.  
|
| |
» |
It’s the time to create Interface now. Say “New” on the Message Interface on the left hand side 
|
| |
» |
Please make sure that you selected Outbound and Asynchronous and then select the Message Type (mt_sender) using the help button . Your screen should be like this before u save it. 
|
| |
» |
Now we need to create Receiver Interface. Say “New” and then fill the details as per shown. 
|
| |
» |
This time the Category isInbound and Mode is same Asynchronous and then select the Receiver Message Type – atlast save it. 
|
| |
» |
Where we are? – We have Created two Data Types (dt_sender and dt_receiver) – Then we have created two Message Types (mt_sender and mt_receiver) – Last we have made 2 Interface (mi_sender and mi_receiver) My Screen says this. What about urs?
 Same output! Let’s move ahead.
|
| |
» |
Now its time to map the fields of Sender Message type and Receiver Message Type. This can be done by creating a Message Mapping Program. A “Graphical Mapping” which maps the field of Sender to Receiver. 
|
| |
» |
Here are the inputs for the Message Mapping Screen. Press “Create” 
|
| |
» |
You can drag and drop the Message Types in the corresponding boxes shown as Black. Drag mt_sender Message Type and drop it in the Black Box as shown 
|
| |
» |
Same way drag and drop the mt_receiver Message type on the Target Box. 
|
| |
» |
Now drag the elements say PO_NUM from mt_sender and drop it on the right hand side SONUM field. As you do you can see that Red Color fields turns into Green which means we are doing it right. Complete the mapping by dragging and dropping onto the right hand side fields and see that all the target fields are in Green color.
|
| |
» |
In order to see the Mapping lines what you have done Graphically select the Option as displayed below. Right Click on the field and then select “Dependencies” and select “Show All” 
|
| |
» |
Nice functionality Right! This is what called as Graphical Mapping. Save it
|
| |
» |
Okay we have done with the Mapping program between the messages but we need to create mapping between the Interfaces even. So, Select the Interface Mapping and say “New”. Fill the details and Press “Create”.

|
| |
» |
Now this is tricky. Here you can drag and drop the Interfaces on the white text boxes or you can use the help button to select the interface. 
|
| |
» |
Once this is done click on Read Interface button below . This will add the interface in the below box and then u can select the message mapping program for these interface. 
|
| |
» |
Okay now we are about to close this Integration Repository. Just select the Message Mapping Program using the help button. What was the mapping program? – (mt_…..). Don’t worry as I told XI has made life of us easier it will show only one message mapping program just select it. 🙂 |
| |
» |
Good! This is what I Can see now? Okay then save the work.
|
| |
» |
Now its testing time before saying yes we have done everything correct in the Designing Part. Click on the “Test” tab in the same Interface Mapping Screen. 
|
| |
» |
Enter the values and press “Execute” button on the same screen
|
| |
» |
Does it works? If Yes wow! This is what I can see? and The message box says:
Messages:16:12:37 Start of test Executed successfully 16:12:42 End of test

|
| |
» |
Here is the list from my XI Tool. Now its time to activate. This is something like results time after you write the exam but here best thing is you can see the errors but in real exam result we can feel the beatings? 😉 
|
| |
» |
To activate click on the “Change List” tab 
|
| |
» |
Expand your Component and Do it by yourself! 
|
| |
» |
Change the name of the Activate List and then press the “Activate” button in the bottom.
|
| |
» |
Hurray ! My first design is Successful.

|
It's nice that you want to post XI blogs
but did you check XI blogs archive?
we've got many " file -> * " and " * -> file" blogs
with all configuration described do we need to have all possible combinations?
I believe such a redundancy will
only confuse the readers as they will
not know where to look for...
I don't mean to discourage you
but maybe try to post about something
that is not in the XI blogs archive yet ok?
thanks,
Regards,
michal
I do agree with you that there are many blogs available on File scenarios however none of the blogs teach you from 'SCRATCH', most blogs start with the sentence "it is assumed that configuration already exists, so that part is skipped".
A starter/new bie requires these kind of blogs that teaches them step by step.
Good Job Srinivas. Keep uu the good work
Did u ever look at these ones..?
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
Is your recent blog more elaborate than these ones..? Its been redundent these days.. i agree with you michal..
Blogging status should be stripped off from such ppl, who just want to add a couple of blogs to their profile rather than presenting/sharing something new with the SDN world..
Where did all your experience go..? It should be shame blogging that involves such redundency..
Its nothing wrong when you share your basic knowledge. Did I said that this blog is for Experience Developer?
May be redundant but as mentioned there are many detailed level Step-by-Step guides which I think is not trapped at one place. So, better new babies read it and not by US. 🙂
Thanks
Srini
I am novice to XI .This Blog looks informative for the beginners .I haven't seen such 'Hello World ' program in XI.
It cleared my confusion .
Its good to present Concepts like this instead of Raw Data .
Continue your good work.
All the Best,
Sagar
I don't think it's necessary to make personal attacks on Srini. Yes, you can comment on the relevence of the content etc, but to question his claim to 4 years experience is not in the spirit of SDN.
Cheers
I respect SDN comunnity & its bloggers.
Thanks for your views.
Well let me tell you what’s in my mind? – I have been working from past some time on XI and now I think it time for me to give all that knowledge to people who are need of them? So, this is just a beginning. Can you tell me one SDN blogger who has planned to concentrate on one subject?
Well may be u might not like my idea but my idea is to have all the scenarios from pin to paper at one place and also in detailed level. I see this forums saying – “I am new to XI and can you tell me one place where can I get all the scenarios step-by-step”. Well after some days I want to reserve this place by me.
So, this is just a beginning my dear guys you will have different views regarding my first simple blog when you will re-visit my bogs section after some time.
Thanks
Srini
It sounds like it might have been better to make this a wiki in the XI space. This is obviously a comprehensive "go to whoa" guide to get an XML file read using XI, and beginners would appreciate it. However, the main target audience for the weblog area appear to want something new, and maybe you could have written a blog about some of the extra file sender attributes.
I believe that beginners should be directed to wikis rather than having to search for possible blogs that meet their needs. If there are many hits on "file XML", for example, they won't know which one to start with, and they might miss this comprehensive example. If, on the other hand, they know to start with the main XI wiki page, which has an entry "getting started with the XI file adapter", it will be more useful.
Cheers
Love to see it there and for those to add on to it.
In fact so much so that I'll make this deal - make the XI Wiki space (you and everyone else) the largest and most comprehensive space for XI knowledge (more than help.sap.com, the blogs - everything) and I'll throw and extra XI party at the SDN Clubhouse at all the TechEd locations this year just for all of you 🙂
Its been observed in the blog section of repeating content in the past few weeks and i am disappointed that its not being treated as it needs to be by the members and moderators. In case a majority sees the content objectionable i would suggest the removal of the same, else if it really seems to be a content worth reading it sud remain in the persistant stage.
I guess its high time the moderaters enforce control on these blogs ...
I am just a concerned SDNer,
ShaBZ !!!
From past experience, they will jump in after a few comments appear, such as has happened in this blog.
Cheers
It's good to have a blog with step-by-step (screen wise) scenario..Appreciate your time.
Others,
How could you be so rude towards bloggers?? If you don't wanna read.. just quit..and stop spamming with your un-necessary comments.
It is great to see step by step procedure in blog, i had been searching for this from last month, finally i got it now,
thanx srini.
and i want to work on file to file and idoc to file scenarios also, please help me na with screens.
I want to thank you your taking your time and make this wonderful blog, believe, I have read blue prints from SAP an books on XI but this clarify all my doubs in a nutshell.
Again Thanks and please continue contributing to the great community
Thanks,
Karthik