File Adapter is not picking few files

Hi All,
I am facing some issue in file adapter. Below are the possible file format that we need to pick.
File format sample 1:
865|FieldOrder|AK|620005168|1|Reject|Line Qty can not be Canceled,xyz,abc|The line has been shipped,fgh,hjk
File format sample 2:
865|FieldOrder|AK|570000259|10|Accept|
- All the fields are separated by '|' & last filed is terminated by 'eol'.
- The last two fields (C7 & C8) also have sub fields separted by ',' as shown in sample 1.
- Fields C7 & C8 are optional. (Sample 2 is shown above)
- File contains only one record.
We are using below mentioned XSD which is working fine in case of sample 1 as shown above. When we have a file of format like sample 2 then file adapter is failing to pick the file. I also tried minoccur='0' attribute which also not worked. Please help me out to find the exact XSD which will pick both type of formats (sample 1& sample2).
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
targetNamespace="http://us.fujitsu.com/865_EDIFile"
xmlns:tns="http://us.fujitsu.com/865_EDIFile"
elementFormDefault="qualified" attributeFormDefault="unqualified"
nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
<xsd:element name="Root-Element">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Root" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C1" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
<xsd:element name="C2" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
<xsd:element name="C3" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
<xsd:element name="C4" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
<xsd:element name="C5" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
<xsd:element name="C6" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|" nxsd:quotedBy='"'></xsd:element>
<xsd:element name="C7">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C7_child" type="xsd:string"
nxsd:style="array" nxsd:cellSeparatedBy=","
nxsd:arrayTerminatedBy="|"
maxOccurs="unbounded"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="C8">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C8_child" type="xsd:string"
nxsd:style="array" nxsd:cellSeparatedBy=","
nxsd:arrayTerminatedBy="${eol}"
maxOccurs="unbounded"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<!--NXSDWIZ:C:\Documents and Settings\rastogvi\Desktop\cap.txt:-->
<!--USE-HEADER:false:-->

Hi,
>>2) Even for those few picked files, why are we seeing less no. of Idocs
than the file contents.
Check the mapping by using the payload from SXMB_MONI. I think the mapping is not correct.
>>3) Why is the adapter always picking files immediately even if a poll
interval is set.
Once the objects are activated in ID the channel picks the file immediately and then it waits for the polling interval and repeats the process.
Regards,
Jai Shankar

