How to activate the File Adapter

Hi All,
   There is a strange problem that i am faceing now.
I am using a file adapter to push and pull the file. The problem is just before two days the file adapter was working fine but as the location for the file pushing(file location) was not correct , so it went in the HOLD status. I just cancle the queue to make it clear and then re processed the file .
The starange thing is that it is now not picking of the file , when checked the adapter monitoring, i found that the file adapter is in grey status saying "inactive Led : Component status is not defined "
  So also i dont found any item (communication channel) for file adapter.
Any idea from your side will be a great help for me.
Thanks in advance.
JAY.

Hi,
When you activate or deactivate the adapter, then its corresponding services in the J2EE engine become active and inactive.
If possible try to manually activate it. Or try to do some changes in your channel and activate it.
If still this problem persist, do full adapter cache refresh.
And finally restart J2EE engine if possible.
Thanks
Farooq
Edited by: Farooq Farooqui on Aug 25, 2008 4:01 PM

Similar Messages

  • How to customize the File Adapter to put the header line in a variable?

    I have a file in which the first line contains the number of records contained by the file itself.
    Like this:
    4
    record1
    record2
    record3
    record4
    where each record is a delimited list of values
    I need to validate that the records are actually 4.
    in the documentation of the File Adapter I see that you can declare the first line as "header", but I have the impression that in this case it would be simply ignored, and not stored in a variable for later use......
    Is this correct?
    Any trick or workaround?
    thank you soooo much!

    it worked like a charm,
    here is the XSD I have used:
    http://www.javamonamour.org/2010/12/soa-sutie-file-adapter-parsing-complex.html
    ( I don't seem to be able to display correctly XML in this post :o( )

  • How to register the File adapter?

    Hi All,
    While monitoring the communication Channel i got the status of file adapter as below ..
    if no adapter is registered ,then please provide the steps to register the adapters .
    Adapter name==>File_Receiver_NCG_BS2     
    Status==>n/a     
    Short Log==>No adapter registered for this channel
    Control data==>     n/a
    Business Service==>NCG_BS2
    Adapter Type==>     File
    Direction==>Receiver
    Message was edited by:
            nandan nd
    Message was edited by:
            nandan nd

    hi,
    Search for the file XI7_0_SAP_BASIS_7.00_09_00_2007-08-14_11-04.tpz( Dates may differ here)  in your instalable files of XI, then copy this file in D:\usr\sap\XAI\SYS\global\xi\repository_server\import
    Then go to IR in XI and in Tools there will be a option Import choose that.
    Regards,
    vikas

  • How to find the File name using the FTP Adapter

    hi all,
    how to find the File name using the FTP Adapter with BPEL.
    Regards

    Found the solution for this.
    First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
    In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
    Thanks for the posts

  • How to start a BPEL Process using the File Adapter

    Hi
    I would like to automatically start a BPEL Process when I store a file in a specific directory. Can this be done using the File Adapter?.
    Regards,
    Néstor Boscán

    Yes, there are samples of how to do this in the BPEL samples directory.

  • How can i pass the name of the file polled by the file adapter to next step

    Hi XI guru's ,
    How can i pass the name of the file polled by the file adapter to next step in a BPM..?
    regards,

    Use Adapter-Specific Message Attributes and map that value in udf to the BPM message.
    Also see this
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    Regards,
    Prateek

  • HT2731 How can I transfer photos from my Windows computer to my Ipad. I already have the photos transfered into a photo stream file. How to activate the transfer ?

    How can I transfer photos from my Windows computer to my Ipad.
    I already have the photos transfered into a photo stream file.
    How to activate the transfer ?

    Hey Juergen119,
    I would recommend syncing your photos from your computer to your iPad by using iTunes:
    iTunes: Syncing photos
    http://support.apple.com/kb/HT4236
    First, if you want to set it up to work via iCloud, I would check and make sure My Photo Stream is set up correctly on your devices:
    To use My Photo Stream you need an iCloud account, compatible devices, and up-to-date software:
    iPhone, iPad, or iPod touch with iOS 5.1 or later
    Mac with OS X Lion v10.7.5 or later and iPhoto 9.2.2 or Aperture 3.2.3 or later
    Apple TV (2nd generation) with Apple TV Software Update 5.0 or later
    PC with Windows 7 or later and the iCloud Control Panel 2.1 or later for Windows
    For complete iCloud setup instructions, visit How to set up iCloud.
    Then, once it is set up, you can upload your photos to My Photo Stream by following these directions:
    PC with iCloud Control Panel 2.0 or later: Open a Windows Explorer window and under Favorites select iCloud Photos if you are using iCloud Control Panel 3.0 (or Photo Stream if you are using 2.0 to 2.1.2). Open My Photo Stream. Click the "Add photos" button. Select the photos to import to My Photo Stream, then click Open.
    via: iCloud: My Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    Welcome to Apple Support Communities!
    All the best,
    Delgadoh

  • How can I read different files in the file adapter

    Hi,
    I have a scenario like file(content conversion and FTP) to Proxy and need to read 2 files which have different structures.
    The file structures is as follows.
    FileA.txt
    EMPID, Designtion,code,DOB,dept,deptID and 13 fields etc..
    FileB.txt
    officercode, dept,workspecs,FLAGarm,FLAGfoot and 27 fields etc.
    Both files needs to be read by the file adapter at same time and should send to the proxy to feed in ECC.
    Please help me in designing the above scenario with or without BPM.
    Thanks
    Manmadha

    Hello,
    Since u want to combine the two files from sender , you need to use BPM for it.
    First of all create Mapping. In your mapping program go to messages tab and add the two source messages types and in the target add the target message type. Come to your design tab and design the mappings.
    BPM:
    -- Insert Fork with two branches necessary condition. In first branch insert Receive step and check start process checkbox.
    --In second branch insert Receive step and check start process checkbox.
    -- Insert Transformation step after Fork branch step.
    -- Insert Send step [the outcome of transformation step needs to be send]
    Design the above structure, if you have any doubts, dp reply back.
    Best regards,
    raj.

  • Scheduling the file adapter

    Hi,
    i know that file adapter can't be schedualed, however my customer want to send me a message that a file has arrived and only then to wake XI to proccess it.
    I don't want to use BPM.
    Any thought of a workaround?

    Hi,
    I guess I have been seeing many requirements for 'scheduling XI messages' especially 'adapter-level scheduling'.
    'Adapter-level scheduling' ability is not currently available in SAP NW XI.
    What you can do is, make use of the 'Event-driven message processing' feature of SAP NW XI. What it means is, the adapter would pick up the message and it will be held in the XI pipeline for 'delayed message processing'. Then from the central scheduler you can send a trigger to XI to process the message.
    Here is a recorded Presentation on this topic:
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fd89cdb5-0b01-0010-6289-ac0ad1ccc5c0
    Here is a recorded Demo on how this can be configured using 'SAP Central Job Scheduling by Redwood' (any other central scheduler that is certified for BC-XBP can also be used):
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c0cfd2b5-0b01-0010-a8bd-c140d07d310c
    The recordings are available in the following Job Scheduling page (SDN -> SAP NetWeaver -> Plantform & Operations -> Administration -> SAP NW Central Job Scheduling by Redwood)
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/abb91c2a-0b01-0010-6ca6-9f0f62268454#idawk5oe [original link is broken]
    In the future you can expect something along the lines of 'a maintenance window at the Adapter/Channel level'. If and when this is made available, it may be possible to activate/deactivate the file adapter (i.e., the communication channel) from the central scheduler.
    Hope it is helpful.
    Thanks,
    Venky Varadadesigan
    Product Manager
    SAP NetWeaver
    M +1/832-287-2135
    mailto:[email protected]
    http://www.sap.com

  • How to activate the ATP buckets in APO?

    Hi,
    We are in the process of changing the ATP buckets in our APO system.
    I know the Path in the configuration:
    Advanced Planning and Optimization -> Global Available-to-Promise (Global ATP) -> General Settings -> Maintain Global Settings for Availability Check
    On the left side you will get three sections:
    Global Settings
    ATP Buckets (Active)
    ATP Buckets (Planned)
    I can change the values in (example field Shift Receipt Bucket) the ATP Buckets (Planned) section and save it with a transport. Now the question is how to activate the buckets. Is there another transaction for this? SAP Help doesn't specify how to activate.
    Any ideas are highly appreciated.
    Thanks,
    Mahesh

    Hi,
    To activate the buckets one need to check the box 'Current' in the options under ATP Buckets (Active). Also, as referred earlier by Dipthi do look up the documentation under:
    SAP Advanced Planning and Optimization (SAP APO) -> Global Available-to-Promise (Global ATP) -> Settings for Global ATP -> General Settings for Global ATP ->Definition of Buckets for ATP Time Series ->Activation of Bucket Parameters for ATP Time Series.
    The details are as beneath:
    Use
    If you change bucket parameters (see Definition of Buckets for ATP Time Series), these must be activated subsequently for the ATP time series.
    Features
    The system activates the bucket parameters in the following situations:
    Since activation in each of the situations described below leads to downtime, you should change bucket parameters less frequently than other Customizing settings.
    ·        Creating the active planning version for a client using transaction /SAPAPO/MVM
    If you set up a system again, you should process the bucket parameters before you create the active planning version. The bucket parameters are thus activated automatically.
    ·        Initializing SAP liveCache for all clients using transaction LC10
    In the case of an upgrade, you should process the bucket parameters before activating SAP liveCache. The bucket parameters are then activated automatically.
    ·        Executing the report /SAPAPO/OM_ATP_REBUILD_TS
    The system only rebuilds the ATP time series here.
    In this case, the SAP liveCache administrator must execute the following steps:
                                a.      Shut down SAP liveCache.
                                b.      Replace the com-file registration:
                                                      i.       At command line level, go to the SAP subdirectory of the SAP liveCache installation.
                                                    ii.       Under Microsoft Windows, save the original registration files SAPAPO.lst and SAPATP.lst (UNIX: libSAPAPO.lst and libSAPATP.lst), for example, by renaming or copying to another directory.
                                                   iii.       Under Microsoft Windows, rename the registration file SAPAPO_REBUILD.lst as SAPAPO.lst (UNIX: libSAPAPO_REBUILD.lstas libSAPAPO.lst) or copy it to another directory.
                                                   iv.       Under Microsoft Windows, rename the registration file SAPATP_REBUILD.lst as SAPATP.lst (UNIX: libSAPATP_REBUILD.lstas libSAPATP.lst) or copy it to another directory.
                                c.      Launch SAP liveCache.
                                d.      Execute the report /SAPAPO/OM_ATP_REBUILD_TS.
                                e.      Shut down SAP liveCache.
                                  f.      Replace the com-file registration by replacing the registration files SAPAPO.lst and SAPATP.lst (UNIX: libSAPAPO.lst and libSAPATP.lst) with the original versions under Microsoft Windows.
                                g.      Launch SAP liveCache.
    Regards
    Vinod

  • Can I use a schema with no targetnamespace with the file adapter?

    I am loading a file using a file adapter configured to use an xsd from a third party, the third party controls the xsd and incoming xml and does not have a targetnamespace defined in the xsd or xml.
    When I define a file adapter for it the wizard indicates that I need to fix the xsd by adding a namespace. I dont have control over the xsd or xml as they are an external party.
    I think I can hand edit the wsdl and change the import statement that requires a namespace to an include statement with no namespace.
    Have you run into this before? Will that work?
    Thanks,
    John

    Hi John,
    Did we get any solution for this ?
    Even in our case, the third party controls the xsd & incoming xml message. Both does not have a targetnamespace defined. The file adapter wizard indicates that we need to fix the xsd by adding a namespace. As a workaround, we manually added the target namespace to xsd and created file adapater. Now the question is how do we automatically add the name space in xml message as well, so that it can be parsed by BPEL process
    thanks
    Yj

  • How to read the files in different directories

    how to read the files in different directories here directory names will change dynamically under root node.
    let me say
    rootnode---->subnode1
    >subnode2
    >subnode3
    >subnode n
    how to specify these in file adapter.

    Hi
    look at this thread your problem is solved here
    File Adapter
    Regards
    Abhishek
    Edited by: Abhishek Agrahari on Dec 16, 2008 11:37 AM

  • The file adapter takes also the mark of the beginning of the file as a char

    Hi guys,
    I need to use the file adapter for sending data into XI.
    My first column of the CSV file contain ID of the objects of length 8 chars. But when the adapter takes also the beginning of the file, the length starts to be 9 chars.
    How is it possible to disallow to take this mark?
    I didn't find any parameter in the file adapter settings, which could solve this problem.
    Thanx for answer! (Points guaranteed )
    Peter

    Hi Peter,
             While configuring sender file adapter, you can do the following.
           1. While defining Parameters for Recordset Structures , you can make use of the recordsetstrucure.beginSeparator function which will take the first string in the file as a begin seperator.
      i guess this would help you.
    regards,
    Aravindh.

  • Remove XML tags in the File Adapter

    Hi,
    I have a JDBC to File interface. However, there is a requirement to remove some of the XML tags from XML produced by the File Adapter.
    For example,
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_XML xmlns:ns0="namespace">
       <XMLIntegration>
             <Prices COLUMNS="Index, Date, Price">
             <Index>Fuel</Index>
             <Date>2007-05-01 00:00:00.0</Date>
             <Price>0</Price>
            </Prices>
          <Prices COLUMNS="Index, Date, Price"/>
      </XMLIntegration>
    </ns0:MT_XML>
    needs to be changed to
       <XMLIntegration>
             <Prices COLUMNS="Index, Date, Price">
             Fuel, 2007-05-01 00:00:00.0, 120.65
            </Prices>
      </XMLIntegration>
    Does anyone know how to do this? I'm using the File Content Conversion Message Protocol but I'm not having much success

    hi,
    you just need to have this:
    <XMLIntegration>
             <Prices COLUMNS="Index, Date, Price">
             Fuel, 2007-05-01 00:00:00.0, 120.65
            </Prices>
      </XMLIntegration>
    as your target message in your mapping
    and map all values to Prices tag
    you don't need no content conversion - just the mapping
    Regards,
    michal

  • Tuning the file adapter to parse subnodes

    I have been looking for a solution, that how to handle Hierarchies in receiver file content conversion but everyone's suggestion is to make it as flat structure, were subnodes cant be handled by File Adapter. But in my case, I should handle the hierarchies. So I traced the File adapter behaviour and now I'm able to achieve it in my case.
    My source data will be as follows,
    <Root>
    <Lineitem>
    <no>101</no>
    <name>pen</name>
    <Comment>
    <color>red</color>
    <price>20</price>
    </Comment>
    <Comment>
    <color>blu</color>
    <price>50</price>
    </Comment>
    </LineItem>
    </Root>
    My Receiver FCC parameters are
    LineItem.fieldFixedLengths = 3,3
    LineItem.absoluteRowWidth = 6
    Comment.fieldFixedLength = 3,2,3,2
    Comment.endSeparator = 'nl'
    Output:
    101pen
    red20
    blu50
    The reason I used 3,2,3,2 for Comment.fieldFixedLengths though it has only 2 fields because the parser considers the 'comment' as a field of 'lineitem' but for the 'comment' I had specified 'fieldFixedLength' parameters so it gets the fieldlength of 3rd field and omits the first two were it already passed.But for the other occurrances it going to take first two field lengths.
    The absolute row width is to make the subnode to be on next line.
    Though I achieved my need through this method, it has some drawbacks like
    >The number of elements in parent node must be greater or equal to child node.
    >Applicable only for fixedlength files.
    >wont applicable if it has more then two levels
    It works well, with many occurrences of both lineitem and comment.
    I would like to receive the suggestions,  since its not SAP recommended method.
    <<<soon to be blog'd in detail>>>

    Hi,
    Have a look at this.
    /people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
    Regards,
    Akshay Jamgoankar.
    Reward Points if find useful.

Maybe you are looking for

  • I am moving from the UK to USA. Can I take my iTunes with me?

    I have an IPhone and iPad and have my music, videos etc saved on my PC and iCloud. I am moving from London to Chicago so can I transfer my iTunes account to the US when I set up a new PC there?

  • Internet required to stream from my mac or iPhone?

    For at least the next few days, I have no internet at home. Does this mean that I cannot stream video from my Mac or iPhone?

  • Transaction ENTR is unknown

    I am trying to do an RRI to jump from BW report to a transaction code, each time I try to launch it it gives me an error message saying that Transaction ENTR is unknown Anybody with a clue?

  • How to fetch any Hardware using Java

    Hi! Friends I wanna switch off my bedroom light through my laptop how to code in java for it please give me a little example if any suggetion please mail me [email protected] thanx S M Hasan Message was edited by: hasan-mobile

  • Runtime error with iTunes. Will not load.

    When i first installed iTunes I had told it to look in one folder and use that folder for my music. I then changed it to a different folder, and deleted the first one it created. Since I deleted the first one it created i've been getting "Runtime Err