File Adapter Issue

In file adapter Source system having 7 columns and Target system having 6 columns?
how to synchronise it?
Edited by: 995694 on Apr 5, 2013 9:33 PM

Did u mean, how to translate the content from source to target?
If that is the case, try using an XSLT transformation.
How are the 7 columns fitting on 6 columns? I mean, maybe 2 columns represent 1 at the Target? Something like that?
thx
best

Similar Messages

  • File adapter issue in Linux enviornment

    hi'
    I am deploying BPEL in Linux enviornment, and with the file adapter read operation I am reading a test.xml file this file is internally refering to emp.xsd (files are below), now the issue is the file adapter is reading XML file even if it is invalid, this was not the case in windows XP enviornment, please advice why it is behaving like this.
    Also the path of my XSD is "/home/wsfbpel/public_html/XSD" and the file has all read write permission (chmod 777 filename)
    XSD
    *<?xml version="1.0" encoding="windows-1252" ?>*
    *<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"*
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    *<xsd:element name="readfile">*
    *<xsd:complexType>*
    *<xsd:sequence>*
    *<xsd:element name="name" type="xsd:string"/>*
    *<xsd:element name="empid" type="xsd:string"/>*
    *</xsd:sequence>*
    *</xsd:complexType>*
    *</xsd:element>*
    *</xsd:schema>*
    XML (this is clearly invalid with respect to XSD it is refering to)
    *<?xml version="1.0" encoding="utf-8"?>*
    *<!-- Created with Liquid XML Studio Developer Edition (Trial) 8.1.2.2399 (http://www.liquid-technologies.com) -->*
    *<tns:readfile xmlns:tns="http://www.example.org"*
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.example.org /home/wsfbpel/public_html/XSD/emp.xsd">
    *     <tns:name>yatanveersingh</tns:name>     *
    *     <tns:empidname>6499</tns:empidname>* +(incorrect element name)+
    *</tns:readfile>*
    thanks
    Yatan

    Hi,
    My problem got resolved.
    There was some access issue to see the txt files at the File Directory.
    Thanks.

  • File Adapter Issue: Not functioning when used with BIC user modules

    Hi! ALL
    We have been experiencing issue with file adapter, when we SeeBurger BIC user modules in sender file - FTP communication channel.
    The regular FTP functionality is working fine if do not have BIC user modules defined under the module tab.However, when put in BIC user module parameters it is not picking up the file.
    Also, we do not see any error logs; even the communication channel monitoring does not show any error log....only show the polling interval success, without the file being picked up.
    This issue started appearing once we deployed our new sda file....as we changed our BIC mapping.
    We can try doing back to our previous sda file....to see it fixes the problem.
    But, before doing that ....we would like to know where the cause of this issue....Can you point us to any error logs we can find on the PI server.
    Your help is greatly appreciated!!
    Thank you,
    Patrick.

    If you configured your logging correctly you should find in the log folders
    ./applications/com.seeburger.jucon/
    ./applications/com.seeburger.bicxiadapter/
    Try to scan those for recent errors - if the no log files can be found you should check the defaultTrace.

  • Base64Binary OSB and File Adapter Issue

    Hi all,
    I am converting an xml to flat file after that i want to write the flatfile to a file using File Adapter in OSB.
    So using java callout we converted the binary content to base64 string and we are able to write the data using file adapter .
    But the file contains as extra line in between each line which my legacy system wont accept.
    I printed the base64 string in the output file and when i decode that file using the website as safe decode as text i am able to get the correct file.
    So where is the problem ? File Adapter ? Why i am getting extrace line in between each line . How to write safely using file adapter.
    If i use file transport of OSB i am able to write without any issues but i want to write dynamic location so i am looking for file transport of OSB.
    Thanks
    Phani

    Hi Anju,
    Thanks for the response . If i decode the base64 binary data using this website if i use Notepad++ i cant see an extra line in the notepad++ it showing as below
    Its a fixed length file 1 to 513 then next line so for the file transport it showing as below
    ISA ............................
    1 to 513 CRLF
    For file adapter it is showing as below in the same notepad++ editor
    ISA..........................
    1 to 513 CR
    CRLF
    an extra CR so an extra line .
    I used MFL and converted the xml to non-xml ( flat file fixed length file) for file transport i am i created another proxy message type Text .It is working fine
    Added to the above problem i have another few questions on the file transport
    How can append to an exiting file using File transport ?
    How to change the File directory dynamically ?

  • FTP/File adapter issue (polling one file at a time)

    Hi,
    I have come across an interesting scenario. I have a folder in which many files are placed at once (around 20+).
    In my adapter I need such a logic that whenever file adapter polls the directory, it should only pick one file, wait for the specified time (in PollingFrequency interval or maybe some other way) and then poll the next file. Right now it polls all the files in one go.
    Is there any property that I can use or any other logic that can help me achieve this?
    Thanks.

    Hi,  You can use MaxRaiseSize property. Set its value to 1.

  • Receiver File Adapter Issue

    Hi,
    I have a scenario like R3(IDOC)->XI(Mapping)->FTP(Content Conversion)
    I am trying to FTP a file across to a vendor's FTP server using the reciver file . adapter. The target filename is of the form %ABC%IJK%%b.However on posting the file i get a message like.
    An error occurred while connecting to the FTP server '<hostname>:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 200 Command Okay. ID: <userid>, Current TR - Recv: <userid>, APRF: *BINARY, Dir: S. Get option: single. '. For details, contact your FTP server vendor.
    It seems although the connection is established, the ftp put does not work
    Can anyone help on what is the cause of the error and possible solutions.
    Regards,
    Alex.

    There can be following things:
    - Target Dir is not present or you dont have an authorization to create it.
    - Check the Access to put the file in that directory.
    Check the same for other interface also. If other interfaces are running fine then try to put the file in that DIRECTORY for test purpose.
    Thanks
    Farooq.

  • File adapter issue - files not processed (file name mask is *)

    Hi guys!
    I have a problem I never faced before. My file adapter doesn't process files in the source directory. When I put there exact file's name, it is processed. But when I use * , nothing happen. This is very strange. I was wondering, if problem can't be in that my PI box is UNIX and it's accessing Win filesystem.
    Any ideas, what to try?
    Thank you!
    Olian

    Yes, but I meant the one directory we're working in. We can write, delete there, so we should be able also use wildcards,  don't we?
    However, I tried it on a directory with 777 attributes. There is a file named clooo.ttt. When I run del .ttt I get Requested action not taken, file unavailable. The same for clooo. , clooo*,...  But when I type del clooo.ttt, the file is deleted...
    Any suggestions?
    Olian

  • OutBound File Adapter Issue

    Hi,
    I need some help in configuring file adapters:
    Process: I have a inbound adapter where i am feeding 4000 - 5000 rows of data from a flat file. I use these records to query a database and get response. I have a outbound file adapter where I write database response to a file.
    Problem: I have set the, write new file to 100 records. But if there are 3950 records going to outbound file adapter, It is only writing 3900 records in the output file directory.
    I need to write all records to the file. Please help me achieve this.
    Thank You
    Anil

    Hi,
    the batching criteria (100) is not met.
    You could improve the bahaviour by setting "Elapsed Time Exceeds" parameter, but still, there are some probs because critaria is only evaluated on invocation (anyone has an answer to that?!):
    from Doc:
    Elapsed Time Exceeds: Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • FTP & Wildcards (File adapter issue) - asterisk not working

    Hi guys!
    We need to use FTP sender adapter and we need to pick up all files present in the directory. Normally we would use asterisk (*), but the adapter is not processing the files. It behaves like the directory would be empty.
    Do you use wildcards in FTP sender channel? Is it working for you?
    Thanx!  Olian

    Hey Olian
    >>worng file list generation
    whenever you give any wildcard character for filename first of all a file list is generated,this file list contains names of all the files in the source directory(if you have given *) or names of files which satisfy your selection criteria(if you have given?).
    once the list is generated then the files are picked up based upon the list.
    to me it looks that this list is not being generated and due to which you are unable to pick the files using wildcard.
    There could be other issues too but i m not sure about them
    Thanx
    Aamir

  • File Adapter Issue in SOA Suite11g

    Hi,
    I have been facing a strange issue while testing my BPEL process.
    I have a BPEL process which reads input as event listener and then does a small transformation
    At last its writing that output message into a txt file using FileAdapter.
    While testing the BPEL process, its showing success instance id but no files are generating.
    When I was checking at Audit Trail, its showing the output message is being passed into the FileAdapter.
    Same time I was checking the server log, but there was no error/exception.
    Can anyone help me to resolve the problem?
    Note:
    I have been using SOA Suite v11.1.1.4 & have configured FileAdapater with option of Logical Path
    Regards,
    Deba

    Hi,
    My problem got resolved.
    There was some access issue to see the txt files at the File Directory.
    Thanks.

  • File Adapter Issue - Don't wont polling

    I am trying to create a bpel process that takes user input and then as I continue the flow thru the process I get to a point where I want to read a file using the adapter, but I want the flow to invoke the partner link and not the adapter polling for the file. This is because the front end of this process will take user input (authentication) and then the page will upload a csv file to a directory. Then the process will take the input and write to DB, then poll the file and write to a different table. But I can't see how to disable polling and tell it to look for the file on demand.
    -WL

    Here is the exception I get on the Invoke of the fileAdapter.
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>file:/C:/OraBPELPM_1/integration/orabpel/domains/default/tmp/.bpel_BPELProcess2_2.0.jar/ReadCSV.wsdl [ Read_ptt::Read(Root-Element) ] - WSIF JCA Execute of operation 'Read' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.file.inbound.FileActivationSpec due to: ; nested exception is: java.lang.ClassCastException; nested exception is: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.inbound.FileActivationSpec due to: ; nested exception is: java.lang.ClassCastException</summary>
    </part>
    <part name="detail">
    <detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.inbound.FileActivationSpec due to: ; nested exception is: java.lang.ClassCastException</detail>
    </part>
    </bindingFault>

  • Receiving file adapter content conversion issue

    Guys,
    Could someone please help me with a Receiving file adapter issue?
    My output structure is something like this:
    Vendor_file_MT (occurence 1)
    --Recordset (occurence 0..unbounded)
    Vendor (occurence 1)
    Field1
    Field2
    Field3
    Field73
    Field74
    My content conversion is very simple:
    Recordset Structure: Vendor
    Parameters:
      Vendor.fieldFixedLengths   30,30,30, (...) ,1,27
      Vendor.fixedLengthTooShortHandling   Cut
      Vendor.endSeparator   'nl'
    If I don't do the content conversion, it works fine, I get all the fields in the XML format.
    When I do the content conversion however, I get multiple lines but only the very first field of each line.
    What could be the problem? What am I missing here? Any idea?
    Your help would be much appreciated.
    Thanks,
    Viktor

    Varga:
    Its little strange that its not working even after adding that.  Did you check the receiver channel in your RWB for any logs. Add the statement in my previous post and Also try to clear the Cache and activate the channel again..See if it works
    Glad it worked
    Edited by: Guru on Apr 21, 2008 3:15 PM

  • File Adapter Archiving Issue

    Hi,
    THe file adapter archives the file, it doesn't save the entire contents of the file in the archive folder, but saves the first recordset (row) only in XML format. Did any body face similar issue, and what's the resolution to archive the contents of the file, the way it was sent.
    Thanks
    Pandari

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • Production issue - Sender File adapter not picking up the files from folder

    Hi Guys,
    Ever since the upgrade from XI 3.0 to PI 7.1, we have come acrossinstances of weird error.
    Thsi time again - now the 3rd time - tandom basis, in our production PI server, we have teh file slying in the source directory folder in the server.
    I can see the files lying there in AL11.
    However, it looks like that the file polling has just stopped and the channel is going blank in channel monitoring.
    I have checked in SXMB_MONI and there are no messages since the morning.
    I have tried craeting a replica of the current channel but it is not working.
    This is teh production server and thsi has alraedy created production issues.
    I ahve checked in the SDN forum but am not able to find the details.
    Plaese help me.
    I am anyway going to raise the issue with SAP now.
    Regards,
    Archana
    <REMOVED BY MODERATOR>
    Edited by: Prateek Raj Srivastava on Jun 8, 2010 4:50 PM

    Hi Prateek,
    I have trying all sorts since the morning and then just checked teh file permissions.
    The file permissions were incorrect as compared ot the other files that were processed successfully today.
    Somehow the permissions were changed on the server and the interface channel was not able to poll the files.
    I got teh permissions changed back to 666 and all the files were pikced up in a minute.
    I got the folder checked and it seems like that the permissions were changed somewhere very early in the morning and we are trying to find out how it happened and who did that.
    However, another question i had - this sender file adapter was polling the source directory and deleting the files from there.
    I would have expected that if the channel had issues with the file permission because of which it was not able to access the file, it would have thrown an error something like the file permissions error.
    But there was not a single error in the channel monitoring.
    How can we configure it in a beter way so that we at least soem kind of error indication?
    Please advice.
    Regards,
    Archana

  • Sender File adapter Pooling interval & file Size issue

    Hi ALL,
    I have a file size of 400 MB to be picked to be the sender file adapter i am facing issue that the system is unable to even pick the file and place in the Q for Processing.
    1)we have no mapping no content conversion ....only pick the file from one loaction and place it in 3 different locations with 3 different names ...can any one help me in solving this .. ? the best workable method to achive this .
    2) this file is getting created once in a day .say 2 PM .so i can give the poll intravel to 24 hours ..but some times ..the file creation in server gets delayed ..but they cont wain for the next 24 hour to come for processing the file ..so my query is can we reduce  the poll intravel for 2 PM till  3PM hour for some 3 times ..and once it reches 3PM  it can poll as usual with a gap of 24 hour time ..
    thanks
    RK

    Hi Rupash,
    >>I have a file size of 400 MB to be picked to be the sender file adapter i am facing issue that the system is unable to even pick the file and place in the Q for Processing.
    Never use File adapter for picking large file (maximum size which I have seen it to work successfully is 200 MB)
    Instead go for Java proxies. Check this forum post for the discussion:
    Java proxy to use XI as a file mover
    Also if you want some more info on Java proxies refer these blogs and articles:
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    >>this file is getting created once in a day .say 2 PM .so i can give the poll intravel to 24 hours ..but some times ..the file creation in server gets delayed .
    You can do a availability time planning refer these links for more information:
    Planning Availability Times
    http://help.sap.com/saphelp_nw04/helpdata/en/45/06bd029da31122e10000000a11466f/content.htm
    Controlling a Communication Channel Externally Locate the document in its SAP Library structure
    http://help.sap.com/saphelp_nw04/helpdata/en/45/0c86aab4d14dece10000000a11466f/content.htm
    Regards
    Suraj

