4.introduction to simple (file-xi-file)scenario.pdf
TRANSCRIPT
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 1/9
Getting Started Newsletters Store
Products Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Log On Join UsHi, Guest Search the Community
Activity Communications Actions
Browse
venkat.donela
0 Tweet 0
Configuration the contents in Integration Directory
The relevant objects are structured, organized, and saved in the Integration Directory in the form of configurationobjects.
The Integration Directory is structured around the crosssystem task areas.1) Collaboration profile Specify the potential senders and receivers of messages and the technical communicationpaths.2) Receiver determination and interface determination define the flow of messages in a system landscape.3)In Sender agreement and receiver agreement you define the technical details for message processing
The Business Scenario provides you with a central point of access for all integration objects such as interfaces,mappings, software components and so on.To address a business system from the SLD as the sender or receiver of messages in logical routing, you must defineit as a service (of type Business System) in the Integration Directory.Create a Business System,Leave the party field empty to define the service as a Service Without Party.Make specifications that specially refer to the service as a sender or receiver.
Now create two communication channels FILESENDER AND FILERECEIVER and assign them to the service.
Assign parameters for FILESENDER and FILERECEIVER communication channel
Select the File Adapter as shown from the adapter metadata.
Configure the Sender FTP adapter to be able to send files to the Integration Server.
Introduction to simple (FileXIFile)scenario andcomplete walk through for starters(Part2)Posted by Venkat Donela in venkat.donela on Mar 3, 2005 2:05:33 AM
Share 0Like
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 2/9
FTP Connection Parameters
1)Enter the host name or IP address of the FTP server.2)Specify the port number of the FTP server. The default is the standard port for the FTP server (21).3)Connection mode Permanent4)Set the FTP connection transfer mode to Binary.5)Specify the directory where the files are located6)set the Anonymous Logon User Name and password7)specify the folder where the file is placed8)Specify the name of the file that you want to process.
Since the text file to the Integration Engine,comprises complex data structures that are to be converted into an XMLdocument, choose File Content Conversion and make the required entries for conversion under Parameters forContent Conversion as shown below
Configure the Receiver File/FTP adapter to save XML messages from the Integration Server in files
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 3/9
Now Define Sender Agreement, where you define how the message is to be transformed so that it can be processedby the Integration Engine. A sender agreement contains a reference to a communication channel. here thecommunication channel to define is FILESENDER.
In your Receiver Agreement you define how the message is to be transformed so that it can be processed by areceiver. A receiver agreement contains a reference to a communication channel In this case is the FILERECEIVER
ReceiverDetermination is a Configuration object in SAP Exchange Infrastructure that describes the assignment of asender interface and an outbound interface to one or more receivers. Select the service and save.Then in theconfiguration overview refresh and check for the mapping program and Receiver Agreement.
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 4/9
You use an Interface Determination to specify for a sender and a receiver,which inbound interface is to be used forthe inbound processing of a message.In an interface determination you define the following for the outbound interface of a sender1)An inbound interface(FILEOUTPUT_IB)2)An interface mapping for the outbound and inbound interface (FILEINPUT_TO_FILEOUTPUT_INTERFACE)
Save and Activate in the change list where you select your saved objects. Now the status become from BeingProcessed to Active.
This configuration should convert the flat file like this.
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 5/9
Average User Rating
(1 rating)
My Rating:
0 Tweet 0
The input.txt file placed in the Test folder is being picked and deleted since the processing mode is delete.
A new file output.txt is created with time stamp in the Test folder as shown below.
This completes the scenario.Please go through various blogs posted by fellow webloggers on to the sapexchange infrastructure forum for various other scenarios.
3878 Views
Share 0Like
24 Comments
Luca Grilli Mar 4, 2005 9:50 AM
Please, I'm a newbee in XI: how could I test your weblog? I've implemented all your steps and now Idon't know how to execute the weblog to test operativly the fileXIfile.Thanks a lot,Luca
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 6/9
Like (0)
Like (0)
Venkat Donela Mar 6, 2005 10:14 PM (in response to Luca Grilli)
HiProcessed XML messages can be monitored using the transaction sxi_monitor. This monitoridentifies and evaluates all XML messages processed by the Integration Engine andproduces processing statistics for them.the chequered flag indicates your message is beingprocessed successfully.
Regards venkat
Like (0)
Venkat Donela Mar 6, 2005 10:57 PM (in response to Venkat Donela)
Hiforgot to mention in my earlier reply.chk for your file in XI server and also yoursender and receiver adapters in adapter framework.Regardsvenkat
Like (0)
Vivek Sharma Jul 11, 2005 11:17 PM (in response to Venkat Donela)
Hi Venkat,
I have performed all the steps mentioned in the web logs.However I amstill unable to test the desired functionality. I am new to XI.You have mentioned 1. This configuration should convert the flat file like this.(an XML file).Where can I view this XML file ?2. When I goto SXI_monitor I get a popup saying "No Messages availablefor selection".
Thanks in advance,Vivek
Like (0)
Venkat Donela Feb 20, 2006 11:13 PM (in response to Vivek Sharma)
Hi Vivek,
Plz check your file adapter in adapter monitoring
R/Venkat
Like (0)
KIRAN SAKHARDANDE Aug 1, 2007 6:41 AM (in response toVenkat Donela)
Hi Venkat,
Truly detailed and amazing blog!!1
Thanks
Kiran
Like (0)
Amanda Derringer Mar 21, 2005 1:53 PM
can you do another weblog & give content conversion on the receiver side? And not a simple one according to the documentation, you can list many types of structures & then describe them forcontent conversion, but it doesn't give an example to follow. Thanks!
Like (0)
Venkat Donela Mar 22, 2005 3:02 AM (in response to Amanda Derringer)
Hi AmandaThanks for the comment I shall post a weblog with more info on complex structures.
CheersVenkat
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 7/9
Like (0)
Kommineni Manoj Oct 3, 2005 12:17 AM
Hi,
Thanks for the file to file scenario.
We followed the steps as you mentioned for FILE to FILE scenario. And we suceeded for singlerecord. When ever we mentioned multiple records in a input file, The Integartion server is recieveingfrom the source and not putting in the target place.My Input file is looks like this:
Manoj,Kom,Kumar,Hyderabad,Somajiguda,AP,IN Kenny,George,North Beauregard street,Alexandar,Virginia,USA
My Row field names are:
Row.fieldNames : FirstName,MiddleName,LastName,City,Place,State,CountryRow.fieldSeparator: ,Row.processConfiguration: FromConfigurationRow.endSeparator: 'nl'
Can you guide me how to write the input file?How to pass the multiple records??
Thanks & RegardsManoj.
Like (0)
Venkat Donela Oct 3, 2005 7:19 AM (in response to Kommineni Manoj)
Hi
This scenario works for multiple records,please check your mapping.
cheers!Venk
Like (0)
Rajan S Sep 17, 2006 7:07 PM (in response to Venkat Donela)
I tried the file to file simple scenario exactly as the weblog instructions were givenbut I repeatedly got a message mapping error. I tried changing the differentparameters in filesender file adapter, checked message mapping for errors (it issimple one to file mapping) but I could not get this scenario to work. Anysuggestions?
Like (0)
Kraus Yves Jan 16, 2006 12:34 AM
you never show the input file? It is a *.csv File?
Thanks Yves
How is the structure of the input file, the file you send to SAP XI
Like (0)
Venkat Donela Jan 16, 2006 12:57 AM (in response to Kraus Yves)
During the migration process problems have been reported for this blog. The blogcontent may look corrupt due to not supported HTML code on this platform. Pleaseadjust the blog content manually before moving it to an official community.
Like (0)
Venkat Donela Jan 16, 2006 12:57 AM (in response to Kraus Yves)
Hi,The input file is a .csv and please go thru this link for the input structure which is in Part1.
Introduction to simple(FileXIFile)scenario and complete walk through for starters(Part1)
cheers!!Venk!
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 8/9
Like (0)
N G Feb 20, 2006 3:11 PM
Venkat,
I have been trying to test my Client's XI Sandbox with File2File scenario.
The problem I am facing is in picking a file from a FTP server of the client. I have the right loginid/password/port details but after creating the communication channel in Integration Builder, it doesnot seem to pick up the file from the FTP server.
i) Am I missing anything?ii) Does the XI box need to be connected to the FTP server physically? Any BASIS config is required?iii) Can I use a local directory (c:\) or a network directory under windows (E:\ etc) to pick up the file? Iactually tried doing that too but it failed to pick the file up.iv) Where can I monitor the failure of my scenario..I tried the Integration Monitoring but again couldget any results.
Please please help. Your inputs would be highly appreciated.
Thanks a ton.
Neerav.
Like (0)
pamita rao Jun 29, 2006 12:20 AM
I'am new to XI and want to write an adapter using JAVA. I want it to perform similarly(As shown). howdo i go about it?
Like (0)
Jayesh Shah Jul 17, 2006 8:33 AM
Hi Venkat,
I was going through the scenario and fail to find an option 'File COntent conversion' , while defining/assigning parameters to the communiction channel.(I`m refering to the content conversion parameters screenshot.)
Thanks in advanceJayesh
Like (0)
Venkat Donela Jul 19, 2006 3:19 AM (in response to Jayesh Shah)
Hi Jayesh,
In message protocol you have a dropdown options1)file2)file content conversion
Cheers!Venkat
Like (0)
Meiying Yang Jul 29, 2006 10:01 PM
I have gone through all the steps related design and configuration. My problem is how I can put theinput source file into integrate server. I am not the system administrator or basis. I have XI clientinstalled into my PC. I put the source into the machine I have access but not the machine in which XIserver installed. And I spcified the URL in the communication channel. But it does not work. So I thinkthe input source file has to be put in the machine in which the XI server installed. Then how can I doit? Thank you! /Meiying
Like (0)
Venkat Donela Aug 1, 2006 6:06 AM (in response to Meiying Yang)
Hi,
Generate xml of your input source and use runtime workbench, where you can place yourxml payload and send it directly to the integration server.
Cheers!Venkat
pavan devineni Aug 21, 2006 1:35 PM
Hi I want to test this scenario, I followed all the steps but I do not have ftp how can I test it without ftp Ido not have any idea about runtime payload or something like that
7/19/2015 Introduction to simple (FileXIFile)scenario a... | SCN
http://scn.sap.com/people/venkat.donela/blog/2005/03/03/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart2 9/9
Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright
Like (0)
thanks
Like (0)
ming yu Sep 30, 2006 1:02 AM
Process Integration (PI) & SOA Middleware
RegardsMing Yu
Like (0)
Venkat Donela Oct 3, 2006 5:37 AM (in response to ming yu)
Hi,
I can try helping you on this if you can explain the issue you are facing.
Cheers!Venkat
Like (0)
Brijesh Soni Sep 6, 2008 8:28 AM
hi bro, sorry to say bt this blog is bit confusing, as this is an introduction, expectation is tht it should bein more detail... but thn also nice work keep it up...