File Adapter with out CC
Hi All,
I need to FTP a 20 MB csv file as_it_is without any translations. How can i do it without file content conversion.
1. If it is a XML file There is no problem.
2. I tried dummy interface(Like no objects in Repository), it is good for upto 6 MB.
Thank you
Ganges Leaves
Hi,
If you just need to pass the file using FTP protocol with no mappings etc. all you need is to create a FILE-FILE scenario without mappings.
The use of FTP follows the specification RFC 959 The use of FTPS follows the specification RFC 4217.
transport protocol on the file communication channel will be File Transfer Protocol (FTP).
fill the comm. channel parameters according to the specifications given by SAP
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">File/FTP configuration</a>
If you have any other questions i'll be happy to assist.
Nimrod
Similar Messages
-
Acknowledgement from receiver file Adapter with out BPM
Hi Gurus,
I am trying to get Acknowledgement from Receiver file Adapter with out Using BPM.
Here is the scenario. I am sending files from different Sender Adapters. There is only one target that is File Adapter. After each successfull and failure transaction I need an Acknowledgement that needs to trigger another receiver adapter and send the the file name and timestamp to that file.
Hope this is a complicated scenario. Please help me.
Thanks,
Kevinfrom sap note 821267
6. Acknowledgements
* Q: Does the File Adapter support acknowledgements?
* A: You need to distinguish system acknowledgements (indicating that a message has been received by the target system) and application acknowledgements (indicating that the message has been successfully processed by the application on the receiver side).
The receiver of an XI message will only send an acknowledgement back to the sender if the sender has requested one. However, the File Adapter has no functionality that relies on the receipt of an acknowledgement, so it never requests one.
On the other hand, if a File Adapter Receiver receives a request to send an acknowledgement, it will do so for a system acknowledgement request. Application acknowledgements are not supported at all as the File Receiver has no way to determine if the written file has been correctly processed by the back-end application, which is what a positive application acknowledgement would imply.
this means that your requirement is ideally not possible without a BPM -
Same file name from sender to receiver file adapter with out using UDF
Hi All,
I am working on FILE TO FILE. My requirement is same file name from sender to receiver file adapter. Is it possible to do using only Adapter Specific message properties? i mean with out using UDF.
Thanks
KarthikHi,
>>>Is it possible to do using only Adapter Specific message properties?
yes
just enable Adapter Specific message properties in sender and receiver channel for file name
and you're done
Regards,
Michal Krawczyk -
Sender file adapter Adapter with out Key field
Hi All
i do have have a requirment ,Sender file adapter , for FCC but file is with out Key field
HEADER>
<DATA1>
<DATA2>
<DATA3>
<HEADER> file structure
<ITEM>
<ITEM1>
<ITEM2>
<ITEM3>
<ITEM
and the file si
'10001,20081902,US
10,soda,1
30,soda,4
40,soda,5
10002,20081902,US
10,steel,1
30,steel,4
40,steel,5
, and i need to identify the Header and Item using there lenght only , please anyone as idea abt this help meWhy to post the same question TWICE... in 30 min ? you don't like the answers ?
File content Conversion Issuse for a Sender File Adapter -
Sender File Adapter with file conversion
Hi guys,
Im using a Sender File adapter with file conversion. The message to be processed has a structure with fixed lengths and in your content are some values that needs to be ignored.
An example:
value1 <b>value2</b> value3
I want to ignore <b>value 2</b> but I cant find a parameter for that! Do I need to define dummy fields on my data type and ignore those fields during mapping? Or there is a specific parameter for that?
Thanks in advance,
Ricardo.hi,
there always is another way:)
you can import the whole line to one field
and cut it inside the adapter module
(then you can define start and stop of the substring that you need to use)
but of course it's not standard even though it's quite easy to achieve in java
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
File to Web service (SOAP) to File scenario with out BPM in PI 7.1
Hi All,
I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
PI server is 7.1 with SP:8
I have configured the scenario like this
1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
2) Created Sender Agreement
3)Created Receiver Determination
4)Created Interface Determination
5)Created Receiver Agreement
Regards,
RameshHi,
Thanks for your reply!!
My Scenario is File to SOAP to File.
Configred modules in Sender channal below:
Prcessing sequence:
Number Module Name Module Key
1.......... AF_Modules/RequestResponseBean.......1
2.......... CallSapAdapter..........................................2
3.......... AF_Modules/ResponseOnewayBean.......3
Module Configuration:
Module Key Parameter Name ParameterValue
1 passThrough true
3 receiverChannel receiverChannel name
3 receiverService receiverService name
please tell any more confiration requered.
Regards,
Ramesh -
Using File Adapter with Logical Name
I am creating a file adapter with Logical name. Apart from giving the Logical name is there any other configuration that I am suppose to do on the Web Logic before I start using it?
Thanks in Advance.After configuring the file adapter, all you need to do is , give the path as a value for the logical name which you have created earlier. That you can do on the file adapter property inspector. There is no need to do anything on the server level. Lemme know
Thanks,
N -
File Adapter with Content Conversion
Hi -
I am trying to convert a Flat file which has data as
firstnamelastnamecompanyName
Now i have created a message type which has a root name as Contact and its children are FirstName,LastName,Company.
And in the configurator i have created a file adapter with the content conversion, but being very new to XI i have never used a file adapter with content conversion. This is what i have in my Content Conversion Parameters.Please correct my code.
Document Name :: MT_Contact
Document Namespace :: http://venkat
Document Offset :: <i>i did not enter anything here</i>
Recordset Name :: RootNode(i gave this name just like that,,, Should it be something from the IR??
Recordset NameSpace:: <i>i did not enter anything here</i>
Recordset Structure:: Contact (this is the name in my IR
Recordset Sequence :: Ascending
Recordsets per Message :: Contact,* (Can someone explain what should be given here)
Then in the bottom in the name value pairs i have given
Contact.fieldNames = FirstName,LastName,Company
Contact.fieldSeparator = #
When i am using the above configuration the error i am getting in RWB is Error: Conversion initialization failed: Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
Format error in 'xml.recordset' argument: incomplete structure (name,number) pairInvalid 'xml.recordsetsPerMessage' value 'Contact,*' found
I am very new to XI and i am unable to understand what exactly each field means in the file adapter when the content coversion is used. Can someone take the pain of explaining them.
Thank you
VenkatHi,
Use the following to create an XML strucutre like this,
<MT_CONTACT>
<CONTACT>
<FirstName> </FirstName>
<LastName> </LastName>
<CompanyName> </CompanyName>
</CONTACT>
<MT_CONTACT>
DocumentName : MT_TEST
DocumentNamespace : Yournamespace
RecordserName : record
RecordsetStructure : CONTACT,1
In the table,
ignoreRecordsetName : true
CONTACT.fieldNames : FirstName,LastName,CompanyName
CONTACT.fieldSeparator : #
Go through the links suggested by moorthy and also these blogs to understand content conversion better,
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/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/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
Regards,
Bhavesh -
File Adapter with Conversion - XML with Hierarchy?
XI 3.0 (SP9)
We are using the inbound file adapter with conversion to convert a flat file that has header and line items. I would have thought that the data type should have been setup something like this:
<data type>
<header>
<item>1</item>
<item>2</item>
</header>
</data type>
Our flat file looks like this:
H12345
I12345
We have only been able to configure the file adapter to bring in the data like this:
<data type>
<header></header>
<item>1</item>
<item>2</item>
</data type>
What is the proper way to inbound data through a file adapter that has structure conversion like this?
Do all of the elements get put under the root node, or is there a way to build structure?
Do we need to build the data type to correspond with the exact way that the data will come in from the file adapter?
Thanks
PeterNot quite sure what you want to get, as the flatfile and xml structure does not contain the same values.
However, I will try to give you an example:
Your flat file looks like this:
H12345
I12345
If the first row is header and the next is a line, then you need to specify the fila adapter with the following:
Document name = datatype
Recordset name = recordset
Recordset structure = header,1,item,*
Recordsets per message = *
Recordset sequence = Ascending (need SP10 for this, but you do not need it for this)
Keyfieldname = id
header.fieldFixedLengths = 1,5
header.fieldNames = id,number
header.keyFieldValue = H
header.lastFieldsOptional = Yes
item.fieldFixedLengths = 1,5
item.fieldNames = id,number
item.keyFieldValue = H
item.lastFieldsOptional = Yes
This will create something like this:
<datatype>
<recordset>
<header>
<id>H</id>
<number>12345</number>
</header>
<item>
<id>I</id>
<number>12345</number>
</item>
</recordset>
</datatype>
Hoever, if both rows are "item" rows , then you need to specify the file adapter with the following:
Document name = datatype
Recordset name = header
Recordset structure = item,*
Recordsets per message = *
Recordset sequence = Ascending (need SP10 for this, but you do not need it for this)
item.fieldFixedLengths = 1,5
item.fieldNames = id,number
item.lastFieldsOptional = Yes
This will create something like this:
<datatype>
<header>
<item>
<id>H</id>
<number>12345</number>
</item>
<item>
<id>I</id>
<number>12345</number>
</item>
</header>
</datatype>
Q: Do we need to build the data type to correspond with the exact way that the data will come in from the file adapter?
A: Yes!
Good luck! -
How to use File Adapter with hierarchial Structure?
Hi,
How to use File Adapter with hierarchial Structure like..
Data:
--Header Details:
Line Item Details:
Data
Bcoz I am getting a Flatfile in a hierarchial way as shown below.
Header Details :1
Line Item a
Line Item b
Header Details :2
Line Item c
Line Item d
KishoreHey Kishore,
In order to create a structure you need to use the file with convertion mode on the sending communication channel of the file adapter.
check the link for the needed configuration paramters.
If the structure is more complexed you can use the Contetnt master(CM) from itemfield which allows to ceate XML file from complex flat files and more.
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm">File sender adapter</a>
If you have any question i'll be more than happy to assist.
Nimrod Gisis -
File-adapter with Dynamic Directory/Filenames in Header-variables
Hi,
I have looked through the file-adapter documentation. And it says that you can use wildcards/regexpressions/dynamic file and directory names using the file-adapter-wizard. Also you can use the header-variables to specify the file and directory names at run-time.
Is it also possible to use the dynamic names using the header-variables?
I want to create a process that I can give in the file/directory-names at run-time and that it will look for a file using the wild-cards to pickup. Since at run-time I often do not know the name of the file, since it might contain a sequence or date/time-stamp. But I do know the location and the structure of the file name (that is specified at config-time).
The same question for outbound: if I specify a name in the header-variables with forexample '%seq%' in the name, like 'filename_%seq%.XML', will it then create the file with the sequence?
Thanks in advance.
Regards,
MartienHi,
I've been trhough this document over and over again, but did not find anything on how to do it actually. But I found out that the file-outbound-header wsdl does not contain a directory element after generation by the wizard. But you can add it afterwards.
Also you can replace the location attribute in the jca:address element of the adapter-wsdl by mcf properties (host, username, password) and override them by copying the values to the partnerlink using bpelx:properties.
I planned to put the details in my blog.
Regards,
Martien -
XI 2.0 File Adapter with XI3.0
I am send a file from my pc to XI3.0,using an XI2.0 file adapter on my pc.
My problem is that I cannot get it to correctly generate the name spaces
<ns1:SALES_ORDER xmls:ns1="http://SALES_NS">
instead it generates:
<ns1:SALES_ORDER xmls="http://SALES_NS">
Am I missing a paramter in my file adapter properties file?
Thanks
PatrickHello,
We are also having similar type of problems. In our installation the log is at/usr/sap/<INSTANCE>/DVEBMGS00/j2ee/cluster/server0/log/services/com.sap.aii.adapter.file.svc
In the log file, I see
2004:11:11 10:12:12 : File Adapter Administration Intialized
No file adapter configured
Not sure why it says that no adapter is configured even though we have couple File adapters configured with Adapter status active and all the objects have been activated.
I would really appreciate if anyone can point out, if I am missing something that I am supposed do to other than J2EE File adapter service being run and Activating a Fileadapter in the Integration Directory.
Thanks -
Jdbc to file synchronous with out bpm
hi masters,
can u explain me the step by step of jdbc to file scenireo...... with out bpm ... but it is synchronous...
thanks in advance,
jp.Hi,
very useful one's
try them
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
Regards,
Vishal
Message was edited by:
vishal kharat -
Receiver file adapter with attachments.
Hi
I would like to pass a file receiver an attachment from a proxy. I have seen bits and pieces with attachments. I have read that its similar to the mail adapter.
In the module
localejbs/AF_Modules/PayloadSwapBean
module configuration:
Parameter Name: swap.keyName
Parameter Value: payload-name
Has anyone succeeded and would you explain the details?
Thanks in advance
IanHi,
As far as I know, receiver file adapters do not supprt attachments.
You can use the payloadSwapBean to swap the attachment and the actual proxy payload and then send it to the file adapter.
Don't think it will be possible to send both the attachment and the payload to the receiver file adapter though.
Regards
Bhavesh -
File Conversion in Rec File Adapter with subnodes
Hi
My XML Structure is like this -->
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_Test xmlns:ns0="urn:TESTconversion">
<MstName>Hello</MstName>
- <Header>
<TableName>1tst</TableName>
<PayDate>0102</PayDate>
<TotalAmt>24.00</TotalAmt>
<Total>000002</Total>
<PaySource>CHK</PaySource>
- <Subheader>
<TableName>1tst</TableName>
<SelectCatgry>test</SelectCatgry>
<CustID>200</CustID>
<PayAmount>11.00</PayAmount>
</Subheader>
- <Subheader>
<TableName>1tst</TableName>
<SelectCatgry>test</SelectCatgry>
<CustID>400</CustID>
<PayAmount>13.00</PayAmount>
</Subheader>
</Header>
- <Header>
<TableName>1tst</TableName>
<PayDate>0103</PayDate>
<TotalAmt>10.00</TotalAmt>
<Total>000001</Total>
<PaySource>ONE</PaySource>
- <Subheader>
<TableName>1tst</TableName>
<SelectCatgry>test</SelectCatgry>
<CustID>100</CustID>
<PayAmount>10.00</PayAmount>
</Subheader>
</Header>
</ns0:MT_Test>
which means
MT_Test is root 1..1
Header is the sub-node of MT_test as 1...*
Subheader is sub-node of Header which is also 1...*
rest of the fields are elements as 1..1
Now I need to convert this into Flat file using Receiver File Adapter, I gave this in my content conversion logic
recordset Structure -
MstHeader,BFKKZK,BFKKZP
MstName.addHeaderLine 0
MstName.fieldFixedLengths 8
MstName.endSeparator 'nl'
Header.addHeaderLine 0
Header.fieldFixedLengths 30,10,15,6,6
Header.endSeparator 'nl'
Subheader.addHeaderLine 0
Subheader.fieldFixedLengths 34,10,35,16
Subheader.endSeparator 'nl'
But with this I am getting exception as -->
Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_Test' found in document', probably configuration error in file adapter (XML parser error)'
I know that http://help.sap.com/saphelp_nwpi711/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm says following -->
The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes.
But does that mean Structure with sub-nodes cannot be converted in flat format.
Pls. suggest the solution for this.
- lalit -Shab
I resolved the issue & able to convert the hierarchical XML file into flat file with the desired format I wanted.
Rather then FCC, I use MessageTransformBean module and I have to insert more dummy contexts & dummy fields in the target structure in order to achieve the flat file format.
I am getting file ( not actual file below just template is shown below) like this now
Header1 ....details....
SubHeader1.1
SubHeader1.2
SubHeader1.x
Header2 ....details....
SubHeader2.1
SubHeader2.2
SubHeader2.x
Headerx ....details....
SubHeaderx.1
SubHeaderx.2
SubHeaderx.x
Once the total development is over on my side I will create the blog for this. So this following statement is only correct when you use protocol as FCC but not with module.
"The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes."
Thanks
Lalit
Maybe you are looking for
-
How can I use a song on the ipod for a ringtone?
Can I use any song on my iPod App on the iPhone for a ringtone?
-
Creating a new folder starts up import dialog box...
When I click the plus sign on the folders panel, it takes me to the create folder dialog where I can browse to the location of the new folder. Sometimes, after clicking OK, LR then starts up the import dialog box with a heap of images to import which
-
Migration assistant from windows to mac using Ethernet cable
I have just bought a year old MacBook Pro and have been trying to transfer date from my windows laptop to the mac using the migration assistant. The first time I tried this process it tried to do it via wifi and the information message stated it woul
-
Material request download error
Hello Experts, I am facing typical material download issue, please help me out to overcome this: - material number in ERP has lot of speical characters say e.g. - : = - DNL_CUST_PROD0 / PROD1 / PROD 3 / TAX all has bee done - Materials are already do
-
Annotations do not work in Reader for iOS (but do for Reader on other platforms)
I sell a book as PDF and it is encrypted against changing the contents, but annotating is allowed (highlighting, balloons). It turns out that most PDF readers work as expected. The ones that don't (and that I know of so far) include Apple's Preview.