How to access ( DML) not a source table?

Hello,
I created a form ( using wizard ) based on the table.
I want to insert into another table based on the button. I'm playing around with the "Automatic Row Processing (DML)" process "source table".
And this is what i'm getting:
0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.03: Branch point: BEFORE_COMPUTATION
0.03: Computation point: AFTER_SUBMIT
0.03: Tabs: Perform Branching for Tab Requests
0.03: Branch point: BEFORE_VALIDATION
0.03: Perform validations:
0.03: ...Item Not Null Validation: P19_APPL_BUSINESS_AREA
0.03: ...Item Not Null Validation: P19_APPL_SERVER
0.03: ...Item Not Null Validation: P19_NSM_SUPPORT_LEVEL
0.03: ...Item Not Null Validation: P19_ENV_TYPE
0.03: ...Item Not Null Validation: P19_BACKUP
0.03: ...Item Not Null Validation: P19_PUBL_MAILING_LST
0.03: ...Item Not Null Validation: P19_BUSINESS_REQS
0.03: Branch point: BEFORE_PROCESSING
0.03: Processing point: AFTER_SUBMIT
0.03: ...Process "insert_tmp": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:tmp_guidebook:P19_ID:ID|I
0.03: Show ERROR page...
0.03: Performing rollback...
          "MYUSER_ID HERE"
ORA-20513: Invalid action SAVE on this object. (I)
     Error      ORA-20513: Invalid action SAVE on this object. (I)
I'm very confused with the error message, since i 3-ple check the table. and the "delete" process on the *source* table works fine.
Please help.
I also found Andy's post suggesting to create an PL/SQL routine and call it by "on submit" event.
http://forums.oracle.com/forums/thread.jspa?threadID=825248&start=15&tstart=0
Just curious if it's possible to make this action using standard form wo going with Andy's suggestion.
Please advise.
Andrew

Andy, thank you.
It works now.
A quick ( hopefully ) follow up question :
once i inserted the row, i want to remove that row from the source table.
right now i have unconditional process , but it's failing.
See here:
0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.03: Branch point: BEFORE_COMPUTATION
0.03: Computation point: AFTER_SUBMIT
0.03: Tabs: Perform Branching for Tab Requests
0.03: Branch point: BEFORE_VALIDATION
0.03: Perform validations:
0.03: ...Item Not Null Validation: P19_APPL_BUSINESS_AREA
0.03: ...Item Not Null Validation: P19_APPL_SERVER
0.03: ...Item Not Null Validation: P19_NSM_SUPPORT_LEVEL
0.03: ...Item Not Null Validation: P19_ENV_TYPE
0.03: ...Item Not Null Validation: P19_BACKUP
0.03: ...Item Not Null Validation: P19_PUBL_MAILING_LST
0.03: ...Item Not Null Validation: P19_BUSINESS_REQS
0.03: Branch point: BEFORE_PROCESSING
0.03: Processing point: AFTER_SUBMIT
0.03: ...Process "Insert_Approved_GB_Process": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:TMP_GUIDEBOOK:P19_ID:ID|I
0.05: ...Session State: Save "P19_ID" - saving same value: "44"
0.05: ...Process "Delete_process": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:GB_PENDING_RQST:P19_ID:ID|D
0.05: Show ERROR page...
0.05: Performing rollback...
          "My user id here"
Request id = 44 has been approved
ORA-20512: Invalid action SAVE on this object. (D)
     Error      ORA-20512: Invalid action SAVE on this object. (D)
OK      
And the processes are defined on the page :
Processes     Edit AllCopyCreate
After Submit
20     Insert_Approved_GB_Process     Automatic Row Processing (DML)     Conditional
30     Delete_process     Automatic Row Processing (DML)     Unconditional
40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Conditional
I'm implying that the "delete" should only occur if "insert" was successful ...
..And, to make life interesting, i have a button "Delete" that invokes the delete process to explicitly remove the row from the source table.
thank you
Andrew
Edited by: andrey on Dec 11, 2008 10:35 AM

