Skip to Content
avatar image
Former Member

How to run file-to-file scenario

Hello,

I have just done my first exercise in XI, File-to-File Scenario.

I ran the scenario in RWB in Component Monitoring by giving the Payload from the Message Mapping. It ran successfully.

But I am not able to run the same scenario by giving my source file. What are the inputs to be given while running the scenario to read from the Input File ?

Could any help me out, how to run my scenario using my Input File.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

12 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 01, 2008 at 03:51 PM

    Hi,

    Iam adding some more points to experts advice...

    If u have the source XML file then u take that file and test it in message mapping...then u can clearly see whats the error is fi it is an mapping error.........if mapping is sucess then to know the exact error go to RWB and there check the comunication channel log.....there u can find the exact error.

    Update the thread..

    Regards,

    Phani

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 02, 2008 at 09:58 AM

    Hi,

    How did u give the payload message in component monitoring.

    If that scenario works fine, did u get the successful message in moni and also got the output file generated in the target.

    Also let me know what is your source directory and target directory and wat protocol you are using FTP or NFS.

    Regards,

    Nithiyanandam

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 01, 2008 at 03:38 PM

    Shasi,

    Copy the input payload from Test Message of Message Mapping save as xml file, Place them in your polling directory. Make sure your comm.channel is working correctly.

    raj.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 01, 2008 at 03:40 PM

    Hi,

    Adding to Expert Raj Post,

    >But I am not able to run the same scenario by giving my source file. What are the inputs to be given while running the scenario to read from the Input File ?

    1)In the Sender Adapter check whether the File Name is Mentioned Correct ?

    2) Check whether the Sender File Adapter is Active

    3)RWB..For the Sender File Adapter look at the Status ( Active or not )

    Regards

    Agasthrui Doss

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 01, 2008 at 03:41 PM

    Hi,

    Please DO the following:

    1.You Should have set up a communication channel.

    2. In case you Use FTP, please configure your FTP Server Details in the Sender Channel,

    have a Look at the BLOg :

    [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4463] [original link is broken] [original link is broken] [original link is broken]; - EOIO - File

    3. Place you File in the FTP site and XI would Automatically poll it.

    4. Do similar to the NFS drive if you use NFS.

    Hope it helps.

    please let me know if you need more information on Files.

    Reward points if useful

    regards

    Abhishek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 01, 2008 at 04:25 PM

    I am new to XI.

    My source file is .TXT file.

    Could anybody please explain in detail how to run so that it picks my source file and places it in my target folder.

    Are there any restrictions to place the source file in certain directory or drive ?

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Shashidhar,

      There is no big difference between the f2f scenario's xml and txt to transfer from source to target. just one small change,

      in the sender(outbound) Communication channel at Message Protocol specify the "File Content Conversion". insted of "File".

      In the f2f scenario if u have to send xml at the source to the target you will specify the "File" in the Message Protocol, insted of that you specify "File Content Conversion".

      Hope you required the xml at the target side for that give "File" at the Message Protocol are else give File Content Conversion"

      Hope this will solve your Doubt

      Thanks & Regards

      G.V.Anil

  • avatar image
    Former Member
    Apr 02, 2008 at 09:32 AM

    Is there anything to do with the Parameters TAB of Testing Message Mapping ?

    There are some default values. Should we change any of them?

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 02, 2008 at 10:35 AM

    hi

    after creating your IR and ID

    then check the sender channel and Receiver channel

    check the path of sender channel and put the payload file that is check message mapping and test it a

    after the testing copy the file and store in to the folder that you have

    created

    and

    in Receiver channel same thing give the path of the target folder and

    chcek in to the runtime workbench

    there is no any prob in the runtime workbench means its showing the succsfulley in RW and file on coming in to the target system

    if all work correctly then also not showing means the file is in queue

    so Refrsh the queue athewise delete the queue

    thanks

    i hope it will solved

    Regards

    Vijay

    Edited by: Vijay Yewale on Apr 3, 2008 3:12 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 03, 2008 at 02:37 PM

    Hi Shashidhar,

    As u said that the message mapping is also current it means that there is some mistake in Communication Channel or Configuration.

    In Communication channel Once check Processing mode boz depending on it our target file depends.And also check adapter status.Specify correctly Source Directory & File name.

    If u r done with this then check inConfiguration.

    U can check it by going to Tools -->Test Configuration and there specify Sender -- Communication Party,Service,Interface & Namespace.In receiver side specify -- Communaication party & service.Paste the Xml data in Payload and run it..Clearly u can check where it is going wrong.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sweety,

      Thanks for your reply.

      I will try the Test Configuration and revert back if any help required.

      Thanks,

      Shashidhar

  • avatar image
    Former Member
    Apr 03, 2008 at 03:16 PM

    Hi Shashidhar Vaddepally

    follow the following steps

    1) during mapping enter the test values for the input fields

    2) click on the test view tab , then click inside the window and copy thw whole text file into a notepad and save it witha name with extension XSl for Example : Vendor.xsl

    3) put this file in your input directory

    4) kindly check the rights on the input directory folder, give full rights to the folder

    5) in sender communication channel give the path of the input folder and name of the input file

    remember name is case sensitive

    6) give right path of output directory also check the rights on output folder also

    now your file should be successfully pickedup

    thanks

    sandeep

    PS: if helpful kindly reward points

    Add comment
    10|10000 characters needed characters exceeded