"flat file" at reciver side
Hi, Folks. If any one knows receiver end settings, to receive flat file data(no of records). Please explain me receiver settings
Regards,
Robert
Hi,
For the flat file data on the receiver side you have the do the FCC.
<i>it is csv format only I also maintain file content conversion parameters as
Row.fieldNames,
Row.fieldSeparator,
Row.endSeparator.</i>
Instead of these parameters you have to use these ones:
Row.addHeaderLine
Row.fieldSeparator
Row.endSeparator
Regards,
Vikas
Similar Messages
-
XML File to Flat File scenario: Reciver file adaptor content conversion
Hello Friends,
Currently I am working on XML File to Flat File Scenario.
I used receiver side File adaptor with content conversion.
My receiver side adaptor is giving error. Error is given below.
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
My content conversion parameters are as:
row.fieldNames Customer_ID,Name,Address,Phone
row.fieldSeparator ,
row.processConfiguration FromConfiguration
row.endSeparator 'nl'
Can you please suggest me what kind of error is this?
Regards,
NarendraStill I am facing below given issue.
2010-06-08 15:34:25 Error File adapter receiver channel CC_Customer_FlatFile_Distination is not initialized. Unable to proceed: null
2010-06-08 15:34:25 Error Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages -
Issue in FCC paramenter in Fixed Filed Length file at reciver side
Hi,
I am doing IDOC to File interface. In that at receiver side I am sending file in Fixed Field Length Format.
Receiver File Message structure is as fallows.
Recordset
--Control
CTID
CTGUI
.... Control Fields
--Header
AHID
AHGUI
....Header Fields
--Detail
ADID
ADGUI
... Detail Fields
--Notes
INID
INGUI
...Notes Field
We want output File format in such a way that each Control, Header, Detail & Notes records should come on different line.
I am using following paramater in File Content conversion:
Recordset Structure* = Control,Header,Detail,Notes
Control.fieldFixedLengths = control field lengths
Header.fieldFixedLengths = header field lengths
Detail.fieldFixedLengths = detail field lengths
Notes.fieldFixedLengths = Notes field lengths
ignoreRecordsetName = true
But the problem is I am getting all records in same line in file.
Any help on this issue will be appreciated.
Regards,
Prashant KudtarkarHi Suraj,
You are right. When I open that file in notepad I am getting boxes at end of each record and all records are coming in same line but when I open that file in XL or wordpad I am getting each record on new line.
I am using following paramater in File Content conversion:
Recordset Structure* = Control,Header,Detail,Notes
Control.fieldFixedLengths = control field lengths
Header.fieldFixedLengths = header field lengths
Detail.fieldFixedLengths = detail field lengths
Notes.fieldFixedLengths = Notes field lengths
ignoreRecordsetName = true
Thanks and regards,
Prashant Kudtarkar -
File Adapter Reciver Side: FCC Convetion Problum in PI 7.1
Hi Experts
XML Structure
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
- <REC>
- <ROW>
<MATNR>CPF30007</MATNR>
<MTART>ROH</MTART>
<MBRSH>F</MBRSH>
<MAKTX>25 lbs. geschn. Karotten</MAKTX>
<MEINS>LBR</MEINS>
</ROW>
</REC>
</ns0:mt_idoc2file>
i am traying to convert this xml to txt format in PI 7.1 . i am unable to conveting structure in TXT . i am getting the error .
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'REC.fieldFixedLengths' or 'REC.fieldSeparator' is missing"
FCC Parameter what i have given.
Record Struture :ROW,REC
ROW.filedName :MATNR,MTART,MBRSH,,MAKTX,MEINS
ROW.filedSeparator:,
ROW.endSeparator :nl
ROW.fieldFixedLengths:12,20,21,20,10
Please any one help me out from this issu.
Thanks and Regards
G.Praveen Kumar
Edited by: praveen.tecnics on Sep 30, 2010 2:37 AMHi,
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
- <REC>
- <ROW>
<MATNR>CPF30007</MATNR>
<MTART>ROH</MTART>
<MBRSH>F</MBRSH>
<MAKTX>25 lbs. geschn. Karotten</MAKTX>
<MEINS>LBR</MEINS>
</ROW>
</REC>
</ns0:mt_idoc2file>
FCC Parameter what i have given.
Record Struture :ROW,REC
ROW.filedName :MATNR,MTART,MBRSH,,MAKTX,MEINS
ROW.filedSeparator:,
ROW.endSeparator :nl
ROW.fieldFixedLengths:12,20,21,20,10
Can you please change your data type as per this XML
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
- <ROW>
<MATNR>CPF30007</MATNR>
<MTART>ROH</MTART>
<MBRSH>F</MBRSH>
<MAKTX>25 lbs. geschn. Karotten</MAKTX>
<MEINS>LBR</MEINS>
</ROW>
</ns0:mt_idoc2file>
Dont put REC, logically its nt required also.
Now use the same FCC u have specified, it will work, remeber to change the MM accordinly also...
Babu -
Generating Deeply nested XML from a flat file
Hi All,
I am working on a MQ to IDOC scenario.
I am getting a flat file as input. I need to convert it into XML( so that XI can understand it).
But conversion is into a "Deeply Nested XML from a Flat File" at sender side (JMS Adapter).
Any inputs on this.
Regards,
VikasYou can only convert flat file into xml structure with 3 levels.
If you need to convert flat file into deep nested xml structure, you have to do java mapping or xslt or abap mapping. There is a tool, I think it's called conversion agent by itemfield (bought by SAP), which can do pretty everything with conversion. Never used it though.
Jayson -
Error in load master data from flat file to infocube "No SID found for val"
Hi gurus
while i m loding data from ffile to infocube. getting error message "No SID found for value 'HOT ' of characteristic 0UNIT" for material name field .
in flat file one fileld having lower carrecter so i have defined formula for upper case in transfer rule.
after scheduleing message is "data was requested". but in monitor-> detail-> request, extraction status is green and transfer , processing ststus are red.
overall status is red.It appears your transfer structure and source file are not mapped correctly. Make sure your source file is in the correct format. TRy the "preview" function to make sure.
Also, is the file and your log on language the same? For instance is the file from a GErman user but you are logged in in English? You will see errors like that when you use ST (Stuck = Pieces) instead of PC (Peices in English)
To test a bad mapping, hard code the Unit to something to make sure...(to PC for instance).
Also, the error message you are getting is because of transfer structure, please re-activate it. IF it persists, try to skip the PSA and go straight to the data target.
Message was edited by: Steve Wilson
Message was edited by: Steve Wilson -
Flat file name from Sender Side Dynamically into subject of Receiver Mail
Hi All,
I am Using a file to Mail Scenario, My requirement is to get dynamically the file name from flat file of the Sender Side into Subject of Receiver Mail Adapter and attachment of file from the Sender Side. Can anyone help me out.
Thanks in AdvanceHi....
You can write udf in the message mapping to get the Dynamic file name and map that to the subject of the receiver mail.
DynamicConfiguration conf = (DynamicConfiguration) param.get(
StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
// read value
String Filename = conf.get(KEY_FILENAME);
Regards,
Leela -
While uploading the flat file getting Error when assigning SID
Hi ,
while uploading flat file i getting thid error .
Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER and No SID found for value '0 ' of characteristic 0CURRENCYHi Bijender,
This is related due to missing values in your currency tables.
If you are maintaining the currency tables from R/3 - Replicate the Currency Rates(Source sytem- Transfer Exchange Rates).
& check if the missing value is available in the TCURR table.
Thanks,
ChandraDeepak -
Handling flat file conversion with spaces inbetween at sender side
Hi,
I am facing some problem in configuring the sender JMS adapter file content conversion. Please find the structure of my file below
010AG 07/17/2007 000130800 TOZ07/17/200710:48:46
010AU 07/17/2007 006682800 TOZ07/17/200710:48:46
010-Record key
AG-Metal code
07/17/2007 -price Date
000130800 -pricevalue
TOZ-Unitofmessure
07/17/200710:48:46-Unitofmessure
there are 2spaces inbeween 1and 2nd fields and one space beween 2nd and 3rd ,one space between 3rd and 4th fileds
I declared my source data strucute like below
<source_MT>
<PriceData>
<Metal code>
<price Date>
<pricevalue>
<Unitofmessure>
<shipDate>
</priceData>
</source_MT>
I am using this PDF to configure my serder communication channel https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b7
. but i got struck up in declaring these two fields as i need deal with spaces.
xml.NameA.fieldNames
xml.NameA.fieldFixedLengths
It would be great if sombody tell me how ican decalre content conversion rules for the file
Thanks
sudheerHi,
Please check some links on FCC.
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)
File Receiver with Content Conversion
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
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)
How to send a flat file with various field lengths and variable substructures to XI 3.0
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
File Content Conversion for Unequal Number of Columns
Content Conversion ( The Key Field Problem )
The specified item was not found.
File Receiver with Content Conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani -
Flat file with IDOC structure on sender side - how to convert
Hello,
I have a flat file with an IDOC structure in it, like produced from R/3.
Example:
EDI_DC40 4000000000000761577620 3014 ORDERS05 ORDRSP SAPR3P LS LS_R3P_302 DATEIPORT2KMBG0000019887 20061206095508 20061206095508
E2EDK01005 400000000000076157700000100000001004 EUR 1.00000 0039 DFUE0000543012 12Muenster/Weststr.0000019887
E2EDK14 40000000000007615770000020000000200630
E2EDK14 40000000000007615770000030000000200710 ......
I need to send this file via XI to an R/3 system as an ORDERSP IDOC.
My question is:
What is the easiest way to do this?
My intention is to us a self programmed mapping!
Best regards
Dirk
nullHi Shabarish,
I found a sinple solution:
File adapter picks up file from external drive
Receiver adapter saves it on XI server directory
We21 can pick up now from here!
But, next problem:
When trying to save the file port in We21 (like described in the guide) I get a message: Port incomplete, not possible to save! (mess. is green -> information).
But I cannot save the port. What is wrong?
Hm, possibly reason was that inbound and outbound file name was the same! Now its OK! Port is created!
Regards
Dirk
Message was edited by:
Dirk Meinhard -
Using a server side package to copy and delete flat files.
Can anyone tell me if it is possible to copy or delete flat files using comands issued from within a PL/SQL program unit on the server. I know of the package UTL_FILE for the reading and writing of flat files.
Malcolm,
if you use 8i, you can create a Java class to do that for you, and call one of it's metohds from PL/SQL, see http://www.oracle.com/oramag/oracle/00-Mar/o20java.html
null -
Hi,
I am doing an interface (Flat file to Flat file)
The input file fields are separated by delimiter @!.Which will have multiple records like LEVEL1,LEVEL2,LEVEL3
Input Flat file
Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status
Level2@!PoNo@!L2id@!L2desc@!L2stdt@!L2ensdt@!L2plant@!order
Level3@!PoNo@!L2id@!L3id@!L3stdt@!L3enddt@!order
Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status
Level2@!PoNo@!L2id@!L2desc@!L2stdt@!L2ensdt@!L2plant@!order
Level3@!PoNo@!L2id@!L3id@!L3stdt@!L3enddt@!order
Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status
Level2@!PoNo@!L2id@!L2desc@!L2stdt@!L2ensdt@!L2plant@!order
Level3@!PoNo@!L2id@!L3id@!L3stdt@!L3enddt@!order
Output file
The outfile fields are separated by tab delimiter
<L1> L1Pono L1desc L1stdt L1enddt L1hr L1cost L1vendor L1misc L1status
<L2> L1Pono L2ID L2desc L2stdt L2enddt L2priority L2loc L2plant L2order
<L3> L1Pono L2ID L3ID L3desc L3stdt L3enddt L3work L3emp L3order
The outfile fields are separated by tab delimiter
<L1> L1Pono L1desc L1stdt L1enddt L1hr L1cost L1vendor L1misc L1status
<L2> L1Pono L2ID L2desc L2stdt L2enddt L2priority L2loc L2plant L2order
<L3> L1Pono L2ID L3ID L3desc L3stdt L3enddt L3work L3emp L3order
Do I need to use file content conversion?how do I replace the delimiter?
Can you please tell me how to do this,appreciate you help.Let me know if you need more info.
Points will bw rewarded
ThanksHi Guys,
Thanks for all the replies.I have done all necessary things for sender and reciver communication channels.I am pretty sure the sender CC is fine,but I am not sure of the receiver CC.The file is not being picked up at the sender side.In went and saw the adapter monitoring,it shows me the below error
Receiver Adapter v2405 for Party '', Service 'BS_XIX_010':
Configured at 2008-04-21 09:44:11 CDT
History:
- 2008-04-21 09:44:11 CDT: Error: Conversion initialization failed: Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
In the receiver CC I am giving the following details,is there anything I am missing,do I need to check the Advanced mode in the CC and give info there?
LEVEL1.fieldSeparator ,
LEVEL2.fieldSeparator ,
LEVEL3.fieldSeparator ,
LEVEL1.endSeparator 'nl'
LEVEL2.endSeparator 'nl'
LEVEL3.endSeparator 'nl'
Thanks -
Error while uploading data from a flat file to the hierarchy
Hi guys,
after i upload data from a flat file to the hierarchy, i get a error message "Please select a valid info object" am loading data using PSA, having activated all external chars still get the problem..some help on this please..
regards
Srithere is o relation of infoobject name in flat file and infoobjet name at BW side.
please check with the object in the BW and their lengths and type of the object and check your flat file weather u have the same type there,
now check the sequence of the objects in the transfer rules and activate them.
there u go. -
How to upload schedule line from flat files to sap file
dear all,
i want to upload the schedule lines from flat files to sap schedulle lines
but the flat files have 15 schedule lines and the data is as per date
so how to upload that and the fields available in flat files are more than the sap screen
we are having more than 6 items
and 15scedule lines its abt 90data to be upload
for one customer in every 15 day
so how to do this
is there any direct use in functional side
with out the help of any abap
but my user will do it
so he need a permanent solution
with regards
subratHi Subrat ,
u can upload the data either ( Master /Transaction) data with the help of lsmw. for that all u need to do is go through the lsmw and do it. in that u can go Batch input recording/ BAPI/ IDOC any of that. here i am sending the LSMW Notes go through it and do the work.
once u create the LSMW project then u can ask the data from user or u can explain the user about the program and can run the flat file to upload the data.
if u require LSMW material Just send me blank mail from u. my mail id is [email protected]
Reward if Helpful.
Regards,
Praveen Kumar.D -
Uploading Data from a Flat File
Hi
I am trying to Upload data from a Flat File to the MDS. I have a few questions on the Process.
a) XI would be the Interface, and one end would be a file adapter with the Flat File format. On the other end, which Interface should I use - ABA Business Partner In or MDM Business Partner In. I do not understand the differences between them and where should which one be used?
B) At the moment,I want to map the data to standard Object type, Business Partner BUS1006. This also has a staging area already defined in the System. Can I view the data which is imported into the Staging area ? How so ?
C) The struture (or data) that I wish to upload has few fields, and does not map to the BP structure easily. In such a scenario does it make sense to
Create a new Object type
(ii) Create a new Business Partner type with the appropriate fields only ..
What I need to know is if either of these options is feasible and what are the pros & cons of doing this, in terms of effort, skillset & interaction with SAP Development ?
Kindly do reply if you have any answers to these questions.
Regards,
GauravHi Markus,
Thanks for your inputs.
I have tried uploading some dats from a Flat file to the Business Partner Onject type, BUS1006. I initially got some ABAP Parsing errors on the MDM side, but after correcting that, I find my message triggers a short dump - with the Method SET_OBJECTKEYS, not finding any keys in the BP structure that has been created.
Q1 - How do I get around this problem ? Is it necessary for me to specify Keys in the PartyID node of the Interface ABABusinessPartnerIn. or is it something else ?
Q2 - How is this general process supposed to work? I would assume that for staging, I would get incomplete Master data or data from flat files, which need not neccesarily contain keys. The aim is to use the matching strategies in the CI to identify duplicates and consolidate them.
Thanks in advance for your reply.
Regards,
Gaurav
Maybe you are looking for
-
I have a Mac Book with OS X 10.4, i.e., Boot Camp is not installed on the computer. I had Boot Camp installed and was using Windows, but it crashed, so I want to remove it and reinstall. I have downloaded the Boot Camp 3.3 drivers. Where do I go f
-
Orginizer in Elements 12 puts Music and photos in same folder?
Why does the orginizer put my music files and photo files in the same folder. The file it is in is all media but shouldnt there be a music folder as well or do I have to go in and manually select each of my music files and put them into a sepeate fol
-
Satellite M70 - Can't install from recovery disk
Hi, I had to remove the HDD from Toshiba Satellite M70 to use it on my Compaq laptop (Compaq HDD crashed). I had to install XP and other stuff after creating 2 partions and used it with Compaq Laptop without any problem. Now I got a new HDD for compa
-
Can't install fonts in user/library/fonts folder
I have a problem which has a number of different symptoms (I presume they are related as they all started at the same time): I can't install any fonts into my user/library/fonts folder. Or, rather, I can install them but they vanish about five second
-
Pls explain me about 0BPARTNER_ATTR
Hi All, I have a data source - 0BPARTNER_ATTR.( below fields are in the data source) In that I have fields like Category Role Type Title First Name Last Name My requirement is , I want to extract only the ab