Similar Messages

  • Sender File adapter is not picking up file

    Hi,
    I am usning the sender file adapter to process a file through FTP. Adapter does not pick up the file, however it recognise the file, as it appears in the error message. Below is the text of the error message:
    <i>Could not process file '<b>filename</b>': com.sap.aii.adapter.file.ftp.FTPEx: 550 toSAP: No such file or directory.</i>
    I am not sure yet whether this file is <b>read only</b>. Can read only file not be processed in FTP ?
    Thanks

    Hi, I have the same problem. In advance, we can see in FTP Server log that CWD command it is called twice, for example :
    00:00:59 10.15.64.187 [4669]USER MDM 331 0
    00:00:59 10.15.64.187 [4669]PASS - 230 0
    00:00:59 10.15.64.187 [4669]CWD MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready 250 0
    00:00:59 10.15.64.187 [4669]CWD MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready 550 3
    00:01:59 10.15.64.187 [4669]QUIT - 550 0
    If we create a directory MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready into the first directory Ready where it is positioned with first cwd , its works !!
    First CWD is called for read file an seccond for processing, somebody knows because this behavior ?
    Best Regards
    Claudio Maino

  • JMS sender adapter is not picking up message from MQ

    Hi Experts,
    I have configured the JMS sender adapter for getting message from Websphere MQ. In RWB the adapter and the communicaiton channel all looking good. The trace file tells me the connection to the queue has been established.
    But the problem is this JMS sender adapter is not picking up message from the Queue defined on the MQ site.
    Any Idea what could be wrong?
    Thanks!
    Jason
    Jason

    Hi,
    1) Can you activate the JMS adapter again ( edit save and activate it )
    2) Check whether the right Queue is addressed.
    Regards
    Agasthuri Doss

  • Sender file adapter is not picking the file from windows server

    Hi Experts,
    We have a sender file adapter running on Unix server. Now we have changed the source directory path from Unix to Windows in file access parameters.  It is not picking the files from windows directory and not showing any error.
    In this scenario, input file for sender adapter is *.xml and no content conversion.
    Could any one please let me know is there anything needs to changed in file adapter.
    Thanks in advance,
    Sridhar. M

    Sridhar,
    What do you have in the directory path?
    If it is a shared drive in unix then the directory in windows should also be a shared drive from XI system. Else if it is FTP check the address.
    Regards,
    ---Satish

  • MRP Job not picking 'few materials'

    Hello,
    I am facing strange issue. We have been  running MRP daily job (since July09) for few MRP controllers.
    We have found that system is not selecting 'few materials'...
    One of the mateial ABC has not been selected since 29th Aug and other XYZ since 2nd of Sept...
    But User has converted the Planned order to PR on 2nd and 3rd Sept respectively....
    Whereas when I displays the results for MRP run (MD03)for these materials it does shows the PR.
    But MRP job does not picks these....
    Even I changed the 'processing indicator' 'ON' but it did not work.
    Please suggest any possible causes.
    kind regards,
    JPS

    Hello DB49,
    I did run MDAB then MDRE and then MRP run for MRP controller ;Material belongs to...
    But No results; MRP run did not pick the ABC material.
    Even I have set the 'display list' parameter during MRP run but it did not pick material in question....
    Any Idea, When I try to create planning file manually MD20.....
    And select any of the 'check box' it says "The material ABC has been marked for the MRP run"
    Please suggest...
    ======================MDAB=============================
    Number of set planning file entries:          0                              
    =======================MDRE===================
    Plng file entries for operational planning run:                       
    No. of deleted panning file entries:          0                                                                               
    Planning file entries for long-term planning:                                                                               
    Complete statistics:                                                  
    Plng file entries for operational planning run:                       
    No. of deleted or changed planning file entries:          0                                                                               
    Planning file entries for long-term planning:                         
    No. of deleted or changed planning file entries:          0                                                                               
    ==================MRP run for (MRP controller; Material belongs to)====================
    regards,
    JPS
    Edited by: Bhatti JPS on Sep 10, 2009 9:30 AM

  • DB Adapter: Message not picked up

    Hi,
    I have an iConnect 10g working fine with the FTP adapter. Messages come through no problem. But now I'm trying to use the DB adapter to publish a message. I have the adapter running and cannot see anything wrong in the logs, but whenever I create and publish a message (and commit afterwards) I can the message appearing in the MESSAGEOBJECTTABLE and the AOTABLE, but the adapter doesn't pick it up.
    What can cause this?
    Arjan

    Hi,
    Did you see any errors in the DB adapter log file? Connection errors?
    What is your logging level on the adapters set to? In the adapter.ini file, set the "agent_log_level=2".
    Merlin is correct regarding when your DB Adapter message is not published.
    Some other checks to make are these:-
    Log on via SQL*Plus to your publishing database, connecting to the OAI user (usually OAI/OAI) and do:-
    select count(*) from oai.aotable;
    and
    select count(*) from oai.messageobjecttable;
    If there is the same number of records on there, and your publishing adapter hasn't pick them up, then run this:-
    select APPLICATIONTYPE from oai.messageobjecttable;
    This should be the same as your publishing adapter name.
    Hint: in adapter.ini check the entry for "application= "
    e.g.
    // Application (as created in iStudio) that this Adapter corresponds to.
    application=DB1
    If they are different, or if APPLICATIONTYPE is null, then this is caused because you need to specify the "srcAppName" when you call your publish
    procedure.
    If you send me a mail to [email protected] I'll send you a complete worked, yet simple, DB Adapter to DB Adapter example and code which may help you.
    Rene,
    It is worth noting that ordinarily, the OAI schema has absolutly nothing to do with a subcribing DB adapter. The OAI schema contains the AOTABLE and MESSAGEOBJECTTABLE (MOTABLE), and the AGENT package which creates the message for the publishing event. That is it. The OAI schema does not usually "consume" the subcribed message, and therefore should never end up in the AOTABLE or MOTABLE.
    The target schema to where the subcribed DB message will be posted to is the schema you will define in the DB Adapters "adapter.ini" file.
    Specifically the entries below this line in your adapter.ini
    // Application (spoke) database schema #1 writer information
    Do you have any errors in your log files? The message cannot have just disappeared. Your FTP Adapter must be throwing an error somewhere, or your DB Adapter must be complaining.
    Please can you check you log files for both adapters. If there are any strange errors let us know.
    What type of document are you trying to publish using the FTP Adapter? XML? D3L? If XML, then check out the post "istudio publish event & xml ftp adapter" on this forum.
    Again, if you drop me an email, then I can send you my DB Adapter to DB Adapter example which may help.
    Yan

  • SOA 10g JMS adapter does not pick up large messages in Oracle AQ

    I am using SOA 10g 10.1.3.4 MLR #9. When I enqueue a large JMS message ( of type SYS.AQ$_JMS_TEXT_MESSAGE ) into the AQ from SOA 11g it goes into the TEXT_LOB portion of the USER_DATA column in AQ. In addition to this GROUPID and GROUPSEQ do not seem to get set. When that happens, my JMS adapterfrom SOA 10g does not seem to dequeue the message. But if I enqueue the same message using sql and set the GROUPID and GROUPSEQ my JMS adapter from 10g picks up the clob message.
    How do we make the 10g adapter always pick up the large message in TEXT_LOB? I don't have this problem when the message is small because it goes into TEXT_VC field instead of TEXT_LOB field.

    We are having this problem and have not figured it out yet. We need help. An oracle SR is opened but no progress from Oracle yet. I need to get some traction on this so anyone's help is appreciated. Our suspicion is that the AQ client in the wls 10.3.1 is incorrectly choosing to put the xml payload in TEXT_LOB even though the character size is less than 4000.
    Here is a summary of our observations....
    Today we did some testing with our old 6.3.1 OSM environment and our new 7.0.2 environment. We tested each against our QA1 environment and then our QA2 environment. Scenrio 1 is our problem. Scenario 2,3,and 4 all behave similar to each other. Why does Scenario 1 behave differently. It is causing AIA a problem when it dequeues the message.
    Scenario 1:
    We pointed our 7.0.2 OSM/Weblogic 10.3.1/Out of the Box AQ (which is part of our QA1 environment) to send messages to the AIA AQ table in our QA1 environment. The AIA database uses ALT32UTF8 character set. We don't know what character set the 7.0.2 OSM/Weblogic/AQ uses. Wehn we sent messages to the AIA QA1 table we saw that everything under TEXT_LEN 1000 went to TEXT_VC, Over 1000 went to TEXT_LOB. This is causes AIA to throw an exception if the message is over 1000 when it dequeus the message, because it thinks it shoudl look in the TEXT_VC which is null for AIA.
    Scenario 2:
    We pointed our 7.0.2 OSM/Weblogic 10.3.1/Out of the box AQ (which is part of our QA1 environment) to send messages to the AIA AQ table in our QA2 enviornment. The AIA database uses UTF8 character set. We don't know what character set the 7.0.2 OSM/Weblogic/AQ uses. When we sent messages to the AIA QA2 AQ table we saw that everything under TEXT_LEN 4000 went to TEXT_VC. Over 4000 went to TEXT_LOB. This is fine for us.
    Scenario 3:
    We pointed our 6.3.1 OSM/Weblogic 9.2.1/Custom AQ Solution (which is part of our QA2 environment) to send messages to the AIA AQ table in our QA2 environment. The AIA database uses UTF8 character set. We don't know what character set the 6.3.1 OSM/Weblogic/AQ uses. When we sent messages to the AIA QA2 AQ table we saw that everything under TEXT_LEN 4000 went to TEXT_VC. Over 4000 went to TEXT_LOB. This is fine for us.
    Scenario 4:
    We pointed our 6.3.1 OSM/Weblogic 9.2.1/Custom AQ Solution (which is part of our DEVINT1 environment) to send messages to the AIA AQ table in our QA1 enviornment. The AIA database uses ALT32UTF8 character set. We don't know what character set the 6.3.1 OSM/Weblogic/AQ uses. When we sent messages to the AIA QA1 AQ table we saw that everything under TEXT_LEN 4000 went to TEXT_VC. Over 4000 went to TEXT_LOB. This is fine for us.

  • JMS Adapter is not picking messages from Topic ( AIA Error Notification)

    Hi All,
    One of my service is not picking messages from topic. This service was working in one environment but not working in this environment.
    I am using AIA 2.5 and using AIAErrorNotification.
    Service AIAAsyncErrorHandlingBPELProcess is enquing the message but consumer service AIAReadJMSNotificationProcess is not being invoked automatically.
    Whenever we are manually invoking this service, then this service is dequing messages from topic.
    Is any have any clue for this?
    Thanks in Advance.
    Edited by: vikky123 on Dec 22, 2010 1:46 PM

    Increase Log level for cube.activation to debug and check the logs by stopping & starting the activation agent(I mean Retire and activate the process) .. It should give a clue on what's happening..

  • XI Adapter Engine Not picking the data from FTP Server ?t

    Hi All
    We have upgraded oracle in our landscape
    from 10.0.2.0.2  to 10.2.0.4.0
    we have Redwood System , which runs the interfaces
    Redwood initiates Our Satellite  XI  system to pick  the data from the ftp server
    but after the upgrade , it is not able to pick the data from the ftp server .
    when checked in the Satellite XI Adapter engine getting following error
    "XI Engine Error occurred while connecting to the ftp server  java.net.socketException:Connection Reset"
    but we are able to ftp from Satellite XI Adapter engine to  ftp  system manually  but why Satellite XI Adapter engine is not the
    picking the file (ie data) from the ftp server.
    Immediate Response  is highly appreciated
    Regards
    Edited by: sidharthmellam on Nov 23, 2009 11:54 AM

    Hi Sidharth,
    Please give me the FTP connection parameters mentioned in the channel.
    Did you try stopping and starting the channel ?
    If not please stop and start the channel.
    Also catch the default trace and paste it.
    Cheers...,
    Raghu.

  • Sender File adapter not picking the file ABCD.PRN extension file

    Hi
    Am doing File to Abap Proxy scenario. My source will be in text format of fixed length of fileds 7.
    My souce file will be generated by a third party machine with the extension EEE150809.PRN. In my scenario my file adapter should pick the file and update the same in ECC via a Proxy.
    I have configured the Sender File adapter with Message Protocol -  Content Conversion but file adapter is not picking the file. I have checked the Communication channel and status is fine. But the same Communication Channel works for .XML file.
    What are the parameters that I have to consider with the file extension .PRN using File adapter?
    Thanks.
    S.

    Hi Swarna,
    You dont need to worry about the extension when picking the file. You can try using EEE* so that is picks all the files starting with EEE. If you have the fixed name then you can try giving EEE150809.*. Also EEE150809.PRN should not have any issue. Try to see in sender commu ication cahnnel for anyerrors. Probably there might be some network issues or authorisation issues. If you are reading with NFS then ask them to give necessary permissions. If you are reading through FTP check the user id and pwd you are using.
    Regards,
    ---Satish

  • File Adapter Not picking the files

    Hi All,
    We have a process wherein the file adapter picks up the file from a particular location and it processed thereafter. We get the files once every month. We noticed that if the files that are being dazzled are of the same, i.e if the same nomenclature is there for the file that was dazzled the previous month, the adapter does not pick up the file. Only after renaming the file, it picks the file and processed them.
    Any idea why the files that are dazzled with the same name are not being picked up.
    Thanks in Advance...!!

    Hi,
    While configuring file adapter to pick up the files cross verify with file name putting in the directory location against the
    "Includes files with name pattern" "Excludes file with name pattern" file name..
    let say if u kept .*txt if picks the files txt with any name and one more think once after picking up the file from particular location are u enabling (delete file once read) option in configuration(It all depends on ur req)..
    cross check the schema element of the file pattern.

  • SAP MDM Adapter not picking up files in Ready folder on MDM

    Hello Experts,
    We are sending master data from MDM 7.1 system via PI 7.1 system to SAP ECC system. The Sydnication from MDM system is automatic and the files are being syndicated successfully from MDM system and getting dumped in the Ready folder of the port.
    But the Sender MDM PI adapter is not picking up the files from the folder.
    The communication channel status in Communication channel monitoring is green and 'data control' is Automatically.
    However the file is getting picked up if we stop and then start the channel but not automatically.
    Please Help!
    Thanks,
    Suraj

    Check if there are locks for the file channel in NWA. If yes, unlock that and your issue should be resolved.
    Login to NWA --> Operation Management --> Systems --> Start & Stop --> JAVA EE Services --> check for File Connector, Locking Adapter and XPI Adapter: File.

  • NFS Adapter not picking up file

    Hi Guru's,
    Scenario is File(NFS)  to File(FTP) without using repository part.
    The NFS directory name has been maintained correctly. File name is also correct. Channel is active. Checked in RWB also.
    All configuration settings are fine. But NFS adapter is not picking up the file and also not showing any error.
    Tried following thing but not working
    1) Manually deactivating and activating channel in Directory. 
    2) Stop start channel in Communication channel monitoring.
    3) Put exact file name in Communication channel.
    4) Testing mode changed from Delete to Test and again test to delete.
    5) File type binary to text.

    Hello,
    Verify the below mentioned points:
    a. Is the file adapter locked? ....Visual Admin (till PI7.0) or NWA(for PI7.1 and above) . Entry comes as $XIAdapter*
    b. Check permission / authorization to read/ delete the file?
    c. Adapter Services are active
    -Rahul

  • File not picked up strange problem

    Hi all,
    I am doing File to file tranfer .
    my source dir is AL11 and i am ftp the file to reciver system .
    I am encountering strange problem .
    Some times my file adapter pick the file  and tranfer the files sucessfull  and sometimes  it does not pick the file . i trying to pick same files always  i.e *.txt
    in RWB cc it show no error . it gives message  polling sucess but no message id in it .
    i tried to deacitve and active the adapter , but it is of no use .
    if anyone  faced this type of problem please reply
    Thanks

    Hi,
    Some times file adapter will not pick the file it will be strange u cant find any error regarding it..........i thnik u have proper authorization for AL11 because file adapter is picking the file...
    check the processing parameters what is the mode of trasfer is it test or delete.....
    better to have NFS at both the ends or take NFS at sender side...
    Regards,
    Phani

  • File Adapter is not polling File.

    Hi All,
    I am using file adapter to poll a file. When I am restarting server then it is picking file. After then when I am dropping a file then File Adapter is not picking File.
    Can any one guide me what si problem?
    I am using SOA SUITE 10.1.3.4
    Thanks in Advance.

    First clusterGroupId is a unique value. Do not use the same clusterGroupId across different adapters even in different process.
    Once clusterGroupId is defined, the multiple activations of the same adapter Activation Agent is to be detected implicitly and automatically by all the instances of the adapter framework active in that cluster. The cluster will allow onlye one node activation to start the reading the files/messages. The adapter framework instances chooses one among multiple nodes, randomly to assume the Primary Activation responsibility. The other activations (instances) in the cluster will initiate to a hot stand-by state, without actually invoking EndpointActivation on the JCA resource adapter.
    If a primary activation at some point becomes unresponsive, is deactivated manually or if it crashes/exits, then any one of the remaining adapter framework members of the cluster group will immediately detect this, and reassign the primary activation responsibility to one of activation agents standing by.
    This feature uses JGroups underneath for the implementation, hence the clusterGroupId property. These features require cluster and JGroups configuration in collaxa-config.xml and jgroups-protocol.xml. All BPEL instances participating in the cluster must share the same cluster name in collaxa-config.xml,and the same multicast address and port in jgroups-protocol.xml.
    As far as for this issue, I too face the same across diff environments and searching for the exact reason. I believe this happens when primary activation agent crashes, the hand-over to the other node is not happening properly through jgroups.
    Nirav

Maybe you are looking for

  • The need for Speed - my setup

    I have been using Lightroom since version 1 and have recently upgraded to version 3. As many have reported, version 3 needs more CPU speed for rendering so I have modified my workflow to get maximum speed. Until recently I had a Dell M65 Notebook wit

  • How to view Pre requisite for a transport request

    Hi All, We want to release multiple transport at one go. Now, in that there are related developments so that one particular request should go first and then the other related request should follow. I want to know how is this achieved? Is it done by c

  • Can I get some help for a really weird problem? Song always skips to beginning.

    I have a song on my iPod that always plays the beginning part of the song, no matter where I am in the song. If the song is 3 minutes long and I go to 1:50 on the time meter it will still play the beginning part of the song, even though the time mete

  • HTTP server: ORDS or Tomcat or Apache

    Our current APEX configuration uses Oracle OHS with mod_plsql on Linux. In this situation, it is clear that the browser connects to OHS, makes a HTTP request and OHS hands that request to the APEX engine in the Oracle Database via mod_plsql which sat

  • Track Changes in Moving Average Price

    Dear Experts , I have a material , the MAP for which has changed drastically from Rs 10 to Rs 123 over a month I need to check the changes in MAP of the same . How an this be done ? Is there a std report for the same ? Regards Anis