Help on FILE to File Scenario

Hi all,
   I am trying to create a simple a XML File TO XML File scenario. Somehow the server is picking up the input file properly but it is not putting the output file properly. When I go to RunTime WorkBench and click on Message Monitoring It shows that 3 messages(I had sent 3 messages) were processed successfully. However the starnge thing is that only sender information is being displayed. No receiver information is showing up. When I click on statistics from SAP XI screen (Integration Engine Monitoring) it shows 3 XML messages are being edited. Also when I try to see for processed messages in transaction SXI_Monitor The message doesn't show up. Does anybody have a clue.

Hi,
Are you using any content conversion. ithink you are sending XML . so no..
So check the channel monitor -- rwb - component monitor - channel monitor
select your sender CC ,, see the Error.
After see in SXMB_Monitor .if any error occurr , check accordingly , or check in Mapping.
Also take the source of xml payload from sxmb_moni and come back to message mapping and check with that xml, for runtime errors.
So check the channel monitor -- rwb - component monitor - channel monitor
select your receiver CC ,, see the Error.
See the output file is placed or not.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
Regards
Chilla

Similar Messages

  • Help in IDoc to File scenario

    Hi experts,
    I just created a scenario to export IDoc to File on a FTP server through XI server. I think I configured all the necessary things, such as in SLD, in sender(ECC) and receiver (XI server), and in IR, ID. But although it sends IDoc to Port OK in sender system, in the receiver system, I cannot see anything. Pls help to find out something I missed.
    Thanks in advance

    HI,
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Troubleshooting File-to-IDOC Scenario in XI.                    
    Troubleshooting  File-to-IDOC Scenario in XI.                    
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098                                             
    Thanks,
    Madhu

  • File to Mail Scenario - Need help

    Hi all,
    I am trying a simple file to mail scenario in which i am using following data types .
    Source datatype -
    Scr_File_DT
    -- Root
    Material_no
    Plant
    Target datatype -
    Tgt_Mail_DT
    --Content
    In the message mapping i am concatenating material_no and plant and mapping it to content.
    The receiver mail adapter parameters are as follows -
    Transport protocol - SMTP
    Message Protocol - XIPAYLOAD
    URL: smtp://gmail.com
    Configure User Authentication: X (Check box is selected)
    Authentication Method: Plain (from drop-down box)
    User: [email protected]
    Password: ****
    from: mail address
    to: mail address
    subject : test mail.
    Just wanted to confirm whether these settings are correct or not? Because i am not getting the mail in my mailbox.
    Can anyone please help me on this.
    Also are there any other settings required for using mail adapter ?
    Thanks.

    Hi,
    you should add your email address to your user,add specific users list add you r user in alrtcatdef.
    generally you should maitain the email data type format like
    subject,from,to,content-type..
    se below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Regards
    Chilla..

  • Help in file to RFC scenario

    hey guys i m doing a File to RFC scenario using BPM and taking help from the following blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit i m a bit confused about the services being used in figure 19 and figure 20,for a File to RFC(sync) scenario,do i need to have 2 business systems,one of WEB as ABAP and one of third party?
    why is he using two different services in figure 19 and 20.
    thanx
    ahmad

    Dear Bhavesh,
                          Someone earlier told me via SDN that, it is mandatory to create a WEB AS ABAP business system for any SAP system running on ABAP stack participating in the integration scenario. If the above is true than Ahmad needs to create one WEBAS ABAP business system for the R/3 end
    also a third party business system or a business service for file system.
    Pls advice.
    Regards,
    Ashish

  • File to File Scenario with Secure Connection. Pls help urgent

    Hello All,
    I tried a lot to get a link/blog that expalin full scenario
    for File to File Scenario with Secure Connection
    Kindly let me know if somebody have link/doc for it
    that describe all the steps to do configuring this scenario.
    What is difference in simple words between
    FTPS and SFTP.
    Pls help it is urgent as I require for Project work urgently.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

  • File to file scenario. Pls help

    Hi All,
    I have to make file to file scenario.
    XI will pick file from File Sender System and put file at
    File Receiver System. From there file will go to printer.
    File name has to be constant at receiveing system like "ABC.txt"
    There is one condition:
    Now suppose there is file at Receiver system and Printer gets jammed so file will not be picked from Receiver system.
    At that time XI should not send 2nd file and should wait till the
    receiving file directory is empty again.
    How to implement the above condition.
    Pls suggest.

    Rich,
    Seriously I couldn't understand why u are opening multiple threads. It's not like you open new thread the solutions gonna be different, always the solution will be same. It will be easy for u to track as well as easy for us to suggest. Plz co-operate with this, we know that u are in urgent situation, but opening multiple threads doesn't solve ur issue for sure, it makes the participants to be frustrated and left your question unanswered, plz understand this.
    I hope u can undestand!
    I know ur scenario is only File 2 File, I don't what could be the frequency of the Sender File or how often the File will be triggered. I will try to explain the best possible way I can.
    I'm going to explain with example , IS_RETRY_LIMIT - 2
    See,
    First trigger , File picked by XI and sent to Receiving folder , Printer picked the file - XI Job is done.
    Second trigger, File picked by XI and sent to Receing folder, Printer is jammed - XI Job is done.
    Third trigger, File picked by XI , it couldn't able to deliver to the Receiving folder ,coz file ABC.txt is already there. So please understand the concept of IS_RETRY_LIMIT, XI retries once again after some interval, it couldn't able to deliver,file is there. - XI Job is not done- in process
    Fourth trigger, File picked by XI , it couldn't able to deliver to the Receiving folder ,coz file ABC.txt is already there,(Printer is not resolved yet, Second trigger file is already there). XI will retry to send file again after some interval it couldn't able to deliver,file is there. - XI Job is not done- in process
    XI retries the file for Third trigger process, it couldn't able to deliver, XI set the message to FAILED status.
    Fifth Trigger,  File picked by XI , it couldn't able to deliver to the Receiving folder ,coz file ABC.txt is already there,(Printer is not resolved yet, Second trigger file is already there)  XI will retry to send file again after some interval it couldn't able to deliver,file is there. - XI Job is not done- in process
    Printer Problem Solved
    File Picked by the printer, Second Trigger is done.
    XI retries the file for Fourth trigger process, it successfully delivers the message to the printer - XI Job is done
    XI retries the file for Fifth trigger process, it successfully delivers the message to the printer - XI Job is done
    Sixth Trigger, File picked by XI and sent to Receiving folder , Printer picked the file - XI Job is done.
    So, now the job continues as usual..
    Now your question might be what to do for the FAILED message in the Third trigger, As I mentioned in the other thread, you need to re-deliver it by the link given in the other thread.
    I hope u can understand , how IS_RETRY_LIMIT helps in your scenario!
    raj.

  • Help me please with File-to-RFC scenario

    Hi, I'm a beginner with XI and I have as problem with an interface.
    This interface is a file-to-RFC scenario an it was working correctly a few days ago. Suddenly, the interface doesn´t work and we haven´t error message in sxi_monitor transaction. The queues are fine and we haven´t any sign that why the interface doesn´t work.
    If someone´s had a similar problem and know how to solve it or someone can teld me a clue, please, help me!!
    Thank you

    HI,
    You can monitor the Communication Channel in RWB.
    Go Component Monitoring in Runtimework Bench and click on Adapter Engine and select the Communicaiton Channel and select your channel name.
    You can find any whether it is in active or not?
    Also check the Message monitoring in RWB.
    Regards
    Sridhar Goli

  • Help with simple file to file BPM scenario

    Hi Gurus,
    I am doing simple file to file BPM scenario.
    I am getting an error in SXI_CACHE with status code 99.
    I activated the business process then status code changed to 2.
    When i tried to activate the process again i am getting prompted to enter access key details.
    Is there any other way to get rid of the error i.e., to get the status code to zero with giving access key details.Sample access key details are also greatly appreciated.

    Hi Bhavesh,
    I tried doing that but of no use.
    I registered at https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm
    and got a mail with details.I was actually looking for access key details in the mail from sap.The details in the mail contains License key but not access key .Are the both access key and license key same?

  • File to File Scenario. Help required

    Hi All,
    I have to make file to file scenario.
    XI will pick file from File Sender System and put file at
    File Receiver System. From there file will go to printer.
    File name has to be constant at receiveing system like "ABC.txt"
    There is one condition:
    Now suppose there is file at Receiver system and Printer gets jammed so file will not be picked from Receiver system.
    At that time XI should not send 2nd file and should wait till the
    receiving file directory is empty again.
    How to implement the above condition.
    Pls suggest.

    Hi ,
    I think in this case, you should not depend on retrial feature of File adapter. if we use it there will lot of uncertainities and sometime we might have to manual go and start the adapter if maximum retry no..is achieved. hence to tackle the situation in better way , I think on receiver side we should have two directory
    lets call it working directory and final directory.
    When we are send file from source, Xi should keep on putting created file on receiver side in working directory. I believe we should not disturb normal flow of XI here. Once files are created in working directory, there should be a scheduled program/code which should first check whether final directory ( from where printer reads the file) is empty or not. if the directory is emptry , it should copy files from working directory to final directory. In this way we won't interface with XI normal flow and we don't have to restart the adapter any time.
    Scheduled program can be in ABAP/or Java. This will be provide us more flexibility in implementing business logic on receiver as we can manipulate the files flow we want in the code.
    This is genreral mechanism has  the followed in different project. I hope this mechanis looks proper .
    Ranjeet Singh.

  • XI 3 File to IDoc scenario - Still referencing Old Logical system

    Hi
    Dont know if you can help. I have a file to idoc scenario  using XI 3 to R/3 4.6c system.
    I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
    Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
    I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
    Regards
    Daniel

    hi daniel...
    this thread wud answer ur query....
    Re: IDOC Payload
    regards..
    vishal

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

  • Help needed for file to file communication

    Dear all I am working on file to file adapter in XI 3.0 . I tried to different waysof flat file location C:\ and C:/ I am not soure witch one is currect and any time i am getting NO MESSAGE FOUND ! error in SX_MONI.
    and
    Any one have step by step clear procedure for File to File Adapter SAP XI 3.0.
    Thanking U,
    <b>Murali</b>.

    Hi Murali,
    first we need to uderstand how to do content conversion ( to convert flat files to xml format ) for which u can go through the following links :
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    http://help.sap.com/saphelp_nw04/helpdata/en/89/90fd3f0521c842e10000000a1550b0/frameset.htm
    then file to file scenarios:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/43/25112ab6140b25e10000000a1553f6/frameset.htm
    Configuring sender file adapter:
    /people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    Configuring receiver file adapter:
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    going through all the given links you will not have any problems doing a file to file scenario with any constraints.
    Regards,
    abhy

  • Error in File to IDOC Scenario

    Hi,
    I have File to IDOC scenario.
    I am getting error in sender file channel.
    "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
    Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
    Despite of this error in sender channel I am receiving the message in XI.
    But in XI also it throws error :
    "Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
    Any help on this ?
    Thanks,
    Vikas

    Hello Vikas,
    I am getting error in sender file channel.
    "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
    Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
    Check your flat file structure whether the key field you have chosen is appropriate and also recheck the FCC details whether you have assigned the value for the key field i.e.  keyFieldValue.
    "Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
    regarding the above error refer this
    https://wiki.sdn.sap.com/wiki/display/XI/Unable%20to%20convert%20Sender%20system%20to%20ALE%20logical%20system
    Regards,
    Prasanna

  • Error in File to File scenario

    Hi All,
    im trying out the file to file scenario [binary file using file content conversion]from SDN Wiki:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/main&
    On the runtime workbench, adapter engine is in red/error status due to error in the receiver comunication channel.
    The sender communication channel is working fine. During testing, my file is being picked up and deleted(processing mode set to delete).
    I am able to see the msgs in sxmb_moni and in Message Monitoring, the status is delivered.
    However, the receiver channel does not show any error msgs at all.
    Yday when i tested , i got the foll error msg:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'EMP.Contacts.fieldFixedLengths' or 'EMP.Contacts.fieldSeparator' is missing
    However tdy i dont see any new error msgs during testing (no changes made to the recvr channel).
    Given that the sender communication channel is wrking, can i safely assume that file adapter is wrking fine. If not, how do i check the status of the file adapter [in RWB, i can see the file adapter  and various other adapters(with a grey diamond icon next to them). how do i interpret the status of the adapter?
    Would really appreciate if anyone can advice on how to troubleshoot this?
    Many thanx!
    cheers
    Prachi
    I hv tried doing a full cpa cache refresh.

    Hello Prachi ,
    I thinks its because of receiver File Processing Parameters,as you are considering here File Content Conversion.
    If your structure is like this
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:Proveedor_100011 xmlns:ns1="http://sap.com/xi/webservices/buyordint">
    <config>
    <directory>c:/tmp</directory>
    <filename>dynamicFile3.txt</filename>
    </config>
    <root>
    <string>Header;423423</string>
    <lines>
    <value>LINE;</value>
    </lines>
    </root>
    </ns1:Proveedor_100011>
    Then your content conversion is -
    RecordSet Structure: config,root
    root.fieldSeparator = ;
    root.endSeparator = 'nl'
    config.fieldFixedLenghts = 0
    config.fixedLenghtTooShortHandling = CUT
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    With Regards,
    Raju.
    Please give points if useful.....

  • Error while doing a File to IDOC scenario

    Hi Experts,
    I have created a File to IDOC scenario where in i have sent a file which has to pass data to ABSEN1 IDOC.I could see the IDOC reaching R/3 ,but with the status 56: "EDI: Partner profile inbound not available"
    I have checked with all the configurations and couldnt find where it went wrong.
    Kindly help me in this regard.
    Thanks.

    Hi
    Check the inbound parameter and the process code.
    To find Process code for IDoc use Tcode WE42.
    ALE idoc trouble shooting use
    Troubleshooting of ALE Process
    look also this configuration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34

Maybe you are looking for