Similar Messages

  • How to access OSS notes

    how to access OSS notes. i'm working in a reputed company, i would like to see OSS how can i access that.

    Hi
    OSS note provided by SAP for standard program issues. Based on problem which is facing sap will provide OSS note number. After getting the OSS note number follow the below procedure.
    Implementation of OSS Note procedure
    Go to development system, then enter t_code(snote) then Goto option (Menu bar),then select sap note down load option then type the sap note and then execute.
    after that goto (menu bar) select note browse and type the sap note then select execute button and double click on the line then check implementation status whether sap note is implemented or not.
    if implemented,come back snote home page, expand in process then select your sap note and then execute.
    it will show one screen for confirmation of sap note select 'yes' button then click on continue icon after that it will ask cts for your sapnote then click on continue again click on continue icon.
    after that it will show one information message that 'sap note implemented completely'.
    Reward points!!
    Thanks & Regards,
    Vasudeva Rao

  • How to access hidden fields in a table

    hi
          what is the use of hidden fields in a table, ie. some fields doesn't visible in the field list of a table.  but the fileds will be visible if u display its contents.
        for example in table t518A the text field is not visible in the field list.  But it will be visible if display its contents.  can any one of u please help me out how to access those fields. 
    regards
    sri

    Hi Srivallika,
    The table T518A has a text table called T518B. You can have a look at this table by:-
    1. GOTO SE11 and display table T518A.
    2. GOTO menu GOTO -> TEXT table. It gives the text table for the given table. Here its is T518B.
    A Text table is table with same key fields as the main table with another extra Language key TYPE SPRAS. This table is related to the main table. Hence to access the extra text fields, you can use the TEXT table :).
    Thanks and regards,
    Ravi.
    NOTE: Points keep me alive on SDN .

  • How to access the Microsoft Dynamics database tables for creating a DW

    Hi all,
    I m trying to build a POC for the manufacturing industry (Dairy Industry).
    Hence I'm trying to install Microsoft Dynamics and access the tables available its OLTP and create a warehouse.
    Please let me know how we access the database tables of Microsoft Dynamics to do etl (using any etl tool).
    Then i would be creating reports and dashboard using OBIEE 11G.
    I thought of getting help before installing microsoft dynamics so that i can install the necessary components to achieve the same.
    Please let me know the necessary things i would need to do.
    Thanks
    Jaan

    Hi,
    I think this can be possible with microsoft ssis etl tool.
    Thanks,
    Navin Kumar Bolla

  • How to access the html body source?

    Is their a way to access the html body source code? Because i want to add a div in my body before and after some select lists to get a border around my select lists. Thanks people.

    Hello,
    If you add a Start and Stop HTML Table element before and after your select list, it will create an extra table around your select lists with an id=<name of your Start/Stop Table Element>. Using some javascript (or jQuery) you can add a class to that Id that'll create a border.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to access changes made in a table?

    Hi Brothers,
    I have a table showing information that was read from the backend. The user is able to make changes to cells in the table.  access the now, I need to access the changes made by the user for processing.Unfortunately, I do not know how to that...
    Do I have to create an Object containing the changed table? Do the chnages take effect in the actual Context node so that I just have to use this?
    Thanks, Johannes

    I solved it completely,
    here the coding for version 7.1:
    public void onActionValidateChangesCustomer(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionValidateChangesCustomer(ServerEvent)
           for( int i=0; i < wdContext.nodeE_Customer().size(); i++ ){
                wdContext.currentI_CustomerElement().set__Bic__Epskufuer(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Epskufuer());
                wdContext.currentI_CustomerElement().set__Bic__Rbampisbr(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbampisbr());
                wdContext.currentI_CustomerElement().set__Bic__Rbbrand(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbbrand());
                wdContext.currentI_CustomerElement().set__Bic__Rbcustgrp(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbcustgrp());
                wdContext.currentI_CustomerElement().set__Bic__Rbgroup(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbgroup());
                wdContext.currentI_CustomerElement().set__Bic__Rbkunde(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbkunde());
                wdContext.currentI_CustomerElement().set__Bic__Rbprod(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbprod());
                wdContext.currentI_CustomerElement().set__Bic__Rbsubgrp1(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbsubgrp1());
                wdContext.currentI_CustomerElement().set__Bic__Rbsubgrp2(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbsubgrp2());
                wdContext.currentI_CustomerElement().set__Bic__Rbwwrpnkz(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbwwrpnkz());
                wdContext.currentI_CustomerElement().setChanged(wdContext.nodeE_Customer().getE_CustomerElementAt(i).getChanged());
                wdContext.currentI_CustomerElement().setDatefrom(wdContext.nodeE_Customer().getE_CustomerElementAt(i).getDatefrom());
                wdContext.currentI_CustomerElement().setObjvers(wdContext.nodeE_Customer().getE_CustomerElementAt(i).getObjvers());
                wdContext.nodeI_Customer().addElement(new __Bic__Mrbkunde());
                wdContext.nodeI_Customer().moveNext();
           // trigger the RFC
           wdThis.wdGetInfoObjectCustController().executeZ_Customer_Front_Controller();
        //@@end
    Thanks, Johannes

  • How to access information in R/3 tables

    Hi!
    I have a long chain of 3 tables in R/3 to finally receive a link from a function module, that gives me Track and Trace functionality.
    Now, the final function module is made and working.
    But how do I (from inside Visual Composer) get access to various tables in R/3.
    The tables in question are:
    1) VBFA
    2) VEPO
    3) VEKP
    which can all be found from SE16 in R/3.
    I figure I somehow need an ABAP-developer, but maybe - just maybe - there is an easier way running a RFC or web-enable a table for input etc.?
    What do you advise I do. I can retrieve all the necessary from within R/3, but the end-user will have to run it via a porta-interface within a Visual Composer Model that I am trying to get hold of.
    ANY suggestions are appreciated.
    Best regards
    Jakob Diness

    Jakob,
    You may want to try the BAPI Explorer (BAPI) for finding what RFC's are available. You can drill down by functionality area or look for an object alphabetically. For example I looked alphabetically and found HandlingUnit, which is what a couple of your tables appear to pertain to.  You can then test those functions under Handling Unit to see if any provide what you need.
    I hope that is helpful.
    Margaret

  • How to view record from java source table

    hi,
    i had created a table as
    CREATE JAVA SOURCE NAMED "Hello" AS
    public class Hello {
    public static String hello() {
    return "Hello World"; } };
    also it compiled but i dont've idea to view the record from it
    can u help me

    Please check the following script --
    create or replace and resolve java source named "Hello"
    as
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    public class Hello extends Object
        public static String Display()
        throws IOException
            return "Hello World";
    create or replace procedure Hello(v_str  out varchar2)
    is
       language java
       name 'Hello.Display(java.lang.String) return String';
    create or replace procedure HDisplay
    is
    x  varchar2(400);
    begin
      Hello(x);
      dbms_output.put_line('String is: '||x);
    end;And, from sql prompt --
    exec HDisplay;N.B.: Not Tested...
    Regards.
    Satyaki De.
    Message was edited by:
    Satyaki_De

  • How to Access DB2 MQT (Materialized Query Table) in Crystal 10

    DB2 V8 has a new construct called a Materialized Query Table (MQT) that is essentially a table containing the data represented by a view. This MQT does not appear in the Database List in Crystal under Table, View or Synonym. I assume it is due to the Database Type in DB2 (M). How can I make Crystal recognize the MQT so I can use it in a report?

    Hi Linda,
    This question was posted internally and OLE dB is the work around but no version of CR was noted so not sure if this will work for you. If it doesn't work in CR 10 then you'll have to upgrade to a more current version.
    Because MQT is new to DB2 Crystal 10 OLE dB driver may not know how to handle them.
    Thank you
    Don

  • How to perform DML Operations on Spatial Table Using ADF

    Hi
    I have an urgent requirement. I have a table with Spatial column. I have generated Business components based on Spatial Table.
    Now I have to perform Create,Read,Update and Delete operations using ADF Business Components on Spatial Table.
    I have written custom create(),read(),update() and delete() methods in my Application Module and i have to implement those methods.
    Can any one help me out how to acheive above four functionalities using ADF Business Components.
    Thanks in Advance

    HI,
    see this example.
    u can do like this.
    DATA: BEGIN OF seats OCCURS 0,
            carrid   TYPE sflight-carrid,
            connid   TYPE sflight-connid,
            seatsocc TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE HASHED TABLE OF seats
                   WITH UNIQUE KEY carrid connid with header line.
    SELECT carrid connid seatsocc
           FROM sflight
           INTO table seats.
    loop at seats.
      COLLECT seats INTO seats_tab.
    endloop.
    LOOP AT seats_tab.
    write:/ seats_tab-carrid,seats_tab-connid,seats_tab-seatsocc.
    ENDLOOP.
    rgds,
    bharat.

  • How to create an XML from Source Table

    Hi,
    I am new to ODI and have a requirement as part of our project -
    Say have a table in Source schema with few columns and need to convert the same to XML format and insert the XML as a CLOB column in table of target schema.
    There could also be a case where the XML generated in Source will have to be passed on to Target by calling a web service at target (through ODI)
    Please help with all the steps required to achieve the same.
    Regards,
    Kumar

    HI
    GOOD
    IT IS POSSIBLE IN ABAP
    Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
    XSD->
    XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail.
    XDS->
    XDS can process data images from CCD-, imaging-plate, and multiwire-detectors in a variety of formats. Detector specific Input file templates greatly simplify the use of XDS; they are provided as part of the documentation.
    XDS runs under Unix or Linux on a single server or a grid of up to 99 machines of the same type managed by the MOSIX system; in addition, by using OpenMP, it can be executed in parallel on up to 32 processors at each node that share the same address space.
    http://www2.stylusstudio.com/SSDN/default.asp?action=9&fid=23&read=2926
    /people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
    THANKS
    MRUTYUN

  • Extended Events: How to capture DML on a specific table

    I want to capture Select/Insert/Update/Delete commands on a specific table, lets say - dbo.MyTbl.
    I can use extended events to analyze the completed TSQL commands in order to find dbo.MyTbl or [dbo].[MyTbl] (I assume the schema is always mentioned explicitly). The problem is that the table could be accessed through a view, and it won't be mentioned explicitly
    in the TSQL command.
    Is there a way to solve this problem through Extended Events, or a better solution for such a problem?
    El castellano no es mi lengua materna. Discúlpenme por los errores gramaticales, y, si pueden, corríjanme en los comentarios, o por correo electrónico. ¡Muchas gracias! Blog: http://about.me/GeriReshef

    Seems like you are looking for the Server Audit funtionality. It requires certain versions/editions. Server Audit is implemented using Extended Events but the underlying X/E mechanisms that Server Audit is using isn't directly available throuh X/E.
    Tibor Karaszi, SQL Server MVP |
    web | blog

  • How to access lotus notes?

    I am in a new job, and my new employer uses Lotus Notes. Can I use either apple mail standard app or outlook to get it? how?

    http://www14.software.ibm.com/webapp/download/brand.jsp?b=Lotus

  • Source table not taken as S_order_item_xa when i generate map...urgent

    When i check generated result in owb it not showing source table name as s_order_item_xa.its taking as group name instead.i have specified group name as XA for CHAR_val column.
    It should show "s_order_item_xa"."CHAR_VAL instead of "XA"."CHAR_VAL"/*
    can anyone tell me where i went wrong immedietely.
    Generated code in owb
    "S_ORDER_ITEM"."STATUS_CD"/* EXPRESSION.OUTGRP1.ROOTSTATUS */ "ROOTSTATUS",
    "S_ORDER"."X_BT_SUB_STATUS_CD"/* EXPRESSION.OUTGRP1.O_SUBSTATUS */ "O_SUBSTATUS",
    "S_ORDER_ITEM"."X_BT_SUB_STATUS_CD"/* EXPRESSION.OUTGRP1.ROOTSUBSTATUS */ "ROOTSUBSTATUS",
    EXPRESSION.OUTGRP1.OUT_ROOTSTATUSOVERALL */ "OUT_ROOTSTATUSOVERALL",
    "XA"."CHAR_VAL"/* EXPRESSION.OUTGRP1.OUT_CHAR_VAL */ "OUT_CHAR_VAL",
    "S_ORDER_ITEM"."ACTION_CD"/* EXPRESSION.OUTGRP1.ROOTACTION */ "ROOTACTION",
    "S_ORDER"."X_BT_DLR_CHANNEL"/* EXPRESSION.OUTGRP1.O_DLR_CHANNEL */ "O_DLR_CHANNEL",
    regards
    SIRI
    Edited by: user11923932 on Sep 21, 2009 1:41 AM
    Edited by: user11923932 on Sep 21, 2009 1:47 AM
    Edited by: user11923932 on Sep 21, 2009 1:48 AM

    Siri,
    You didnt in essence do anything wrong, but when you bring an attribute into an expression from a table and give the group it is in a name the group name becomes an alias for the table. If you still want it to read "s_order_item_xa"."CHAR_VAL just name the group " "S_ORDER_ITEM_XA" instead of "XA".
    Regards,
    Shaun

  • How to access single column in table?

    Hi,everybody!
    How to access a single column in table.
    I sorted my table with standard TableSorter.
    Now I need to get one column from this table to
    do something with it's data.How do I get it?
    Regards,
    Michael

    Hi Michael,
    If you just want to retrieve the data, you could use the following code.
    //Get the node which the table is bound to
    IWDNode node = wdContext.nodeTable();
    //iterate thru the elements
    for(int i = 0 ; i<node.size();i++)
      IWDNodeElement ne = node.getElementAt(i);
      Object value = ne.getAttributeValue("<column name>");
      //Here you have the data in the value variable
      //and you can manipulate this now
    Regards,
    Sudeep

Maybe you are looking for

  • How can I block calls on my G3 when Verizon took away that functionality?

    I find it very interesting that I used to receive a small amount of SPAM calls/texts on my old phone (older version of Android) but once I updated my phone last August, after waiting for years to find the options, design, and features that I wanted,

  • Reg: Adapter Specific Attributes

    Hi Experts, My scenario is a File to File and I am using Adapter Specific Message Attributes in it. Things are going fine but when I check directory in ASMA, getting the output file in specified directory and it gets deleted after a while. What might

  • Help files not working in iTunes 10

    Hi. Since I installed iTunes10, whenever I try to use the Help it says that I need an internet connection to view these files. I'm already connected, so I don't know how to fix it. Anyone suffering the same problem?

  • Embeded PLSQL Gateway & 404 page not found issue

    Hi If I use APEX_ITEM.TEXTAREA with Embeded PL SQL Gateway and submit the page, it throws "HTTP 404-page not found" error. It doesn't happen when I use apache server instead of EPG. Our production APEX is down because of this issue. Any help/suggesti

  • Managed or referenced images?

    Hi all, since I started to use Aperture I preferred to do not import the master files in the Aperture library, but just today I thought: which is the best solution in terms of hard disk volume and speed? If I decided to copy all the master files in t