File2File scenario

Hi,
I am trying File 2 File scenario, I have file adapter(both receiver and sender ) installed on my machine.
And I have also 2 communication channels set, I used File adapters in communication channels. When I run this scenario, in Monitor I see my message to be processed sucessfully but I don't see any log in receiver adapter and also no output file.
I have selected File system and not FTP in receiver channel, does this selection creates output file on server disk?
If anyone have File2File scenario documentation, please forward it to me.
regards,
Mustafa

Hi Jason,
I used the said config details, my input file is..
<?xml version="1.0" encoding="UTF-8" ?>
  <ns0:MTYP_name xmlns:ns0="File_File">Mustafa</ns0:MTYP_name>
I am just doing simple mapping of single field, but I am getting the following error..
<b>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
  <SAP:P1>500</SAP:P1>
  <SAP:P2>internal server error: com.sap.aii.messaging.mo.MalformedMessageException: Cannot find Main Header in XMBMessage - check the message version</SAP:P2>
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText><html> <head> <title>Transport Service Error</title> </head> <body> <h1>HTTP/1.0 500</h1> <h3>internal server error: com.sap.aii.messaging.mo.MalformedMessageException: Cannot find Main Header in XMBMessage - check the message version</h3> </body> </html></SAP:AdditionalText>
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>HTTP response contains status code 500 with the description internal server error: com.sap.aii.messaging.mo.MalformedMessageException: Cannot find Main Header in XMBMessage - check the message version XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error></b>
What is the cause of this error and also how do I change the trace logging levels?
regards,
Mustafa

