Flatfile to flatfile scenario in xi
1) where should the flatfile be put , like either in the remote(local) file system or xi server file system
2) do we need to have FTP server for transfering flat file in XI
can any one help in this regard.
thanks,
krishna
hi krishna,
<i>>>1) where should the flatfile be put , like either in the remote(local) file system or xi server file system</i>
If you are going to place the file in remote file system ( different network )then you have to use FTP
If you are going to place the file in the same network where xi Server is installed the use the NFS (Network file system protocol)
<i>>>2) do we need to have FTP server for transfering flat file in XI</i>
It depends on where you place the file
The choice is based from where file need to be picked
regards
Ramesh P
Similar Messages
-
Hi all,
we try to implement a flat file-XI-IDoc scenario. We receive flat files with idoc structure
In ID I used sender file adapter and a receiver idoc adapter
I have to use the option "File Content Conversion" in the file adapter and do I have to reproduce the whole IDoc structure in the content conversion parameters
and since i get structure/segment name ahead of each line how to i handle this
please see below
adapter content conversion parameters:
EDI_DC40.fieldFixedLengths 10,3,16,4,2,1,1,1,1,30,30,30,3,3,1,6,6,10,2,2,10,21,70,10,2,2,10,21,70,8,6,14,14,14,70,20
EDI_DC40.endSeparator 'nlu2019
EDI_DC40.fieldNames TABNAM,MANDT,DOCNUM,DOCREL,STATUS,DIRECT,OUTMOD,EXPRSS,TEST,IDOCTYP,CIMTYP,MESTYP,MESCOD,MESFCT,STD,STDVRS,STDMES,SNDPOR,
SNDPRT,SNDPFC,SNDPRN,SNDSAD,SNDLAD,RCVPOR,RCVPRT,RCVPFC,RCVPRN,RCVSAD,RCVLAD,CREDAT,CRETIM,REFINT,REFGRP,REFMES,ARCKEY,SERIAL
EDI_DC40.keyFieldValue 0
EDI_DC40.keyFieldInStructure ignore
E1EDL20.fieldFixedLengths 10,4,4,2,4,3,25,3,28,6,2,17,15,3,15,3,5,35,4,20,10,35,35,8,6,3,1,1,1,1
E1EDL20.endSeparator 'nl'
E1EDL20.fieldNames VBELN,VSTEL,VKORG,LSTEL,VKBUR,LGNUM,ABLAD,INCO1,INCO2,ROUTE,VSBED,BTGEW,NTGEW,GEWEI,VOLUM,VOLEH,ANZPK,BOLNR,TRATY,TRAID,XABLN,
LIFEX,PARID,PODAT,POTIM,LOC_SEQ,HOLD,MAX_ERR_TYPE,LE_SCENARIO,RECIPIENT_CREATE
E1EDL20.keyFieldValue 0
E1EDL20.keyFieldInStructure ignore
E1EDL22.fieldFixedLengths 30,20,20,20,25,30,40,20,20
E1EDL22.endSeparator 'nl'
E1EDL22.fieldNames VSTEL_BEZ,VKORG_BEZ,LSTEL_BEZ,VKBUR_BEZ,LGNUM_BEZ,INCO1_BEZ,ROUTE_BEZ,VSBED_BEZ,TRATY_BEZ
E1EDL22.keyFieldValue 0
E1EDL22.keyFieldInStructure ignore
sender file:
EDI_DC40 3000000001870383062700 3014 DESADV01 DESADV X004010856 SAPD7B LS SAPD7B ZSHIPNOTIFLISP0000000018 20100513233418 20100513
E2EDK07001 300000000187038306200000100000001000LLF000030003 6910689255 FOBFREE ON BOARD Y5 H502 oluquilla Wh Domestic MX00
E2EDKA1003 300000000187038306200000200000102
E2EDK03 300000000187038306200000300000102
E2EDK08001 3000000001870383062000004000000020006910689255 FOBFREE ON BOARD Y5 H502 oluquilla Wh Domestic MX00 BC
E2EDS01 3000000001870383062000005000004030011
E2EDS01 3000000001870383062000006000004030216.645 KGM
E2EDS01 3000000001870383062000007000004030226.646 KGM
E2EDS01 3000000001870383062000008000004030236.646 KGM
E2EDS01 30000000018703830620000090000040301400001
the above examples are not complete (just an example) Any help is appreciated.
Thanks,
siddu.236atgmail.combut the scenario is bit complex, we have SNC involved, we have existing scenario of sender idocs initially built,
later sender told, he can only send flatfile idoc - Can you elobarate complete your exitsting scenario if possible do the necessary changes existing one reason is below...
You should not approach the FCC becuase it's not mandatory all the segments are fields will come always order..IF Data segments field order changed then your FCC will not work properly...FCC always assume that you are getting correct order 100%. I mean field order....
Regards,
Venu. -
Hi,
I am sending file to r/3 as IDOC.The file is coming to XI without errors.In SXMB_moni,it is showing successfull.In message display tool as well as in SXMb_moni no data regarding receiver.It is showing status scheduled for outbound processing in SXMb_MONI.Where could be the problem? Is any thing i missed out?
tnx in advanceHi,
check TCODE: SMQ1, SMQ2
if there are no errors over there
have you registered your queues in TCODE: SXMB_ADM?
Regards,
michal -
Idoc to FlatFile and Flatfile to Mail
Hi all,
I want to convert an Idoc into a FlatFile - this is no problem. But when the FlatFile is created I want to send the FlatFile via EMail as an attachment.
How do I do this using Mail-Adapter ?
I also thought to use an Unix Command to send the Email. With the file adapter it is possible to execute an Unix Command after the File was created.
What is the better solution. And which Unix Commad do I have to use to send email (using SMPT).
Many thanks.
Elkohi elko,
for sending a flat file as mail u use receiver mail adapter. so ur scenario will be file sender -- xi-- mail receiver.
for this refer:
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
and
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
[reward if helpful]
regards,
latika. -
Hi All,
i am going to create File2File scenario using File content conversion(Flat file). Please let me know how to set the content conversion parameters. Any body have the documentation for this, please send me ASAP.
Thanks & Regards,
Nagarjuna.hi
FCC in sender side:
Document name: your message type name
Document namespace: name space of message type
Recordset name:Parent node name
Recordset namespace: namespace
Recordset sctructure: child node name1,*(if your childnode occurence is unbounded)/1,child node name2,occurrence of childnode eg :1
recorde set sequence: ascending
Name Value
Childnode.fieldSeparator ,
Childnode.fieldNames name of the fieldsof thecoreesponding
childnode
insetead of fieldSeparator you can use field fixed length depending on your test file.
FCC in receiver side:
Recordset sctructure : parent node, childnode
Name Value
Childnode.fieldSeparator ,
Childnode.endSeparator 'nl'
Parentnode.fieldSeparator 'nl'
Links
http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
rewards point if helpful
Regards
Kasturika -
ODI flatfile to flatfile load interface error
Hi,
I'm trying to load my target (delimited CSV) with data from a source (delimited CSV). I have followed all the steps reverse engineered my datastores(source and target files) Imported knowledge modules and selected sunopsis inmem engine as staging. When I run the interface
I'm getting error in the last integration step which is given below. Please help me with this
ODI-1227: Task Integration fails on the source SUNOPSIS_ENGINE connection MEMORY_ENGINE.
Caused By: java.sql.SQLException: java.lang.RuntimeException: unsupported internal operation: Type unsupported internal operation: TypeI got this fixed. Apparently, my syntax was not correct for a concatenation step. The syntax I'm supposed to use should be in hsql.
-
Data extraction from sap r/3 to flatfile
hello Guru's
i am new to this feild. i got a requirement in such a way i have to extract data from feilds of different tables to flatfile.
( actual Scenario is we want to send data to sybase server through flatfile)
plz send me some documents how to proceed with the specification
usefull code in this regard is lot helpfull.
thanks and regards
ajHello Raja,
Here are some simple steps ...
When you want to load data from a flat file, there is no process of datasource replication. The datasource has to be created manually on the BW system itself. When creating this datasource you start from the InfoSource and assign the source system for flat file load. This is usually something like PC_FILE or FLATFILE.
Then you can start creating the datasource. You need to mention the field names in this datasource. Note that in your flat file, the sequence of fields must exactly match the sequence of fields in the datasource, else the data will be wrongly mapped.
On the same screen and tab you can also do a preview of the data that will be loaded. Click the preview button and put in the path of the file. Mention other details like header row, and number of rows to be displayed and then you will be able to judge if the data is being loaded correctly or not.
When loading the data, then file cannot be open else you will get an error message. Also to be able to schedule the flat file loads in process chains, the file cannot be on your PC. It has to be on the application server.
This is some basic info. Please post back if you need details on any aspect.
Hope this helps...
Assigning points is the way to thanks in sdn. -
Options to create IDOC in IDOC Flatfile
Hi,
we have requirement to process a fixed length file and map that structure to a standard IDOC and that IDOC has to be written out as IDOC flat file.I just want to get different opinions to see whether there are any other options other than using ABAP mapping like mentioned in that standard How to Guide IDOC XML to IDOC Flatfile.
My scenario is Fixed length file ->XI->IDOC Flatfile-->SAP(through File port with RSEINB00 Report)
I know there is module available in PI7.1,but we are still in PI7.0 with SP18 and no plans to up grage yet.
In the file I get single header,multiple details and single trailer records and I have to create multiple IDOCs(that many number of Detail Records) from a single file.So,I think I need to use BPM first to convert multiple IDOC to single IDOC and then use the ABAP mapping to convert IDOC XML to IDOC Flatfile.like two steps.
so I am thinking to avoid BPM,ABAP mapping and to see different options to create an IDOC flat file and the receiving SAP system can read the IDOC flatfile using standard File port.Receiving SAP is is very low version(I think 3.0) which is not supporting IDOC adapter communication from XI.
please suggest different options to get IDOC Flatfile or even directly sending IDOC (with ALE connection) that has been created after the mapping from ffixed length flatfile to standard IDOC.
Thank you in adavance.
Babu> In the file I get single header,multiple details and single trailer records and I have to create multiple IDOCs(that many number of Detail Records) from a single file.So,I think I need to use BPM first to convert multiple IDOC to single IDOC
Hi Babu,
When PI reads the file from source system, it will read all the data into Single XML file and in message mapping just do 1:N mapping to create multiple IDOCs from single XML. You dont have to use BPM for this requirement.
You wait for better solution from other for 2nd part of your requirement i.e IDOC-XML to IDOC Flat file conversion.
Have a great day.
Cheers,
Jag -
Hi All,
I am doing Flatfile to Flatfile scenario.My input format is like ID,Name,Address.I want to get the output which should be same like Input format but through mapping.I am using J2SE file Adapter in both sending and receiving side.I am getting output in Flatfile but with only one field that is "ID".I am not getting the remaining fields i.e., Name and Address in my output flatfile.
My input structure from SXMB_MONI is
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_FCC1 xmlns:ns="namespace">
- <Recordset>
- <Data>
<ID>100</ID>
<Name>X</Name>
<Address>Y</Address>
</Data>
</Recordset>
</ns:MT_FCC1>
Content Conversion Parameters which i have specified at receiver side is
xml.recordsetStructure=Recordset,Data
xml.addHeaderLine=0
xml.fieldSeparator=,
xml.endSeparator='nl'
Can anyone suggest me what to do ASAP?
Thanks in Advance
DinakarHi Dinakar,
U should use it like this
Recordset Structure :- Recordser,DATA
DATA.addHeaderLine=0
DATA.fieldSeparator=,
DATA.endSeparator='nl'
insted of
xml.addHeaderLine=0
xml.fieldSeparator=,
xml.endSeparator='nl'
chk this link
Re: file2file receiver side
Sachin
Message was edited by:
Sachin Dhingra -
How to implement lookup on a flatfile in Data Integrator
Hi,
I am trying to lookup for a value in flatfile. My scenario is follows:
File-1 is my source, File-2 is lookup source. I am trying to pass column value from file-1 to lookup on File-2, but I am not able to implement a look up on file, DI is giving error on lookup does not exists.
Please let me know the way to pass path of the file while creating a lookup on flatfile.
Thanks,
Phaniwhat is the version of DI ?
can you give the complete lookup_ext() function call that you are using ?
did you use funtion wizard to generate the function call or typed the complete function call with arguments?
is this error coming on validation or run time? -
Mapping error - Flat file to Flat file Scenario
Hi All,
Iam designing Flatfile to Flatfile Scenario.
Source Structure
RSET
RSETSTRUCTURE 1-un
S1 1-1
S2 1-1
S3 1-1
target Structure
RSET
RSETSTRUCTURE 1-un
R1 1-1
R2 1-1
R3 1-1
Mapping
RSETSTRUCTURE - RSETSTRUCTURE
S1 - R1
S2 - R2
S3 - S3
Flatfile is getting picked
Iam getting Mapping exception.
Please help.
Regards,
JeevanHi Raj,
Iam sending the Inbound payload
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_DB2_S_FF xmlns:ns="http://gsll.com/DB2">
- <RSETSTRUCT>
<S1>A</S1>
<S2>A</S2>
<S3>A</S3>
</RSETSTRUCT>
- <RSETSTRUCT>
<S1>B</S1>
<S2>B</S2>
<S3>B</S3>
</RSETSTRUCT>
</ns:MT_DB2_S_FF>
regads,
Jeevan -
Error in Flatfile (txt) to xml file scenario
hi,
while executing the Flat file (txt) to xml file scenario, the txt file picked up from my source directory, but i could not find in my target directory.
when i check message monitoring, it is showing successful.
Audit Log for Message: af840930-3fa2-11dc-a345-000423c7753d
Time Stamp Status Description
2007-07-31 16:14:47 Success Channel CC_sender: Entire file content converted to XML format
2007-07-31 16:14:47 Success Send text file "xi_input.txt" from FTP server "64.72.230.130:/praba_source", size 353 bytes with QoS EO
2007-07-31 16:14:47 Success Application attempting to send an XI message asynchronously using connection AFW.
2007-07-31 16:14:47 Success Trying to put the message into the send queue.
2007-07-31 16:14:47 Success Message successfully put into the queue.
2007-07-31 16:14:47 Success The application sent the message asynchronously using connection AFW. Returning to application.
2007-07-31 16:14:47 Success The message was successfully retrieved from the send queue.
2007-07-31 16:14:47 Success File "xi_input.txt" deleted after processing
2007-07-31 16:14:47 Success The message status set to DLNG.
2007-07-31 16:14:48 Success The message was successfully transmitted to endpoint http://xiserver1:8000/sap/xi/engine?type=entry using connection AFW.
2007-07-31 16:14:48 Success The message status set to DLVD.
2007-07-31 16:14:48 Success The message was successfully delivered.
I followed the Venkat Donela blog
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
IN sender CC, i used file content conversion(mesage protocol), file name scheme xi_input.txt
In receiver CC , I used file (message protocol),file name scheme xi_output.xml
In both CC , transport protocol is FTP.
so i gave server name, port, username, password.
could you help me out to find the error for this scenario also?
Thanks in advancehi,
In sender CC
name and value are like this
row.fieldNames FirstName,LastName,MiddleName,City,Place,State,Country
row.fieldSeperator ,
row.processConfiguration FromConfiguration
row.endSeperator 'nl' -
Hi,
I am trying to Push Idoc from SAP R/34.7 to Flat File thru XI.Message Type is HRMD_ABA.The Idoc is forwarding successfully from SAP R/3,But I am not able see the details and Idoc in XI at all even though in sxmb_moni as well as at Message Display Tool.Earlier i have forwarded so many Idoc's like MATMAS01-04,CREMAS,Customized Idoc's etc to the Flat File Successfully and monitored at XI.This time i am not able to monitor even at XI.Ne messages are displaying.
Plz tell me how to resolve this issue..
Regards
Sridhar Raju MahaliHi
Go thru this Problem Analysis Guide on <b>Sending an IDoc through XI Failed</b>http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
Hope it helps
Regards
Arpit -
Hi,
I have to implement a flatfile --> XI ---> IDOC scenario and I have a question about the mapping.
Suppose I have a Flat Fiel as following with the first 2columns as key:
100991;001;text1;posting date
100991;002;text2;posting date
100992;001;text4;posting date
100992;002;text6;posting date
I have to pass this items to a IDOC strucutured with header and positions.
By mapping how can I group key data to pass to single Idoc?
Thanks
marcoHi ,
I have done it with ORDERS IDOC Structure .
Since the source is a flat file you could take a simple structure with row and all the fields following it ( say filed1 , field2, field3).
Take a bottom up approach for the child :
Change the context of all the individual fields to the root then apply split by value on field3 ( this introduces context changes )
Then format its parents Queue (Field2) based on Field3 Queue for this use the function Format By Example .
Use the resulting queue as one of the argument and Field1 to generate the link .
Using Graphical this requirement is achievable . How ever it is upto your ease to choose which way you want to do it .
Thanks & Regards
Kavitha -
Value Mapping Replication - Issue - Authorization Error
Hi all,
I am trying to do value mapping replication of the data from a table in ECC system using an outbound proxy on ECC and ASync Inbound interface on XI - valuemappingreplication.
Steps followed:
1. Created Table Stucture and did write a report to extract the data from the table in ECC to send the data through Outbound proxy.
2.Followed this blog - Value Mapping replication
When tried to execute the scenario after all the steps in the above blog, we have an error in sxmb_moni saying that the authentication failed. I used pisuper, pidiruser in the receiver communication channel
3.Generated a Java Proxy for the valuemappingreplication interface.
4.Tried to deploy the .jar from the above step using SDM, I was not able to deploy it.
reg
Edited by: naveen chitluri on Jul 16, 2008 12:55 PMAll,
For the value mapping replication,
I have tried to send the message to URL directly for RWB, Test Message in the Component Monitoring http://server:50400/MessagingSystem/receive/JPR/XI.
I am getting an error saying that:
Delivery of the message to the application using connection JPR failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered: com.sap.aii.proxy.xiruntime.core.XmlRecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered
Can anyone throw some light on this.
reg
Maybe you are looking for
-
Help me move my photos from Aperture to external hard drive without the program
I'm having problems with Aperature. I need/want to get rid of it. I need to move my photos out of it ASAP using Finder. I can't locate the photos in Finder. The instructions i see online don't work. Help!
-
i just bought an Apple Power Macintosh G4 400 (AGP) model number M7824LL/A with an ATY,Rage128Pro graphics card. the dvi port on the back of the card seems to be a wierd shape and my dvi to s-video adapter will not physically connect to it. does anyo
-
Select issue
-
Sync slows or hangs on large bulk messages from Yahoo
I'm attempting to create a local backup of my Yahoo webmail, using IMAP to Thunderbird. It seems to have worked, except for one Yahoo folder (out of 30), which had the following characteristics: - 11,500 total messages at start - about 300 messages t
-
Benefits vs Disadvantages of using DNS for Oracle RAC (12c or 11g)
For nearly all of my Oracle RAC Builds, I've used /etc/hosts and not DNS. As such I've not been able to take full advantage of GNS and SCANS. Please note some of your experiences associated with the benefits of using DNS configuration for your Oracl