7/19/2015Introduction to simple(FileXIFile)scenario an... | SCN Getting Started Newsletters Hi, Guest Log On Join Us Store Search the Community Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Activity Lines of Business University Alliances Events & Webinars Innovation Browse Communications Actions venkat.donela Introduction to simple(FileXIFile)scenario and complete walk through for starters(Part1) Posted by Venkat Donela in venkat.donela on Mar 2, 2005 7:06:05 AM Share 0 Tweet 0 Like 0 Here specifics of SLD are not covered.Scenario is simple the csv file is picked up by the file adapter from a business system and posted on to the same system using file adapter.At the end of this scenario I am sure you will be able to challenge with various other complex scenarios. Overview The Map Designer is a client component of the Design Builder used to develop maps defining input and output specifications and mapping rules that perform data transformation as desired. The Mapping Object of the Integration Repository uses the definitions of data stored or defined in the data type object (that are created using the Data Type Design editor) to specify the transformation logic in the form of map rules. Map rules operate on input data objects and build output data objects. Basic Steps for Building the Desired Output Data Building the desired output data consists of two main steps: 1 Choose the message types in the Mapping Design. 2 Defining the data definitions in the data type editor object. http://scn.sap.com/people/venkat.donela/blog/2005/03/02/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart1 1/6 State. 3 Map the respective elements 4 Test your maps with Test tab.Alexandria. 3.USA http://scn.Identify the source and data objects of the input data.J.com/people/venkat..Specify and build the output data according to the rules specified during mapping. define the mapping in the Mapping Objects where you specify the outbound and inbound Data Types. LastName. 6. Development of all design objects for the Integration Repository at design time The objects in the Integration Repository are assigned to a product using the software component version and can therefore be shipped with this product.Create maps to specify the logic necessary to transform the input data to the desired output data. To create maps using the Map Designer 1 Select the message type source file and the Target file..Jackson. Place. A data file is a simple example of data. Three kinds of data objects exist in this data file: a file.View the test results of the map execution. think of the data in terms of the three Data objects: 1)Define your Fields FirstName.Earth City. and Country Samuel.George. 2.Missouri.USA Kenny.Validate and resolve the source data type properties defined in the Data Type Object. | SCN Working on the Message Mapping Object In order to use the Mapping Object. a record. The file consists of records and each record consists of fields. Create Maps to Specify Sources and Targets After defining data objects and their properties in the Data Type Editor.donela/blog/2005/03/02/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart1 2/6 . The Mapping Object uses the data object definitions that are stored in the Data type Object. City. 5. The Mapping Editor is used to: 1.sap. 4. you must already have the data structure that defines your data in the data Type object.Lakefront Drive. and a field.7/19/2015 Introduction to simple(FileXIFile)scenario an. MiddleName. 2.Virginia.Identify the target and data objects of the output data. Specify the logic necessary by using various functions to transform the input data to the desired output data.North Beauregard street.m. In a file of records. sdn.. 2)Define output data type structure name as FILEOUTPUT_TEST containing the same elements as the input.jpg|border=0 3)Create a Message Type comprises a data type that describes the structure of a message. Using the editor which enables you with the drag and drop metaphor.sdn. 5)Create a Message Mapping FILE_TO_FILE which refers to a mapping of messages and is supported by a graphical mapping editor. load the two message types and define the mapping as shown.com/weblogs/images/28987/3.jpg|height=349|alt=image|width=600|src=https://weblogs.7/19/2015 Introduction to simple(FileXIFile)scenario an.sdn.com/people/venkat. !https://weblogs.com/weblogs/images/28987/5.com/weblogs/images/28987/3.com/weblogs/images/28987/19.jpg|height=400|alt=image|width=600|src=https://weblogs.sap.com/weblogs/images/28987/1.sap..jpg|border=0!/ A mapping refers to the mapping of interfaces or messages to other interfaces or messages. Record.jpg|height=328|alt=image|width=600|src=https://weblogs. This is an outbound interface.sap.sdn.sdn.donela/blog/2005/03/02/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart1 3/6 . and Row Define your fields FirstName.sap. create a Data Type in your Integration Repository. This is used to refer the message in SAP XI to be exchanged at runtime.sdn.JPG|border=0 The entire contents of your data must be defined. it can either have the task of sending a request (outbound) or receiving a request (inbound).Place.sap.MiddleName.sdn.sdn. The editor enables you to design a structure mapping between any two XML structures and connect to a value mapping.jpg|border=0 4)Create a Message Interface to describe interface.specify your datatype name in this case it is FILEINPUT !https://weblogs. !https://weblogs.jpg|border=0 This is an Inbound Interface where you specify the Input Message type FILEOUTPUT_TEST and the attributes as shown. Define the output data according to your output specifications. You can define mappings for an interface pair (source and target interface) by using message interfaces and message types in the Integration Repository. | SCN To define this data . create Three data types: FileInput.jpg|height=284|alt=image|width=600|src=https://weblogs. for a message interface.sap. Define the input data so that each data object of the source data is identified.City. !https://weblogs.com/weblogs/images/28987/1. !https://weblogs.com/weblogs/images/28987/4. which you want to use to exchange messages between application components using SAP Exchange Infrastructure.where the Output message type is FILEINPUT and attributes are defined as shown.com/weblogs/images/28987/19.sap.design your mapping by dragging the elements from the source FILEINPUT structure and dropping them on to the elements on the target structure FILEOUTPUT_TEST.sap.JPG|height=200|alt=image|width=578|src=https://weblogs.sap.sap.LastName.sdn.Here the requirement is output conatins the same fields as the input.com/weblogs/images/28987/5. http://scn.State.com/weblogs/images/28987/4.sap.sdn.Country as shown and their respective properties. Please Dont forget to follow up the Part2 for configuration the contents. http://scn.Interface mappings register your mapping program for an interface pair in the Integration Repository. save and activate in the change list where you select your saved objects..com/people/venkat.select the mapping program.7/19/2015 Introduction to simple(FileXIFile)scenario an.donela/blog/2005/03/02/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart1 4/6 .in this case it is FILE_TO_FILE.the Sender and Receiver File adapter in integration directory.Now the status become from Being Processed to Active. choose Read Interfaces An interface mapping can only refer mapping programs that belong to the same or an underlying software component version of the interface mapping. To import the properties of the interfaces. Enter the source and target interfaces which in this case are FILEINPUT_OB and FILEOUTPUT_IB. | SCN 6)Create an Interface mapping FILEINPUT_TO_FILEOUTPUT_NTERFACE..sap. There can be a fixed or variable number of substructures in a record. | SCN 3292 Views Average User Rating My Rating: (7 ratings) 0 Share Tweet 0 Like 0 6 Comments Gerardo Ramon Espino Jun 7.XI uses XML standard. 2006 4:55 AM (in response to Gerardo Ramon Espino) Hi. Cheers! Venkat Like (0) Jennifer Lee Jan 4.. It is very nice and useful for new commers like me. Thanks..com/people/venkat. Like (0) Venkat Donela Jun 8. There is no need to specify the output format. Can you please tell me what is the difference between record and row in your example.dat file. Cheers! Venkat Like (0) Reddy P Jun 26.donela/blog/2005/03/02/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart1 5/6 . How to debug? Thanks! http://scn. Could you please tell me where do you specify that the output format will be XML? Regards. A record can contain multiple types of substructures identified by logical names. Reddy P Like (0) Venkat Donela Jun 29. Please elaborate the question if i am not clear. Gerardo.In this case is the row.sap. 2006 2:26 PM Hi. 2006 8:53 PM Hi Venkat.7/19/2015 Introduction to simple(FileXIFile)scenario an. 2007 1:16 PM I followed this blog exactly but nothing happened to the xi_input. 2006 2:06 AM (in response to Reddy P) Hi. . 2007 8:59 AM (in response to Jennifer Lee) Hi Jeniffer.sap.7/19/2015 Introduction to simple(FileXIFile)scenario an. | SCN Like (0) Venkat Donela Jan 11.Plz check if the ftp server is running and also your file adapter status in Runtime work bench.com/people/venkat.donela/blog/2005/03/02/introductiontosimplefilexifilescenarioandcompletewalkthroughforstarterspart1 Follow SCN 6/6 . Cheers! Venkat Like (0) Site Index Privacy Contact Us Terms of Use SAP Help Portal Legal Disclosure Copyright http://scn. sorry for the delay..
Report "3.Introduction to simple(File-XI-File)scenario.pdf"