ADF datacontrol Commit operation - commitng only few tables

Hello Everyone,
This is my requirement.
The application has several View-objects each derived from a corresponding single EO/DB TABLE. I mean that there are no joins in the view object query and just one VO-EO/table relationship.In the transaction I'm just INSERTING rows into several view objects.
All I need is that At the final commit operation, only the few tables should get committed at the DB level and not all the tables.Is there a way to do this and I know that I cannot use the generic COMMIT operation at the data control as it commits rows into all the tables.
Any help is appreciated.
Thankyou,
Sri

Having view objects that are to commited & not commited in separate AM as suggested by John is the solution.
But how about this,
in beforeCommit() method, get handle to the View objects that are not to be commited and get their associated entities and set the row state to "Initialized".
Setting the row state to "Initialized" would
You can use the setNewRowState() method to mark the entity as being Initialized, which removes it from the transaction's list of pending changesCheck for same documentation in ADF Developer's guide:
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcvalidation.htm#sthref721
Thanks,
Navaneeth

Similar Messages

  • Import error, only few tables created

    Hi,
    I did export of a DB with credentials
    (Ora version - Oracle 8i EE - 8.1.7.4.0, exp scrip was run on Unix OS and it was successfull, as cited in log file and im sure all the tables were exported) The exp file was in .ZIP format and the file size is ~2.6 GB
    I FTP'ed this exported file(BIN), to my machine and ran imp command on cmd prompt.
    Destination m/c credentials (Oracle9i Enterprise Edition Release 9.2.0.1.0, Win XP OS)
    for imp: i ran
    imp userid/pwd@dbname file=dmpfilename.dmp full=yes log=log.txt
    After this, only few tables were created and it erred with this msg
    "IMP-00009: abnormal end of export file
    Import terminated successfully with warnings."
    I tried to import agian with imp cmd as
    imp userid/pwd@dbname file=dmpfilename.dmp full=yes ignore=y buffer=1024000 commit=y log=log.txt
    IMP-00015: following statement failed because the object already exists:
    IMP-00009: abnormal end of export file
    Import terminated successfully with warnings.
    What I understand is I need to drop the tables and try importing again, but I have many tables and dropping is not a suitable option here.
    The other option is I should create another Database and try importing the exported file.
    Any better option/inputs ??
    Thanks in adv..
    ~Pleiades

    Thanks...
    I tried with ignore=Y and removing full=yes
    and it erred again
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    IMP-00031: Must specify FULL=Y or provide FROMUSER/TOUSER or TABLES arguments
    IMP-00000: Import terminated unsuccessfully

  • DataControl does not expose a Commit operation

    Hi all,
    I'm using ADF & JDeveloperStudio Edition Version 11.1.1.3.0 PS2.
    I'm trying to insert a new row in my database from an input screen, using a task flow.
    My task flow has:
    - Behaviour -> Transaction set to Always Begin New Transaction: to create a new transaction when the flow starts.
    - method activity to call the Create operation from my DataControl
    - view activity for data-entry screen.
    - view activity for read-only, confirm screen to display the entered data and provide a Confirm button to proceed with inserting the data to the database.
    - return activity: has Behaviour -> End Transaction set to Commit to complete the insertion to the database. NOTE: I did not drag the Commit operation from my DataControl to the command button that navigates to this return activity—I explain below.
    Problem:
    When I hit the Confirm button on the confirm screen I get an HTTP 404 Error (The server has not found anything matching the Request-URI.)
    Nothing displays on either the Messages or Running: IntegragedWebLogicServer; nothing appears in the DefaultServer.log.
    I'm following [this section|http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_form.htm#sthref1906] from the Fusion Developer's Guide. I have deviated from the instructions on point 6 ("Because you need to commit the new data, the application needs to execute the commit operation of the data control. To do this, you can add a button that navigates to a return activity that calls the commit operation.") because my DataControl does not have a Commit operation. I suspect this is the cause of my problem.
    My DataControl was generated from a Session Bean, which was created from an Entity EJB, which was in turn generated from my database table (I have SELECT and INSERT grants on the table. All this is correct, I believe.
    I've compared my DataControl to that from JDeveloper's Cue Cards tutorial "Build a Web Application with EJB, JPA and JSF"; that tutorial's DataControl does not have a Commit operation either, but the tutorial does not try to use task flows.
    Any ideas as to why
    - I'm getting the error when I try to navigate from the confirm page to the return activity responsible for committing the insertion to the database?
    - my DataControl does not exhibit a Commit operation?
    Thanks for your help.
    Regards,
    Ken.

    Hi Shay,
    Thanks for response.
    I've tried your suggestion to call the persist... transaction method.
    Here are my steps:
    - Started with a fresh, even simpler task flow with only two activities: a view activity to display an input form, and a method activity to call the persistMyEntity(...) transaction method.
    - Added method activity, and dropped persistMyEntity(...) from my data control onto it. (Data control created from Session Bean.)
    - persistMyEntity(...) takes one parameter, a MyEntity object: I need to identify this parameter object using EL. There is no such object existing in any binding context at this point.
    - Added managed bean, of type MyEntity to the task flow in page flow scope. Updated the EL for the persistMyEntity(...) parameter to refer to this managed bean in page flow scope - *#{pageFlowScope.myEntity}*.
    - Added a view activity to task flow, and created the *.jspx* for it.
    - Dropped input text components onto the page for each of the entity's attributes that I want to persist to the database.
    - Manually bound the value for each input text component to the corresponding attribute in the managed bean - *#{pageFlowScope.myEntity.myAttribute}*
    When I run my task flow, I get following exception: oracle.jbo.NoDefException: JBO-25058: Definition myAttribute of type Attribute is not found in myAttribute.
    I would have thought I could expand the persistMyEntity(...) node within the Data Control panel and drag its parameter onto the screen as an ADF Form, with ADF looking after binding; then drag the persistMyEntity(...) method onto the method activity. My gut tells me I shouldn't have to add a managed bean to the task flow, of type required by the persistMyEntity(...) method, then manually bind it to the input text fields of the screen. It just seems 'wrong'.
    Is my approach incorrect?
    Many thanks,
    Ken.

  • Commit operation not enabled after createinsert in detail table

    Hi Everybody,
    After clicking createinsert operation for detail table in master detail, i got unique contraint error from db.after rectifiying the data for newly created row..commit operation not enabled to save the data.
    Please find the code i used in my jsf.
    <?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:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelBox text="PanelBox2" id="pb2">
              <f:facet name="toolbar">
                <af:group id="g2">
                  <af:commandButton actionListener="#{bindings.Delete1.execute}"
                                    text="Delete1"
                                    disabled="#{!bindings.Delete1.enabled}"
                                    id="cb4"/>
                  <af:commandButton
                                    text="CreateInsert1"
                                    disabled="#{!bindings.CreateInsert1.enabled}"
                                    id="cb3"
                                    action="#{backingBeanScope.MyIndustryBean.cb3_action}"/>
                  <af:commandButton actionListener="#{bindings.Commit.execute}"
                                    text="Commit"
                                    disabled="#{!bindings.Commit.enabled}"
                                    id="cb5"/>
                  <af:commandButton actionListener="#{bindings.Rollback.execute}"
                                    text="Rollback"
                                    disabled="#{!bindings.Rollback.enabled}"
                                    immediate="true" id="cb6">
                    <af:resetActionListener/>
                  </af:commandButton>
                </af:group>
              </f:facet>
              <af:table value="#{bindings.IndustryEOView1.collectionModel}"
                        var="row" rows="#{bindings.IndustryEOView1.rangeSize}"
                        emptyText="#{bindings.IndustryEOView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.IndustryEOView1.rangeSize}"
                        rowBandingInterval="0"
                        filterModel="#{bindings.IndustryEOView1Query.queryDescriptor}"
                        queryListener="#{bindings.IndustryEOView1Query.processQuery}"
                        filterVisible="true" varStatus="vs"
                        selectedRowKeys="#{bindings.IndustryEOView1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.IndustryEOView1.collectionModel.makeCurrent}"
                        rowSelection="single" id="t1" width="448"
                        inlineStyle="height:193px;" partialTriggers="::cb3 ::cb4">
                <af:column sortProperty="IdDesc" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryEOView1.hints.IdDesc.label}"
                           id="c2">
                  <af:inputText value="#{row.bindings.IdDesc.inputValue}"
                                label="#{bindings.IndustryEOView1.hints.IdDesc.label}"
                                required="#{bindings.IndustryEOView1.hints.IdDesc.mandatory}"
                                columns="#{bindings.IndustryEOView1.hints.IdDesc.displayWidth}"
                                maximumLength="#{bindings.IndustryEOView1.hints.IdDesc.precision}"
                                shortDesc="#{bindings.IndustryEOView1.hints.IdDesc.tooltip}"
                                id="it2">
                    <f:validator binding="#{row.bindings.IdDesc.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="IdPlace" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryEOView1.hints.IdPlace.label}"
                           id="c1">
                  <af:inputText value="#{row.bindings.IdPlace.inputValue}"
                                label="#{bindings.IndustryEOView1.hints.IdPlace.label}"
                                required="#{bindings.IndustryEOView1.hints.IdPlace.mandatory}"
                                columns="#{bindings.IndustryEOView1.hints.IdPlace.displayWidth}"
                                maximumLength="#{bindings.IndustryEOView1.hints.IdPlace.precision}"
                                shortDesc="#{bindings.IndustryEOView1.hints.IdPlace.tooltip}"
                                id="it1">
                    <f:validator binding="#{row.bindings.IdPlace.validator}"/>
                  </af:inputText>
                </af:column>
              </af:table>
            </af:panelBox>
            <af:panelBox text="PanelBox1" id="pb1">
              <f:facet name="toolbar">
                <af:group id="g1">
                  <af:commandButton actionListener="#{bindings.Delete.execute}"
                                    text="Delete"
                                    disabled="#{!bindings.Delete.enabled}"
                                    id="cb2"/>
                  <af:commandButton
                                    text="CreateInsert"
                                    disabled="#{!bindings.CreateInsert.enabled}"
                                    id="cb1"
                                    action="#{backingBeanScope.MyIndustryBean.cb1_action}"/>
                  <af:commandButton actionListener="#{bindings.Create.execute}"
                                    text="Create"
                                    disabled="#{!bindings.Create.enabled}"
                                    id="cb7"/>
                </af:group>
              </f:facet>
              <af:table value="#{bindings.IndustryRatinEOView1.collectionModel}"
                        var="row" rows="#{bindings.IndustryRatinEOView1.rangeSize}"
                        emptyText="#{bindings.IndustryRatinEOView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.IndustryRatinEOView1.rangeSize}"
                        rowBandingInterval="0"
                        filterModel="#{bindings.IndustryRatinEOView1Query.queryDescriptor}"
                        queryListener="#{bindings.IndustryRatinEOView1Query.processQuery}"
                        filterVisible="true" varStatus="vs"
                        selectedRowKeys="#{bindings.IndustryRatinEOView1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.IndustryRatinEOView1.collectionModel.makeCurrent}"
                        rowSelection="single" id="t2"
                        partialTriggers="::t1 ::cb1 ::cb2 ::cb7">
                <af:column sortProperty="RatingId" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.RatingId.label}"
                           id="c5">
                  <af:selectOneChoice value="#{row.bindings.RatingId.inputValue}"
                                      label="#{row.bindings.RatingId.label}"
                                      required="#{bindings.IndustryRatinEOView1.hints.RatingId.mandatory}"
                                      shortDesc="#{bindings.IndustryRatinEOView1.hints.RatingId.tooltip}"
                                      id="soc2" autoSubmit="true">
                    <f:selectItems value="#{row.bindings.RatingId.items}" id="si2"/>
                  </af:selectOneChoice>
                </af:column>
                <af:column sortProperty="RatingSubId" filterable="true"
                           sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.RatingSubId.label}"
                           id="c6" partialTriggers="soc2">
                  <af:selectOneChoice value="#{row.bindings.RatingSubId.inputValue}"
                                      label="#{row.bindings.RatingSubId.label}"
                                      required="#{bindings.IndustryRatinEOView1.hints.RatingSubId.mandatory}"
                                      shortDesc="#{bindings.IndustryRatinEOView1.hints.RatingSubId.tooltip}"
                                      id="soc1" partialTriggers="soc2">
                    <f:selectItems value="#{row.bindings.RatingSubId.items}"
                                   id="si1"/>
                  </af:selectOneChoice>
                </af:column>
                <af:column sortProperty="Place" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.Place.label}"
                           id="c4">
                  <af:inputText value="#{row.bindings.Place.inputValue}"
                                label="#{bindings.IndustryRatinEOView1.hints.Place.label}"
                                required="#{bindings.IndustryRatinEOView1.hints.Place.mandatory}"
                                columns="#{bindings.IndustryRatinEOView1.hints.Place.displayWidth}"
                                maximumLength="#{bindings.IndustryRatinEOView1.hints.Place.precision}"
                                shortDesc="#{bindings.IndustryRatinEOView1.hints.Place.tooltip}"
                                id="it3">
                    <f:validator binding="#{row.bindings.Place.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="RatingDesc" filterable="true"
                           sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.RatingDesc.label}"
                           id="c3">
                  <af:inputText value="#{row.bindings.RatingDesc.inputValue}"
                                label="#{bindings.IndustryRatinEOView1.hints.RatingDesc.label}"
                                required="#{bindings.IndustryRatinEOView1.hints.RatingDesc.mandatory}"
                                columns="#{bindings.IndustryRatinEOView1.hints.RatingDesc.displayWidth}"
                                maximumLength="#{bindings.IndustryRatinEOView1.hints.RatingDesc.precision}"
                                shortDesc="#{bindings.IndustryRatinEOView1.hints.RatingDesc.tooltip}"
                                id="it4">
                    <f:validator binding="#{row.bindings.RatingDesc.validator}"/>
                  </af:inputText>
                </af:column>
              </af:table>
            </af:panelBox>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

    Hi,
    Need to set partialSubmit true for CreateInsert and partialTrigger attribute for Commit button(Select Createinsert button for partialTrigger )

  • ALV: Runtime error when calling only few columns of tables in ALV rpt

    Dear ABAP Gurus N Experts,
    I am new for ABAP.
    I am creating an ALV for fetching the data from ztable. It works fine, If I select all column than .
    SELECT * FROM zshipment01 INTO TABLE gi_zshipment01.
    But when I try to select only few column it gives an error. Runtime errors: DBIF_RSQL_INVALID_RSQL, Exception:  CX_SY_OPEN_SQL_DB
    SELECT container shipment_no bill_of_lad bl_date DATE_OF_PORT ARRIVAL_NO1 ED_TRUCKING
    FROM zshipment01 INTO TABLE gi_zshipment01.
    I am using following function:, which is called in program as PERFORM load_data_into_grid.
    FORM load_data_into_grid.
    SELECT * FROM zshipment01 INTO TABLE gi_zshipment01.
    Load data into the grid and display them
    CALL METHOD go_grid->set_table_for_first_display
           EXPORTING i_structure_name = 'zshipment01'
           CHANGING  it_outtab        = gi_zshipment01.
       ENDFORM.                    " load_data_into_grid
    Early response will be highly appreciated.
    With thanks,
    DSC
    Moderator Messge: Basic questions are not allowed. Search before you post.
    Edited by: kishan P on Feb 29, 2012 2:22 PM

    Hi Devendra,
    Try to use "corresponding" statement.
    SELECT field1 field1 etc FROM zshipment01 *INTO CORRESPONDING FIELD OF TABLE* gi_zshipment01.
    Regards,
    Dondi.
    Points unassigned
    Edited by: kishan P on Feb 29, 2012 2:22 PM

  • Call the database table on commit operation and fetch the rows

    Hi
    I am new to Bpel. I have a task to call the database table on commit operation and fetch the rows and call a webservice iteratively for fetching the data into a file?
    Can anybody help me on this
    Thanks and regards
    Richa

    HI,
    update ZYBKP set MATNR = <b>zcore_2-ZDUMMY</b> where matnr = <b>zcore_2-ZDUMMY</b>.
    update ZY310 set MATNR = zcore_2-ZDUMMY where matnr = zcore_2-ZDUMMY.
    update ZYBCS_LOT set MATNR = zcore_2-ZDUMMY where matnr = zcore_2-ZDUMMY.
    <b>YOU ARE COMPARING SAME MATERIAL AND UPDATING WITH THE SAME..</b> AND ALSO ZCORE_2 IS A DATABASE TABLE AND MAY NOT CONTAIN ANY VALUE AT THAT POINT...
    in these statments you say that
    update table set matnr = 'MATNR' WHERE MATNR = 'MATNR'.
    EVEN THOUGH THIS STATMENT IS EXECUTED THERE WILL NOT BE ANY CHANGE IN THE TABLE...
    Thanks,
    Mahesh

  • How to execute commit operation from an ADF button?

    Hi,
    I am using Jdeveloper 11.1.1.3.0. I have an application and need to customize the application by adding a form. I added the Form and I need to do a commit when they press the SAVE button in that page. the action listener for that SAVE button invokes a method and I don't want to change that code because it handles lots of other stuffs. I need to add the commit to the SAVE button. Is it possible to call the ${bindings.commit.execute} in the javascript when they press the SAVE button or using any other listener to invoke a method in the backing bean.
    Thanks
    SR

    You can add the binding to the commit operation to your page and then call this from the backing bean where your current save logic exist.
    See: http://blogs.oracle.com/shay/2010/04/doing_two_declarative_operatio.html

  • Commit Operation in ReturnListener - From a dialog

    Hi,
    I'm using JSF JSP page in ADF framework.
    Here is the page flow
    1st page is selecting a row from emp table(Select and Edit).
    2nd page is to change the attributes of the selected emp row(Save and cancel button are provided).
    3rd page is a new dialog which popups in a new window asking for user confirmation of emp row changes(Yes and No buttons).
    First approach:
    On Clicking Yes in dialog window, it should commit the emp row, and return back to 1st page to see the changes made.
    Not sure, if ADF supports navigation to a different page, rather than previous page.
    Incase i try to redirect to 1st page in the listener, it will openup multiple windows.
    Any ideas as to how to redirect to 1st page from dialog window, without having multiple windows opened up ?
    Second approach:
    I tried to have commit operation done in the return listener of the second page(returnlistener configured for save button)
    Not sure how to make Commit operation available to a particular page.
    Here is the code for the same:
    public void returnFromDialog() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    Commit operation is not available in the second page(Edit page).
    Any ideas as to how to make/bind Commit to a particular page, so that it can accessed using operation binding.
    Regards,
    Arun

    Hi,
    for the commit operation: You can manually add the commit operation to the pageDef files. Just open the pageDef file in the Structure Window and choose Insert into binding --> Action from teh context menu. Then select the commit operation
    Regarding the navigation: You have to first close the dialog before you perform navigation. n JSF navigation can be through the navigation handler
    e.g.
    FacesContext.getCurrentInstance().getApplication().getNavigationHandler().handleNavigation(FacesContext.getCurrentInstance(),null,"outcome_string");
    (where the outcome string is the navigation case of where to go next)
    external context (redirect) or via the ViewRoot that can be accessed from the FacesContext.
    Frank

  • Error while invoking the commit operation in a data control

    JDeveloper 11.1.2
    When we invoke the commit operation exposed thru the data control, sometimes we get the following error:
    Caused by: java.lang.NullPointerException
    at oracle.jbo.server.DBTransactionImpl.addPendingEvent(DBTransactionImpl.java:5751)
    at oracle.jbo.server.DBTransactionImpl.sendOrQueueEventForSharedTrans(DBTransactionImpl.java:6659)
    at oracle.jbo.server.DBTransactionImpl.fireTransactionStateEvent(DBTransactionImpl.java:6693)
    at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2301)
    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2159)
    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
    This issue is intermittent but occurs many times.
    I am NOT able to find any issues with the code.
    Any pointers on resolving the issue.
    Thanks,
    Navaneeth

    My problem is special, we change the AM configuration to EJB (2.1 stateful, let's put performance issue aside) and deploy remotely, however, there's a NullPointerException occurred at the same line number as your case when we change the task flow id of the dynamic region, because the ADF framework always calls Rollback during region refresh, this Rollback cause the NullPointerException. Even if I caught and ignore this error, there will be always a NullPointerException thrown the next time we do any VO attribute update (kind of same as the blog entry described below).
    http://adfbugs.blogspot.com/2011/08/rollback-is-executed-when-region-is.html
    I am not sure if we could benefit from fixing of your SR by Oracle. Please share if you have any hints, thank you!
    Edited by: codeplay on Mar 30, 2012 9:42 AM

  • Read only af:table first row select and focus on form load

    I use a read only af:table in my page. When my page loads and I click on my table, then I can use up / down arrow keys to navigate in my table's rows. But if I don't click on the table, I can't navigate in my table's rpws.
    What can do in my page to give the first focus to my table's first row and navigate in my rows without using mouse clicks....
    findElementById function in javascript does not work in jdeveloper 11...
    Do you help me for this?
    Thanks..

    Hi,
    actually findElementById does work, but you should use the ADF client side framework for this. Add a clientListener to the component that intercepts the keyboard usage and make it callin the next record on the table.
    I'll take a note for a how-to to put on my blog as I don't have the code ready. However, its possible this way
    Frank

  • Help required in commit operation

    hello ,
    i have written on procedure , in Which i am selecting the data from table1 and then insert the data into table 2 and then i am applying a commit.
    the table 1 contains more tha 4 laks(0.4 million) records.
    now i really need your suggection about the commit operation to be takes palce?
    can i perform commit after the insertion of 4 Lc record OR can i perform the commit after every 10,000 insertion of record?
    Thanks in advance for your suggestion. also let me know the reason also.
    thanks,
    prashant

    923315 wrote:
    hello ,
    i have written on procedure , in Which i am selecting the data from table1 and then insert the data into table 2 and then i am applying a commit.
    the table 1 contains more tha 4 laks(0.4 million) records.
    now i really need your suggection about the commit operation to be takes palce?
    can i perform commit after the insertion of 4 Lc record OR can i perform the commit after every 10,000 insertion of record?
    Thanks in advance for your suggestion. also let me know the reason also.
    thanks,
    prashantWhen you say you are doing it in a procedure, are you doing an insert .. select .. from ..
    or are you selecting from your source table in a loop and insert single rows at a time into the target table?

  • Import data from few tables and export into the same tables on different db

    I want to import data from few tables and export into the same tables on different database. But on the target database, additional columns have been added
    to the same tables. how can i do the import?
    Its urgent can anyone please help me do this?
    Thanks.

    Hello Junior DBA,
    maybe try it with the "copy command".
    http://download.oracle.com/docs/cd/B14117_01/server.101/b12170/apb.htm
    Have a look at the section "Understanding COPY Command Syntax".
    Here is an example of a COPY command that copies only two columns from the source table, and copies only those rows in which the value of DEPARTMENT_ID is 30:Regards
    Stefan

  • I want to get data from only RESB table without loss of any deltas

    i have to fetch the reservation details for the production orders.
    we are using descrete manufacturing method to keep track the Work in process and cost .
    for addition of components manually in the production order we can track thru change date i.e From AUFK table with field name AEDAT. for each time when we are adding the components the system will create a new line item In tableRESB-OBJNR(field)
    i need very few fields from RESB table to be pulled into SAP BW.
    how should i proceed creating a generic exractor without any loss of deltas.
    i want to get data from only resb table into sap bw.
    how should i proceed with Generice extractor with single table RESB and what would be the delta field . could any one throw some light .
    all answers would be rewarded with points

    I have few reports for BOM data is to be pull into bw
    all the reports contain the same tables Mentione below
    MAST- material to BOM LINK
    STKO- BOM header
    STPO- BOM ITEM
    STAS- BOM ITEM SELECTION
    how should i create ageneric datsource satisfying that all the data comes from these tables without fail of deltas,
    my doubts.1. Do i have to create a separate data sources (generic) for all these individually and load into separate ODS'S AND CLUB THEM into single ODS further.?
    if i create i dont know what should be delta field that has to be picked for each datasource
    2. Do i have to create a view on all these tables and create a generic datasource.if created what would be the delta field i have to select.
    could you pls let me know how should i pull the data without loosing any deltas
    could you pls let me know the flow with delta fields mentioned
    regards,
    P

  • BAM as ADF DataControl

    Hi,
    I want to use BAM as ADF DataControl. I am using Jdev11G drop 3 accessing via appstta Tarentella linux server. These are the questions I have:
    1. Do I need to install BAM server on linux server. If not, what is the remote linux server connection that I would have to enter for connection details.
    2. Is BAM available as ADF widget.
    It would be great if anyone can give me step-by-step information on seting up BAM datacontrol in Jdev which I am accessing through Tarentella linux server.
    Thanks,
    Angeline

    Hi,
    Check out these samples.
    http://download.oracle.com/docs/cd/E18941_01/tutorials/jdtut_11r2_10/jdtut_11r2_10.html
    http://www.oracle.com/technetwork/developer-tools/jdev/urldatacontrol-099677.html
    These samples use URL Datacontrol to load the data from an xml into an ADF table. You can modify the xsd (according to your xml structure) and use it as LOV instead of table
    -Arun

  • Error on commit operation

    HI all,
    Getting error on table commit operations. 11.6
    PK1 PK2 PK3 ----composite primary key attributes in table
    10 10 1
    10 12 1
    10 10 2
    23 12 1
    23 12 2
    Based on the first and second attributes , pk3 will genrating dynamically and stetting to table attribute .
    If the previous two columns(pk1 and pk2) values are same then the (pk3) will increment by one , plase refer table for info
    Addition of all records will happen in popup-dialog window , upon insertion of new records on table, when user tries to commit the table getting all PK3 values are loosing bcoz iterator executing dynamically
    Please let me know if any ways to achieve above request
    Upon commit ,: eror "Too many object tht matches primary Key [12,10,1]'
    thanks

    I would suggest to use a technical value as key (use a sequence) your current key as alternate key.define a unique constraint in the db which guarantees that the alternate key is unique. Then you can do you calculations without getting the pk violation as three pk it's just a number generated from a sequence.
    This way you can handle your use case a lot easier.
    Timo

Maybe you are looking for

  • BAPI FOR INSPECTION PLAN

    Plz tell me step by step procedure of bapi_inspectionplan_create using LSMW .

  • Ship to party queries

    Dear Experts, I had created a sale order with 3 line items. Line item 1    Material xxxx  qty 10      delivery date as 18th may          ship to party  a Line item 2    Material xxxx  qty 20      delivery date as 19h may           ship to party  b Li

  • Attaching photos from iPhoto

    Each time I attempt to attach a photo to an email message I am ready to tear out my scarce hair. I select iPhoto Library, but when trying to track down the photo, I get only "01" "02" etcetera. If I click on one of these numbers, I get even more numb

  • AFAB Asset Depreciation Error KI 260 Even After ABUMN

    Hi all, We still cannot execute the SG01 deprecitation run due to error occurred. We are still trying to figure and will need time to wait till tomorrow after talking to solution architects. Background: 1.     Executed AFAB for SG01 P4 2011 2.     Er

  • How to find out the systems under a logical system?

    Hi, Is their any table in SAP so that we can see the the systems under a Logical System, I need to check it in production where i dint have the access for SCC4 ,SM59 and SPRO. I also checked in all *Log*Sys* Tables but find nothing.