How to handle merge cells in the excel sheet while uploading

Hi guys,
I have a requirement where i need to upload the excel sheet. The data is given below.
field1     field2     field3     field4
a     x     1     1
          2     2
          3     3
     y1     4     4
     y2     5     5
     y3          6
The output must be
a     x     1     1
a     x     2     2
a     x     3     3
a     y1     4     4
a     y2     5     5
a     y3     5     6
Here the field1 column is merged.
Please let me know if you guys have sample code to handle the merge cells in the excel sheet, that would be of gereat help.
Regards,
Karthik

Hi guys,
I have a requirement where i need to upload the excel sheet. The data is given below.
field1     field2     field3     field4
a     x     1     1
          2     2
          3     3
     y1     4     4
     y2     5     5
     y3          6
The output must be
a     x     1     1
a     x     2     2
a     x     3     3
a     y1     4     4
a     y2     5     5
a     y3     5     6
Here the field1 column is merged.
Please let me know if you guys have sample code to handle the merge cells in the excel sheet, that would be of gereat help.
Regards,
Karthik

Similar Messages

  • How to set the Data types of the Excel sheet while exporting details to it.

    Hi All,
    We are trying to export some order details to the excel sheet from a jsp. It is working fine when the local system language is set to English.
    But when i change it to Russian. the details like Line Numbers(e.g: 1.1, 1.2, 1.3 and so on... ) are getting changed into some other data type(e.g: 01.янв, 02.янв, 03.янв and so on....).
    i guess this is mainly due to some data type mismatch, so i tried setting all the possible charset for response in the jsp, but could not succeeded.
    This is only for the details which or of decimal format, working fine for the details which are in String type. like Description, Item name etc...
    As it is high preference issue for our client, Please help me in this regard ASAP.
    Thanks & Regards,
    Praveen Reddy B

    hi Shiv..
    Its not an OAF page but it is from Apps only (i.e.Oracle iStore).
    we tried writing this:
    <%response.setContentType("application/vnd.ms-excel; charset=UTF-8");%>
    <%response.setHeader("Content-Disposition", "attachment; filename=downloadOrders.xls" );%>
    <head>
              <title>Logitech_iStore</title>
    <style>
    table {
    border-style: solid;
    table th.mainHeader {
                                            border-style: solid;
    background-color:#000099;
    border-color:#000000;
    color:#FFFFFF;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size:13pt;
    table th {
                                            border-style: solid;
    background-color:#6687C4;
    border-color:#000000;
    color:#FFFFFF;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size:12pt;
    table td.color1 {
                                            border-style: solid;
    background-color:#FFFFFF;
    border-color:#000000;
    color:#000000;
    font-family:"Times New Roman", Times, serif;
    font-weight:normal;
    font-size:12pt;
    table td.color2 {
                                            border-style: solid;
    background-color:#C0C0C0;
    border-color:#000000;
    color:#000000;
    font-family:"Times New Roman", Times, serif;
    font-weight:normal;
    font-size:12pt;
                                  table td {
                                            border-style: solid;
    background-color:#FFFFFF;
    border-color:#000000;
    color:#000000;
    font-family:"Times New Roman", Times, serif;
    font-weight:normal;
    font-size:12pt;
    </style>
    </head>
              <body>
              <%
                        /*BigDecimal resp_id=RequestCtx.getResponsibilityId();
                        String respIdParam="";
                        String respkey="";
                        if(resp_id!=null)
                        respIdParam=resp_id.toString();
                        out.println("respIdParam"+respIdParam);
                        logi.oracle.apps.ibe.util.LogiDAOImpl dao=new logi.oracle.apps.ibe.util.LogiDAOImpl();
                        respkey=dao.getRespKey(respIdParam);
                        out.println("respkey"+respkey);
              logi.oracle.apps.ibe.util.LogiOrderDetailsBean orderDetailsBean = new logi.oracle.apps.ibe.util.LogiOrderDetailsBean();
                        java.util.ArrayList ls = new java.util.ArrayList();
                        String resp_key=request.getParameter("respkey");
                        System.out.println(resp_key);
                        String noofDays=request.getParameter("noOfDays");
                        String qCustAcctId=request.getParameter("qCustAcctId");
                        logi.oracle.apps.ibe.util.LogiDAOImpl daoimpl=new logi.oracle.apps.ibe.util.LogiDAOImpl();
                        String decideTab=request.getParameter("decideTab");
                        String startDate=request.getParameter("startDate");
                        String endDate=request.getParameter("endDate");
                        String queryCondition=request.getParameter("queryCondition");
                        String queryOperator=request.getParameter("queryOperator");
                        String queryValue=request.getParameter("queryValue");
                        String queryDateValue=request.getParameter("queryDate");
                        System.out.println("queryDateValue"+queryDateValue);
    %>
                        <table cellspacing="1" cellpadding="1" width="100%" border="0" class="OraBGAccentDark">
    <tr>
    <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_ORD_NUM")%></th>
                                       <th>Customer Name</th>
                                       <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_ORD_DATE")%></th>
                                            <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_BOOKED_DATE")%></th>
                                  <th>Request Date</th>
                                            <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_ORD_STATUS")%></th>
                                            <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_ORD_PO")%></th>
                                  <th>Currency</th>                                                                 
                                            <th>Payment Terms</th>                                                                      <th>Freight Terms</th>
                                       <th>FOB</th>
                                            <th>Sales Channel</th>
                                            <th>Ship to Location</th>
                                            <th>Bill to Location</th>
                                            <th>SalesTerritory Country</th>
                                            <th>Order Type</th>
                                            <th>Order Total</th>
                                            <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_LINE_NUM")%></th>
                                            <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_ITEM")%></th>
                                            <th>Customer SKU</th>
                                            <th>Description</th>
                                            <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_QTY")%></th>
                                            <th>Shipped Quantity</th>
                                            <th>ScheduleShip Date</th>
                                            <th>Unit Price</th>
                                            <th>Extented Amount</th>
                                            <th>Taxes Total</th>
                                            <th>Freight Charges</th>
                                            <th>Case pack charge</th>
                                            <th>Charges Total</th>                                   
                                       <th><%=AOLMessageManager.getMessageSt("IBE","IBE_LGT_LINE_STATUS")%></th>
                                            <th>Ship Date</th>
                                            <th>Warehouse</th>
                                            <th>Tracking Number</th>
                                            <th>Waybill Number</th>
                                            <th>Delivery Number</th>
                                            <th>Pro Number</th>
                                            <th>Hold Applied</th>
                                            <th>Pallet Qty</th>
                                            <th>Pallet#</th>
                                            <th>Invoice Number</th>
                                            <th>Promo Number</th>
                                            <th>Ship Method</th>
    </tr>
    <%          
                             int pSiteid=0;
                             java.math.BigDecimal mSiteId=oracle.apps.ibe.util.RequestCtx.getMinisiteId();
                             if(mSiteId!=null)
                             pSiteid=mSiteId.intValue();
                             out.println("pSiteid"+pSiteid);
                   if(decideTab!=null && decideTab.trim().equalsIgnoreCase("days"))
                             if(qCustAcctId!=null)
                                       ls=daoimpl.downOrderDetails(qCustAcctId,noofDays,pSiteid);
                        else if(decideTab!=null && decideTab.trim().equalsIgnoreCase("dates"))
                             if(qCustAcctId!=null)
                                       ls=daoimpl.downOrderDateDetails(qCustAcctId,queryDateValue,startDate,endDate);
                        else if(decideTab!=null && decideTab.trim().equalsIgnoreCase("condition"))
                             if(qCustAcctId!=null)
                                       ls=daoimpl.downOrderConditionDetails(qCustAcctId,queryCondition,queryOperator,queryValue);
                        for(int i=0;i<ls.size();i++)
                             orderDetailsBean=(logi.oracle.apps.ibe.util.LogiOrderDetailsBean)ls.get(i);
                             String orderNumber= orderDetailsBean.getOrderNumber();          //Order Number
                             if(orderNumber==null)orderNumber="";                         
                             String customerName=orderDetailsBean.getCustomerName();          //Customer Name
                             if(customerName==null)customerName="";
                        String orderedDate=orderDetailsBean.getOrderDate();               //Order Date
                             if(orderedDate==null)orderedDate="";
                             String bookeddate= orderDetailsBean.getBookedDate();          //Booked Date
                             if(bookeddate==null)bookeddate="";
                             String requestdate= orderDetailsBean.getRequestDate();          //Requested Date
                             if(requestdate==null)requestdate="";
                             String orderstatus= orderDetailsBean.getOrderStatus();          //Order Status
                             if(orderstatus==null)orderstatus="";               
                             String ponumber= orderDetailsBean.getPoNumber();               //PO Number
                             if(ponumber==null)ponumber="";
                             String currency=orderDetailsBean.getCurrencyCode();               //Currency
                             if(currency==null)currency="";
                             String paymentterms= orderDetailsBean.getPaymentTerms();     //Payment Terms
                             if(paymentterms==null)paymentterms="";
                             String frieghtterms=orderDetailsBean.getFreightTerms();          //Freight Terms
                             if(frieghtterms==null)frieghtterms="";
                             String fobterms=orderDetailsBean.getFobTerms();                    //Fob Terms
                             if(fobterms==null)fobterms="";
                             String saleschannel=orderDetailsBean.getSalesTerms();          //Sales Channel
                             if(saleschannel==null)saleschannel="";
                             String billtoloc=orderDetailsBean.getBillToLocation();          // Bill to Location
                             if(billtoloc==null)billtoloc="";
                             String shiptoloc=orderDetailsBean.getShipToLocation();          //Ship To Location
                             if(shiptoloc==null)shiptoloc="";
                             String salesterr=orderDetailsBean.getSalesCountry();          // Sales Territory
                             if(salesterr==null)salesterr="";
                             String ordertype=orderDetailsBean.getOrderType();               // Order Type
                             if(ordertype==null)ordertype="";
                             String ordertotal=orderDetailsBean.getOrderTotal();               //Order Total
                             if(ordertotal==null)ordertotal="";
                             String linenumber=orderDetailsBean.getLinenumber();               //Line Number
                             if(linenumber==null)linenumber="";
                             String item= orderDetailsBean.getItem();                         //Item Name
                             if(item==null)item="";
                             String sku= orderDetailsBean.getCustomerSKU();               // Customer SKU
                             if(sku==null)sku="";
                             String desc= orderDetailsBean.getDescription();               //Item Description
                             if(desc==null)desc="";
                             desc = URLEncoder.encode(desc);                                        // Added by Sunil
                             desc = URLDecoder.decode(desc);
                             String qty=orderDetailsBean.getQty();                              //Ordered Quantity
                             if(qty==null)qty="";
                             String shippedqty=orderDetailsBean.getShippedQty();               //Shipped Quantity
                             if(shippedqty==null)shippedqty="";
                             String scheduleqty=orderDetailsBean.getScheduleDate();          //Schedule Date
                             if(scheduleqty==null)scheduleqty="";
                             String unitprice=orderDetailsBean.getUnitPrice();               //Unit Price
                             if(unitprice==null)unitprice="";
                             String xamount=orderDetailsBean.getXAmount();                    //Extended Amount
                             if(xamount==null)xamount="";
                             String taxestotal=orderDetailsBean.getTaxesTotal();               //Taxes Total
                             if(taxestotal==null)taxestotal="";
                             String freightcharges=orderDetailsBean.getFreightCharges();//Freight Charges
                             if(freightcharges==null)freightcharges="";
                             String palletcharges=orderDetailsBean.getPalletSurcharge();     //Pallet Charges
                             if(palletcharges==null)palletcharges="";
                             String chargestotal=orderDetailsBean.getChargesTotal();          //Charges Total
                             if(chargestotal==null)chargestotal="";
                             String linestatus=orderDetailsBean.getLinestatus();               //Line Status
                             if(linestatus==null)linestatus="";
                             String shipdate=orderDetailsBean.getShipDate();                    //Ship Date
                             if(shipdate==null)shipdate="";
                             String warehouse=orderDetailsBean.getWareHouse();               //Ware House
                             if(warehouse==null)warehouse="";
                             String trackingnumber=orderDetailsBean.getTrackingNumber();//Tracking Number
                             if(trackingnumber==null)trackingnumber="";
                             String waybill=orderDetailsBean.getWayBillnumber();               //Waybill Number
                             if(waybill==null)waybill="";
                             String deliverynumber=orderDetailsBean.getDeliveryNumber();     //Delivery Number
                             if(deliverynumber==null)deliverynumber="";
                             String pronumber=orderDetailsBean.getProNumber();               //Pro Number
                             if(pronumber==null)pronumber="";
                             String holdapplied=orderDetailsBean.getHoldApplied();          //Hold Applied
                             if(holdapplied==null)holdapplied="";
                             String palletqty=orderDetailsBean.getPalletQty();               //Pallet Qty
                             if(palletqty==null)palletqty="";
                             String pallethash=orderDetailsBean.getPalletHash();               //Pallet Hash
                             if(pallethash==null)pallethash="";
                             String invoicenumber=orderDetailsBean.getInvoiceNumber();               //invoice Number
                             if(invoicenumber==null)invoicenumber="";
                             String promonumber=orderDetailsBean.getPromoNumber();               //Promonumber
                             if(promonumber==null)promonumber="";
                             String shipmethod=orderDetailsBean.getShipMethod();               //Promonumber
                        if(shipmethod==null)shipmethod="";
                   %>
                   <tr>
                   <td><%=orderNumber%></td>
                   <td><%=customerName%></td>
                   <td><%=orderedDate%></td>
                   <td><%=bookeddate%></td>
                   <td><%=requestdate%></td>
                   <td><%=orderstatus%></td>
                   <td><%=ponumber%></td>
                   <td><%=currency%></td>
                   <td><%=paymentterms%></td>
                   <td><%=frieghtterms%></td>
                   <td><%=fobterms%></td>
                   <td><%=saleschannel%></td>
                   <td><%=billtoloc%></td>
                   <td><%=shiptoloc%></td>
                   <td><%=salesterr%></td>
                   <td><%=ordertype%></td>
                   <td><%=ordertotal%></td>
                   <td><%=linenumber%></td>
                   <td><%=item%></td>          
                   <td><%=sku%></td>
                   <td><%= desc %></td>
                   <td><%=qty%></td>
                   <td><%=shippedqty%></td>
                   <td><%=scheduleqty%></td>
                   <td><%=unitprice%></td>
                   <td><%=xamount%></td>
                   <td><%=taxestotal%></td>
                   <td><%=freightcharges%></td>
                   <td><%=palletcharges%></td>
                   <td><%=chargestotal%></td>
                   <td><%=linestatus%></td>
                   <td><%=shipdate%></td>
              <td><%=warehouse%></td>
                   <td><%=trackingnumber%></td>
                   <td><%=waybill%></td>
                   <td><%=deliverynumber%></td>
                   <td><%=pronumber%></td>
                   <td><%=holdapplied%></td>
                   <td><%=palletqty%></td>
                   <td><%=pallethash%></td>
                   <td><%=invoicenumber%></td>
                   <td><%=promonumber%></td>
                   <td><%=shipmethod%></td>
                   </tr>
                   <%     }
              %>
              </table>
              </body>
              </html>
    Please suggest the needful...
    Praveen Reddy

  • Protect The Cells in the Excel Sheet Even After giving the password.

    Hi All,
    I need to protect the cells in the report even after unprotecting the sheet after giving password.
    That is, i have used some excel formulas in some cells, these cells are to be protected.
    In Reports using EVDRE all the cells are getting, "Locked" option selected in the Protection tab by default. Even if we change that Option and refresh the sheet Locked is getting selected again.
    So once we Protect the sheet using password all cells are getting locked. But once we remove password all cells are free to enter.
    I want the user of the Sheet to use only certain columns in the Sheet. and all the other columns should not be user editable.
    Please help me out in solving this issue.
    Thanks in Advance,
    Regards,
    G.Vijaya Kumar

    Hi Vijaya,
    I tested in my test environment and even after refresh , the range cells are still editable, they didnt get locked. I did the following:
    1. Selected the range or column in Excel, then Tools - Protection - Allow users to edit range. I selected the range and gave the password.
    2. Next I protected the complete sheet.
    3. Now entire sheet is protected. Now again I selected the range in which I want to edit, first time it will ask for password which you gave for the range. So I gave and I was able to edit the cells.
    4. I selected other cells and was not able to edit it so they are still locked.
    5. I tried to refresh the report , and then I selected the range cells to edit and still I was able to edit it. Those cells didnt get locked.
    So did you do the same things?
    Thanks.

  • How to change the cell value in Excel Sheet in WD Java?

    HI,
    I have an application which is used to upload and download excel sheet.I can upload the excel sheet through Upload UI element and also able to download the same file through Download UI.But before download I want to validate the excel sheet.If data is not proper in the excel then I have to put some comment (cell comment).I am able to read each cell value,but not ble to put any comment.Once I pt commen in the cell,the download file should display the commented in the excel sheet.
    Please let me know how to update hte excel sheet.
    Sandip

    hi Sandeep,
    I'm not sure about the HSSF apis, however, i inserted the Cell Comments using jexcel apis. There is a method setComment(java.lang.String s, double width, double height) in class WritableCellFeatures using which you can insert cell comments
    For more details refer [link|http://jexcelapi.sourceforge.net/resources/javadocs/current/docs/jxl/write/WritableCellFeatures.html]
    Abhinav

  • How to synchronize a cell in form with a cell in MS excel sheet

    dear all
    I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
    I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , i need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
    please help

    Dear all
    I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
    I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , I need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
    I searched the web several times . Some people adviced me to use "Apache-jakarta-poi" . It is a pure java code. But my knoledge in java is limited.I asked on Oracle forums -
    how to synchronize a cell in form with a cell in MS excel sheet - but no one can help
    I tried the oracle forms demo "OLEEXCEL.fmb" . But this form is not working correct .
    I need to embed ole2 in my form that holds excel sheet and passes values from text items to the excel sheet.
    My last try is that I did the following :
    1- in the main canvas i insert the OLE2 control
    2- Right Click and choose insert
    3- from the dialog i chosed Excel Sheet
    4- I placed a button on my canvas then i on the button I write this code
    declare
    worksheet ole2.obj_type;
    cell ole2.obj_type;
    args ole2.list_type;
    begin
    forms_ole2.activate_server('block1.excel_sheet');
    worksheet := forms_ole2.get_interface_pointer('block1.excel');
    args := ole2.create_arglist;
    ole2.add_arg(args,1) -- column1
    ole2.add_arg(args,1) -- cell1
    cell := ole2.invoke_obj(worksheet,'cell',args);
    ole2.destroy_arglist(args);
    ole2.set_property('cell','value',:text1);
    ole2.release_obj(cell);
    ole2.release_obj(worksheet);
    end;
    I get this error ora-305500
    and when i debug , the code stop in this line : cell := ole2.invoke_obj(worksheet,'cell',args);
    please help

  • How to get(copy) the contents i.e the cell of an excel sheet to other excel

    How to get(copy) the contents i.e the cells of an excel sheet to another excel sheet.
    I can read the contents i.e the text in the cells and able to display it in the Java console
    i want these contents to be copied to another excel sheet with the cells data.
    I am using Java Swing for the UI, POI framework for the excel work.
    Please anyone suggest some code to this requirement.

    [spreadsheets with poi|http://poi.apache.org/spreadsheet/converting.html] Hi
    on the poi apache site there's a number of good examples...
    I started with poi only a week ago, but just from reading these examples
    (especially SS Usermodel code) i managed all i needed to know (so far).
    kind regards
    BB
    Edited by: BugBunny on Feb 22, 2010 4:36 AM

  • How can I merge folder with the same name so that the content does not replace the other

    How can I merge folder with the same name so that the content does not replace the other?

    >
    That's only a good idea if the semantics of sayHello
    as defined in MyInterface suggest that a
    RemoteException could occur. If not, then you're
    designing the interface to suit the way the
    implementing classes will be written, which smells.
    :-)But in practice you can't make a call which can be handled either remotely or locally without, at some point, dealing with the RemoteException.
    Therefore either RemoteException must be part of the interface or (an this is probably more satisfactory) you don't use the remote interface directly, but MyInterface is implemented by a wrapper class which deals with the exception.

  • How to handle an update of the same record from two different user  in JSP

    how to handle an update of the same record from two different user
    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    Usually, if two users try to update the same row at the same time, you want the first to commit to succeed, and when the second commits, they should fail with the error that the row was being concurrently updated. They you may want to show them the new row values and give them the opportunity to merge their values with the new row values...
    How can you achieve this? Google optimistic locking.

  • How to download the ALV output with colors into the excel sheet

    Hi,
      I'm having an ALV Grid report output where each and every row has some colors in it. When i download it to an excel sheet whatever the colors that comes on the output of the report the same should come in the excel sheet. When i download the output to an excel sheet using List --> Export -->Local file . If i open the excel files no colors are coming in the excel sheet.
    can anyone tell how to get the colors in the excel sheet also. thanks...
    Regards,
    Rose.

    Hi Camila,
    Use the OLE concept.
    Check the below threads:
    Colors in Excel Sheet
    colors in alv
    Regards,
    Soumya.

  • I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

    I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

    How many pictures (or how many bytes) are we talking?  Now that the pictures are imported one way to cross users is to use a removable drive (although large volumes of files preclude this).
    The other is to login as the user where the pictures are, then copy them into the public drop box of the user where you want the picture.
    The arrow is showing (in ths example) copy files from the Pictures folder for my user to the guest user accounts public dropbox.  When you do this you may have to authenticate and you won't be able to see the results of the copy until you log in as the other user.
    All users are in the folder "/Users/"

  • How do I merge events on the new IPhoto. The old one was simply drag and drop, this one will not.

    How do I merge events on the new IPhoto. The old one was simply drag and drop, this one will not.

    There are no longer events in Photos.  The new Photos for Mac is structuring the Photos Library automatically into Moments based on dates and locations. You cannot change the moments.
    When Photos migrates an iPhoto Library, it will create album for each event in the iPhoto Library, as a substitute, but these album based "events" are a fake, because albums behave differently from events.
    In iPhoto each photo could be only in one event, so you could move photos from one event to another. With albums, dragging a photo from an album to another album will simply add the photo to the other album as well.
    You will have to remove the photo from the original album.

  • How to handle multiple selection in the Spark List control with checkbox as itemrenderer?

    Hi All,
    I am using checkbox as an ItemRenderer in spark list.
    I have a query.
    how to handle multiple selection in the Spark List control with checkbox as itemrenderer?
    how to retrieve the selected item label?
    Thank you in advance.

    Hi there, I'll tweak your code a little bit to something like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="vertical">
        <mx:Script>
            <![CDATA[
                 import mx.events.ListEvent;
                 import mx.controls.CheckBox;
               [Bindable]
               private var mySelectedIndexes:ArrayCollection=new ArrayCollection();
                private function onChange(e:ListEvent):void
                   if(CheckBox(e.itemRenderer).selected){
                             mySelectedIndexes.addItem(e.rowIndex);
                   }else{
                                  mySelectedIndexes.removeItemAt(mySelectedIndexes.getItemIndex(e.rowIndex));     
                   chkList.selectedIndices=mySelectedIndexes.toArray();
            ]]>
        </mx:Script>
    <mx:ArrayCollection id="collection">
            <mx:Object label="Test A"/>
            <mx:Object label="Test B"/>
            <mx:Object label="Test C"/>
            <mx:Object label="Test D"/>
            <mx:Object label="Test E"/>
            <mx:Object label="Test F"/>
            <mx:Object label="Test G"/>
        </mx:ArrayCollection>
    <mx:List id="chkList" dataProvider="{collection}" itemRenderer="mx.controls.CheckBox"  itemClick="onChange(event);" allowMultipleSelection="true"/>
    </mx:Application>

  • How to handle multiple request in the servlet

    how to handle multiple request in the servlet...
    Example:
    java forum...
    i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
    if we use thread how to implement in servlet ?

    Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
    This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method.

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

  • How to trigger the workflow from the excel sheet

    hello friends,
    my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone  help on this.
    thanks.

    Hi Murthy,
    If you are asking if a workflow can be started on R/3 while in Excel - may be possible if you can develop some fancy macros that can make RFC calls to an ABAP function module. I won't even attempt to travel that route.
    Save the excel sheet as CSV or Tab delimited file and process it using ABAP. You can use the WAPI function module SAP_WAPI_CREATE_EVENT (Rel 4.7)to start the Workflow by raising the relevant event. In earlier releases, see FM SWE_EVENT_CREATE.
    Please do keep in mind there could be performance and response time issues for dialog users of the system if you are going to start several workflows using a report program.
    Cheers,
    Ramki.

Maybe you are looking for