How to pass the out put of  ListFiles as input to SynchronousRead  FileAdaptor  in Oracle SOA

Hi All,
I have list of XML Files in one folder, i want to read all the files one by one ,
i can use the ListFiles to get all the files, i want pass each files at a time as input to SynchronousRead.
i know how to pass the file names  dynamically to SynchronousRead File Adaptor, but i dont know how to handle the file list, and passing one at a time from the list
Any help please,

Thanks for your reply PuneetRekhade,
i could not see ant for each activity in the Bepel activities,but in transformation i could make use of for-each do display the all the filenames,
i have used while , with following condition  number(bpws:getVariableData('Invoke1_FileListing_OutputVariable','filelist','/ns1:filelist/@size'))>=number(bpws:getVariableData('count_Files')),
and in side the while loop , created  assign activity which gives assign one file name at a time by acessing the list index.
bpws:getVariableData('Invoke1_FileListing_OutputVariable','filelist',"/ns1:filelist/ns1:file[bpws:getVariableData('count_Files')]/ns1:filename")
i have incremented count variable at the end of the loop.

Similar Messages

  • How to display the out put of the sql query in a text file using forms

    I want to display the out put of the sql query in a text file using forms 6.0.Same could be done using spool command in sqlplus but i want it using forms....Fiaz

    Have a look at the text_io package:
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
    cheers

  • How to print the out put for each customer in table

    Dear SDN Team Members!
    I've created a report and the output is displayed on the smartform for the same.
    In this report, I've selected a list of  customers and the report has to print the list of transactions being made by each customer in Smartform. 
    These details must be printed seperately for each customer. 
    I'm thinking of control statement AT NEW & AT END.  But i don't know how to use them exactly so that the output is displayed seperately for each customer in the Smartform.
    Please provide syntax and points will be awarded for.
    Best Regards!

    Hi Krsihna,
      Its simple.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting formname = '<form name>'
    importing FM_NAME = lv_func_name.
    loop at itab.
    at new customer.  "customer must be the fisrt field in the itab and itab mus be sorted by customer.
    call function lv_func_name
    endat.
    endloop.
    Regards,
    Ravi

  • Importing the out-put to the exel

    Hi all,
    iam very new to the unix and sql,
    just i want to know how to export the out-put of the query into exel using unix(spool)

    A lot of people rob banks too.
    You can spool an output to a file delimiting columns with commas if you wish. But that is outputting a file not outputting to Excel.
    Personally I'd fire anyone in a data center I caught outputting Oracle into a non-secure unauditable form and putting the organization at risk.

  • How should we get the out put file-name same as in put file-name in file to

    Hi frnds,
    having hundreds of files in the sender system with different names, how should we get the out put file-name  in the receiver system same as the in put file-name in file to file scenario ?
    Thanks in advance.
    truly,
    snrvakiti.

    Hi,
    In Receiver File Adapter you can set under 'Adapter-Specific Message Properties'
    check Use Adapter-Specific Message Properties
    check Fail on Missing Adapter Message Properties
    Check File Name
    Have a look at this link,  [File_to_File|http://allsapnetweavernotes.blogspot.com/2008/09/how-can-i-access-filename-from-fileftp.html]
    Regards,
    P.Rajesh

  • How to Pass the Criteria?

    Hi All,
    I am new to this SAP And BO environment. Now I have Designed a Report in Cryatal Report XI.
    I Want to Integrate the Report with SAP Enterprise Portal and I need to pass the criteria (Parameters) to Cryatal Report.
    Kindly Let me know Where i should design the criteria Screen and how to pass the Values to Crystal Report. Thanks for your support in advance.
    Thanks & Regards
    Sivaramakrishnan V

    Hello,
    first you have to configure your Portal and your BO Server correct that you can view Reports out of the Portal. Check the Installation Guide for the SAP integration Kit on How to do that.
    Than you could use an openDoc URL which is an URL where you call your Report with your Parameters directly. After creating this URL you could create an iView with this URL and deploy it in your Portal. Use this second Guide on How to create this URLs
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
    Regrds
    -Seb.

  • How to use the "out" parameter in idl

    hello.idl:
    module HelloApp
    interface Hello
    string sayHello();
    void getPass(in string name,out string pass);
    HelloServer:
    public class HelloServer
    class HelloServant extends _HelloImplBase
    public void getPass(String name,org.omg.CORBA.StringHolder pass)
    System.out.println("Server pass = " + pass);
    if (name.equals("lxh"))
    pass = new org.omg.CORBA.StringHolder("1234");
    if (name.equals("cbj"))
    pass = new org.omg.CORBA.StringHolder("5678");
    HelloClient:
    public class HelloClient
    public static void main(String args[])
    try{
    org.omg.CORBA.StringHolder Pass = null;
    if (args.length == 1)
    System.out.println("Client pass = " + args[0]);
    helloRef.getPass(args[0],Pass);
    System.out.println(Pass);
    } catch(Exception e) {
    When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
    How to use the out parameter in client?

    Does this error only occurs if you pass "lxh" or always?
    Did you try passing a StringHolder Object rather than a NULL Object?
    Perhaps you can post the error message!?

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

  • How to configure header out put preview in Sales Order

    Hi ,
               i have couple of questions.....
    1,How to configure header out put preview?
    2.Step by step procedure to configure handling units
    Points for right answer
    Lekha

    Hi,
    You can use the FM ..RV_MESSAGE_UPDATE..
    Thanks
    Naren

  • How to use the out parameter of a transformation

    Hi All,
    I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
    Thansk in advance

    Hi,
    I'm not quite sure what you are trying to do.
    What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
    What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
    You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
    Regards,
    Carsten.

  • How To pass the value within the page using jsp?

    How to passing the textbox value within the jsp page without using javascript or reload the page.
    I have a scenario like this:
    I have a textbox named as "accno" which allow user to key in the accno. After key in the accno, this accno value will used to do a query from database using jstl.
    here is part of my code
    <input name="accno" type="text" onChange="checkLC()"/>
    <sql:query var="results" dataSource="${db}">
    select accno,name from account where accno = '<%=value get from accno textbox%>'          
    </sql:query>
    <c:out value="${result.rows[0].name}"/>
    note that onChange() is the javascript when user key in accno then automatically go to check database then only show out the name. So how can i get the '<%=value get from accno textbox%>' from accno textbox.

    How to passing the textbox value within the jsp page
    without using javascript or reload the page.No, jsp executes on the remoter server, the text box is on a client machine, you need to send information to the server over the network, http does this with a request, which will reload the page.....................

  • How to pass the two viewname in narative View

    Hi all,
    How to pass the two viewnames in the narative view.
    Ex.<iframe src="saw.dll?Go&Path=/shared/Subjectarea/Domain/Reports/Detailed%20reports/Sub%20Reports/Monthly/Report17&Action=Navigate&ViewName=tableView!1+&ViewName=tableView!+2&P0=1&P1=eq&P2=%22Dim%20Time%22Time%20Key%22&P3=@19&Options=d" Width=500 Height=500 frameborder=0 Align=MIDDLE></iframe>
    thanks,
    Siva

    Hi Siva,
    I could be mistaken, but I do not think you can reference two views via URL.
    The proper way to achieve what you asking is to use the Compound View object. The compound view acts like a wrapper to multiple views. And the best part about it is that you can have as many compound views you want in the same Answer request. By default, all requests start out as a compound view that has a title view and a table view. However, if you click the "Duplicate, specialize or delete current view" button, you can add a "New" compound view. That way a single Request can have many different layouts. Then when you want to reference a particular layout, you reference that particular compound view.
    So in your situation, assuming you create a new compound view to store your layout, you can reformat your code as follows:
    <iframe src="saw.dll?Go&Path=/shared/Subjectarea/Domain/Reports/Detailed%20reports/Sub%20Reports/Monthly/Report17&Action=Navigate&ViewName=compoundView!2&P0=1&P1=eq&P2=%22Dim%20Time%22Time%20Key%22&P3=@19&Options=d" Width=500 Height=500 frameborder=0 Align=MIDDLE></iframe>
    Good luck and if you found this post useful, please award points!
    Best regards,
    -joe

  • Run Clear Case command from java and save the out put in to a file.

    Can any one help me out ...
    I want to execute Clear case command from a java and want to save the out put of this command to a file.
    I am naot able to find out how to start..
    Message was edited by:
    chandra_verma

    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to pass the value from Sub report to main report

    I have un report(mainreport) within a subreport(subreport).
    With reporting services, how to pass the value from Sub report to main report?
    thanks

    Hi Alebet,
    With reporting services to pass values from sub report in to main report is not supported directly.
    But there are some workarounds through which you can get this .
    There are two ways to get this.
    1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
    2- Using this temporary tables data write some Scala function in the data base.
    3- Now in your main report query return this scala function as a column.
    4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
    This will definitely work fine as i have done some report in this way.
    Another way of doing is that
    1- prepare another data set with the same query as in sub report in the data tab.
    2- then refer this 2nd dataset in your main report .
    But better way will be the top one.
    Anyway please let me know if you get the solution.
    Thanks
    Mahasweta

  • Need to filter the out put of iw38 reprort

    hello Experts,
    i have requirement like need to filter the out put of iw38 report and after that again i need to filter that output by using department and client code and oreder .ned to show out put with 3 push buttons .
    dertails:
    selection screen fields:
    region
    customer  code
    oreder
    date range
    from these 4 fields i need to pass two(order and date range)   fields to  iw38 report and then what ever output i am getting again that should filter by customer code and region which are there in my program
    , need to display the out put with 3 push buttons .
    plz suggest me  with appraoach and sample code .
    Note : i am using using submit and return export memory but its directly showing iw38 output and not coming back.

    Hi ananta,
    The function module LIST_FROM_MEMORY loads the list from the ABAP Memory to an internal table of the row type ABAPLIST.
    The function module WRITE_LIST inserts the content of an internal table of the row type ABAPLIST in the current list.
    The function module DISPLAY_LIST displays the content of an internal table of the row type ABAPLIST in a separate list screen.
    check the below program..
    REPORT  Z642_TEST2.
    DATA list_tab TYPE TABLE OF abaplist.
    SUBMIT riaufk20 EXPORTING LIST TO MEMORY
                                    AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    IF sy-subrc = 0.
      CALL FUNCTION 'WRITE_LIST'
        TABLES
          listobject = list_tab.
    ENDIF.
    write: ' This is calling program', sy-repid.
    Edited by: Rammohan Nagam on Apr 8, 2009 4:05 PM

Maybe you are looking for

  • Opening a long URL on click of button in CRM Web UI

    Hi Experts, I am facing an issue while opening a long URL (length greater than 255 char) on the click of a button in CRM Web UI. I have declared an attribute zv_url type string and populated the variable in event handler. Thereafter I have written be

  • I can't access itunes store on my pc

    Since downloading itunes 10.5 update I can not access itunes store on my pc and could before. The status bar stalls halfway. I uninstalled itunes and re-installed it and that didn't help. I use Google Chrome as mysearch engine instead of IE. I even t

  • Printer agent error on start up

    Migrated to new MBP retina. 10.9.1 Did not have this issue on my older MBP running 10.9.1 Error on startup with all users. It persist on every reboot startup. any ideas?

  • Can see pictures, but can't open any of them

    i can see the thumbnails of all my pictures, but when i click on them, they won't open. i get an error message that says that the file may be corrupt or a file type not recognized. when i double click on a picture, it tries to open it, but it never g

  • Enhancing Standard javascrpit

    Hi Experts, I'm having a javacrpit in one of the web ui Component(UICMP_LTX -> PAGES WITH FLOWLOGIC -> LaunchTransactionAdmin.Js). I'm able to enhance views, but not able to enhance java scrpit. Could anyone please suggest me on how to enhance the st