Issue in Table Selection

Dear All,
I have one table with sales orders. I want to create delivery using bapi. it is working.
Problem is for example i have 3 orders in table... If i select first ( 1st Order ) and +CTRL i am selecting remaining 2.
and i am trying to create delivery it is taking one order or one order with one line item only. I checked in debug all 3 orders with all line items are supplying to BAPI. This is one case.
Another... If i select 3rd Order First and + CTRL and selecting 2 and 1st. and i am trying to create delivery.
Unfortunately it is creating develiry for all orders with all line itesm...  I am not getting whats and where the problem.??
If we know the problem we find solution.... Any helps here???
Thanks,
Venky.

Can anyone please help me on this
Thnaks

Similar Messages

  • Issue with table selection in popup window in oaf

    Hi ALL,
    I have a popup seach window in that i am displaying search data in table region below, from that i need to select the number of rows and clicking on a button the same selected rows should display in another page.
    i tried with using RowSetIterator but not able to achive this , please help me out on this.
    Thnaks

    Can anyone please help me on this
    Thnaks

  • Issue with table selection and display the seleted rows in another page as a table data

    Dear ALL,
    I have a  requirement as below:
    I have a custom OAF  page having one button, on pressing the button it will open a popup window, in that i am doing search operation and data would populate in table region below.
    Then from the table i am doing multiple selection of rows and i have a button, on pressing the button the seleted rows should display in the base page where i called this popup window and popup window should close.
    so i am able to perform multiple selection of row  from the table but how i can display the seleted rows in my base page  and how i can close the poup window after the seleted rows displayed in the base page, please help me on this.
    Thanks
    Deb

    Hi,
    For navigation data from one page to another  you can use  a hashmap that contains the parameters.
    // processFormRequest()
    HashMap hsp = new HashMap(1);
    hsp.put("myParam", "myParamVal");
    pagecontext.setForwardURL("MY_FUNCTION", (byte)0, null, hsp,true, "N", (byte)0);
    You can then retrieve this parameter in processRequest() via:
    pagecontext.getParameter("myParam")
    //Code for redirect to base page with commit
    Refer to the setPostToCallingPage method, from OADialogPage Class how to make the dialog page action buttons submit back to the calling page. In the example, the OK button commits the changes on the dialog page and the NO button rolls back the changes.
    OADialogPage dialogPage = new OADialogPage(OAException.*, mainMessage, null, "", "");
    dialogPage.setOkButtonItemName("okButton");
               dialogPage.setOkButtonToPost(true);
               dialogPage.setNoButtonToPost(true);
               dialogPage.setPostToCallingPage(true);
               dialogPage.setOkButtonLabel(yes);
               dialogPage.setNoButtonLabel(no);
    Thanks,
    Dilip

  • Multiple table select Performance Issue

    Hi,
    I would like to get an opinion which from these query which is faster and has a performance issue..
    SELECT EMP_ID, NAME, DEPT_NAME
    FROM EMP, DEPT
    WHERE EMP_ID = DEPT_ID;
    or
    SELECT EMP_ID, NAME, (SELECT DEPT_NAME FROM DEPT WHERE ID = P_ID)
    FROM EMP
    WHERE EMP_ID = P_ID;

    lets say that EMP_ID on Dept table is linked to EMP_ID table on EMP..Well...I don't get your design, but the two queries may return different results.
    Comparing the performance doesn't make sense.
    Nevertheless, the only way is to run them both and see which one is faster or see which one has the lowest IO.
    There's no way we can tell you which is faster by just looking at the text of the queries.
    Post some explain plans or traces.

  • Missing table selection toolbar in acrobat 9 pro

    Hi,
    I had been using acrobat 6.0 and there was a dedicated table selection toolbar such that when i clicked it, table selection could be done anytime. But in acrobat 9, the table selection has to be done by right clicking each time. This is tiresome as my pdf document have large numbers of tables at different locations. How can i bring the tool back in acrobat 9? or is there another way round so that i dont have to right click each time?
    Please help.

    The table icon left, but to get the same result you simply select the columns with the ALT or Shift key held down (don't remember which one). This option selects text in a region. That might do the job. Typically the ability to get the columns right depends on the table being tagged properly. That might be the issue you are having that the tags do not exist.
    I just printed a PDF from an Excel page and then used the instructions in the manual to copy. It opened in a new Excel page just fine and in a column form. Here are the instructions from the manual for AA9 Pro:
    Copy tables and charts
    If it is not already selected, click the Select tool .
    Highlight the entire table or the rows and columns to copy.
    To force Column Select mode, press Alt as you drag a rectangle over the column of text. 
    Right-click the selection, and choose one of the following options:
    Copy As Table
    Preserves formatting when you copy the table to Excel. In Excel, use the Paste Special command and select XML Spreadsheet.
    Save As Table
    Lets you paste the table to a new file.
    Open Table In Spreadsheet
    Opens the table in a CSV-compliant application, such as Excel.To copy a table in RTF, drag the selected table into an open document in the target application.

  • Dynamic Table selection

    Hi All,
    Please help me to resolve this Issue.
    Internal table - IT which has table name like
    KOTH600 
    KOTH601 
    KOTH602 
    KOTH603   , All these table has field KNUMH.
    Loop at IT into WA. ( which has table name in it )
    select * from (WA-TABNAME) into (New_WA)
                where KNUMH = '100010'.
    write:/ New_WA - NAME.
    Endloop.
    Here issue is table name is dynamic and depending upon this New_WA will change. How can I give both table name and work-area dynamic.  ( I do not wish to define 4 new work-area, one for each to handle this situation as number of tables will increase going further ).
    Thanks in advance,
    Regards,
    Mayank Rajguru.

    In this example you have what you are looking for. Create dinamyc tables.
    REPORT Z_DUMMY_ATG NO STANDARD PAGE HEADING MESSAGE-ID SAPLWOSA.
    *=======================================================================
    Variables*
    *=======================================================================
    DATA DESCR_STRUCT_REF TYPE REF TO CL_ABAP_STRUCTDESCR.
    DATA WA_FCAT TYPE LVC_S_FCAT.
    DATA IT_FIELDCATALOG TYPE LVC_T_FCAT.
    DATA DATAREF TYPE REF TO DATA.
    DATA: ONE  LIKE PCFILE-DRIVE,
          TWO  LIKE PCFILE-PATH,
          LONG TYPE I,
          FLAG TYPE C,
          FILEPATH(128) TYPE C,
          FILE_TAB TYPE STRING,
          TABNAME LIKE DD02L-TABNAME.
    *=======================================================================
    Field-Symbols.*
    *=======================================================================
    FIELD-SYMBOLS:
                  <ROW> TYPE ANY TABLE,
                  <TABLE> TYPE STANDARD TABLE,
                  <COMPONENT> TYPE ABAP_COMPDESCR,
                  <FS>  TYPE ANY.
    *=======================================================================
    Selection screen*
    *=======================================================================
    SELECTION-SCREEN BEGIN OF BLOCK DATA WITH FRAME TITLE TEXT-T01.
    PARAMETERS:
        TABNAM(128) TYPE C,
        FUNCTION(1) TYPE C OBLIGATORY,
        LISTNAME LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK DATA.
    *=======================================================================
    At Selection screen*
    *=======================================================================
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR LISTNAME.
      PERFORM GET_FILENAME CHANGING LISTNAME.
    *=======================================================================
    Start-of-selection*
    *=======================================================================
    START-OF-SELECTION.
      CLEAR FLAG.
      PERFORM LOAD_DATA USING TABNAM.
      PERFORM VERIFY_TABLE USING TABNAM CHANGING FLAG.
      IF FLAG NE 'X'.
        IF FUNCTION EQ 'D'.
          PERFORM CREATE_TABLE USING TABNAM.
          PERFORM DOWNLOAD_TABLE USING TABNAM.
        ELSE.
          PERFORM CREATE_TABLE USING TABNAM.
          PERFORM UPLOAD_TABLE USING TABNAM.
        ENDIF.
      ELSE.
        MESSAGE S000 WITH 'The proposed table doesn''t exist.'.
      ENDIF.
          FORM GET_FILENAME                                             **
          Name of the directory.*
    FORM GET_FILENAME CHANGING LISTNAME.
      CALL FUNCTION 'WS_FILENAME_GET'
           EXPORTING
                DEF_FILENAME     = LISTNAME
                DEF_PATH         = 'C:\downloads\list'
                MASK             = ',.,.. '
                MODE             = 'S'
                TITLE            = 'Save as'
           IMPORTING
                FILENAME         = LISTNAME
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
    ENDFORM.
          FORM LOAD_DATA                                                **
          Specifies the path and table name*
    FORM LOAD_DATA USING MY_TAB.
      DATA: W_FILE LIKE PCFILE-PATH.
      W_FILE = LISTNAME.
      CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
           EXPORTING
                COMPLETE_FILENAME = W_FILE
           IMPORTING
                DRIVE             = ONE
                PATH              = TWO
           EXCEPTIONS
                INVALID_DRIVE     = 1
                INVALID_EXTENSION = 2
                INVALID_NAME      = 3
                INVALID_PATH      = 4
                OTHERS            = 5.
      CONCATENATE ONE ':' TWO INTO FILEPATH.
      CONCATENATE FILEPATH MY_TAB '.txt' INTO FILE_TAB.
    ENDFORM.
          FORM DOWNLOAD_TABLE                                           **
          Downloads the table data.*
    FORM DOWNLOAD_TABLE USING MY_TAB.
      *SELECT **
      INTO TABLE <ROW>
      FROM (MY_TAB).
      ASSIGN <ROW> TO <TABLE>.
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                FILENAME                = FILE_TAB
                FILETYPE                = 'ASC'
           TABLES
                DATA_TAB                = <TABLE>
           EXCEPTIONS
                FILE_WRITE_ERROR        = 1
                NO_BATCH                = 2
                GUI_REFUSE_FILETRANSFER = 3
                INVALID_TYPE            = 4
                NO_AUTHORITY            = 5
                UNKNOWN_ERROR           = 6.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  TITEL = 'Successful Download'
                  TXT1  = 'All the data from the table'
                  TXT2  = 'was correctly downloaded.'.
      ELSE.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  TITEL = 'Download Error!'
                  TXT1  = 'The data of the table'
                  TXT2  = 'couldn''t be downloaded.'.
      ENDIF.
    ENDFORM.
          FORM UPLOAD_TABLE                                           **
          Table Upload.*
    FORM UPLOAD_TABLE USING MY_TAB.
      ASSIGN <ROW> TO <TABLE>.
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                FILENAME                = FILE_TAB
                FILETYPE                = 'ASC'
           IMPORTING
                FILELENGTH              = LONG
           TABLES
                DATA_TAB                = <TABLE>
           EXCEPTIONS
                FILE_OPEN_ERROR         = 1
                FILE_READ_ERROR         = 2
                NO_BATCH                = 3
                GUI_REFUSE_FILETRANSFER = 4
                INVALID_TYPE            = 5
                NO_AUTHORITY            = 6
                UNKNOWN_ERROR           = 7.
      MODIFY (MY_TAB) FROM TABLE <TABLE>.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  TITEL = 'Successful Upload'
                  TXT1  = 'All the data from the table'
                  TXT2  = 'was correctly uploaded.'.
      ELSE.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  TITEL = 'Upload Error!'
                  TXT1  = 'The data of the table'
                  TXT2  = 'couldn''t be uploaded.'.
      ENDIF.
    ENDFORM.
          FORM CREATE_TABLE                                             **
          Creates a dynamic internal table.*
    FORM CREATE_TABLE USING MY_TAB.
      CREATE DATA DATAREF TYPE (MY_TAB).
      ASSIGN DATAREF-> TO <FS>.*
      DESCR_STRUCT_REF ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <FS> ).
      LOOP AT DESCR_STRUCT_REF->COMPONENTS ASSIGNING <COMPONENT>.
        WA_FCAT-FIELDNAME     = <COMPONENT>-NAME.
        WA_FCAT-REF_TABLE     = MY_TAB.
        WA_FCAT-REF_FIELD     = <COMPONENT>-NAME.
        APPEND WA_FCAT TO IT_FIELDCATALOG.
      ENDLOOP.
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
         EXPORTING
           IT_FIELDCATALOG           = IT_FIELDCATALOG
         IMPORTING
           EP_TABLE                  = DATAREF
         EXCEPTIONS
           GENERATE_SUBPOOL_DIR_FULL = 1
           OTHERS                    = 2.
      ASSIGN DATAREF-> TO <ROW>.*
    ENDFORM.
    *&      Form  VERIFY_TABLE
          The table must exist!*
    FORM VERIFY_TABLE USING TABNAM CHANGING FLAG.
      SELECT SINGLE TABNAME
      INTO (TABNAME)
      FROM DD02L
      WHERE TABNAME EQ TABNAM.
      IF SY-SUBRC NE 0.
        FLAG = 'X'.
      ENDIF.
    ENDFORM.

  • Does WCF-OracleDB adapter support XMLType data for table select operation

    I am getting this error When I do the consume adapter service for Oracle table select operation on one of the tables which has XMLType column. It's working fine for other tables. 
    Microsoft.ServiceModel.Channels.Common.MetadataException: Retrieval of Operation Metadata has failed while building WSDL at 'http://Microsoft.LobServices.OracleDB/2007/03/XXXX/Table/table_name/Select' ---> Microsoft.ServiceModel.Channels.Common.MetadataException:
    Incorrect Type: XMLTYPE. Possible causes: 1. Permission issue 2. Unsupported type.
       at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveTypeMetadata(String nodeId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetTypeMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.MetadataLookup.GetTypeDefinition(String typeId, TimeSpan timeout)
       at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveTypeMetadata(String nodeId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetTypeMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.MetadataLookup.GetTypeDefinition(String typeId, TimeSpan timeout)
       at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveOperationMetadata(String operationId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetOperationMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.SearchBrowseNodes(MetadataRetrievalNode[] nodes, WsdlBuilderHelper helper, TimeoutHelper timeoutHelper)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at Microsoft.ServiceModel.Channels.Common.Design.AdapterExceptions.ThrowMetadataException(String errorMessage, Object arg, Object source, Exception innerException)
       at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.SearchBrowseNodes(MetadataRetrievalNode[] nodes, WsdlBuilderHelper helper, TimeoutHelper timeoutHelper)
       at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.GenerateOperationSchemas(WsdlBuilderHelper helper, MetadataRetrievalNode[] nodes, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.WsdlBuilder.GetWsdl(MetadataRetrievalNode[] nodes, Uri uri, TimeSpan timeout)
       at Microsoft.Adapters.OracleCommon.OracleCommonWsdlRetrieval.Microsoft.ServiceModel.Channels.Common.IWsdlRetrieval.GetWsdl(MetadataRetrievalNode[] nodes, Uri uri, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataExchanger.ProcessMetadataGet(Message message, Uri target, TimeSpan timeout, MetadataLookup metadataLookup)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataExchanger.ProcessMetadataMessage(Message message, Uri target, TimeSpan timeout, MetadataLookup metadataLookup, Message& replyMessage)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ServiceModel.Channels.IMetadataRetrievalContract.GetMetadata(MetadataRetrievalNode[] nodes)
       at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel.GetWsdl(MetadataRetrievalNode[] nodes)
       at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel.btnProperties_Click(Object sender, EventArgs 
    My table has XMLType column which is also included for select.
    Thanks

    Hi Van&boatseller,
    The duplicate thread has been deleted, and thanks for your feedback.
    Best regards
    Angie Xu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in Issues/message table problem in RMMAIN

    Hello ,
    I have a problem in Issues/messages table in tx RMMAIN
    Problem:When i click on create "Issue" tab in RMMAIN,issue tab is disabled.
    Please let me know what i have to do?
    Regards,
    Neni

    Hi,
    Is this problem with a roadmap assigned with a project or a roadmap not yet assigned with a project?
    If this roadmap is assigned with a project, then:
    1. Go to tcode: SOLAR_PROJECT_ADMIN->select the project to which this roadmap is assigned.
    2. Go to tab->Project Standards->Select the tab "TABS".
    3. Check the visibility of the tab "Issues/Messages". It should be "Visible".
    If still the problem persists, then check whether you have this SAP_RMMAIN_EXE authorization.
    Check also that you have activated BC sets for service desk.
    SOLMAN40_SDESK_BASICFUNC_000
    SOLMAN40_SDESK_TPI_ACT_AST_001
    SOLMAN40_SDESK_ACTIONLOG_001
    SOLMAN40_SDESK_ACT_ADVCLOSE_001
    SOLMAN40_SDESK_TEXTTYPES_001
    Let me know if this not solved your issue.
    Regards,
    Sanjai

  • I want to know when we issue truncate table statement in oracle .

    i want to know when we issue truncate table statement in oracle .No log will be write in redo log .But we can recover data using flashback or scn.I want to know where is the actually truncate table statement log is stored in oracle database.Please explain me in detail step by step .

    Hi,
    I have truncated table after that i have restored that data.See below the example.I want to know from where it's restored.
    From which log file it's restored.
    create table mytab (n number, x varchar2(90), d date);
    alter table mytab enable row movement;
    Table altered.
    SQL> insert into mytab values (1,'Monsters of Folk',sysdate);
    1 row created.
    SQL> insert into mytab values (2,'The Frames',sysdate-1/24);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select CURRENT_SCN from v$database;
    CURRENT_SCN
    972383
    SQL> select * from mytab;
    N
    X
    D
    1
    Monsters of Folk
    30-DEC-12
    2
    The Frames
    30-DEC-12
    N
    X
    D
    SQL> set lines 10000
    SQL> /
    N X D
    1 Monsters of Folk 30-DEC-12
    2 The Frames 30-DEC-12
    SQL> select to_char(sysdate,'yyyymmdd hh24:mi:ss') from dual;
    TO_CHAR(SYSDATE,'
    20121230 09:29:24
    SQL> set timing on
    SQL> truncate table mytab;
    Table truncated.
    Elapsed: 00:00:15.75
    SQL> select * from mytab as of timestamp TO_TIMESTAMP('20121230 09:29:24','yyyymmdd hh24:mi:ss');
    N X D
    1 Monsters of Folk 30-DEC-12
    2 The Frames 30-DEC-12
    Elapsed: 00:00:00.28
    SQL> insert into mytab select * from mytab as of timestamp TO_TIMESTAMP('20121230 09:29:24','yyyymmdd hh24:mi:ss');
    2 rows created.
    Elapsed: 00:00:00.01
    SQL>

  • Wondering:table selection

    hi...
    just wondering what is better to use the table selection (using new then singleSelection in the context menu) or to add an original massageCheckBox and connect it with the item already created in the view ???
    my table contains records already retrieved from the database and the user when selecting the checkbox the whole record is enabled and when updating the record this record is updated in the database when pressing the ok button

    Reading your original issue, you should always make use of framework provided components if they are available. The simple reason is that they are tuned as per the framework and saves from extra effort of coding, maintaining the custom pieces.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • In the af:table selected row need to display in the next page?

    Hi,
    I am using jdev 11.1.2.3.0.
    I tried one sample application, in that jspx page, I am having the af:table and button in my view activity. In that table select one row and click on the button that time, the navigation page always show the first row. Suppose I select the 5th ro and navigate the page also displaying the first row only. So I don't know how to proceed this? Kindly suggest me.
    Regards,
    Ragu

    Hi Timo,
    I used the selectionListener tag also.
    Anyway Here I posted my jspx page.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="EmployeesView.jspx" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelCollection id="pc1">
    <f:facet name="menus"/>
    <f:facet name="toolbar">
    <af:toolbar id="t2">
    <af:commandButton text="Edit Employee" id="cb1" action="Edit" />
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.EmployeesVO.collectionModel}" var="row" rows="#{bindings.EmployeesVO.rangeSize}"
    emptyText="#{bindings.EmployeesVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmployeesVO.rangeSize}" rowBandingInterval="0"
    filterModel="#{bindings.EmployeesVOQuery.queryDescriptor}"
    queryListener="#{bindings.EmployeesVOQuery.processQuery}" filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.EmployeesVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.EmployeesVO.collectionModel.makeCurrent}" rowSelection="single"
    id="t1">
    <af:column sortProperty="#{bindings.EmployeesVO.hints.EmployeeId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.EmployeeId.label}" id="c1">
    <af:outputText value="#{row.EmployeeId}" id="ot1">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.EmployeeId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.FirstName.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.FirstName.label}" id="c2">
    <af:outputText value="#{row.FirstName}" id="ot2"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.LastName.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.LastName.label}" id="c3">
    <af:outputText value="#{row.LastName}" id="ot3"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.Email.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.Email.label}" id="c4">
    <af:outputText value="#{row.Email}" id="ot4"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.PhoneNumber.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.PhoneNumber.label}" id="c5">
    <af:outputText value="#{row.PhoneNumber}" id="ot5"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.HireDate.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.HireDate.label}" id="c6">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.HireDate}" id="id1">
    <af:convertDateTime pattern="#{bindings.EmployeesVO.hints.HireDate.format}"/>
    </af:inputDate>
    </f:facet>
    <af:outputText value="#{row.HireDate}" id="ot6">
    <af:convertDateTime pattern="#{bindings.EmployeesVO.hints.HireDate.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.JobId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.JobId.label}" id="c7">
    <af:outputText value="#{row.JobId}" id="ot7"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.Salary.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.Salary.label}" id="c8">
    <af:outputText value="#{row.Salary}" id="ot8"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.CommissionPct.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.CommissionPct.label}" id="c9">
    <af:outputText value="#{row.CommissionPct}" id="ot9"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.ManagerId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.ManagerId.label}" id="c10">
    <af:outputText value="#{row.ManagerId}" id="ot10">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.ManagerId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.DepartmentId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.DepartmentId.label}" id="c11">
    <af:outputText value="#{row.DepartmentId}" id="ot11">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.DepartmentId.format}"/>
    </af:outputText>
    </af:column>
    </af:table>
    </af:panelCollection>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    After click the Edit Employee button it should navigate the another page and which record I choose.

  • How to handle table selection

    In the uix guidelines i found the following example on how to handle table selection:
    public static EventResult doSelectionEvent(BajaContext bc, Page page,
    PageEvent event)
    DataObject tableRows = new PageEventFlattenedDataSet(event, "table1");
    int index = SelectionUtils.getSelectedIndex(tableRows);
    String name = "Nothing Selected";
    // make sure that something was selected:
    if (index>=0)
    DataObject row = TABLEDATA.getItem(index);
    name = row.selectValue(null, "name").toString();
    EventResult result = new EventResult(page);
    result.setProperty("action", event.getName());
    result.setProperty("name", name);
    return result;
    It is not clear to me what TABLEDATA is.
    I read in some other thread that it is a DataObjectList and it represents the 'stored dataObjects'.
    I suppose '_TABLE_DATA' is not real code, may i ask for an example with real code to understand what it is?
    Thanks.

    This code works for me, I hope it is useful.
    (NB: i fear you will not read correctly the line
    with the getRowAtRangeIndex instruction. It's a problem with the editor).
    Mauro
    package view;
    import javax.servlet.http.HttpServletRequest;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.cabo.ui.beans.table.SelectionUtils;
    import oracle.cabo.ui.data.ServletRequestDataSet;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    public class GestEsAction extends DataForwardAction
    // To handle an event named "yourname" add a method:
    // public void onYourname(DataActionContext ctx)
    public void onValida(DataActionContext ctx)
    ServletRequestDataSet ds = new ServletRequestDataSet(req,"ReEsamiRichView12");
    int[] indices = SelectionUtils.getSelectedIndices(ds);
    ApplicationModule am = ctx.getBindingContainer().
    getApplicationModule();
    ViewObject vo = am.findViewObject("ReEsamiRichView1");
    int len = indices.length;
    String idEsameRich, currStato;
    for(int i=0; i<len; i++)
    Row row = vo.getRowAtRangeIndex(indices);
    idEsameRich = row.getAttribute("IdEsameRich").toString();
    currStato = row.getAttribute("Stato").toString();
    if (currStato.equals("E"))
    row.setAttribute("Stato","V");
    am.getTransaction().commit();
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".

  • Bug in the table selection size

    An annoying bug in Table controls (LV 8.5/Windows XP/ MacOS 10.5)
    When dealing with whole rows/colums (click in the row/column header), the Table Selection Size is always wrong :
    when columns are selected, the overall table size is returned,
    when rows are selected, the right row number is returned, but the column number is set to 1 !..
    The attached vi shows the problem.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Table select bug.vi ‏17 KB

    Since this bug was a showstopper for my application, I spent some time trying to find a workaround...
    Found one by accident. I don't understand why it works : it should not do anything :
    Detect a mouseUp event in the row/column headers, then read the Selection start position and write it back in the... Selection start position (ie : do nothing) ! That's enough to get the right value out of the Selection size...
    The attached vi illustrate the above story.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Table select bug.vi ‏28 KB

  • Unable to use the table selection in the Pages Inspector on blank wordprocessing page.  What am I doing wrong?

    I was trying to draw a tables with 11 rows and 3 rows as a starts to try to make address labels.  Downloading an Avery template didn't work.  I opened the Inspector on a word processing blank page but none of the selections worked.  "Body rows" and "body columns"  were inoperable.  Do I have a flaw in the Pages program that came with the iWorks?

    Hi 'plexed,
    Use the yellow Table button in the tools to insert a table. With any cell in the inserted table selected, the Table Inspector an all its controls become active.
    Regards,
    Barry

  • Unable to perform "insert into table select ...." using DBF_JDBC30

    below i post my code :
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    import com.hxtt.sql.*;
    public class backofficeDbfVerification {
    public backofficeDbfVerification(String path) throws SQLException {
    Properties prop = new Properties();
    prop.setProperty("user", "");
    prop.setProperty("OtherExtensions","true");
    prop.setProperty("Version Number", "03");
    try {
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    connection = DriverManager.getConnection("jdbc:DBF:/"+path, prop);
    catch (ClassNotFoundException classnotfoundexception) {
    System.out.println("could ot find HXTT class, make sure the classpath have been defined in your system !");
    catch(Exception e) {
    System.out.println(e.getMessage());
    public void createBadRecord(String table, String newtable, int blth) throws SQLException {
    Statement stmt = connection.createStatement();
    String insert = "insert into \""+newtable+"\" select * from \""+table+"\"";
    boolean bInsert = stmt.execute(insert);
    stmt.close();
    public static void main (String args[]) {
         String path = "C:\\MASTER\\SOURCEDATA\\AREA";
    try {
    backofficeDbfVerification test = new backofficeDbfVerification(path);
    test.createBadRecord("source\\area\\123.AA2","source\\area\\others\\89964568.AA1");
    catch(SQLException sqx) {
    System.out.println("Error "+sqx.getMessage());
    i try to perform simple query : insert into tablea select from tableb which has same structure. the source table has only 9 rows, but the process ran very long time, no error message raised,it just run and never end (which make me upset for the whole day).
    i have tried another simple query : insert into table1 values (1,2) using the same driver and execute successfully.
    is it becoz of function limitation since i used evaluation copy ?

    Copy the answer from HXTT's support forum:
    No function limitation. I just tested:
    create table testa1 select * from test;
    insert into testa1 select * from test;
    Passed.
    I also run your backofficeDbfVerification.java sample. Passed too. I'm using the same code as you. The difference is only my 89964568.AA1 and 123.AA2 is simulative tables files. If possible, please zip your 89964568.AA1 and 123.AA2 and email to [email protected] Thanks.
    BTW, I pasted the little modified backofficeDbfVerification.java below:
    import java.sql.*;
    import java.util.*;
    public class backofficeDbfVerification {
    Connection connection;
    public backofficeDbfVerification(String path) throws SQLException {
    Properties prop = new Properties();
    prop.setProperty("user", "");
    prop.setProperty("OtherExtensions", "true");
    prop.setProperty("Version Number", "03");
    try {
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    connection = DriverManager.getConnection("jdbc:DBF:/" + path, prop);
    catch (ClassNotFoundException classnotfoundexception) {
    System.out.println("could ot find HXTT class, make sure the classpath have been defined in your system !");
    catch (Exception e) {
    System.out.println(e.getMessage());
    public void createBadRecord(String table, String newtable) throws
    SQLException {
    Statement stmt = connection.createStatement();
    String insert = "insert into \"" + newtable + "\" select * from \"" +
    table + "\"";
    boolean bInsert = stmt.execute(insert);
    stmt.close();
    public static void main(String args[]) {
    String path = "f:\\dbffiles";
    try {
    backofficeDbfVerification test = new backofficeDbfVerification(path);
    test.createBadRecord("source\\area\\123.AA2",
    "source\\area\\others\\89964568.AA1");
    catch (SQLException sqx) {
    System.out.println("Error " + sqx.getMessage());
    }

Maybe you are looking for

  • Duplicate Documents report

    We have implemented duplicate document detection.  There is supposed to also be a report but we do not have it.  Does anyone have the part file?

  • Using "Find my iPhone" I mistakenly touched either Erase or Lock! What now???

    My friend seems to have Locked or Erased his iMac! When first started it asked for his PIN, but the iMac wouldn't respond to it. ('m now learning that the PIN that he used is the PIN to unlock his iPhone, as it didn't ask him to create a PIN.) Now wh

  • How to not delete photos on memory card once uploaded to iphoto??

    Hello! I have checked the box that said DELETE PHOTOS ON MEMORY CARD ONCE UPLOADED ON IPHOTO, and I did check "don't ask me again"... and now I do not know how to undo this mistake I made. Please help? Thanks!! -Emilie

  • R7 260X 2GD5 OCV1

    I have a problem with the card... I think it works on 5000mhz if I'm right I bought new a few days ago what to do? help Specifications Graphics Engine AMD Radeon™ R7 260X Bus Standard PCI Express x16 3.0 Memory Type GDDR5 Memory Size(MB) 2048 Memory

  • Quick Question : RE: JEditorPane

    Hi, I have developed a GUI that contains a JEditorPane. When I mouse over some of the Links in the appearing web page the cursor changes and the link works, however some of the links do NOT change the cursor and they are not acessible. Why is this an