Similar Messages

  • File2file scenario. Issue with Processing mode

    Doing a file2file scenario.
    The sender comm channel's processing mode is "DELETE"
    Scenario is executed successfully and i see the output message also.
    But the input file is not deleted.
    What could the reason?
    regs
    Kiran.

    Hi,
    This will not happen to this scenario if u select the processing mode as delete.the file shld be delete from the source dir.
    Check it once again and make sure that you have activated the ID objects after u make any changes.
    Do SXI_CACHE also
    Regards
    Seshagiri

  • FILE2FILE scenario   issue

    HI ,
        NOW i have problem in file2file  scenario
        i use archive mode ,NOW at the sender ,the file was moved to OK but it wasnit transfer to the receive.
       the file   is not initial.
       in SXI_MONITOR ,there was no message about the file  . 
       help.

    Hi  Satish
    there  is no error in SENDER CC , because several files were  done together ,only one of them wasnit transfered to the receiver
    in the monitor can't see the message about the file  ,it was just moved to the OK
    the file is not initial

  • Tab character missing in the end of the line in file2file scenario?

    Hi,gurus:
    Our scenario is file to file,and both transport protocols are FTP.
    We are using content conversion both in sender and recevier side.
    But when we test the scenario,we found the tab character('0x09') is missing if the tab character is in the end of a line.
    Can you tell me how to keep these tab characters the same as sender file?
    Thanks in advacne.
    ps: in the content conversion,the parameter fieldSeparator and endSeparator are both '0x0A'.
    Edited by: xinjiang li on Jul 31, 2009 10:53 AM

    Hi,
    The source data is as below:
    H     0000140898     0     UCP31300     20090715     20090715     2     1     UCP31310     
    D     0000140898               00001                    
    After the record '00001',thare are some tab parameter,but after send content conversion,the payload is below:
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_3PL_SAP2PF_ST02_SENDER xmlns:ns="http://www.unicharm-china.com/3PL">
    - <Recordset>
    - <Line>
      <Line>H 0000140898 0 UCP31300 20090715 20090715 2 1 UCP31310</Line>
      </Line>
    - <Line>
      <Line>D 0000140898 00001</Line>
      </Line>
      </Recordset>
      </ns:MT_3PL_SAP2PF_ST02_SENDER>
    The tab parameters are missing.
    Our sender content conversion is below:
    Line.endSeparator:'0x0a';
    Line.fieldSeparator:'0x0a';
    Line.fieldNames:Line
    Any ideas?

  • Dynamic File, Directory names - File2File Scenario

    We donot have message mapping in our Scenario  ( Ftp file 2 Ftp file scenario ) where we like to change filename, directory before writing file on the target ftp server. Basically Dynamic configuration has to be manipulated based on  file name pattern. How can we change Dynamic configuration variables without message mapping step.
    Thanks

    Bhavesh, Aamir,
    I am not as learned as you all are...However i have one doubt...
    Can you tell me how..you would use variable substitution  or any of the other features besides the dynamic Config bean...to make a decision..with this logic.
    If(filename.equals(a)){
    String dir = /usr/sap;
    else if(filename.equals(b)){
    String dir = /usr/pas;
    Can someone please enlighten me as this is a problem i have had before and had to do a workaround on...
    Regards
    Ravi Raman

  • File2File scenario is not working

    Hi,
    I configured the File to File scenario which has given in the Weblog.
    I done exactly the way in the weblog and activated everything.
    But the scenario is executed, I have checked in the message monitoring no messages in it.
    My File Adopter spooling interval is 60s.
    Can anybody tell me the procedure to execute a scenario.
    Thanks
    Srinivas Sandaka

    Hi,
    Thanks for you quick response.
    Adapter in RWB in green status.
    Environment->Cache
         Cache Update Status is in red status
         Perform Notification status is in green.
    Pool interval is 2 seconds.
    Processing mode is delete.
    In the file Adapter testing the following fields are mandatory.
              Send Message To, Sender, Interface,
               Namespace, Quality of Service.
    can you give me the which objects I have to give in thier fields.
    Thanks
    Srinivas Sandaka

  • Testing of File2File scenario

    Hi All,
    i have one problem in my file to file scenario, that is the file is picked by the sender adapter engine and not reached to the Integration engine. In message monitoring it displays "0 messages found". In SXMB_MONI, i got "No messages available for the selection". I tested the configuration in ID, it's working fine and also tested the message mapping and interface mapping all these are OK..
    And i am trying to send the message in message monitoring of RWB, there i got the following error.
    "Error while sending message: 401 Unauthorized".
    What is the error? Anybody came across this situation, please help me.
    I am very thankful to you all in advance.
    Thanks & Regards,
    Nagarjuna.

    Ok with your unauthorised error it is either insufficient roles, or wrong user or password...
    As for the message not arriving in the moni... well if you check the comm hcannel monitoring you will probably see some sort of error...
    Off the top of my head...
    Empty File
    You have content conversion and one of your parameters are incorrect.
    The above are assuming that you have configured everything else correctly in the first place..
    But please let me know what the comm channel monitoring says...

  • File2File scenario using BPM

    Hi friends,
    I am getting the following error while creating in the first receiver determination between file 2 IP
    1.)under configuration overview, the communication component is correctly showing but under this it is showing wrongly the outbound message  interface instead of the abstract interface .
    2.)In the second receiver determination between IP 2 File also, under communication component, the inbound message interface is showing wrongly as abstarct interface instead of the inbound interface.
      Please help me to correct this problem.
    Regards,
    Srinivas

    Srinivas,
    Checkout your Interface determination. Most likely you have maintained incorrect Inbound interface.
    Thanks,
    Nilesh

  • Regaring file2file scenario

    my data type is custname,custno,custphno.iam specyfying some condition i.e custphone number in receiver agreement as if my custno=2345 then go for 1 bussinessystem ohertwise another one for tha iam getting error as receiver is not found.can any body help me and tel me wat i hav to put.

    Surendhar,
    You have to specify in your receiver determination. Please check this weblog:
    /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    ---Satish

  • Error in file2file with bpm

    iam trying to do file2file scenario with bpm
    file is picking up from input and does not put in output.
    adapters is working fine for this.
    i got an error that "no object found for this message"
    in sxi_cache return code is 99
    in swf_customizing----
    there is some error in like  "error loading hr control data".
    where it went wrong.plz provide solution.

    Hi,
    First do the Cache refresh and then try it once.
    Go throgh the following links , it may solve your problem
    BPE_ADAPTER error on async BPM
    BPM (IP) Error: "No object type found for this message [...]"
    No object type found for this message
    Regards
    Sridhar Goli

  • Scenario or adapter to sending a text file to different target directories

    Hi experts
    In XI 3.0 I have developed a file2file scenario that takes a comma-separated file (*.csv) and converts it and returns a text file that is sent to a specific directory, the name input file determines the Target Directory, for each input file there is a sender channel and receiver channel that put the output file in the Target Directory. The problem is that i have many channels and not know how to make only one sender channel which takes the input file and the receiver channel to sends the output file to the destination directory through the file name. e.g. VTAS03.csv file located in target directory //work becomes in Clients.txt file in the directory //sap03 ie //work/VTAS03.csv --> //sap03/Clients.txt while the file VTAS05.csv must go to the directory //sap05 i.e. //work/VTAS05.csv --> //sap05/Clients.txt, //work/VTAS07.csv --> //sap07/Clients.txt so on.
    In short the output file name is the same for all but must go to different directories according to the input file name without using as many channels of communication.
    Someone can help me or tell me how to do this?
    Thanks  

    Liz,
    Please use the below steps if you are considering of using mapping program.
    Select the check boxes for the following Adapter Specific Message attributes in
    Sender Channel - FILE
    Receiver Channel - DIRECTORY
    Put the file name as Clients.txt in receiver channel , and directory name can be anything like TEST
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/File",
        "Directory");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/File",
        "FileName");
    String temp = conf.get(key1);
    String src_filname = temp.substring(4,5) //This is used to get the last two digit value from the file name
    String tar_dir = "//sap"+src_filename+"/";
    conf.put(key,tar_dir);
    return "";
    I hope the above suggestion solves your problem!
    Thanks!

  • File2file using FTP

    hi....Friends,
    i am doing file2file scenario using File Transfer Protocol (ftp), i am getting the error in sender communication channel monitoring . i.e
    An error occurred while connecting to the FTP server 'xxx.x.xx.xxx:xx'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 530 Connection refused, unknown IP address.'. For details, contact your FTP server vendor.
    Thanks in advance,
    Pasi

    Hi Pasi
    First check wether the server details which you have mentioned in the adapter with using FTP command.
    if you use FTP command in DOS mode to login into that server then your FTP in adapter will also work.
    your server details are worng.
    regards
    Nisar

  • Problem in simple filetofile scenario with BPM

    Hi
    I am a starter to XI. I am implementing simple file2file scenario with BPMs.
    But I am getting error while looking into SXMB_MONI.
    Under "Monitor for Processed XML messages"
    Number of XML message Found 3 (which is my input 3 xmls which is fine) but
    "Status is RED Flag".
    "Error Category: BPE_ADAPTER"
    "Error ID: UNKNOWN_MESSAGE".
    Please help me out with this problem.
    Regards
    Sam

    Hi Raj,
    When i click PE getting following error:
    "Unable to perform action for selected message".
    When i double click the row, it takes me to xml message versions where i can RED FLAG for "Call Adapter". In the trace i foudn the below at the end:
    <trace level =1 type=system error> error exception return from pipeline processing"</trace>
    Hope this helps to guide me mroe
    sam

  • Plz Give me real time file to file scenarios in sap xi

    Hello Experts,
       Can any one give me the real time file2file scenarios in sap xi. And differnet file structures
    and different 'File Content Conversion'  objects. Explain me different approch for file2file with different scenarios.
    Thanks in advance.
    Arjun.

    HI Arjun,
    Go throgh the following links for File content conversion in the sender side as well as receiver side
    File content conversion sites:
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    NAB the TAB (File Adapter)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    Content Conversion ( The Key Field Problem )
    File Receiver with Content Conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    The specified item was not found. - FCC
    File Content Conversion for Unequal Number of Columns
    File Content Conversion for Unequal Number of Columns - FCC
    Content Conversion (Pattern/Random content in input file)
    Content Conversion (Pattern/Random content in input file) - FCC
    XI Configuration for MDM Integration - Sample Scenario - FCC - MDM
    Regards
    Sridhar Goli

  • For File 2 File Scenario any thing i need to create SLD? No  ???

    Hi Experts
            Howmany scenario's i can create with out touching the SLD?
            I can create the Business servious and execute the scenario ?
            Can any give me the list ...howmany we can do like this ?
    Adv thanks for your Answers
    --- Rakesh

    Hi,
    See You can create the Business Service instead of Business system for File2File Scenario,because you will use the physical path of Xi server to place the file or pick the file.right.
    Business Services for only pilated or POCs can be usefull.and also grouping the cross-systems in our scenarios..
    But if your interface is dealing with the external system either in sender or receiver you should have the respective technical system and business system
    i mean IDoc related scenarios and Proxies related and so on..
    see below
    http://help.sap.com/saphelp_nw04/helpdata/en/c7/301640033ae569e10000000a155106/content.htm
    Regards
    Chilla..

