Ztable to be insert,modify operation through a transction

hi all,
I have a ztable. Now I need to make this as transaction based, say I create a tcode ZCODE and when I execute ZCODE, I NEED TO DISPLAY ALL ENTRIES IN ztable, then I need INSERT, MODIFY,DELETE ,CREATE NEW ENTRIES button in the screen and SAVE IN THE DATABASE
I know i can use through ALV ..AND SCREEN PAINTER..
BUT still need some hepl in finding out the right procedure...kindly help...
thanks

In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button.  Here you can enter new entries into the ztable .
Or
You can create a PARAMETER TRANSACTION for the transaction for SM30 . 
Follow these steps :
1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
3. In the next screen enter default values:
                        transaction : SM30
                        check the check box skip initial screen
4. Scroll down you will find a table control for default values
        Name of the screen field      |       value
    VIEWNAME                          |       your ztable name
    SHOW                                    |         X
Save your work.
Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.
Thanks,
Archana

Similar Messages

  • TCODE-TABLE relationship(only insert/modify/update/delete)

    Hi,
    I would like to know whether a particular transaction(tcode) is updating/modifying which underlying tables. Is it possible?
    Here i would be intesrested only in those tables which are getting insert/modify/update/delete states.
    I have found one table D010TAB, but this includes all the tables related to a program, it wont give tables which are getting(INSERT/MODIFY/UPDATE/DELETE) states.
    Regards
    Munish Garg

    HI,
    Thanks for responses, as it was low priority earlier so i checked your messages now.
    I read the support given by you, about activating SQL TRACE, i cannot do that. About "internal Program environment' link in 'Utilities' tab doesn't give me correct info. I have checked for MM01 and VA01.
    I have to make a generic program which can fetch this information for any transaction so every time i cannot run each and every transaction. I have recording info of transaction, that is what fields user has touched. But as you all know in recording, not necessarily all the fields are from table, for e.g. for material master(MM01/MM02/MM03), matnr refers to RMMG1-MATNR not mara-matnr. So i dont know how can i fetch the info of tables which includes MARA. I tried doing through data element level but it gives me too many tables because MATNR as a data elements refers to too may tables.
    I hope you are clear about my requirement now.
    Regards
    Munish Garg

  • Regarding Rework (by inserting Ref oper set)

    hello sap gurus,
    i am confused regarding rework ,If we do the rework by inserting the ref oper set in the last in the operation overview of the production order itself than whole component qty reqd for producing the order header material will pass through that ref oper set but the fact is that for only rework qtys we require that ref oper set(but it will charge activity cost to all component qtys).So there would be improper costing(improper target cost) and scheduling.
       And while doing confirmation through co11n,for ref oper set which we have inserted in operation sequence at last there we have to confirm only rework qty and for the last oper you have to goods receipt for whole qyt.Am i correct?

    Hi
    1. Create a production order confirmation of original order with rework qty+yield qty = confirmation qty,Do GR  for only yield qty
    2. For the rework qty create  Rework order using reference operation set.
    3. In the Settlement rule for rework order , assigned with settlement receiver as original order.
    4.Carry out goods issue for components of rework order..
    5   Confirm rework order using  co11n
    6.   Do GR for original order with rework qty ., teco both orders.
    7. Settle first the rework order
    8 settle original order
    As settlement is doing for orginal order,  there is no problem in costs,, costs of the rework qty will also capture.
    Please come back still if you have any doubts..
    Otherwise close the thread by rewarding the points,
    Regards,
    MSH.

  • Oracle 11g: Oracle insert/update operation is taking more time.

    Hello All,
    In Oracle 11g (Windows 2008 32 bit environment) we are facing following issue.
    1) We are inserting/updating data on some tables (4-5 tables and we are firing query with very high rate).
    2) After sometime (say 15 days with same load) we are feeling that the Oracle operation (insert/update) is taking more time.
    Query1: How to find actually oracle is taking more time in insert/updates operation.
    Query2: How to rectify the problem.
    We are having multithread environment.
    Thanks
    With Regards
    Hemant.

    Liron Amitzi wrote:
    Hi Nicolas,
    Just a short explanation:
    If you have a table with 1 column (let's say a number). The table is empty and you have an index on the column.
    When you insert a row, the value of the column will be inserted to the index. To insert 1 value to an index with 10 values in it will be fast. It will take longer to insert 1 value to an index with 1 million values in it.
    My second example was if I take the same table and let's say I insert 10 rows and delete the previous 10 from the table. I always have 10 rows in the table so the index should be small. But this is not correct. If I insert values 1-10 and then delete 1-10 and insert 11-20, then delete 11-20 and insert 21-30 and so on, because the index is sorted, where 1-10 were stored I'll now have empty spots. Oracle will not fill them up. So the index will become larger and larger as I insert more rows (even though I delete the old ones).
    The solution here is simply revuild the index once in a while.
    Hope it is clear.
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]Hmmm, index space not reused ? Index rebuild once a while ? That was what I understood from your previous post, but nothing is less sure.
    This is a misconception of how indexes are working.
    I would suggest the reading of the following interasting doc, they are a lot of nice examples (including index space reuse) to understand, and in conclusion :
    http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf
    "+Index Rebuild Summary+
    +•*The vast majority of indexes do not require rebuilding*+
    +•Oracle B-tree indexes can become “unbalanced” and need to be rebuilt is a myth+
    +•*Deleted space in an index is “deadwood” and over time requires the index to be rebuilt is a myth*+
    +•If an index reaches “x” number of levels, it becomes inefficient and requires the index to be rebuilt is a myth+
    +•If an index has a poor clustering factor, the index needs to be rebuilt is a myth+
    +•To improve performance, indexes need to be regularly rebuilt is a myth+"
    Good reading,
    Nicolas.

  • DBAdapter insert only operation issue

    Hi Gurus,
    I'm trying to create the BPEL SOA composite which is receive the input using File Adapter (file only containt 2 rows) and insert into database table using DBAdapter with Insert only operation using mediator.
    The data will be inserted to seeded employees table in hr schema.
    1st try, i got error constraint violated because i did not provide the last name (NOT NULL constraint).
    I updated last name of the same data and try again, but i got error constraint violated for email (UNIQUE constraint).
    Mar 27, 2015 2:13:15 AMMessageError during invoking 2-way operation "insert" on target service "FdyWriteEmpToDB"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [FdyWriteEmpToDB.Employees]. Caused by java.sql.BatchUpdateException: ORA-00001: unique constraint (HR.EMP_EMAIL_UK) violated . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-1" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    If i disable the EMP_EMAIL_UK constraint, it is working fine, but the 1st row is inserted twice and 2nd row is not inserted.
    Following is the mediator transformation mapping.
    Anything am doing wrong here? Appreciate any help.
    Regards,
    Fendy

    Hi Fendy,
    could you look inside the audit trail in the enterprise manager to see if the transformations is really working?  For what I see, I think there is an error in your xslt. It should be like this:
    <top:EmployeesCollection>
        <xml:for-each select="/imp:Employees/imp:EmpDetail">
        <top:firstName>
          <xsl:value-of select ="/impl:FirstName" />
        </top:firstName>
        <top:LastName>
          <xsl:value-of select ="/impl:LastName" />
        </top:LastName>
    <top:email>
          <xsl:value-of select ="/impl:Email" />
        </top:email>
        </xml:for-each>
    </top:EmployeesCollection>
    best regards, Nicolas

  • How can I insert, modify and delete entries on my table control?

    Hi,
    I already have build a table control. Now I want to make manipulations on it. Therefore I have created 3 buttons, insert, modify and delete. But how can I get actions on table control.
    This is my code for the internal table:
    BEGIN OF its OCCURS 0,
    mark TYPE C VALUE ' ',
    artikel_nr TYPE ZARTIKEL-ARTIKEL_NR,
    artikel_typ TYPE ZARTIKEL-TYPE,
    bezeichnung TYPE ZARTIKEL-BEZEICHNUNG,
    preis TYPE ZARTIKEL-PREIS,
    mwst TYPE ZARTIKEL-MWST,
    END OF its.
    and this is the code which i wanted to  delete a row in my table control:
    WHEN 'DELETE'.
    LOOP AT its WHERE mark EQ 'X'.
    DELETE its WHERE mark = 'X'.
    MOVE its TO ZARTIKEL.
    ENDLOOP.
    ENDCASE.
    ENDMODULE:
    and my PBO and PAI:
    PROCESS BEFORE OUTPUT.
    LOOP AT its INTO ZARTIKEL WITH CONTROL ARTIKEL.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE EXIT.
    LOOP AT its.
    MODULE V1.
    ENDLOOP.
    MODULE user_command_1060.
    But if I now open my table control and mark the line that I wanted to delete, nothing happens, not on my internal table and the data even not deleted on my table ZARTIKEL. Have you an idea what I did wrong??

    Hi,
    In the attributes of table control take the SELCOL as wa_zekpo-flag
    And in the internal table and work area add a field as flag(1) TYPE c
    Refer:
    At screen logic:-
    PROCESS BEFORE OUTPUT.
      MODULE status_8002.
      LOOP WITH CONTROL po_tab.
        MODULE pass_data.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE user_command_8002.
      LOOP WITH CONTROL po_tab.
        MODULE modify_data.
      ENDLOOP.
      MODULE function.
    In PBO,
    MODULE status_8002 OUTPUT.
      SET PF-STATUS 'ZTG_SELTB'.
      DATA : line_count TYPE i.
      DESCRIBE TABLE it_ekpo
      LINES line_count.
      po_tab-lines = line_count + 5.
    ENDMODULE.                 " STATUS_8002  OUTPUT
    *&      Module  PASS_DATA  OUTPUT
    MODULE pass_data OUTPUT.
      READ TABLE it_ekpo into wa_ekpo INDEX po_tab-current_line.
    ENDMODULE.                 " PASS_DATA  OUTPUT
    In PAI,
    *&      Module  USER_COMMAND_8002  INPUT
    MODULE USER_COMMAND_8002 INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'BACK'.
          LEAVE TO SCREEN 8001.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_8002  INPUT
    *&      Module  MODIFY_DATA  INPUT
    MODULE DISPLAY_DATA INPUT.
      MODIFY IT_EKPO INDEX PO_TAB-CURRENT_LINE FROM WA_EKPO.
    ENDMODULE.                 " MODIFY_DATA  INPUT
    *&      Module  FUNCTION  INPUT
    MODULE FUNCTION INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'SELECT'. "<--select all records
          LOOP AT IT_EKPO INTO WA_EKPO.
            WA_EKPO-FLAG = 'X'.
            MODIFY IT_EKPO FROM WA_EKPO.
          ENDLOOP.
        WHEN 'DESEL'. "<--deselect all records
          LOOP AT IT_EKPO INTO WA_EKPO.
            WA_EKPO-FLAG = ' '.
            MODIFY IT_EKPO FROM WA_EKPO.
          ENDLOOP.
        WHEN 'DELETE'.
          DELETE FROM it_ekpo WHERE flag = 'X'.
      ENDCASE.
    ENDMODULE.                 " FUNCTION  INPUT
    Regards,
    Tarun

  • Spry with DW insert, modify and delete behaviors

    I posted this question before and didn't get a response. I'm
    wondering if there is any documentation available for using Spry
    with DW insert, modify and delete behaviors? I'd like to be able to
    perform these functions without having to go from list to master to
    detail page as in traditional ASP etc. According to Alex July at
    Linecraft this is one of "many hidden features" in Spry.
    http://www.linecraft.com/b2/index.php?p=28&c=1

    "LAGooner10" <[email protected]> wrote in
    message
    news:fk71ad$5c7$[email protected]..
    >I posted this question before and didn't get a response.
    I'm wondering if
    > there is any documentation available for using Spry with
    DW insert, modify
    > and
    > delete behaviors? I'd like to be able to perform these
    functions without
    > having to go from list to master to detail page as in
    traditional ASP etc.
    Here you can find an article that covers data update:
    http://www.adobe.com/devnet/dreamweaver/articles/edit_data_in_ajax.html
    The server-side code is CFML, but the concept is the same.
    A more complete demo, with search, insert, update and delete
    is available
    here (code only, no article):
    http://www.massimocorner.com/spry/dynamic_spry.zip
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

  • Insert the image through form in brief with example

    Dear Friends,
    i want to insert the image through Oracle forms
    which built-ins are used for that
    i have to store the image and retrieve the stored image also
    If any one have already created form then mail me at [email protected]
    thanks
    yours truly
    Rahul

    Hi Rahul,
    The following two built-ins are used to insert and retrieve the stored images
    write_image_file
    read_image_file

  • Need validation when insert the data through AddAnotherRow  functionality

    hi All,
    i need to validate customer id when i insert the data through AddAnotherRow functionality in AdvancedTable.
    CO:
    if ("AdvanceTabRN".equals(pageContext.getParameter(SOURCE_PARAM)) && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    am.insrtCustcondtls();
    AM:(For Inserting the Data based on EO Based VO)
    public void insrtCustcondtls()
    XxcurTradeCustomerDtlsEOVOImpl CrteVO=getXxcurTradeCustomerDtlsEOVO1();
    Number cust_seq=getOADBTransaction().getSequenceValue("customer_id_seq");
    CrteVO.setMaxFetchSize(0);
    Row row=CrteVO.createRow();
    CrteVO.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    Here Customer ID is Primary key.
    if customer id is already in the table then i need to throw an exception like customer id is already existing or we need to throw an exception.
    Thanks,
    Mallik.

    Hi Mallik,
    Our doDml() method fires when you try to issue commit if you want to validate data at commit then just add the code in the Entity Object Class as I posted in previous post or if you want to validate records with data at add new Row button then you can follow the following aproach.
    1. create a data base pl/sql function which take the customer id as input and return 1 if the customer already existed or 0 if not existed.
    2. Now we can call this database function at Add new Row button
    i. if it returns 1 then we will throw Exception.
    ii. if it return 0 then we will let the record save in data base.
    The following code will help you.
    private String getCustomerId(OAPageContext pageContext,
    OAWebBean webBean, String customerID) {
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OADBTransaction transaction = (OADBTransaction)am.getOADBTransaction();
    String value = null;
    CallableStatement cs = null;
    try {
    String plSqlStatement =
    "begin :1 := nameOfYourFunction(" + customerID +
    "); end;";
    System.out.println(plSqlStatement);
    cs = transaction.createCallableStatement(plSqlStatement, 0);
    System.out.println("got executed");
    cs.registerOutParameter(1, Types.CHAR);
    cs.executeUpdate();
    value = cs.getString(1).toString();
    return value;
    } catch (Exception e) {
    e.printStackTrace();
    return value;
    Finally you can call this method as follow
    if ("AdvanceTabRN".equals(pageContext.getParameter(SOURCE_PARAM)) && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    String custID;
    am.insrtCustcondtls();
    custID=getCustomerId(pageContext,webBean,customerID)
    if(custID.equals("1")) {
    throw new OAException("Your message");
    Now its up to you which aproach you follow.
    Haroon.

  • Purchasing operation through edi

    hello Gurus,
    Can any one tell me how can we carry out purchasing operations through EDI,
    step by step?
    Thanks in advance

    I just fixed that today... so I'm not sure what I'm supposed to use for Itunes, as the credit card company JUST got my current address

  • Unable to run spatial operations through dblinks

    Hello All,
    I am trying to run spatial operations through dblinks. Please see the example query below
    select a.OGC_GEOMETRY.sdo_gtype from <table>@dblink a where sdo_nn(a.OGC_GEOMETRY,mdsys.sdo_geometry(2001,null,mdsys.sdo_point_type(0,0,null),null,null),'sdo_num_res=1')='TRUE'.
    Query fails with the following error
    ORA-13249:
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.PRVT_IDX", line 9
    *13249. 00000 - "%s"*
    **Cause: An internal error was encountered in the extensible spatial index*
    component. The text of the message is obtained from some
    other server component.
    **Action: Contact Oracle Support Services with the exact error text.*
    Same Query runs fine in the original database but fails with dblinks. Is it possible to run spatial operations through dblink?
    Thanks & Regards,
    Jasti

    I've never used spatial myself but this other user had issues with it and dblinks. They ended up using the dblink to create a local materialized view with local indexes and used those.
    MapBuilder does not work with DB-link in a spatial view
    Found this as well. Does it mean anything to you?
    4.2 Querying Spatial Data
    This section describes how the structures of a Spatial layer are used to resolve spatial queries and spatial joins.
    Spatial uses a two-tier query model with primary and secondary filter operations to resolve spatial queries and spatial joins, as explained in Section 1.6. The term two-tier indicates that two distinct operations are performed to resolve queries. If both operations are performed, the exact result set is returned.
    You cannot append a database link (dblink) name to the name of a spatial table in a query if a spatial index is defined on that table.
    If a spatial index is created in a database that was created using the UTF8 character set, spatial queries that use the spatial index will fail if the system parameter NLS_LENGTH_SEMANTICS is set to CHAR. For spatial queries to succeed in this case, the NLS_LENGTH_SEMANTICS parameter must be set to BYTE (its default value).
    http://docs.oracle.com/cd/B13789_01/appdev.101/b10826/sdo_index_query.htmEdited by: Gaff on Aug 16, 2012 4:46 PM

  • Errors when despatching operations through CM25

    Hi ,
    When i am despatching operation through transaction CM25. I am getting an error messages.
    Can any body tell me what is reason for below mention error messages.
    Error on conversion of internal units of time: 00000000 000000
    Order CI7000026868 operation 0010: Planning step was undone (UNDO)
    All rescheduling was undone (UNDO)
    Regards,
    Amit

    Hi,
        Check the Standard values maintained for the Operation 10 in routing and also in Production Order.
    -Thaila Shree

  • OIM 11g R2 - Invoking Modify Operation on a disbled account

    Hi,
    In OIM 11g R2, we noticed that OIM is allowing to perform modify operation on an account which is in disabled state.Is there any way to prevent this?.We are planning to write a validator code to perform this check but we have multiple connectors,so the changes are substantial.Thanks in advance.

    Hi,
    Sounds like I hit the same issue with OIM 9.x
    I tried to update the corresponding process form version of an existing user in OIM db, still the new field is not available in UI.
    Referred to SQL update http://rajivdewan.blogspot.fi/2013/08/fvc-form-version-control-utility.html
    That's cool! After updating the process form version in db, existing user's process form displays new attribute.
    Br,
    Jakob
    Message was edited by: JakobDaavid

  • Long time on buffer sort with a insert and select through a dblink

    I am doing a fairly simple "insert into select from" statement through a dblink, but something is going very wrong on the other side of the link. I am getting a huge buffer sort time in the explain plan (line 9) and I'm not sure why. When I try to run sql tuning on it from the other side of the dblink, I get an ora-600 error "ORA-24327: need explicit attach before authenticating a user".
    Here is the original sql:
    INSERT INTO PACE_IR_MOISTURE@PRODDMT00 (SCHEDULE_SEQ, LAB_SAMPLE_ID, HSN, SAMPLE_TYPE, MATRIX, SYSTEM_ID)
    SELECT DISTINCT S.SCHEDULE_SEQ, PI.LAB_SAMPLE_ID, PI.HSN, SAM.SAMPLE_TYPE, SAM.MATRIX, :B1 FROM SCHEDULES S
    JOIN PERMANENT_IDS PI ON PI.HSN = S.SCHEDULE_ID
    JOIN SAMPLES SAM ON PI.HSN = SAM.HSN
    JOIN PROJECT_SAMPLES PS ON PS.HSN = SAM.HSN
    JOIN PROJECTS P ON PS.PROJECT_SEQ = PS.PROJECT_SEQ
    WHERE S.PROC_CODE = 'DRY WEIGHT' AND S.ACTIVE_FLAG = 'C' AND S.COND_CODE = 'CH' AND P.WIP_STATUS IN ('WP','HO')
    AND SAM.WIP_STATUS = 'WP';
    Here is the sql as it appears on proddmt00:
    INSERT INTO "PACE_IR_MOISTURE" ("SCHEDULE_SEQ","LAB_SAMPLE_ID","HSN","SAMPLE_TYPE","MATRIX","SYSTEM_ID")
    SELECT DISTINCT "A6"."SCHEDULE_SEQ","A5"."LAB_SAMPLE_ID","A5"."HSN","A4"."SAMPLE_TYPE","A4"."MATRIX",:B1
    FROM "SCHEDULES"@! "A6","PERMANENT_IDS"@! "A5","SAMPLES"@! "A4","PROJECT_SAMPLES"@! "A3","PROJECTS"@! "A2"
    WHERE "A6"."PROC_CODE"='DRY WEIGHT' AND "A6"."ACTIVE_FLAG"='C' AND "A6"."COND_CODE"='CH' AND ("A2"."WIP_STATUS"='WP' OR "A2"."WIP_STATUS"='HO') AND "A4"."WIP_STATUS"='WP' AND "A3"."PROJECT_SEQ"="A3"."PROJECT_SEQ" AND "A3"."HSN"="A4"."HSN" AND "A5"."HSN"="A4"."HSN" AND "A5"."HSN"="A6"."SCHEDULE_ID";
    Here is the explain plan on proddmt00:
    PLAN_TABLE_OUTPUT
    SQL_ID cvgpfkhdhn835, child number 0
    INSERT INTO "PACE_IR_MOISTURE" ("SCHEDULE_SEQ","LAB_SAMPLE_ID","HSN","SAMPLE_TYPE","MATRIX","SYSTEM_ID")
    SELECT DISTINCT "A6"."SCHEDULE_SEQ","A5"."LAB_SAMPLE_ID","A5"."HSN","A4"."SAMPLE_TYPE","A4"."MATRIX",:B1
    FROM "SCHEDULES"@! "A6","PERMANENT_IDS"@! "A5","SAMPLES"@! "A4","PROJECT_SAMPLES"@! "A3","PROJECTS"@! "A2"
    WHERE "A6"."PROC_CODE"='DRY WEIGHT' AND "A6"."ACTIVE_FLAG"='C' AND "A6"."COND_CODE"='CH' AND
    ("A2"."WIP_STATUS"='WP' OR "A2"."WIP_STATUS"='HO') AND "A4"."WIP_STATUS"='WP' AND
    "A3"."PROJECT_SEQ"="A3"."PROJECT_SEQ" AND "A3"."HSN"="A4"."HSN" AND "A5"."HSN"="A4"."HSN" AND
    "A5"."HSN"="A6"."SCHEDULE_ID"
    Plan hash value: 3310593411
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Inst |IN-OUT|
    | 0 | INSERT STATEMENT | | | | | 5426M(100)| | | |
    | 1 | HASH UNIQUE | | 1210K| 118M| 262M| 5426M (3)|999:59:59 | | |
    |* 2 | HASH JOIN | | 763G| 54T| 8152K| 4300M (1)|999:59:59 | | |
    | 3 | REMOTE | | 231K| 5429K| | 3389 (2)| 00:00:41 | ! | R->S |
    | 4 | MERGE JOIN CARTESIAN | | 1254G| 61T| | 1361M (74)|999:59:59 | | |
    | 5 | MERGE JOIN CARTESIAN| | 3297K| 128M| | 22869 (5)| 00:04:35 | | |
    | 6 | REMOTE | SCHEDULES | 79 | 3002 | | 75 (0)| 00:00:01 | ! | R->S |
    | 7 | BUFFER SORT | | 41830 | 122K| | 22794 (5)| 00:04:34 | | |
    | 8 | REMOTE | PROJECTS | 41830 | 122K| | 281 (2)| 00:00:04 | ! | R->S |
    | 9 | BUFFER SORT | | 380K| 4828K| | 1361M (74)|999:59:59 | | |
    | 10 | REMOTE | PROJECT_SAMPLES | 380K| 4828K| | 111 (0)| 00:00:02 | ! | R->S |
    Predicate Information (identified by operation id):
    2 - access("A3"."HSN"="A4"."HSN" AND "A5"."HSN"="A6"."SCHEDULE_ID")

    Please use code tags... your formatted message is below:
    From the looks of your explain plan... these entries :
    Id      Operation      Name      Rows      Bytes     TempSpc      Cost (%CPU)      Time      Inst     IN-OUT
    4      MERGE JOIN CARTESIAN            1254G      61T            1361M (74)     999:59:59           
    5      MERGE JOIN CARTESIAN            3297K      128M            22869 (5)      00:04:35            Are causing extensive cpu processing, probably due to the cartesian join (includes sorting)... does "61T" mean 61 terabytes? Holy hell
    From the looks of the explain plan these tables don't look partitioned.... can you confirm?
    Why are you selecting distinct? If this is for ETL or data warehouse related procedure it ain't a good idea to use distinct... well ever... it's horrible for performance.
    INSERT INTO PACE_IR_MOISTURE@PRODDMT00 (SCHEDULE_SEQ, LAB_SAMPLE_ID, HSN, SAMPLE_TYPE, MATRIX, SYSTEM_ID)
    SELECT DISTINCT S.SCHEDULE_SEQ, PI.LAB_SAMPLE_ID, PI.HSN, SAM.SAMPLE_TYPE, SAM.MATRIX, :B1 FROM SCHEDULES S
    JOIN PERMANENT_IDS PI ON PI.HSN = S.SCHEDULE_ID
    JOIN SAMPLES SAM ON PI.HSN = SAM.HSN
    JOIN PROJECT_SAMPLES PS ON PS.HSN = SAM.HSN
    JOIN PROJECTS P ON PS.PROJECT_SEQ = PS.PROJECT_SEQ
    WHERE S.PROC_CODE = 'DRY WEIGHT' AND S.ACTIVE_FLAG = 'C' AND S.COND_CODE = 'CH' AND P.WIP_STATUS IN ('WP','HO')
    AND SAM.WIP_STATUS = 'WP';
    Here is the sql as it appears on proddmt00:
    INSERT INTO "PACE_IR_MOISTURE" ("SCHEDULE_SEQ","LAB_SAMPLE_ID","HSN","SAMPLE_TYPE","MATRIX","SYSTEM_ID")
    SELECT DISTINCT "A6"."SCHEDULE_SEQ","A5"."LAB_SAMPLE_ID","A5"."HSN","A4"."SAMPLE_TYPE","A4"."MATRIX",:B1
    FROM "SCHEDULES"@! "A6","PERMANENT_IDS"@! "A5","SAMPLES"@! "A4","PROJECT_SAMPLES"@! "A3","PROJECTS"@! "A2"
    WHERE "A6"."PROC_CODE"='DRY WEIGHT' AND "A6"."ACTIVE_FLAG"='C' AND "A6"."COND_CODE"='CH' AND ("A2"."WIP_STATUS"='WP' OR "A2"."WIP_STATUS"='HO') AND "A4"."WIP_STATUS"='WP' AND "A3"."PROJECT_SEQ"="A3"."PROJECT_SEQ" AND "A3"."HSN"="A4"."HSN" AND "A5"."HSN"="A4"."HSN" AND "A5"."HSN"="A6"."SCHEDULE_ID";
    Here is the explain plan on proddmt00:
    PLAN_TABLE_OUTPUT
    SQL_ID cvgpfkhdhn835, child number 0
    INSERT INTO "PACE_IR_MOISTURE" ("SCHEDULE_SEQ","LAB_SAMPLE_ID","HSN","SAMPLE_TYPE","MATRIX","SYSTEM_ID")
    SELECT DISTINCT "A6"."SCHEDULE_SEQ","A5"."LAB_SAMPLE_ID","A5"."HSN","A4"."SAMPLE_TYPE","A4"."MATRIX",:B1
    FROM "SCHEDULES"@! "A6","PERMANENT_IDS"@! "A5","SAMPLES"@! "A4","PROJECT_SAMPLES"@! "A3","PROJECTS"@! "A2"
    WHERE "A6"."PROC_CODE"='DRY WEIGHT' AND "A6"."ACTIVE_FLAG"='C' AND "A6"."COND_CODE"='CH' AND
    ("A2"."WIP_STATUS"='WP' OR "A2"."WIP_STATUS"='HO') AND "A4"."WIP_STATUS"='WP' AND
    "A3"."PROJECT_SEQ"="A3"."PROJECT_SEQ" AND "A3"."HSN"="A4"."HSN" AND "A5"."HSN"="A4"."HSN" AND
    "A5"."HSN"="A6"."SCHEDULE_ID"
    Plan hash value: 3310593411
    Id      Operation      Name      Rows      Bytes     TempSpc      Cost (%CPU)      Time      Inst     IN-OUT
    0      INSERT STATEMENT                              5426M(100)                 
    1      HASH UNIQUE            1210K      118M      262M      5426M (3)     999:59:59           
    * 2      HASH JOIN            763G      54T      8152K      4300M (1)     999:59:59           
    3      REMOTE            231K      5429K            3389 (2)      00:00:41      !      R->S
    4      MERGE JOIN CARTESIAN            1254G      61T            1361M (74)     999:59:59           
    5      MERGE JOIN CARTESIAN            3297K      128M            22869 (5)      00:04:35           
    6      REMOTE      SCHEDULES      79      3002            75 (0)      00:00:01      !      R->S
    7      BUFFER SORT            41830      122K            22794 (5)      00:04:34           
    8      REMOTE      PROJECTS      41830      122K            281 (2)      00:00:04      !      R->S
    9      BUFFER SORT            380K      4828K            1361M (74)     999:59:59           
    10      REMOTE      PROJECT_SAMPLES      380K      4828K            111 (0)      00:00:02      !      R->S
    Predicate Information (identified by operation id):
    2 - access("A3"."HSN"="A4"."HSN" AND "A5"."HSN"="A6"."SCHEDULE_ID")Edited by: TheDudeNJ on Oct 13, 2009 1:11 PM

  • "save as" or modify feature, to see new/modified file through android file managers?

    adobe reader does not have the functionality i want, and i'm checking to see if anyone knows if "Adobe CreatePDF" has it. i'm on a motorola xoom w/ ice (4.1.1)
    with a file manager, i created a directory "Files" on the sdcard0 (along with all the other directories like 'Alarms', 'Android, 'DCIM', 'Download', etc.).  then i connect device to my pc w/ usb, i can copy .pdf files to this directory, open w/ reader and add comments, etc.  i can share/e-mail the modified .pdf's from within adobe.  when i look on the tablet in 'Files', i see the file size and date modified has changed.  but when i connect tablet back to a PC and look in 'Files' - i see only the original file size and date modified, and copying the files to a PC gets the original files w/ no comments. so i connected tablet to a difference PC than the one i used to copy the files on there (so i know it's not cached on the PC) - and still can only copy/see the original files. 
    does "Adobe CreatePDF" have a "save as" feature, or allow you to create files on the local device that you can then see through a file manager (as opposed to just e-mailing/sharing it from the app)?  that way we can load them back to a pc through usb.

    adobe reader does not have the functionality i want, and i'm checking to see if anyone knows if "Adobe CreatePDF" has it. i'm on a motorola xoom w/ ice (4.1.1)
    with a file manager, i created a directory "Files" on the sdcard0 (along with all the other directories like 'Alarms', 'Android, 'DCIM', 'Download', etc.).  then i connect device to my pc w/ usb, i can copy .pdf files to this directory, open w/ reader and add comments, etc.  i can share/e-mail the modified .pdf's from within adobe.  when i look on the tablet in 'Files', i see the file size and date modified has changed.  but when i connect tablet back to a PC and look in 'Files' - i see only the original file size and date modified, and copying the files to a PC gets the original files w/ no comments. so i connected tablet to a difference PC than the one i used to copy the files on there (so i know it's not cached on the PC) - and still can only copy/see the original files. 
    does "Adobe CreatePDF" have a "save as" feature, or allow you to create files on the local device that you can then see through a file manager (as opposed to just e-mailing/sharing it from the app)?  that way we can load them back to a pc through usb.

Maybe you are looking for

  • Windows XP support/upgrade??? S.O.S...

    Any help much appreciated! Thank you... 1) If I continue to use Windows XP on my older PC mainly for word processing and pix storage etc, will I still run into problems? 2) If I can no longer use Windows XP due to the end of its support, why am I onl

  • Track changes in customer material info (VD52) and create custom IDocs

    Dear experts, we want to track changes, which are made in VD52 (Customer matertial info record) and create custom IDocs (Z-format) based on these changes. What is the best way to do this? Best regards, David

  • Email Attachment​s No Matter What Size will not download or open up

    My Playbook was originally able to open my email attachments from my BB phone but now I can no longer download or open any attachments - no matter what the size.  Even an attachment that is 1 KB won't open!  It just says 'Attachment too large'.  When

  • "An error occurred while trying to add a frame to the movie" (-2014)

    Oh c'mon. I just got everything installed. First time i try to use it, and get an error. Anyone help? I tried researchin this but didn't really get concrete answers. Plus, if i try to import livetype file unrendered from fce, fce quits unexpectedly.

  • Changing JPEG to .psd or .tiff

    I am using iphoto 8 and elements 6.. My photos are in JPEG format. I would like to edit and save them into Photoshop (.psd) or TIFF (.tiff). When I go to File--Save As and choose Tiff or Photoshop from the pull-down menu the photo disappears (I canno