Multiple records in BPM using Switch

Hi Frnds,
              I was doing File to RFC to Webservice sceanrio using multiple records.
For that i have used
ReceiveTransformation-Block(ForEach)-Send Sync-ContainerEndBlock-TransformationSendTransformation(Multimapping)-Block-switch-sendsync-containerendblock-Transformation---send.
In switch, i was checking the condition like, if the material is present, then it got the first branch or else it should go to next branch.
In switch i was facing the problem, if i give multiple records with the same value, i am getting the output. If i give different values like for one record, material is present and the other record material is not present, then i am not getting the output.
Could you please help in this issue.

In switch i was facing the problem, if i give multiple records with the same value, i am getting the output
The standard behaviour of Switch is that in case of multiple records, the Last Record value is taken and checked with the switch condition.
U break all the records into individual records usinf "Recordset per message = 1" or transform one message with multiple records into multiple records, save it into multiline container variable and then use Block with mode ForEach.
Regards,
Prateek

Similar Messages

  • Insert multiple records into Oracle using Java

    Hi,
    Has anyone tried to insert multiple records into an Oracle table from Java? I have my data in a Java collection.Can I send a Java Collection to an Oracle Package as a PL/SQL Table Type? My problem is I dont want to instantiate a CallableStatement object everytime I do an insert. Instead I want to do that only once and then insert multiple records in one operation.
    Any suggestions will be appreciated,
    Thanks,
    Alex

    Hi Mensa,
    I went thru the code example in your book in chapter 8 (downloaded it from OTN). It looks like the java code for "public class myPLSQLIndexTab" might be a java stored procedure stored in the oracle database?
    Pardon my ignorance because I've never worked on java code in the oracle database itself but how would I call such a program outside the oracle database? For example say I have a batch job that downloads data from a webservice and that batch job is written in java and its sitting on a batch server somewhere on the network. But the java program that inserts data into the database is sitting in the oracle database (also somewhere in the same network). How can the java code sitting on the batch server talk to the java code sitting on the oracle server? Is it the same as calling a pl/sql package using CallableStatement?
    Thanks
    Alex

  • Displaying the selected multiple records from node using onleadselect event

    Hi all,
    How to display the selected multiple records from node to node using onleadselect event.
    i came to know tht to fulfill this requirement i need to use the method get_selected_elements,
    how to use this method in my event??
    sree

    Hi Sree,
    Try below code..
    DATA : lo_nd_it_lips TYPE REF TO if_wd_context_node,             // This is first node
                 lo_el_it_lips TYPE REF TO if_wd_context_element,
                 ls_it_lips TYPE wd_this->Element_it_lips,
                 lt_it_lips TYPE wd_this->Elements_it_lips.
               DATA: wa_temp TYPE REF TO if_wd_context_element,
                lt_temp TYPE wdr_context_element_set.
    * navigate from <CONTEXT> to <IT_LIPS> via lead selection
          lo_nd_it_lips = wd_context->path_get_node( path = `ZRETURN_DEL_CHANGE.CHANGING_3.IT_LIPS` ).
          CALL METHOD lo_nd_it_lips->get_selected_elements
            EXPORTING
                INCLUDING_LEAD_SELECTION = ABAP_true
            RECEIVING
              set = lt_temp.
          DATA lo_nd_pack_mat TYPE REF TO if_wd_context_node.          //Second Node
          DATA lo_el_pack_mat TYPE REF TO if_wd_context_element.
          DATA ls_pack_mat TYPE wd_this->Element_pack_mat.
          DATA lt_pack_mat TYPE wd_this->Elements_pack_mat.
    * navigate from <CONTEXT> to <PACK_MAT> via lead selection
          lo_nd_pack_mat = wd_context->get_child_node( name = wd_this->wdctx_pack_mat ).
          lo_nd_pack_mat->get_static_attributes_table( importing table = lt_pack_mat ).
          LOOP AT lt_temp INTO wa_temp.
            CALL METHOD wa_temp->get_static_attributes
              IMPORTING
                static_attributes = ls_it_lips.
                  ls_pack_mat-vbeln = ls_it_lips-vbeln.
                  ls_pack_mat-material = ls_it_lips-matnr.
                  ls_pack_mat-vgbel = ls_it_lips-vgbel.
                    append ls_it_lips to lt_unpack.
                  CLEAR ls_pack_mat.
           ENDLOOP.
    Cheers,
    Kris.

  • Multiple recording of waveforms using an external trigger signal

    Dear all,
    Maybe somebody could help me with the following:
    System:
    Windows 2000,Pentium III,~800-900MHz,32-bit master PCI bus,256 MB RAM
    PCI-NI 5122 Digitizer
    PCI-GPIB card
    PCI-DAQ card
    Labview 7.1
    NI Scope 2.7
    Problem:
    I want to acquire multiple waveforms (e.g. 100) using an external TTL trigger signal of ~40Hz. I have to acquire 1 waveform per trigger signal i.e. 100 subsequent trigger signals will acquire 100 subsequent waveforms.
    After, or during the waveform acquisition (?), I have to transfer the waveforms as 100 1D-arrays from the onboard memory of the digitizer through my fitting routine (one-by-one!). The fitting routine accepts one waveform (1D-array) at the time, fits the waveform and calculates 1 fit-value per waveform. So, when I pass the acquired 100 waveforms subsequently through the fitting routine, I need to get out a 1D-array with 100 fit-values. This 1D-array with the 100 fit values will be further processed and a final value will be saved.
    This procedure will repeat itself at different points in a sequence structure. The sequence structure will be located in a loop and running for several hours!
    Please see attached program flow diagram.
    Qustions:
    1. When I want to acquire 100 waveforms using 100 subsequent trigger pulses, the attached VI (Multiple_record VI) gives me the following error message:
    ERROR
    "Possible reason(s):
    Driver Status: (Hex 0xBFFA4009)
    A previous acquisition is still in progress. If you are attempting to change an attribute, note you can only change fetch attributes while an acquisition is still in progress.
    Status Code: -1074118647
    What am I doing wrong? Is there a better and more efficient way to do this?
    2. How can I transfer the 100 waveforms from the digitizer, one-by-one as 1D-arrays, through my fitting routine? A waveform will have ~2000-3000 data pts. (DBL type). Remember: I DO NOT HAVE TO SAVE THE WAVEFORMS!
    3. Which way is faster, and more efficient (memory) for my PC system to transfer the waveforms from the onboard memory of the digitizer to the fitting routine?:
    a) Start transfer of already acquired waveforms (1D-arrays), one-by-one through the fitting routine, during the waveform acquisition process is still in progress?
    b) First, acquire the 100 waveforms (1D-arrays), store them in the onboard memory (digitizer) and then transfer them one-by-one through the fitting routine?
    4. How can I make sure that after the waveforms were transferred through the fitting routine, the onboard memory of the digitizer is EMPTY (clear waveforms which have already been fetched) and ready to repeat the waveform acquisition at a different point of the sequence structure?
    5. I do not want to display each acquired waveform because I think it will slow down the acquisition process. Instead, I want to display the last of the acquired 100 waveforms, so I can check my fit and maybe adjust the fit-parameters. How can I do that?
    I think the important thing is to perform this process in the fastest way possible with the best use of the PC resources (memory etc.) because this process will run for hours. Any suggestions?
    It would be very nice if somebody could give me some help with this.
    Kind regards,
    beam
    Attachments:
    program flow diagram.vi ‏11 KB

    The method you use to analyze your data is fine. The only thing I would watch out for is memory problems. If you keep with the numbers you gave earlier, 100 waveforms at 3000 pts/wfm, you will be transferring 2.4MBytes of data per set. This is way over the 1MByte buffer NI-SCOPE uses for data transfer. It will work, but it might be slow. If you have problems, switch to niScope Fetch WDT.vi for your acquisition and move it inside the loop. Before you call the fetch VI, set the record it will fetch by using the property node and setting Fetch->Fetch Record Number using your loop index.
    A couple of other performance tips I think you probably know. The graph inside the loop will slow you down a lot. In addition, the graph of all the data outside the loop will also take a fair amount of time (plotting 2.4MBytes of data). If you want to see just the last waveform, pop-up on the terminal going out of the loop and disable indexing so only the last waveform goes through, not all of them.
    Your analysis method should work fine. You may consider doing an I16 fetch instead of the WDT fetch you are currently using. This will reduce your memory usage by a factor of four, provided you don't immediately convert it to a double array. If your analysis is actually finding a max/min, this is faster on an integer array than a double. You can scale the integers using the numbers in the information cluster. It is much faster to scale one integer at the end than a whole array. That said, the I16 fetch is not particularly faster than the WDT fetch, just less memory. This choice will depend on your analysis.
    The min record length is the minimum number of points the device will acquire. The actual record length is different if the acquisition rate you ask for is not one of the acquisition rates the device is capable of. The acquisition rate is then coerced to the next highest rate and the record length increased so your acquisition time remains constant. This behavior is part of the IVI specification for digitizers. Using your VI as an example, you ask for 300kS/s acquisition rate and 800 data points. What you actually get is 300,300.3003 S/s and 801 data points. The sample rate is determined by an integer divisor from 100MHz, in this case 100,000,000/333. So, if you really want a certain number of data points, you need to set the sample rate to a physically realizeable one. Alternately, you can just fetch the number you want instead of all the points, realizing your sample window will be a bit shorter than you asked for.
    You are correct. To see anything in the records done, you need to delay. However, in this code, the records done output is really not doing anything. The fetch won't fetch until everything is done, so you know all is finished when your data shows up. I would just delete it. If you do want to put a delay in, wrap a sequence structure around the records done query. Add a frame before the current frame and drop a Wait (ms)delay into it. You can find this primitive in the timing and dialog palette. This is an example of when the sequence is actually useful. The delay VI has no good way of enforcing data flow, so the sequence does it.
    The way you have implemented it, you don't need to poll acquisition status. To get acquisition status, use niScope Acquisition Status.vi. You would put this in a WHILE loop before your acquire and exit the WHILE loop when the acquisition was done (or an error occurred) to proceed to the acquisition. Make sure you also put an appropriate delay in the WHILE loop or it will eat your entire processor capacity. The delay should be based on how long you expect the acquisition to take.
    You should definitely put your fetch code in a subVI if you are going to call it more than once. LabVIEW makes it easy. Select the code you need to make into a subVI, then select Edit->Create SubVI. Don't forget to put an icon and documentation in the subVI. You will thank yourself later.
    Let me know if you have any more questions...
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to get or show multiple record data pagewise using JSPBean and HTML

    Hi ,
    I am using JSP bean for getting the data from database and html toe present the data.
    The problem is when the user inputs data
    in the search field and clicks on Search button ,i need to get all matching rows fromw the database ,which i am already getting.
    Now if i have got suppose 100 rows i need to show 6 recrods on each page the rest should be shown when the user clicks NEXT or PREV buttons.
    example
    Name: input data here
    Description: input data here
    SEARCH Button
    Show here the first 6 records
    PREV 1 2 3 4 5..... NEXT
    The page will look somewhat like this.
    So the rows will be shown just below the search fields .If i am getting more than 6 record i should show PREV and NEXT with the number for each page holding 6 records.
    Have anybody worked on such thing can you help me out .
    Thanks

    Hi This may help, Previous does not work properly, coz I didnt find much difficult to code so you can build on your own from Next option logic
    Here is the code. Here and there couple of probs exist but they are solvable easily,
    <HTML>
    <%@ page language="java"
         import="
         java.util.* "
    %>
    <%!
         Vector customers;
    %>
    <%!
    void dummyMethod()
         customers = new Vector();
         for (int i=0;i<30;++i)
              // Prints only one time when browser opened first time.
              System.out.println("I:"+i);
              customers.add(i+"");
    %>
    <body>
    <script language=JavaScript>
    function getNextRows(begin,end)
         document.frmPage.begin.value = begin;
         document.frmPage.end.value = end;
         document.frmPage.which.value = "next";
         document.frmPage.action = "getRows.jsp";
         document.frmPage.method="post";
         document.frmPage.submit();
    function getPrevRows(begin,end)
         document.frmPage.begin.value = begin;
         document.frmPage.end.value = end;
         document.frmPage.which.value = "prev";
         document.frmPage.action = "getRows.jsp";
         document.frmPage.method="post";
         document.frmPage.submit();
    </script>
    </body>
    <%! int x = 0; %>
    <HEAD>
    <TITLE>Customer Account Information</TITLE>
    <META HTTP-EQUIV="Expires" CONTENT="0">
    </HEAD>
    <BODY BGCOLOR = "#FFFFFF" >
    <form name=frmPage>
    <input type=hidden name="begin" value="0">
    <input type=hidden name="end" value="10">
    <input type=hidden name="which" value="">
    <H2 ALIGN="CENTER"><FONT COLOR="#000099">Customer Account Information</FONT></H2>
    <H2><FONT COLOR="#000099"></FONT></H2>
    <P>
    <TABLE BORDER="1" cellpadding="0" cellspacing="0" WIDTH="80%" ALIGN="CENTER">
    <TR>
    <TD WIDTH="10%" BGCOLOR="#CCCCFF"><FONT FACE="Italic">Acct# </FONT> </TD>
    </TR>
    <%
    int begin = Integer.parseInt((request.getParameter("begin")==null)?"0":request.getParameter("begin"));
    int end = Integer.parseInt((request.getParameter("end")==null)?"10":request.getParameter("end"));
    int max=0;
    if (request.getSession(false).isNew() ||
    request.getSession(false) == null)
         dummyMethod();
    max = customers.size();
    String     which = (request.getParameter("which")==null)?"next":request.getParameter("which");
    if (which.equals("next"))
         for (x = begin; x < max && x <= end; ++x)
              out.println("<TR>"+
                   "<TD WIDTH='50%' BGCOLOR='#CCFFCC'>"+customers.elementAt(x)+"</TD>"+
                   "</TR>");
         begin = end;
         end +=10;
    else
         for (x=begin; x <max &&x <= end; --x)
              out.println("<TR>"+
                   "<TD WIDTH='50%' BGCOLOR='#CCFFCC'>"+customers.elementAt(x)+"</TD>"+
                   "</TR>");
         end = begin;
         begin -=10;
    %>
    </TABLE>
    <%
         if (begin == max)
              out.println("<tr><td>Next  <a href='javascript:getPrevRows("+begin+","+end+")'>Previous </a></td></tr>");
         else
              out.println("<tr><td><a href='javascript:getNextRows("+begin+","+end+")'>Next </a></td></tr>");
    %>          
    </BODY>
    </HTML>

  • How to populate multiple records into 1 using addtl keyfigs

    Hi Gurus,
    Please take a look at this scenario.
    I have 3 records coming from source system.
    ex:
    key dateid startdate enddate
    c    1      d1         d2
    c    2      d3         d4
    c    3      d5         d6
    i need to populate these 3 records as one into the infoobject based on dateid.
    (dateid =1 then kf1=d1,kf2=d2;dateid =2 kf3=d3,kf3=d4 dateid = 3 kf1=d5,kf2=d6)
    i added 6 key figures ( kf1 kf2 kf3 kf4 kf5 kf6) as attributes to infoobject.The final
    record should look like the below one.
    key kf1 kf2 kf3 kf4 kf5 kf6
    c d1 d2 d3 d4 d5 d6
    Could you pls give me some thoughts on how to do this in a better way.
    Do i need to write update routine or just the formula in update rule is enough  ??
    Thanks in advance
    -dooDle

    Hi Ramesh,
    The scenario you have mentioned looks really complicated reason being, maintainance.
    Combining 3 records to one is possible in Start Routine. But it will be an expensive one.(I mean loopin)
    Pseudo code:
    LOOP AT DATA_PACKAGE.
    Check which records satisfy your criteria and fill a Temporary table. The fields will be your entire record to be appended to the fact table.
    Endloop.
    Delete your Data Package.
    populate the Temporary Internal Table onto the Data Package.
    Hope it helps.
    Regards,
    Praveen.

  • Multiple record insert thru PROCEDURE - Urgent

    All,
    My requirement is, I have to invoke a procedure which accepts two input and 1 out variable. The operation of the procedure is to insert the data to two tables(head_tab and line_tab-accepts multiple record). I used %rowtype for the two inputs i.e procedure proc(head_var head_tab%rowtype, line_var line_tab%rowtype, out_var out number). The incoming doc comes from 3rd party application which sends a header record and multiple line record for the same header.
    I used the transformation activity, to insert line record I used for-each loop for multiple record. But %rowtype being a scalar data type, it doesn't accept array of record to it! I'm stuck here. Can we achieve this scenario with using of procedure? or should I configure DBAdapter to insert the data directly to the table rather the procedure does this? If we can achieve it thru procedure, how can I go about?
    Thanks,
    Sen

    Hi,
    I believe you should change the signature of the procedure.
    I tried below code for my proc to send multiple records without use of for loop.
    Type line_var_rec IS RECORD(
    Var1;
    var2;
    Type line_var_tab IS TABLE OF line_var_rec INDEX BY BINARY INTEGER;
    Type head_var_rec IS RECORD(
    var3;
    var4;
    line_var line_var_tab ;
    Type head_var_tab IS TABLE OF head_var_rec INDEX BY BINARY INTEGER;
    proc(head_var IN head_var_tab, out_var out number);
    With the above code you can insert multiple header records each having multiple line records.
    Pls let me know if u have any questions.

  • Programmatic updating multiple records of a table in ADF

    Hi,
    I am using Jdeveloper : 10g 10.1.3.3
    Problem : I need to update multiple records in DB using ADF feature.
    The senario is like user is shown records of item consisting of item name, item code, category code, price etc. then user clicks "change category code" link availabe against each record. In next page user is shown current code and provided a text box to enter new code. Once i get this in my bean i need to update all records as:
    update item_info set category_code = :new_code where category_code = :current_code. Means to udate category code in all the records where category_code is :current_code.
    I have Entity and View Object for this table.
    How do i update multiple records using created view which is entity based?
    Have A Nice Time!
    Regards,
    Kevin

    In ADF you don't use update statement directly. This is done by the framework.
    You have to search for the records which match your condition category_code = :current_code using your VO based on the entity.
    Then iterate over the result set and change each row to your need setCategoryCode(newCode);
    When you commit the changes they are persist them in the DB.
    To see the changes in the UI you have to update the display using PPR or execute the query again.
    Timo

  • Multiple records using switch case

    Hi...
         I am having input file like
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:mt_out xmlns:ns1="http://Block">
    - <Material>
      <Item>0</Item>
      <ItemName />
      <ReqQty>0</ReqQty>
      <AvailQty>0</AvailQty>
      <Cost>0</Cost>
      <suppid />
      <suppname />
      <leadtime>0</leadtime>
      <matname>Y-351</matname>
      <plantloc>2222</plantloc>
      <date>2008-09-30T00:00:00</date>
      <orderqty />
      <warehouseloc />
      <unit>KG</unit>
      </Material>
    - <Material>
      <Item />
      <ItemName />
      <ReqQty>0</ReqQty>
      <AvailQty>0</AvailQty>
      <Cost>0</Cost>
      <suppid />
      <suppname />
      <leadtime>0</leadtime>
      <matname>Y-355</matname>
      <plantloc>1111</plantloc>
      <date>2008-09-30T00:00:00</date>
      <orderqty />
      <warehouseloc />
      <unit>KG</unit>
      </Material>
    - <Material>
      <Item />
      <ItemName />
      <ReqQty>0</ReqQty>
      <AvailQty>1000.000</AvailQty>
      <Cost>0</Cost>
      <suppid />
      <suppname />
      <leadtime>0</leadtime>
      <matname>Y-352</matname>
      <plantloc>1100</plantloc>
      <date>2008-09-30T00:00:00</date>
      <orderqty />
      <warehouseloc />
      <unit>KG</unit>
      </Material>
      </ns1:mt_out>
      In this input file it is having multiple records. Based on the AvailQty, the input file should go to the webservice. If the condition AvailQty is !=0, the the input file should go to the java webservice or else it should go to the .net webservice. In BPM i have used switch step for this. if i give the input file structure like above it is going to the java webservice only. It is not entering to the esle part.
    Could you please help me out in this issue.
    Thanks & Regards,
    Leela

    Hi,
    Having had a look at these blogs:
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    How to Split Message through BPM in 1:n scenario
    Transformation Step to Implement 1:n Splitting
    I think the best solution for your scenario is the following:
    In your BPM use a TransformationStep that does the multimapping N:1
    And then send the messages individually. You don`t need a Switch Step.
    You should have two Receiver determination.
    1.- File_server --> Integration Process.
    2.- Integration Process --> WebService.
    In the second RD, add two receiver Services (e.g. JAVA_WebService and NET_WebService) and
    use routing roules that checks if AvailQty is !=0. And depending on this condition,
    the message should be sent either JAVA_WebService or NET_WebService.
    Hope this helps you.
    Carlos

  • File to RFC with multiple records using BPM Scenario Error...!!!

    Hello Guru's,
      I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
    Can any one tell me what mistake would i have done.
    Thanks in advance.

    Hi,
    There is one similar discussion I found,
    FTP TO RFC using BPM
    Thanks
    Swarup

  • Multiple IDocs to File using BPM

    Hi All,
    I have configured a scenario of multiple IDocs to file using BPM.  In this scenario while I am triggering IDoc from R/3 system it is sent to the external program.    I am getting in the status record of WE05 as IDoc is sent to an external system with status code 03. But I am unable to view the same message in moni of the XI system.
    Also I have checked the ALE settings on both the sender and receiver side and it is fine.
    Also in SM58 nothing is there in queue.
    Can anyone solve this issue of mine?
    Cheers,
    Neethu.

    Hi,
    in many cases it's a problem with the RFC connection. You should try an authorization test in SM59 of the R/3 system.
    This might also be useful:
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    Regards
    Patrick

  • How to select multiple records in the ALV POP UP by using oops

    Hi All,
    We have a requirement of ALV POP UP by using the OOPS. How to select the multiple records in the POP UP and After selecting that i want do Inteactive ALV means again one more POP UP in ALV.
    Thanks for help....
    Regards,
    Bharani

    Hello Bharani
    Displaying an ALV list in a popup is by no means different from a list displayed on a main screen. The only thing you need to consider is that you set the right screen level when creating the parent container for the ALV.
    For more details refer to thread in CL_GUI_SPLITTER_CONTAINER  ALV list  is not show in called screen
    " step 1:
      CREATE OBJECT gr_spliter
        EXPORTING
          parent = cl_gui_container=>screen0 " For first popup use: =>screen1
          rows = 1
          columns = 2.
    Regards
      Uwe

  • How to get multiple records using fn-bea:execute-sql()

    Hi,
    I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
    Regards,
    Nagaraju
    Edited by: user10373980 on Sep 29, 2008 6:11 AM

    Hi,
    Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
    For example:
    fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
    Id Name
    01 XXX
    02 YYY
    03 ZZZ
    I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
    <student>
    <Name>XXX</Name>
    </student>
    I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
    Please suggest.
    regards,
    Venkat

  • Can you use ESB to insert multiple records into a Database

    We have an XML file that has a Parent/Child relationship.
    In situation 1 we have a single parent record in the xml file. We can insert the record into the database successfully.
    In situation 2 we have a parent and a an associated child record. By using a filter expression to identify the existence of the child record we can route to the first DB Adapter to insert the parent then to the second DB Adapter to insert the child.
    Is this final scenario logical and also possible.
    Situation 3 we have multiple child records associated to a single parent. So we would first insert the parent record then insert all the child records.
    Thanks

    I use PL/SQL for this if you are using Oracle.
    Have a look at this post, it is for AQ but the concept can be used for PL/SQL
    Re: Can I pass a pl/sql table as a parameter from a database adaptor
    I will send you an example
    cheers
    James

  • How to Delete Multiple Records using selectbox in jsf

    Hi!
    My Senario is I want to delete multiple records using checkbox. After selecting multiple records when i click the delete button the selected
    rows shuld be deleted.if am doing like this but the edit ,delete for each row functionality is not working.
    <h:selectBooleanCheckbox id ="bcb" value="#{item.empno}">
    </h:selectBooleanCheckbox>
    But other functionality is not wokring.
    Can any one plz tell how to select the multiple records and how to send the id to the serverside.
    I want code code for jsp and as well as backingBean how to accaess .
    Any Reply shuld be apreciated

    You may find this article useful as well: http://balusc.blogspot.com/2006/06/using-datatables.html
    Check the chapter "Select multiple rows" for two generic ways to select multiple rows in a datatable.

Maybe you are looking for