Problem with Insert process in Master Forms?

Hi Patrick,
It will be very greatful to me if you can help me out why insert is not working in case of forms as explained below
I have created a tabular form where i am able to update & delete and adding rows with out any problem.
When i am trying a insert a new record it is throwing the below error...
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "D47F24D590E442A8BCF98D5BA7D782AC", item checksum = "B3FF449D4A98A3313839C25D15586A17"., update "APEX_DEMO_SCHEME"."DEPT" set "DEPTNO" = :b1, "DNAME" = :b2, "LOC" = :b3
Thanks,
Anoo..
Edited by: Anoo on Jul 20, 2010 3:37 AM
Edited by: Anoo on Jul 20, 2010 3:38 AM

If I were you, I would never do this through any program. The only secure, reliable way is to rewrite everything by your own hands. Even if we could argue, your way works as well (and could be faster at the beginning), at the firt moment you will be asked to perform any tiny change in this "imported" thing, you will cry your eyes out (and understand why it is the only useful way to rewrite everything manually).
regards Otto

Similar Messages

  • Problem with css processing in Firefox8 on Win7.

    Hi guys. I have a problem with css processing in Firefox8 on Win7. I need to make div which width and left css properties should be dynamically changed. Inside this div i have an swf object. When i change width and left css styles for my div, it jumps on the page, but other browsers render that well. What can you suggest to fix this problem? Thanks

    A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Problem with Consolas font in a form

    I have problem with Consolas font in a form in latest Adobe Reader (v11.0.9)
    It shows dots (password sign) instead of letters. Edit box is not configured for passwords.
    Form was created by Foxit PhantomPDF and it shows correctly in Foxit.
    Can somebody check PDF for errors or warnings?
    http://www60.zippyshare.com/v/71759184/file.html

    You should embed these fonts in the document.
    If you need more help with this, please ask in the Acrobat forum.

  • Problem with XSQLRequest.process

    Problem with XSQLRequest.process:
    I'm trying to run XSQL files using XSQLRequest.process. I'm working on the chapter 3 examples in Muench's book and got FAQXML.xsql running okay but have had problems with: FAQhtml.xsql BTW I am calling them from a different directory and am using 9iAS under win2K SP3.:
    I've fixed errors such as:
    End tag does not match start tag 'img'.
    by adding </img>
    and:
    End tag does not match start tag 'META'.
    by removing the <head> section from the xsl.
    But now i've got:
    XML parse error at line 2, char 1
    Expected 'EOF'.
    and don't have a clue.
    Some questions I have are:
    --Why don't I get these errors when I run the same files from Internet Explorer?
    --Where is the intermediate XML file?
    --How will I get HTML output?
    I'd appreciate any help you could suggest.
    Peter.
    Here is the .xsql and some of the .xsl:
    <?xml version="1.0"?>
    <!-- FAQHTML.xsql: Show FAQ.xsql in HTML Format for browsers -->
    <?xml-stylesheet type="text/xsl" href="http://localhost/ch03/FAQ-In-HTML.xsl"?>
    <xsql:include-xsql href="FAQ.xsql" xmlns:xsql="urn:oracle-xsql"/>
    <!-- FAQ-In-HTML.xsl: Transform ROWSET/ROW format into HTML Format -->
    <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    -->
    <body>
    <center>
    <table border="0">
    <tr>
    <th>Question</th>
    <th>Difficulty</th>
    </tr>
    <xsl:for-each select="ROWSET/ROW">
    <tr>
    <td>
    <table border="0" cellspacing="0">
    etc...

    XSQL version is 1.0.2.0.
    Well, in answer to your import question, yes. Xerces can import Xerces documents properly. Thus if we use Xerces importNode on a document parsed/created using Xerces' DOM implementation, the attribute values stay.
    We are using Xerces because it is the foundation of our infrastructure layer (which is partly because it's used in Catalina).
    Question. Is it possible that XSQLParserHelper which, as you say, uses an instance of oracle.xml.parser.v2.DOMParser to parse the document, is having trouble with different versions of DOM? I ask because we've noticed that to use Catalina and have its class loader to function successfully, we had strip all the DOM classes from xmlparserv2.jar
    importNode snippit ...
    public void service(CioServletRequest req, CioServletResponse resp) throws ServletException {
    DomResponse respm = resp.createDomResponse();
    Document dbdoc = respm.getDocument();
    XSQLRequest req = new XSQLRequest( pageUrl );
    ByteArrayOutputStream ostream = new ByteArrayOutputStream();
    req.process(params, ostream, new PrintWriter(System.err));
    String s = new String(ostream.toByteArray());
    Document retDoc = respm.parseDocument(s);
    dbdoc.appendChild(dbdoc.importNode(retDoc.getDocumentElement(), true));
    Hope this helps.
    Steve.
    null

  • Problem with a process chain transport

    Hi all,
      I have a problem with a process chain transport, I transport it but when I see the changes in testing environment I don’t see it, I did it four times but nothing happen and I don’t have errors.
      Can anybody tell me how to transport a process chain.
    Thanks.

    Hi Federico,
    When you tranport Process Chains, initially chains will be available under "Not Asigned" node in RSPC Transaction. The transported chains wont be get highlighted automatically. Manually need to open the chain in update mode and activate it on Quality.
    Hope it will help you to resolve the problem.
    Regards,
    Raji

  • Problems with INSERT  syntax ?

    Dear programmers,
    I am have a problem with INSERT Syntax,
    I have a table with 11 fields out of which one is auto_increment field(id), Now my problem is, Do i need to specifiy autoincrement field in INSERT statement. I dont thinks ?
    My Insert statement is as follows ,
    int result = st.executeUpdate("insert into tablename"
              +"(name, user_group, lage, preis, anmerkung, exp_uri, timestamp, nummer)"
              +"values +Objekt+"','"+Kategoriekey+"','"+Lage+"','"+Preis+"','"+Anmerkung+"','"+Dateiname+"','"+date.getTime()+"','"+ObjektID+"')");
    thanks in advance
    bye

    The answer to your question is maybe. Each database handles autoincrements differently. What database are you using?
    I also noticed that you are doing an insert using the standard Statement. You should look into using PreparedStatements for performance reasons and issues such as single quotes from within a string.
    Matt

  • Problem with AND process in daily running process chain

    Dear Friends,
    I am currently I am facing problem with AND process. In my daily running process chain, daily the process chain is failing at AND process. Currently I am workaround and manually repairing the AND process and loading the data with below (link) steps.
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    I need permanent solution for this reoccurring problem. Kindly share your thoughts and ideas to resolve this problem.

    Hi,
    The below are the job log. After this the batch job is failing.
    Job log overview for job:  BI_PROCESS_AND
    Job started
    Step 001 started (program RSPROCESS, variant &0000000190315, user ID MAESTRO)
    This AND process is not waiting for event RSPROCESS, parameter 475P4YTXTIIOA6IQ9GAZVEP24
    Job cancelled after system exception ERROR_MESSAGE

  • Problem with new DB app, report+form, report works great, form says ORA-01403: no data found

    I have a new table, the PK is a varchar2(5) column, when I allow the default query in the report to do its work, I get all the expected data.  when I click on the edit icon (pencil), I get an error screen indicating ORA-01403: no data found.  I'm hosed!  This was generated by the app!  no changes were made to anything in the app, except to turn off tabs at create time.  I even left the default name.
    My ARF is hitting the right table with the PK column, but finds nothing.  I have the "success" message showing me the PK value.  What could be going on here, and how can it be addressed?  Today is the 1st time I have seen this matter.
    I'm running 4.22 as the workspace admin, I have other apps that work fine (to expectation), my browser is FF22, though I plan a downgrade to 18.  Our DB is 11.1.0.7.

    Jorge, thanks for your attention to my problem, I appreciate any insights, although there is a little clarification I can offer.  Also, if you can, please remind me the tags to use in my text that would properly set off the code snippets or prior message content?
    [you wrote]
    You said you have a "success" message showing you the PK value. Can you elaborate on this?
    The form page, under the ARF, allows for the display of a "success" message and a "failure" message.  I have seen my "success" message appear, but it didn't show my key field as a brought-back value (which I told it to include), and I think now this is not relevant any longer.  I found that there was a link on the report attributes page between #ROWID# and a P2_ROWID that was incorrect (probably from an earlier stage of dev in the app), and I changed this to my key field, and this altered the outcome of the ARF action.  This leads to ....
    [you wrote]
    Can you see the correct PK value in the URL? Does the item parameter match what you expect (correct page item and value)? Perhaps share that full URL here?
    I have expected values in my URL.  The URL does show my key value (tail end of URL underlined here):
    ../apex/f?p=120:2:7519563874482::NO::P2_VCODE:RB15
    [you wrote]
    Debug the page and see which process, item or step is actually failing. You could be running some other process on the form page and that could be what actually fails.  Treat it as if the ARF works correctly and see what else could be happening.
    I can add the detail that my 1st message was based on testing with a table where I set the PK as data type VARCHAR2, but in more testing on the actual app (whose URL piece is above) I am using a PK which is CHAR.
    The result of the debug effort is that APEX has built its own query for pulling back the row in the ARF, and it is joining on my PK field to an APEX item P_ROWID which I don't think I created.  Nor does it appear to offer me any avenue for correcting it.    debug snippet:    where "VCODE" = :p_rowid; end;

  • Problem with inserting date

    Hi,
    I have a JSP form that takes the date and inserts it into the db. I'm having a problem with what format the date should be in. My insert string looks like
    INSERT INTO users (USERNAME, WHO_CREATED, WHEN_CREATED) VALUES ('bob', 'jeff', (Result.getString("sysdate"))
    unfortunatly whatever format I put the date in I can't seem to make both JAVA and ORACLE happy.
    I'm new at this so I'm hoping that is something simple.
    Thanks,
    Chris
    null

    Hi Chris,
    Are u using Business components for java i.e. entity/view objects? If yes, then the default date format for entity/ view objects is
    "yyyy-mm-dd".
    Aparna.

  • Problems with inserted datagridview checkbox column

    I have a few problems with a checkbox column added to a datagridview. The datagridview is bound by a binding source whose datasource is a datatable. I also add in the code a checkbox column:
    private
    void InitializeDataGridView()
                dgvInvoices.ColumnHeadersDefaultCellStyle.Font =
    new Font("Arial", 10,
    FontStyle.Bold);
    DataGridViewCheckBoxColumn chkColumn =
    new DataGridViewCheckBoxColumn();
                chkColumn.FlatStyle =
    FlatStyle.Standard;
                dgvInvoices.Columns.Insert(0, chkColumn);
                dgvInvoices.DataSource = bs;
                cmbInvoicingCriteria.Text =
    "(All)";
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Date", "Date",
    DataGridViewContentAlignment.MiddleLeft);
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Invoice", "Invoice",
    DataGridViewContentAlignment.MiddleLeft);
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Customer", "Customer");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Name", "Name");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Count", "Count");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Total", "Total");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Driver", "Driver");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "Status", "Status");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "ARHID", "ARHID");
    DataGridViewBinding.CreateColumn(dgvInvoices,
    "AR", "AR");
                dgvInvoices.Columns["ARHID"].Visible =
    false;
                dgvInvoices.Columns["AR"].Visible =
    false;
    this.dgvInvoices.Columns[0].DefaultCellStyle.Font =
    new Font("Arial", 18,
    FontStyle.Bold);
    this.dgvInvoices.Columns["Date"].DefaultCellStyle.Font =
    new Font("Arial", 10,
    FontStyle.Bold);
    this.dgvInvoices.Columns[2].DefaultCellStyle.Font =
    new Font("Arial", 10,
    FontStyle.Bold);
    this.dgvInvoices.Columns["Customer"].DefaultCellStyle.Font =
    new Font("Arial", 10,
    FontStyle.Bold);
    this.dgvInvoices.Columns["Name"].DefaultCellStyle.Font =
    new Font("Arial", 10,
    FontStyle.Bold);
    this.dgvInvoices.Columns["Count"].DefaultCellStyle.Font =
    new Font("Arial", 10,
    FontStyle.Bold);
    foreach (DataGridViewColumn dc
    in dgvInvoices.Columns)
                    dc.ReadOnly =
    true;
    if (dc.HeaderText.ToLower() ==
    "count" || dc.HeaderText.ToLower() ==
    "name" || dc.Index == 0)
    this.dgvInvoices.Columns[dc.Index].AutoSizeMode =
    DataGridViewAutoSizeColumnMode.AllCellsExceptHeader;
    else
    this.dgvInvoices.Columns[dc.Index].AutoSizeMode =
    DataGridViewAutoSizeColumnMode.Fill;
                dgvInvoices.DefaultCellStyle.Alignment =
    DataGridViewContentAlignment.MiddleCenter;
                dgvInvoices.Columns[0].ReadOnly =
    false;
                dgvInvoices.Columns[0].Width = 25;
                dgvInvoices.Columns[0].SortMode =
    DataGridViewColumnSortMode.Automatic;
    The problems I have here are
    1. The first checkbox doesn't check off (it used to work when the width was 25 but then I added the code ontop to make the autosize mode of this columns to allcellscellsexcept header it stopped working. I need that though because if I don't make the autosizemode
    = all cells except header then when I make the form narrow the checkbox column disappears.) I was wondering why this is happening, and how to fix it.
    2. Also this column is not sortable. I added to my code  dgvInvoices.Columns[0].SortMode = DataGridViewColumnSortMode.Automatic;
    but it doesn't seem to work.
    3. Whenever I sort another column the checked off checkboxes lose their focus. I understand that can be a problem with a bound datagridview and one unbound column, but how can I fix it?
    Debra has a question

    I loaded the data for all the rows from a datatable on the form. The checkbox column is that connected to that bound data. it's just there and I need to be able to tell if each row was checked or not, and I need to be able to sort the checkbox column. I
    also need to be able to sort all the other columns without losing the check. The only thing commenting out the foreach would help would be that the first checkbox can be checked, but I want it to be autosizemode = allcellsexceptheader and I want to understand
    why it's not working like this. Would you have any ideas? Below is how I bound the datagridview for all columns except the checkbox column.
            private
    void LoadDataGridView()
    DataGridViewBinding.BindWithData(false, dsInvoicingFilter.Tables[0], dgvInvoices, lblEntryCount, bs);
    if (dsInvoicingFilter.Tables[0].Rows.Count == 0)
                    btnDelete.Enabled =
    false;
                    btnOpenInvoice.Enabled =
    false;
                    btnPrint.Enabled =
    false;
                    btnSaveAsInvoice.Enabled =
    false;
                    btnVoid.Enabled =
    false;
                    btnShip.Enabled =
    false;
    else
                    btnDelete.Enabled =
    true;
                    btnOpenInvoice.Enabled =
    true;
                    btnPrint.Enabled =
    true;
                    btnSaveAsInvoice.Enabled =
    true;
                    btnVoid.Enabled =
    true;
                    btnShip.Enabled =
    true;
                    bs.Position = 0;
                dgvInvoices.Columns[0].Width = 25;
                txtSearch.Text =
    public static
    void BindWithData(bool autoGenerateColumns,
    DataTable datatable,
    DataGridView datagridview, Label lblDGVEntryCount,
    BindingSource bs)
                datagridview.AutoGenerateColumns = autoGenerateColumns;
                bs.DataSource = datatable;
                datagridview.DataSource = bs;
                DataGridViewEntryCount(datagridview, lblDGVEntryCount);
    //ExpandColumns(datagridview);//to do it slows it down. Why can't the dgv remember to do it from when initialized it?
    Debra has a question

  • Strange problem with backgroung processing of BDC for Transcation CLMM

    Folks,
    I have encountered strange problem with BDC.I created an ALV report from output i select any number of rows and hit insert class button on top. If i select less than 10 row and use this statement
    call transaction 'CLMM' mode 'N'
    ,it works fine but if i select more than 10 rows ,the sy-subrc after this statement  
    call transaction 'CLMM' mode 'N'
    is 1001 means an error. I cant understand this problem of Mode N. if  i put statement
    call transaction 'CLMM'
    (foreground processing) here ,everything works fine. Do you have any idea?
    Nirad

    Hi,
    The problem is due to the screen size which can differ between foreground and background mode.
    A screen with 10 table rowsin foreground does not necessarily mean same number of rows would be available in background mode.
    Hence its always better to create recording with Simulate Background Mode as checked.
    When you enter transaction code 'CLMM' in SHDB transaction and start recording, check Simulate Background Mode.
    Hope this helps!
    Cheers,
    Vikram

  • Problems with graphics inside fax & mail form

    Hi everybody.
    I've a problem with compiling some mail forms.
    I've to load a logo inside a mail form that can be sent also as a fax.
    I tried insert a .bmp image in different ways : graphic node, intranet URL, web URL, but I have always the same problems:
    1)When I send the fax , even if the preview shows me the logo, the fax is always sent without logo.
    2) Sometimes the preview doesn't load the image.
    Somebody could help me?
    Thanks everybody
    Regards

    Hi,
    e-mail, fax or paging/SMS via SMTP configured in the SAP Web Application Server & Which prerequisites and settings are required outside the SAP system?
    Brodly there are five steps to configure
    1. Profile parameters
    2.User administration (transaction SU01)
    3. Client assignment (transaction SICF)
    4.SAPconnect administration (transaction SCOT)
    5. Settings on the mail server (SAP-external configuration)
    For step by step visit smtp configuration guide at
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/ea000fb4b31a71e10000000a422035/content.htm
    <b>Rewards point if helpfull</b>
    Thanks
    Pankaj Kumar

  • Problems with inserting elements into vectors

    Hi,
    I have a problem with the setElementAt() method for vectors.
    I want to initialise a vector that is same size as a previous vector declared in my program and insert float 0.0 in all the positions.
    The code below is a for loop to do just this where count is the size of the previous vector.
    for(int i=0;i<count; i++)
                   vLargest.setElementAt(zero,i);
              }i have declared zero as a float
    float zero = 0.0f;
    the error that i'm getting is that it that the vector cannot be applied to a float.
    Can anybody tell me what i'm doing wrong?
    Thanks

    Yes you need to store Objects in your Vector not primitives.
    float is not an Object it is a primitive. But Float is an object.

  • Problem with people opening my PDF Form

    Hi,
    I have people who can't open my Form PDF file - they get an error message. Some of them have version 5, 6 or 7 of Acrobat.
    Any suggestions? I have enabled Usage Rights in Acrobat and Saved.

    Hi,
    you can inform your clients with a message when opening your form with an (too) old pdf reader version, to avoid problems with using the form.
    put following script into the initialize event of the first page of your form!
    if (typeof(app.viewerVersion) != "undefined")
    if (app.viewerVersion < 8.0)
    app.alert({cMsg:"ATTENTION:\rThis file requires Adobe Reader 8.0 or newer!",cTitle: "ATTENTION:", nIcon: 1, nType: 0} )

  • Problem with the Travel Expenses PDF Form

    Hi Experts,
    We are facing a strange issue in our production system that the Travel Expenses PDF form is coming as a blank pop up when users raise a Travel Expenses request or try to see the form in 'My trips and Expenses'.
    The strange thing is that it is happning for only 3 users in Production system only.We have confirmed that it is not a Desktop issue. We did not come across this earlier while 3500 users are using it for 9 months now.
    The same problem is not repeated in Dev, Qua or even in Production for any other user.
    The SAP Security team has also confirmed that all relevent authorisations have been given to effected users like other users for whom the same is working
    Kindly help me with the same if you have encountered the same problem or can suggest something that may rectify the problem.
    Help will be appreciated << Please do not offer points >>
    Regards,
    -Amol Gupta
    Edited by: Rob Burbank on Sep 21, 2010 2:38 PM

    Hi Siddharth,
    Thanks for the reply.
    We have checked that it is not a Desktop issue.
    Also SAP Security team says that the effected users have been given the regular authorisations as given to other users using the same functionality.
    As i mentioned it is not a problem with ADS as the same functionality is working fine for 3500 users for 9 months.
    Regards,
    -Amol Gupta

Maybe you are looking for

  • Itunes not playing music, Vista 64-bit

    Hello Everyone, The other day I was messing around with windows and managed to screw it all up; I completely reinstalled windows and then installed Itunes and imported all my music. When I tried to play my music it just doesn't play; the diamond at t

  • Are there any free video editting Applications available for Mac osx 10.7.5???

    I'm trying to edit a number of video's regarding a presentation I'm working on for school project. Can anyone recommend a reliable video editting application? Thanks for helping

  • Tracking my phone after software reset?

    My iPhone was stolen. The person with it must have switched it off before I could track it, as its last known location was my car. If my phone was then restored to factory settings will I still be able to track its location when they switch it on aga

  • Setting file paths

    Is there any way I can programmatically tell java.io classes to assume that file paths are within the source file directory? I'm asking because the sdk does this by default but, by running in debug directories, NetBeans changes this.

  • BUG - Omniportlet 10.1.4 with HTML layout ??

    Steps to reproduce: 1. Create an OmniPortlet instance which is based on a SQL statement 2. Use the following SQL select :BIND1 as MY_BIND1 from dual 3. Define the bind variable BIND1 as tied to ##Param1## 4. Give Param1 a default value= "MY_PARAM" 5.