File adaptor Debugging?

HI @,
I am using a file adaptor which is reading the file and then archiving it after successfull reading .Now what happened that In my scenarion the file got picked up by adaptor and archived also but there is no trace available in the SXMB_MONI
I need help in debugging the same scenarion How to dedbugg and why this happened

I would recommend looking in the Message Display Tool (http://<xiserver>:<xiport>/mdt) for errors.
Kind regards,

Similar Messages

  • Issue in File Adaptor

    I am using a file adaptor to poll file from a location and process the records and to call an java callout in the same proxy which will accept filename with file path as argument.But this java callout always reurns filenotfound error.I also tried to give stage directory value/archive directory along with file name.But getting the same error.Kindly help me to find the location of polled file(but proxy is still processing).

    poll file from a location ... proxy which will accept filename with file path as argumentJava callout will run on the host OSB server is running... File must be in that same host... If it's not you will have to write the file before passing to the java callout... But probably passing the content as a byte array to the java callout would be a better option...

  • File Adaptor....... system command after file processing

    i am creating 2 files with file adaptors..
    lest say a1.txt and a2.txt..
    in the file adaptor i am specifying the path of a batch file which is located at the same location where these 2 files are created......this batch file should run after message processing
    i am using this .bat file to create a file by combining these 2 files and delete these 2 files after that...
    but nothing seems to be happening..after the 2 files are created.
    seems like the command is not getting triggered which it is suppose to after message processing.
    please help

    Hi Tarun,
    Check this blog, Might give u some idea as well...
    <a href="/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions: Command line sample functions</a> By Michal Krawczyk
    <a href="/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi Command - Executing Unix SHELL scripting</a> By Sameer Shadab
    Where there is a <a href="">blog</a> there is a Way.

  • File adaptor Content conversion problem

    Hi all,
    I have a client proxy > pi> CSV file scenario which im working on currently - everything is fine apart from 1 really annoying thing.
    The problem is this that when data is extracted from SAP it should put in 6 fields within the file produced e.g:
    Which is fine however if one of the fields is blank there should still be the blank space which should appear instead of what it is curently doing which is ignoring the blank and shifting everything else left by 1 so:
    if out of 6 fields only 5 come out currently its doing this:
    field1,field2,field4,field5,field6      (Notice field3 is missing and there is no blank space in its place)
    What it should be doing is this:
    field1,field2,,field4,field5,field6       (Notice the blank space)
    I have gone through all the content conversion parameters I know for receiver file adaptors none have worked so if you know any which will do this please let me know!!
    Also if you know of other ways your ideas will be greatly appreciated.
    Many thanks in advance
    Edited by: Saqib Karim on Mar 5, 2009 5:45 PM

    Saqib Karim wrote:
    > Hi Chirag,
    > Does this mean that there is nothing in the file adaptor to cater for this and the only way is through mapping?
    > I was hoping for an easier more straight forward solution along the lines of content conversion since this means that it has to apply to ALL FIELDS in the mapping!!??
    > Thanks
    you solution is to alter the mapping in a simple way.
    If you are using graphical mapping then use this logic;
    Source field -> if EXISTS -> Target
                          else -> Pass an empty constant -> Target
    This will make sure an empty tag is created a the target and FCC will work fine.

  • Operating system command in file adaptor

    I am doing file to Idoc scenario, can i use the Operating system command in file adaptor to compress the file at FTP server and decompress the file at IE. I don’t know is it possible and if yes then how or is there any other way to handle the big files as the network speed is very low.
    Any clues!!!!!!!!!!!
    Thanks in advance

    Have a look into these threads - they seem to have the solution u need (i havnt tried it though)
    Unzip file using operating system command in file/ftp receiver adapter
    How to zip and unzip xml files dynamically by XI

  • How to increase the files picked up by File Adaptor per poll interval

    We have a scenario where in we post 80 files in the source directory and and the file adapter is configured for every 300 sec but i have noticed that the File adaptor is picking up one or two files per poll interval.Can some please suggest how to increase the number of files picked up by File adaptor
    Thank You,

    Did you mention all the files names in the Adapter channel. One thing you can do is use wild cards and file adapter picks most of them
    In case if your files are huge, then I guess file size may cause to process few files during each poll

  • File adaptor not working.

    Hi ,
        I am trying some scenario using file adaptor but it is not working. I tried with Runtime Workbench but my adaptor entry is not there in Adaptor monitoring.
        Can anybody plz tell me how to check whether adaptor is working or not?
        I am new to XI detailed explanation will be helpful.
    Thanks in advance.

    Hi Atul,
    Just adding on to what Shabrish has suggested..
    I Guess you should first see if the file is being picked... for that do the following.
    While configuring your Sender File Adapter, let the mode be DELETE. This way, we will know if the file is being picked by the File adapter. The file will be deleted and you can be sure that it has been picked up.
    In your runtime workbench home, there will be a tab, Component Monitoring, click on it. Select status as all, and click on display. The components will be displayed on ur screen. In that, under Integration Server, there will be a link for Adapter Engine. Click on it. Now, scroll down, and u will see a link to adapter monitoring, there under FILE ADAPTER see the log of the file adapter
    and also, you can see the flow of your message in the integration engine in SXMB_MONI.
    Do this and let us know what is happening...

  • Multiple files in different directory using single FILE adaptor

    Hi Guys,
    How can we handle multiple files having different format(PDF,TXT,EXCEL) and in different directory with the single FILE adaptor.
    I know by using "." we ca get mutilple files, but here tthe files are of different format and in different directory.
    Could you please explain as to how we can handle this scenarios?

    The short answer is - "No".
    The Long Question - "Why do you want to use a SINGLE channel".
    If your idea is to reuse the interface then dont worry... Except for the Senderchannel and Sender agreement all your other objects can be reused ...provided your sender apter converts the different files into the same XML format..
    For TXT you can use the simple file adpater..
    For excel see if you can use save the file as .CSV format...then you can use it directlky by the simple FIle adapter..
    For PDF use conversion agent... Here a blog to get u started on that ->
    Arvind R

  • Splitting to multiple files in file adaptor when it's more than 100 records

    I have a scenario where I'm generating a xml file to the receiver using file adaptor I need to write 100 records per file, if it's more than 100 then I need to write into a different file, to say I need to have 100 records per file.
    ABAP Proxy > PI- >File
    Any help is really appreciated.

    Hi Joe,
    What is your source structure and what is your destination structure?
    You can go the ABAP proxy route but then your control is not in the integration layer but in the business system.  But if you prefer it, here's some code outlined:
    index type i,
    lcl_proxy type ref to ZCL_Proxy.
    i = 0.
    loop at lt_recordset into ls_record.
    append ls_record to lt_output.
    index = index+1.
    if index = 100.
    create object lcl_proxy.
    lcl_proxy->execute_asynchronous(output = lt_output).
    index = 0.
    clear lt_output.
    end loop.
    if index>0.
    create object lcl_proxy.
    lcl_proxy->execute_asynchronous(output = lt_output).
    catch CX_ROOT.

  • File Adaptor throttle???

    I have an application that will produce many files in a short time period for the File Adaptor to pickup and have processed.
    I'm researching how to throttle the process that is using the File Adaptor. I'm dropping 1200 files at a time into the configured directory. The processing involves writing to a JMS queue and it's getting filled too quickly.
    Since there is no way to limit the number of a particular running process, I have introduced a semaphore in some embedded java code. I had found another forum post recommending using locks through a database entry. The File Adpator config options for file age and polling time are not a help here since the files are coming in at the same time and if I wait longer to read, there will just be more files (and more processing threads).
    I don't see how batching will help with this case either. I'm seeing that any large file drop is always creating 40 threads when the semaphore takes over and limits the execution to 1 at a time. My reasoning is that even with say 500 larger files, I'll still have 40 batch processors.
    What is the signifigance of the 40 number?
    Are there any other options to throttle either the file adaptor reader or the writing to the JMS queue?
    I have a stock install of v10.

    No clues on how to scale this?
    The 40 is the setting for the number of threads in the pool, and I'm using them all up...

  • File Adaptor CC Error

    Hello All,
    I am getting following error in SAP PI File Adaptor Communication Channel error:
    File processing failed with Error when getting an FTP connection from connection pool: Unable to create new pooled resource: FTPEx: Not logged in.
    Is this related to User authentication error or its internal SAP PI File Adaptor error?

    Hi Rajeev,
      Error when getting an FTP connection from connection pool - means XI server is not able to communicate with FTP server... just ask your FTP server network guys to open the firewall settings of FTP server for XI server..
    Check my reply on this thread...
    FTP Server Connection issue

  • File Adaptor-picking after error

    I have a scenario where File adaptor has to pick files where file name is dynamic but the extension is constant e.g <dynamic name>.file
    I have configured the file adaptor for picking up the files, as  *.file but the problem comes when there is some error in the file and adaptor (field content conversion) fails to pick up the file.
    And now on when ever file adaptor polls the directory it again tries to read the same file and fails , irrespective of other  correct files(*.files).
    Is there any way to remove/archive this error file so that file adaptor polls for the next correct files.

    hi satish,
    Are u talking about additional files? If so you can use NameA.optional=yes and proceed.

  • Enabling trace file in Debug mode

    Hi all
    how to enable the trace file in debug mode,...
    can any one help me in this,...

    answered in your second thread on this. *g

  • XML File to Flat File scenario: Reciver file adaptor content conversion

    Hello Friends,
    Currently I am working on XML File to Flat File Scenario.
    I used receiver side File adaptor with content conversion.
    My receiver side adaptor is giving error. Error is given below.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    My content conversion parameters are as:
    row.fieldNames                           Customer_ID,Name,Address,Phone
    row.fieldSeparator                      ,
    row.processConfiguration          FromConfiguration
    row.endSeparator                       'nl'
    Can you please suggest me what kind of error is this?

    Still I am facing below given issue.
    2010-06-08 15:34:25     Error     File adapter receiver channel CC_Customer_FlatFile_Distination is not initialized. Unable to proceed: null
    2010-06-08 15:34:25     Error     Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages

  • Appending XML data to a file using file adaptor

    I am trying to append data to a file using file adaptor in XML format. (Objective is to store data as XML message in the file). I understand it is possible to append data to an existing file by making appropriate changes in WSDL manually. However, my issue is every time the XML data is appended to a file even the XML header message is also getting appended. As a result the file data does not adhere to defined schema structure anymore.
    Is there a way to save XML data in a file in append mode ?
    Thanks, Riz

    I am having the same issue as well, which makes the output XML an invalid one. I have an XSD that has a hierarchy of elements. whenever I am wiriting the child elements the header message & the name space is also getting written. For example
    <?xml version="1.0" ?><Parent xmlns="">
    <?xml version="1.0" ?><Child xmlns:ns1="">
    <?xml version="1.0" ?><Child xmlns:ns1="">
    I am using a onefile adapter partnerlink to write the parent & an another one for writing the child element, since the child elements will repeat more than once. One other way to fix this issue is write the data using java embedded activity, but that would need a lot of boiler plate code, for writing/reading/appending the same file & for handling all those IOexceptions & buffer IN/outs. I am curious if someone had the same issue & how they resolved it.

Maybe you are looking for

  • Laptop with window 7 won't print to network HP printer

    purchased a Toshiba Laptop and cannot get it to print to my HP PSC 750 network printer.    I have downloaded the drivers and made sure it was compatiable with that printer.   It installed the printer with no problem.   It shows "ready" but when I sen

  • Display Header data to item level in me21n

    Dear Friends , I have the  requirement that Incoterm field in me21n at header level while creating purchase order needs to get reflected at item level too. Currently it is blank (at item level). Is it the development or Customisation? Can anybody ple

  • 3.2; LOV; find button

    Hi, I received following error when i typed "12" (to search for 12's)on textFiled and clicked Find on LOV frame. DAC-511: ResultSetInfo: could not execute the query. JBO-27122: SQL error during statement preparation. Statement: SELECT Vendor.VENDOR_I

  • Reconcile Delivary Balances - Aging Report

    Hi, How to reconcile the Delivary Balances..which is showing in Aging Report even the A/R invoices amounts are reconciled. Thanks Srini

  • Feature Request: Line Number on Syntax Error

    Hi, When I execute a query in the query window and there is a syntax error, I don't get the line number of where the error is as I normally do in SQLPlus. Is this this something that can be added to the error message? thanks -Niels