Maybe you are looking for

  • Windows not appearing correctly

    Hi all. Glad I found this forum. I am using SGD to run an app. An initial menu is built and displayed, and it does come up, but recently something broke (and of course I don't know of anything that changed). The initial menu has no title bar. It is j

  • QuickTime 7.3 - only audio, no video on Safari

    Although Firefox works perfectly well, I only get audio, without any video with Safari 3.0.4. This is the case even when trying to view the videos on Apple's website. I have had this problem since QuickTime 7.2 and was hoping that QuickTime 7.3 would

  • Spelling Check Does Not Seem to Work in Buzzword

    Hi, everyone, I've enjoyed the changes made to acrobat.com. Bravo! But tonight (Nov. 21, 2009) I was creating a new Buzzword document and noticed that the spelling check was grayed out in the menu. I clicked on Account, made sure the language was US

  • Recursion with array

    hi i got this question , int values[] int index int amount i need to check if there is sum of elementv in values that equal to amount example values[]={5,22,13,5,7,-4} amount=31 22+13+(-4)=31 return true the signature fo function call in recursion is

  • Is it ok to keep the MBP charging all the time while in use?

    will it shortened the battery life? or on the other hand, its good? because the life count will be less because i dont shut down my MBP most of the time, maybe i shut it down twice / week, so i keep it charging all the time, even if it;s not in use