FileScenario
Dear Expertise,
I have the following scenario.
<u>Requirement</u>:- A set of files from source system are to be transferred to target system in sequential manner.
In source System we have set of files. Let us assume the filenames are as follows:
C:\POH12345.xml ( POH stands for Purchase Order Header file )
c:\POD12345.XML ( POD stands for Purchase Order Detailed file )
c:\POC12345.XML ( POC stands for Purchase Order Control file )
c:\POH78901.XML
c:\POD78901.XML
c:\POC78901.XML
c:\POH34567.XML
c:\POD34567.XML
c:\POC34567.XML
Now the scenario has to pick up a file name starts with POH* and process its corresponding files like POD and POC. Its corresponding files are identified with the suffix five digit characters 12345.
Say suppose, in the first iteration of POH* if the file C:\POH12345.xml is processed then its corresponding files POD12345.xml and POC12345.xml are picked and transfer to target system.
If files exists, then transfer the files to the target system in the below order:
c:\POC12345.XML
C:\POH12345.xml
c:\POD12345.XML
Summary:
In source system, the files are placed in this order:
C:\POH12345.xml
c:\POD12345.XML
c:\POC12345.XML
c:\POH78901.XML
c:\POD78901.XML
c:\POC78901.XML
c:\POH34567.XML
c:\POD34567.XML
c:\POC34567.XML
In target system the files should placed in this order:
c:\POC12345.XML
C:\POH12345.xml
c:\POD12345.XML
c:\POC78901.XML
c:\POH78901.XML
c:\POD78901.XML
c:\POC34567.XML
c:\POH34567.XML
c:\POD34567.XML
<u>Validation</u>:-
While processing the POH file, its corresponding POD and POC files are checked for existence. If the corresponding files are missing, we should do nothing.
Is this scenario possible in XI.
Please Help me out.
Thanks
Gujjeti
Try this
When these files are created in a sequel manner, use a FILE NFS adapter.
Set the property processing sequence to by name
Rename the files on the source side before the processed by XI and target side after XI has processed the messages. To do this use your property command line.
The files:
POH12345.XML
POD12345.XML
POC12345.xml
Will be renamed to
POH12345.XML -> POB12345.XML
POD12345.XML -> POC12345.XML
POC12345.xml -> POA12345.xml
And will be processed by XI in the order
POC12345.xml -> POA12345.xml
POH12345.XML -> POB12345.XML
POD12345.XML -> POC12345.XML
Then rename the files back to original names, so rename
POA12345.xml -> POC12345.xml
POB12345.XML -> POH12345.XML
POC12345.XML -> POD12345.XML
Similar Messages
-
Help needed for file to file communication
Dear all I am working on file to file adapter in XI 3.0 . I tried to different waysof flat file location C:\ and C:/ I am not soure witch one is currect and any time i am getting NO MESSAGE FOUND ! error in SX_MONI.
and
Any one have step by step clear procedure for File to File Adapter SAP XI 3.0.
Thanking U,
<b>Murali</b>.Hi Murali,
first we need to uderstand how to do content conversion ( to convert flat files to xml format ) for which u can go through the following links :
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
http://help.sap.com/saphelp_nw04/helpdata/en/89/90fd3f0521c842e10000000a1550b0/frameset.htm
then file to file scenarios:
/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
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
http://help.sap.com/saphelp_nw04/helpdata/en/43/25112ab6140b25e10000000a1553f6/frameset.htm
Configuring sender file adapter:
/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
Configuring receiver file adapter:
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
going through all the given links you will not have any problems doing a file to file scenario with any constraints.
Regards,
abhy -
How to add header line in a file from XI system using file adapters
Hi All,
I need to add header line (Column names) in a file coming from XI system.
I am using file adapters.
Thanks & Regards,
Gaurav MittalThe Receiver File Adapter is configured, using the following settings:
1) Choose File Content Conversion as the Message Protocol.
2) You give the addHeaderLine parameter as 1
3) For the fieldSeparator parameter you need to give field separator for both list and substructure (referring to the data type above). For eg: it may be a , (comma) for substructure in a comma separated file.
4) The endSeparator parameter needs to given for substructure only. For eg: it may be a nl (new line)
5) Give the file name, the directory and the Construction mode. Activate all the settings. Receiver File Adapter with F.C.C. is configured.
please visit the blog.
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/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 -
FTP Adapter not picking flat file
Hi,
I am trying to upload a simple flat file using FTP adapter
I have done all the configuraion setings & mapping program as well. But when i used the tcode SXMB_MONI for monitoring, it says "no message available".
Plz help.
Ragards,
RajatHi,
Check these~
/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
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
Mark Helpful Answers
Hope this helps,
Regards,
Moorthy -
File Content Conversion i.e Flat file 2 Flat file
Hi guys,
I am new 2 SAP XI
and i am trying 2 do "Flat File To Flat File".
Input File contains following data:
Name:varun
Surname:rajaraman
Address:B-2
Employee no:8204
i.e Each Data is in separate Row.
Output File Should contain the following data:
I am varun rajaraman staying at B-2 bearing employee no. 8204.
(name,surname) (address) (Employee No.)
i.e data should be in a single row.
So, i have a problem of reading the data from input file i.e data from each row and transfering it into output file along with which i need 2 insert "i am " ,"staying at", etc.
pls tell me the procedure in detail.
Thanks and regards
santhosh rajaramanHi,
Check this links for file content convertion.
File content conversion sites
/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
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/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
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward Points if Helpful -
Receiver File Adapter - Content Conversion
Hi,
I don't quite get this:
I have a structure
<?xml version="1.0" encoding="UTF-8"?>
<AnElement1>
<AnElement2>
Bla bla bla
</AnElement2>
</AnElement1>
I want to convert this to a flat file with a line containing
Bla bla bla
In te receiver file adapter I define the following:
In the 'Content Conversion Parameters'
Recordset Structure : AnElement2
Name Value
AnElement2.addHeaderLine 0
AnElement2.fieldSeparator 'nl'
AnElement2.endSeparator 'nl'
This results in an Empty file each time indicating some error somewhere.
What am I missing?
Thanks
AndreHi Andre,
Just check the link <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm">File content conversion</a>
Also check out this web log <a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 to TXT</a>
Is there any error log shown in File adapter ?
Regards,
Keith
Message was edited by: keith thompson -
Problem in text file to xml 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,
when i click on this adapeter engine xiserver1, it is changing to green color,
if i double click nothing is happening as u said
but it is showing like this Central CCMS monitor not available
anyway i giving all my values in sender CC:
in sender communication channel
TP : FTP
MP: File content conversion
AE: IS
File access parameters:
sD: /praba_source
FN: xi_input.txt
FTP access parameters:
server: xx.xx.xxx.xxx
port: xx
username: xxxxx
password: xxxx
connection mode: permanently
transfer mode: Binary
Processing Parameters:
QoS: exactly once
poll interval: 60
Processing mode: Test
File type: Binary
Content Conversion Parameters:
Document name dt_outbound
Document namespace urn:xxxxxx
record name: record
recordset str: row,*
recordset seq:Ascending
key fiedl type: string(case-sensitive)
name: value
row.fieldNames: FirstName,LastName,MiddleName,City,Place,State,Country
row.fieldSeperator: ,
row.processConfiguration: FromConfiguration
row.endSeperator: 'nl'
my input file which i kept in source directory is xi_input.txt
content of this file (xi_input.txt) is
Samuel,J,Jackson,Lakefront Drive,Earth City,Missouri,USA
Kenny,m,George,North Beauregard street,Alexandria,Virginia,USA
my dt_outbound structure like this,
dt_outbound (complex type)
then lower element is record
then lower elemnt is row
then FirstName
LastName
MiddleName
City
Place
State
Country
anyway i pasted my sxd dt_outbound type
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:praba_flatfile2xml07"
targetNamespace="urn:praba_flatfile2xml07">
<xsd:complexType name="dt_outbound">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
2bc3c190404611dc88a3000423c7753d
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="record">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
35982b703f7911dc871cd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="row"
maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo
source="http://sap.com/xi/TextID">
359f57603f7911dcca2ed71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name="FirstName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57613f7911dc8d9cd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="LastName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57623f7911dca6e8d71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="MiddleName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57633f7911dcc31ed71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="City" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57643f7911dc8c7ad71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="Place" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57653f7911dca7dbd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="State" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57663f7911dcbd52d71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="Country" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57673f7911dca78ad71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema> -
Dear friends,
Hope I can solve my problem through one of you.
I am new to XI.
As suggested by many experts, I started FILE-XI-FILE.
I am able to complete total steps given by blog
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
. But I am not able to see the output file. Not able to forward single step in debugging this problem. Is there any way to start trouble shoot this problem? This is my first try after fresh installation. Is it because of any installation error ? OR do I need to do any settings after installation
Looking forward for your help.
Thanks
John KHi,
btw, are you using File Content Conversion ? If so problem may be in content conversion, This you can analyse step 2 mentioned here.
1. Check out the Adapter Monitoring-: i,e Runtime Workbench (RWB)-->Adapter Monitoring->Communication Channel Monitoring.. Look for the Receiver File Channel. If it is green and status shows message processed then ,if you did not get the output file, then there may be a problem with channel configuration or access permission etc. For this you can check Visual Admin..error logs.
2. If there is no error in step1 , then go to RWB>Message Monitoring>Message Display Tool and check for the message..It will help you to analyse the errors.
3. Also check the status of SXMB_MONI .
Rgds,
Moorthy -
File Content Conversion Parameters in FIle Adapter
Hi
I am doing a scenario - XML file to Text file using File content conversion parameters in Receiver File Adapter Channel.
I given FCC Parameters like:
DATA.addHeaderLine - '0'
DATA.fieldSeparator - ,
DATA.endSeparator - 'nl'
But im getting error in Receiver File Adapter as - fieldSeparator not specified.
i would be greatful if any one help me.
Regards
RajeshHi Rajesh,
There are lot of blogs which explain File Content Conversion in different scenarios:-
/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
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
I hope this helps.
Regards.
Praveen -
hi all.
sorry i got one doubt like
in my scenario iam sending data from two file senders to one bapi.
here the structure of body is sama for all records in file.
the file is having only body its not having header and trailer.
so i hjust want to know that whether i have to use file content conversion in file sendeer adapter to send the content of file to bapi.
waiting for u r reply.
regards.
seeta ram.Hi Ram,
If u r having a file that is text or csv. then u need to use Content conversion.
If it's a XML file then no need to use it.
Check these links
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
for content conversion
File-XI-File scenario and complete walk through for starters (Part1)
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
Introduction to (File-XI-File) scenario and complete walk through for starters (Part2)
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
For XML
Step by Step Guide: XML File 2 XML File scenario: Part I
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
Step by Step Guide: XML File 2 XML File scenario: Part II
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
Sachin
Message was edited by:
Sachin Dhingra -
Hi all,
I have a file-XI-file scenario.
In this scenario the Transport Protocol used is FTP.
The remote sender and the receiver system have Golden FTP server installed.
The xml file is getting properly picked from the sender system. The format of this file is:
<?xml version="1.0" encoding="UTF-8" ?>
<ns:file_mt xmlns:ns="http://namespace4BPM1">
<file_type>binary</file_type>
<file_name>input</file_name>
<file_ext>txt</file_ext>
<content_dt>
<firstname>neetu</firstname>
<middlename>k</middlename>
<lastname>gupta</lastname>
</content_dt>
</ns:file_mt>
But the reciever file adapter is giving the following error:
Receiver Adapter v1027 for Party '', Service 'Receiver_Service':
Configured at 10:21:05 2006-06-05
Last message processing started 10:21:35 2006-06-05, Error: Message processing failed with java.lang.Throwable: ftp access error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns:file_mt' found in document', probably configuration error in file adapter (XML parser error)'
The parameters specified in the receiver adapter are:
Connect mode: per file transfer
Transfer mode: Binary
put file: directly
file type : binary
I also tried sending the file after removing the structure 'ns:file_mt', but it gave the structure missing error message.
Pls if anybody could guide me as to what should be done.
Thanks in advance.
Regards
Neetucheck the document name in file adapter configuration channel and message type name of the interface and name space..both should have same name...
check thz blog for more inputs
/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
Go through them and cross check ur config.. -
File Content Conversion in Sender File
how to convert a fixed length flat file without end seperator sent to XI to a xml form?
Pleasegive me the idea of Sender Adapter configuration details (esp endSeperator)Hi,
For file content convertion if there are fixed lenth then no need to give the feildseperator,just give the fixed lenths for all the feild in FCC.
check below links for FCC
/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
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/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
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani.
Reward Points If Helpful -
Problem with File CC filecontent conversion
Hi,
all
iam doing file content conversion scenarion .
following this blog
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
file->file
in my CC
adapter type: sender
Transport Protocol:FTP
msg protocol:File Content Conversion
Adapter Engine:IS
FTP PARAMETERS
SERVER:*****
PORT:****
connection mode:per file transfer
Transfer Mode:Text
folder:**
name:input.txt(shall i give csv file here)
CONTENT CONVERSION PARAMETERS
Document Name: (my msg type)
Document name space:http:
DOument Offset:
Recordset Name:record
Recordset Namespace:
RecordSet Structure:row,*
Recordsets per message:
keyfield name:
keyfiled type:string(case-sensitive)
row.fieldNames
row.fieldSeparator
row.processConfiguration
row.endSeparator
thnx in advance
regards
kumarHi Kumar,
Yes the input file will be a csv file.
Document name will be your message type name.
For more details refer to this link.
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards,
Sudheer. -
Remove of quotes"' in the sender file adapter -- file content conversion
HI Guys,
MY source file is comma seprated file (,) in the file i had quotes" " for the data like
"5000543","0.00","03/04/2009",
is there any way i can remove the quotes in file content conversion
Please help me on this
Regards
SrinivasSrinivas,
This should not be a big deal, because your fields are separated by a comma. So you need to keep in mind like you are doing the content conversion for a csv file.
See this blogs for some information:
/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 the second blog 1345 there are parameters for content conversion. So similarly mention your conversion parameters in your sender communication channel. So after converting to xml your input fields have values like:
field1: "5000543"
field2: "0.00"
field3: "03/04/2009"
So all your field values has with "". Now you can use either standard replace funciton or a udf as given above and then it will remove the quotes and then you can map according to your requirements. If you think sometimes you can get quotes and sometime not in the file then you can use function like startswith or endswith along with exists and can map accordingly.
Regards,
---Satish -
Error at Receiver File Adapter
Hi All,
Mine is FILE (txt) to FILE (txt) scenario with content conversion.
No problem from SENDER FILE adapter.
No problem in XI pipeline processing.
Error at receiver adapter:
The eror is:.. 1.fieldSeparator is missing or 1.fieldFixedLengths is missing...
Though, I have checked at Receiver Adapter configuration that
*.fieldSeparator is properly filled.
There are no optional fields as such in the input file.
Thanks,
ShailyHi,
Check the links on FCC and compare what u have gave is correct or not.
/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
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/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
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if Helpful
Maybe you are looking for
-
Hp mini 110 fatal error CNU902222G
When i try to enter my bios, i am asked for a password, which i didnt put on there myself. The code it gives me is CNU902222G and i cant find anything on that code. How can I bypass it and fix the issue. This question was solved. View Solution.
-
Dev and Production BW systems not in sync.
Hello All, We have been using two BW systems for our implementation project. One is the development and second one is production BW system. I observed that few BW objects have different configuration (like update rules, user exits, queries , web temp
-
Dear sir, I am using forms 6i and oracle 9i. I have 2 blocks Master Block_a invoice_no - database item invoice_date ( not a database column ) Search button Details Block_b invoice_no - database item invoice_date - database item My master and details
-
How to get image in the matrix column.
Dear All, I am using an add-on for displaying image in a matrix column. When user selects an item in the matrix, image corresponding to that item should be displayed in the matrix column. How can I do that.? Please help me regarding
-
Cisco UCCX 9.x Web Chat integration with Siebel
Hi, I have a requirement to configure and integrate Cisco UCCX 9.x Web chat with Siebel. Do anyone have any good documentation/guides on configuring Web chat on UCCX aswell as integrating it with Siebel? Thanks KMS