Maybe you are looking for

  • 401: Unauthorized when creating report data source in sharepoint 2010

    Hi All, I am getting 401: Unauthorized error when trying to create a report datasource in sharepoint 2010. Same login is able create to datasource in one system,, but only with one system it causing this issue. Is it system or browser issue ? Please

  • InDesign CS2 Book Function Tutorial/Guidance

    I've been working on a client's book. Started out as a 300-page document. Multiple sections with many chapters and of course photos and illustrations in each chapter. I've been working with it as one huge document. Then the client will send in a new

  • Inner Classes Allowed in EJBs?

    Can I not put an inner class inside my enterprise java beans? If not, why not? javax.transaction.TransactionRolledbackException: try to access class com.blueorchid.ejbs.WorkflowtBean$Dummy from class com.blueorchid.ejbs.WorkflowtBean; nested exceptio

  • I plug in my "older" iPod classic 80 gig. It will not register on my Macbook Pro to show it is even plugged in??

    I have not updated my iPod in a few years and usually have my iPhone 5 synching. I would like to update my music on my iPod - but it does not even register and I get a "bubble" coming up saying "USB DEVICES DISABLED - Unplug the device using too much

  • Problems recording Adobe Acrobat 9 with Captivate 4

    I am trying to put together an elearning lesson on Adobe Acrobat 9, using Captivate 4. I can record the screens just fine, but Captivate does not create ANY highlight boxes or click boxes. Just to make sure I wasn't losing my mind, or had my recordin