How to implement copy functionality in advanced table

hi all, i have a advanced table with some data populated, all the rows has a checkbox where the user can select the rows which he wants, my requirement is how to implement copy functionality, i,e i need to show the same set of rows which the user selected in the same advanced table. can any one give me an idea of how to do this

You can copy the key of the selected rows to the copy page and based on those keys render the rows. On this copy page, once user commits after any modification to data, read those rows and save with new keys.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to implement dependent poplist in advanced table

    Plaese help to implement dependent poplist in advanced table, I am using below mention code and component.
    ProcessRequest()
    OAAdvancedTableBean advTable = (OAAdvancedTableBean)webBean.findChildRecursive("region1");
    OAMessageChoiceBean empPoplist = (OAMessageChoiceBean)advTable.findChildRecursive("item4");
    empPoplist.setListVOBoundContainerColumn(0, advTable,"item3");
    ProcessFormRequest()
    if ("event".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    am.invokeMethod("EnameVO");
    AM Code
    public void initStateVOQuery()
    EnameVOImpl vo=getEnameVO() ;
    if (vo == null)
    { MessageToken[] errTokens =
    new MessageToken("OBJECT_NAME", "CountyVO1")};
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    vo.executeQuery();
    EnameVoQuery
    SELECT ENAME ,
    DEPTNO
    FROM EMP
    WHERE DEPTNO = :1
    DeptVO Query:
    select deptno,dname from dept
    Requirement: Inside advanced table first column contain item3 poplist which is used to display dept number, when user select dept no then second column which is contain item4 poplist shoul display correspondent record based on value of item3.

    You can copy the key of the selected rows to the copy page and based on those keys render the rows. On this copy page, once user commits after any modification to data, read those rows and save with new keys.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to implement settings function in std table ?

    Hi All,
          Alv table is having setting functionality by default . I need to provide the similar functionality in standard table . Is there any way for that ? . If any knows , how to do that , please provide me the steps .
    Regards,
    Kalpana .

    Hi,
    We dont have exact functionalities of Table settings in normal table.But some useful functionalities we have those are
    1. To create the header( set_header & get_header).
    2. To set text( set_text & get_text).
    3. Set_visible.
    4. set_tooltip.
    5. set-read_only
    6. set_toolbar & get_toolbar
    you can achieve maximum functionalities using cl_wd_table if in case you want to use table instead of table.
    Thanks
    Suman

  • How to implement web functionality in OBIEE.

    Hi,
    Please help me in how to implement " web functionality" in OBIEE. Also need ur sugegstions for the below features while implement.
    a.Full set of features
    b.Installation
    c.Inter-changeability
    reg,kannan

    hi,
    Java  jdk-1_5_0_06-windows-i586-p.exe
    OBIEE  OBIEE 10.1.3.3
    1.     Copy biee_windows_x86_101330_disk1.zip file in to your local drive, extract it and run setup file
    2.     For the documentation BIDOC.zip in to your local machine, extract and explore
    Task
    1.     Copy installation files into your local machine
    2.     Install JAVA/JDK
    3.     Set JAVA_HOME, PATH, CLASSPATH
    4.     Install OBIEE
    5.     Explore OBIEE physical folders
    6.     Explore OBIEE installed components
    7.     Create some sample reports and charts.
    or else see the below link for installation
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/install/installoraclebee.htm
    Regards
    Naresh

  • How to create dependent LOV in Advanced Table.

    Hi,
    How to create dependent LOV in Advanced Table. Pls help send me the steps.
    Thanks in Advance,
    Hanimi....

    Hi,
    Not sure whether you need dependent LOV or dependent poplist. But anyways, you can refer the below link for Dependent LOV
    http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
    and for Dependent Poplist refer the below link:
    http://oraclearea51.com/component/content/article/98-oa-framework/370-dependent-poplist-in-an-advanced-table-in-oaf.html
    Regards,
    Sudhakar Mani
    http://oraclearea51.com/sudhakarmani

  • How to implement AI_Change_Parameter function?

    Hi, everyone, I just bought a NI 4472 DSA board, and want to enable IEPE excitation for a channel for connecting a ICP Accelerometer, but I do not have LabView, only use MATLAB, I don't know how to implement  AI_Change_Parameter function in the matlab? I know the devNum is 1 and chanNum is 2, then directly use this function {AI_Change_Parameter (1, 2, ND_DSA_EXCITATION, ND_ON) } in MATLAB, it does not work, could you please let me know what is the problem and how can I use this AI_Change_Parameter function?
    Another question: I checked here and found that the amplifier gain for this NI 4472 DAS board can NOT been adjusted, is that true? I just plan to amplify the signal before it goes to MATLAB.
    Thanks.

    Hi,
    In regards to your question on the amplifier gain, you are correct, there is only 1 range setting on the 4472.
    In regards to you question on programming Traditional NI-DAQ in Matlab, this shuold be handled on your post on the Multifunction DAQ forum to get the most help from other users with similar experience.
    Have a great day!
    Travis W

  • Explain how to implement prompt functionality using @variable

    Hi all,
    Anyone please explain how to implement prompt functionality using @variable.
    We got some sql reports.Those reports have to be converted into BO free hand sql report.
    Please provide any best practices for converting sql reports into BO free hand SQL.
    Thanks & Regards,
    James Charle

    Hi
    Please refer "@Variable" section  in page number 601, in http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_designer_en.pdf
    Regards
    Ashwini

  • How to implement erase function of paint program?

    Hello all:
    there are many demo programs on the website that indicates how to implement
    a simple draw line java program.
    However, i didn't find available source to learn how to implement the erase function,
    so that we can erase part of line or all lines.
    Some programs present the methods to do undo operations, however none of them
    related directly to how to implement erase function.
    thank you for comments
    -Daniel

    Hello all:
    there are many demo programs on the website that
    indicates how to implement
    a simple draw line java program.
    However, i didn't find available source to learn how
    to implement the erase function,
    so that we can erase part of line or all lines.
    Some programs present the methods to do undo
    operations, however none of them
    related directly to how to implement erase function.
    thank you for comments
    -DanielThere are a few ways depending on the app requirement or design.
    The simplest one is to draw with the background color, typically white.

  • How to implement "SelectAll" function in table view?

    hi, experts
    i want to implement "SelectAll" function in table view, just like the SelectAll function in ALV,how to do?
    and, can table view has it's tool bar ,may be on top of it.
    pls help and thanks a lot!!

    Search this forum. You will find plenty of threads on the same...
    Raja

  • How to implement copy paste functionality with IE

    Hi Experts,
    I am working on jdev 11.1.1.6.0, I have requirement to implement copy & paste functionality with IE Browser in ADF table. I have followed below link to implement the functionality.
    http://one-size-doesnt-fit-all.blogspot.com/2011/04/aftable-restoring-basic-browser-copy.html
    But copy&functionality is working fine, but when table loading I lost vertical/horizontal scroll bar. Can any one suggest me what is wrong here/what i am missing here.
    My logic:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:sni="/SNIDeclarativeComponentLib">
      <c:set var="tumuiBundle" value="#{adfBundle['sni.tum.view.TestUIBundle']}"/>
      <af:resource type="javascript">
        var globalLastVisitedField = null;
        function captureTableFieldName()
          return function (evt)
            evt.cancel();
            globalLastVisitedField = evt.getSource();
        function copyMenu(evt)
          if (globalLastVisitedField == null)
            alert("copyMenu() Error: No field could be
                                     identified to be in focus");
          else if (navigator.appName != "Microsoft Internet
                                     Explorer")
            alert("Copy function is only
                                     supported in Microsoft Internet Explorer");
          else
            var txt = globalLastVisitedField.getProperty("ItemValue");
            window.clipboardData.setData('Text', "" + txt);
          evt.cancel();
      </af:resource>
      <af:subform id="f1" defaultCommand="srchcb">
        <af:panelStretchLayout id="psl1" topHeight="auto" bottomHeight="auto"
                               styleClass="AFStretchWidth">
          <f:facet name="center">
            <af:panelCollection id="tab" styleClass="AFStretchWidth">
              <af:table value="#{bindings.TestVO.collectionModel}"
                        var="row"
                        rows="#{bindings.TestVO.rangeSize}"
                        emptyText="#{bindings.TestVO.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.TestVO.rangeSize}"
                        rowBandingInterval="1"
                        selectionListener="#{bindings.TestVO.collectionModel.makeCurrent}"
                        rowSelection="multiple"
                        id="Table" styleClass="AFStretchWidth"
                        contentDelivery="immediate">
                <f:facet name="contextMenu">
                  <af:popup id="pMenu" contentDelivery="lazyUncached">
                    <af:menu id="mMenu">
                      <af:commandMenuItem text="Copy" id="cmiCopy">
                        <af:clientListener method="copyMenu" type="action"/>
                      </af:commandMenuItem>
                    </af:menu>
                  </af:popup>
                </f:facet>
                <af:column sortProperty="Name" sortable="true"
                           headerText="#{bindings.TestVO.hints.Name.label}"
                           id="c33">
                  <af:outputText value="#{row.Name}" id="Nam">
                    <af:clientListener method="captureTableFieldName()"
                                       type="contextMenu"></af:clientListener>
                    <af:clientAttribute name="ItemValue"
                                        value="#{row.Name}"></af:clientAttribute>
                  </af:outputText>
       </af:column?
       </af:Table>
    -Thanks.

    Hi,
    I can't tell. What I can tell is that the code in the sample you reference for sure doesn't cause this - but it doesn't help you I guess.
    Btw.: Here is a solution that works on all browsers. The solution in the blog (Chris - please forgive me) is a bit awkward to be honest.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/012-copy-table-cell-values-169137.pdf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/tablecellcopypaste-168499.zip
    Frank

  • How to get current row of Advanced table with no submit

    I have an advanced table with an 'Add another button'. When an empty row is created by clicking this button, LOV is used on the first column to populate other fields of the row. The rows of the table carry a button called "Add dependencies" whose functionality is to take the user to a different table to add rows to a different VO. This button is just a button and not a submitButton. I am passing the row's primary key as part of the URI as Vo attribute FdTaskId={@FdTaskId}
    The button works perfectly fine for database fetched rows (rows already present in the database), but, for the rows created using 'Add Another button', though LOV populates all fields including the primary key, the URI parameter passes null to the next page. That means, the VO attribute is not set. This works fine only when a 'submit' happens in the first page. For example, if I click Add another row again, then the previously inserted row passes the primary key fine as part of {@FdTaskId}.
    Could you please help me how I can resolve this issue?
    Thanks,
    Datta

    I am doing exactly that. My issues is that, VO attribute is passed correct for the table rows which are fetched from the database. For the table rows which got created through 'Add Another button', the VO attribute passed through URI as {@FdTaskId} is returning null. The VO attribute sets only when a form submit happens. For example, after adding a row through 'Add another row' button, click the same button again to add one more row and now go back to previously added row and now you can see that its VO attribute is set ({@FdTaskId} carries value )

  • How to use aggregate function on internal table

    hi experts,
    I am beginner in abap.I want to use sum function on internal table.
    I have structure as follow:
    types: begin of ty_ftab,
           docno TYPE bkpf-belnr,
           comcode TYPE bkpf-bukrs,
           year TYPE bkpf-gjahr,
           line_itm type bsad-buzei,
           cust type bsad-kunnr,
           amt type bsad-dmbtr,
    end of ty_ftab.
    data: it_ftab type table of ty_ftab,
               wa_ftab type ty_ftab.
    i fetched data successfully into it_ftab from bkpf and bsad table and displyed into alv.
    now i want sum of amt using group by cust and want to display like
    cust        total_amt      
    in next screen...
    displying part is not important but how can i do sum of amt according to cust value? Is there in way to query on internal table?

    Hi,
    try this code,
    data : i_sort  TYPE TABLE OF slis_sortinfo_alv
      w_sort like LINE OF i_sort.
    sort it_ftab by cust.
    w_sort-subtot = 'X'.
    w_sort-fieldname = 'AMT'.
    w_sort-tabname = 'it_ftab'.
    APPEND w_sort to i_sort.
    In fieldcatalog :
    w_fcat-fieldname = 'AMT'.
    w_fcat-tabname  = 'it_ftab'.
    w_fcat-do_sum = 'X'.
    In REUSE_ALV_GRID_DISPLAY  FUNCTION MODULE  provide the it_sort.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    *  EXPORTING
    *    I_INTERFACE_CHECK                = ' '
    *    I_BYPASSING_BUFFER                = ' '
    *    I_BUFFER_ACTIVE                  = ' '
    *    I_CALLBACK_PROGRAM                = ' '
    *    I_CALLBACK_PF_STATUS_SET          = ' '
    *    I_CALLBACK_USER_COMMAND          = ' '
    *    I_CALLBACK_TOP_OF_PAGE            = ' '
    *    I_CALLBACK_HTML_TOP_OF_PAGE      = ' '
    *    I_CALLBACK_HTML_END_OF_LIST      = ' '
    *    I_STRUCTURE_NAME                  =
    *    I_BACKGROUND_ID                  = ' '
    *    I_GRID_TITLE                      =
    *    I_GRID_SETTINGS                  =
    *    IS_LAYOUT                        =
    *    IT_FIELDCAT                      =
    *    IT_EXCLUDING                      =
    *    IT_SPECIAL_GROUPS                =
        IT_SORT                          =  i_sort
    *    IT_FILTER                        =
    *    IS_SEL_HIDE                      =
    *    I_DEFAULT                        = 'X'
    *    I_SAVE                            = ' '
    *    IS_VARIANT                        =
    *    IT_EVENTS                        =
    *    IT_EVENT_EXIT                    =
    *    IS_PRINT                          =
    *    IS_REPREP_ID                      =
    *    I_SCREEN_START_COLUMN            = 0
    *    I_SCREEN_START_LINE              = 0
    *    I_SCREEN_END_COLUMN              = 0
    *    I_SCREEN_END_LINE                = 0
    *    I_HTML_HEIGHT_TOP                = 0
    *    I_HTML_HEIGHT_END                = 0
    *    IT_ALV_GRAPHICS                  =
    *    IT_HYPERLINK                      =
    *    IT_ADD_FIELDCAT                  =
    *    IT_EXCEPT_QINFO                  =
    *    IR_SALV_FULLSCREEN_ADAPTER        =
    *  IMPORTING
    *    E_EXIT_CAUSED_BY_CALLER          =
    *    ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          =
    *  EXCEPTIONS
    *    PROGRAM_ERROR                    = 1
    *    OTHERS                            = 2
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.

  • How to implement extension for a mara table

    Hi All,
    Recently we appended mara table with couple of fields. But in order to make use of these two fields in all bapis and other functions how to add these fields to those bapis (i mean how to make extensions). Some where i read that we have to add these fields to BAPIPAREX. Can some body explain how to implement extensions.
    Thanks

    Actually i added these two fields to bapi_te_mara. But how this structure will be used in bapis with the help of extension in and extensionX tables in the bapi or example bapi_material_savedata.

  • Implementing Search functionality on Database Table

    Hi Experts,
    I am working with webcenter sites 11gR1.
    I would like to implement search functionality in our Site on a  Specific DataBase table.
    could you please let us know the best solution.
    Thanks in Advance
    Rajendar Pilli.

    Hi Jay,
    Thanks for your response and help. 
    1)Both the ways are fine with me. Could you please suggest me know the best way.
    2)And, if i want search on a  table which is not an "AssetType" table , is it possible?
    (Means,i want implement one search in my site that can search the data only in non Assettype table).
    Could you please provide your valuable help ASAP.
    Thanks in Advance,
    Rajendar Pilli.

  • How to get the value from Advanced table

    Hi,
    In the Advanced table have 2 LOV fields, I need LOV field value dynamically in the controller to validate the save button, if iam not selected any value in lov save button will not allow to save the data. In the table i am using 'Add another row'. How to get the lov field value in the process form request??? and how to do this requirement
    Thanks
    Naresh

    1. You can specify required property on LOV field to "yes". For events where you wish to disable the client side validations, set the property disable client side validation to "true".
    2. If above behavior is not what you are looking for, then you need to handle in AM and not CO.
    a. Call an AM method from CO.
    b. In that AM method, get handle of VO.
    c. Iterate the VO Rows and check for your validation rules.
    -Prince
    http://www.princekapoor82.blogspot.com

Maybe you are looking for

  • "insufficient existing resources to complete requested service" IO problem?

    Hi, my application reads from a repository of 1 million documents and then do some processing (very simple and requires little memory or computation) then outputs to another repository, where output files are placed in a flat structure, i.e., 1 milli

  • Imovie09  compatible formats

    I have video in .mpg format and want to use imovie09. What is the recommended conversion format to create best quality iMovie projects? Is it .mpg2? What is the recommended Mac Os10.6.3 compatible video converter? Can MPEG Streamclip be used to make

  • Microsoft SQL Server 2008 Express for SAP BO BI 4.0

    Dear Experts, I am curently installing a SAP BO BI 4.0 with the bundle database, and after watching the thread  10610337 and http://www.microsoft.com/sqlserver/en/us/product-info/compare.aspx I am wondering if the SQL server express is sufficient for

  • Resizing photos to file size.

    Hi all, I'm trying to resize a pic to 10 k file size for use as an online avatar. Ideally I'd like to keep it around 100 by 135 pixels. In Windows this is very easy but in the amazingly overhyped and under-featured iphoto it appears to be well nigh i

  • I need help to deactivate Photoshop elements. But my old computer is broken.

    I need help to deactivate Photoshop elements. But my old computer is broken.