Searching update insert and delete statements

Hi.
Suppose, there is change request containing 10 or more programs.
One of the program has statements, working with database tables,
like update, insert or delete.
Is there any transaction where we can select request number and find
programs working with tables directly.

Hello
1. Goto table E071 with TRKORR = change request and OBJECT = {reps, repo, rept}
2. In field OBJ_NAME will be all reports names in this request
3. In abap-programm upload this reports into internal table
4. Search for 'update' 'insert' and 'delete'
P.s. it is only for reports

Similar Messages

  • Can we have an example of using update, insert, and delete stored procedure

    I would like to see an example of using retrieve (return resultset), update, insert, and delete stored procedures in JSF. I need to see syntax how JSF can call those stored procedures. This option is absolutely important when building web-application. Currently, I haven't found resource to do for this purpose yet. The database can be any such Oracle, DB2, pointbase, etc that support stored procedures.
    Anyone knows?
    Thanks,
    Tue Vu

    Hi ttv,
    I asked around a bit and here's some more info:
    To bind a ResultSet to a read only Data Table component just set the "value" property of the Data Table component to point at it, and JSF will synthesize a DataModel around it.
    * Note that because we can't call the stored procedure at design time, Creator can't do the fancy table layout stuff it does for rowsets. You'll need to hand craft the columns just like the Google Client example.
    * As I mentioned previously, you will have to manually code the stored procedure access in your java code - see the code clip I mentioned in previous reply (and if this is via a stored procedure, then any textbook about JDBC will undoubtedly have examples). Simplest way might be a getter method on the page bean that contains the call to the stored procedure and returns the resulting ResultSet object.
    * Don't forget to close the result set - we typically do this at the end of the request (i.e. add a close in the afterRenderResponse() method.
    * Don't throw exceptions - or if you have to, make sure you close the result set in a finally clause (thrown exceptions bypass the afterRenderResponse method in the lifecycle).
    * You give up on the caching provided by our RowSetDataModel (which can't be connected to a ResultSet even manually), so I would recommend that you only use datatables to display the data and then go to a single row page to do edits/deletes (similar to the TwoPage example in AppModel and the Update, Insert Delete tutorial).
    And yes please do submit an example - we will gladly post it!!! :) The best way to submit this kind of thing would be through:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
    on the right side, Related Links, under Creator Heros, click Submit Content and there you can send it in!
    Hope this helps!
    Val

  • Is there any way to actually delete messages from my iPhone? I have already synced my iPhone, updated it, and deleted all of my backups but the messages I have "deleted" still appear in the spotlight search.

    Is there any way to actually delete messages from my iPhone? I have already synced my iPhone, updated it, and deleted all of my backups but the messages I have "deleted" still appear in the spotlight search.

    If you already have an iPhone backup or an iCloud backup, just follow the instructions on the page below
    http://www.whatsapp.com/faq/en/iphone/20888066
    If you didn't back up your iPhone, try to use WhatsApp Pocket to recover your chats:
    http://www.fireebok.com/whatsapp-pocket.html

  • Insert and Delete at the same time?

    Hi,
    I have a dynamic list and dynamic form. When a person inserts a record using the dynamic form, I would like to delete a record from another table using a foreign key when the new record is added (assuming a record exists in the other table). Is this achievable, and if so, can anyone provide any help?
    Thanks in advance for any advice provided.
    Gary

    As kendenny says, this appears to be a misunderstanding of how database transactions work.
    As Hoek says, if it's an insert and delete on the same table, there is a MERGE statement that can help do that as a single statement.
    However, you do not do an INSERT from one table and a DELETE at the same time from another table.  But that doesn't matter, because that's the point of logica transactions on a database.
    You perform your insert, which starts a transaction (if one isn't already started).
    You then delete from your other table (which adds to the transaction)
    When you're happy that both things are done, you COMMIT your transaction which then applies those changes.
    If you're not happy with something you can ROLLBACK, and that will undo all the changes from the transaction.
    So, the commit and rollback allow the changes to be applied as one logical unit, even though the changes are applied in multiple steps.

  • * * Procedure needs a way to  perform  update, insert or delete to...

    Hi Gurus,
    I got Assignment & need your help how to write this procedure efficiently.
    ** The procedure needs a way to actually perform the update, insert or delete to bring the reference data up-to-date with the refresh table.**These columns are for internal use and should not be compared to the refresh tables.
    Column 1
    Column 4
    Column 5
    Column 7
    Column 9
    Column 12
    Column 22
    Column 24
    1)     I would list out the columns in the cursors in place of the *. Or better define a record with %ROWTYPE.
    2)     You will need to include a way to look for rows that may be in one table and not the other.
    a.     Insert the rows that exist in the refresh table, but are missing from the reference table.
    b.     Delete the rows that are found in the reference table, but do not appear in the refresh table.
    3)     You also need to provide for handling the expiration date. Our default expiration date is ‘01-JAN-2500’, meaning if the refresh table has a futuristic expiration date or null, then our default expiration date is considered valid. Also this date needs to be added to any new rows created as a result of the refresh, if you leave the EXPIRATION_DATE column out of the insert it should default to the above date.
    4)     I assume that Differences is where you plan to list the actual data values that differ. If you don’t list the whole row I would at least list the primary key, in addition to what columns are different.
    5)     The procedure needs a way to actually perform the update, insert or delete to bring the reference data up-to-date with the refresh table.
    Thanks in advance

    Hi,
    Take a look at merge
    http://www.psoug.org/reference/merge.html
    Keep Smiling
    Bob R

  • Lots of inserts and deletes, can i make it faster ?

    Hi ,
    i have lots of records handling thro' JSP and Javabeans.
    So i have to do insert and deletes likek 400 of then at a time.
    Is there amy other way of improving performance other than writing a Stored procedure ??
    Currently i am executing one at a time in a tight loop.
    thanks.

    Hi,
    If you are not considering Stored Procedures, then the next option is to try "Batch" execution as suggested by Mr. mchan.. But it takes up memory based on the size of data which are batched. In between, using PreparedStatement might not be always beneficial since only a very few drivers support pre-compilation of sql statements. So try batching.. :-)
    regards Stallon

  • How do I insert and delete pages from a pdf with acrobat 10X?

    How do I insert and delete pages from a pdf with acrobat 10X?

    Alternatively, be sure your page thumbnails panel is open, and click on the icon highlighted in this image, just under the heading.
    You will see a dropdown with the options you need.

  • How to get Inserted and Deleted Rows in ALV

    I have looked at the BC_EDIT* examples but I still can't figure out how to determine which rows were Inserted and Deleted from the ALV list.  Can someone please provide me the code to do this?
    Thanks.
    Sandy

    Hi sandy,
    i dont think you will have issue in inserting a row in ALV because whenever the user done some actions say for eg clicking the pushbutton at the toolbar you could insert the a new row into the ALV.for creating pushbutton you need to use the events TOOLBAR,USER_COMMAND.
    deleting a row may also follow the above procedure.
    Have a look at the demo program
    BCALV_GRID_05
    Cheers,
    Abdul Hakim

  • How to insert and delete fragments by clicking a button and how to script it?

    I have a  question on livecycle. I am collecting the inventor information as a bunch of text fields, each asking for a certain details. Please see below
    Now I have grouped them all in to one fragment called inventordetails and saved as .xdp file, so I could reuse this entire block. I want to add a button underneath this block, “ADD MORE INVENTORS” and when clicked this will insert another block and so forth and so on. However I was not sure as to how to insert and delete a fragment. Do  you think you can help with this? I appreciate any help in this regard.
    Best
    Subashini

    1.       I have a subform1 which is flowed
    2.       I have subform2 inside subform1 which is positioned
    3.       Inside subform2 I have two buttons 1. ADD INVENTOR 2. DELETE INVENTOR
    4.       Also inside subform1 I insert a fragment called inventor
    Now I want to script the buttons so that when clicked the inventor fragment either gets inserted again or deleted.
    I greatly appreciate any help in this regard.
    Best
    Subashini

  • Insert and Delete Button related code

    Hi Expert,
    I have requirement to create custom assignment block with custom table (value node), and add two button "Insert" and "Delete" on that AB.
    I have created the custom AB and button in "DO_PREPARE_OUTPUT" method.
    I need to create event handler for EH_ONINSERT and EH_ONDELETE, once the user click on "Insert" button one row editible row should append on AB and similar way if user select any row in AB and click on delete button entry should be deleted from AB.
    And i need "SAVE" button on top on overview page so entry should get saved in table.
    Regards,
    Kapil

    Hi Kapil,
    You can refer below mentioned link for your web ui related developments.
    SAP CRM WEB UI : 48.ADDING EDIT,CANCEL AND SAVE BUTTONS TO THE OVERVIEW PAGE TOOLBAR
    Rgds
    Hari

  • What is difference of truncate/insert and delete/insert ?

    hi all:
    what is difference of truncate/insert and delete/insert ?

    Hi,
    Truncate will truncate the table, which means there is a DDL operation to empty the table. DDL operations cannot be rolled back, but truncate is much faster than delete (because of that reason). If you do not require recovery of the deleted records in case of a failure, then truncate/insert is more optimal than delete/insert. Notice that for truncate to work, you cannot have enabled foreign keys pointing to the table. Truncate will never perform cascaded deletes.
    Hope this explains.
    Mark.

  • Update install and delete error says itunes is on a network unavailable.  I also upgraded Itunes and now it won't recognize my Ipad touch

    I upgraded Itunes about a month ago and since then It does not recognize my Ipod and then I tried to update again and it won't upgrade.  The error message says it's on a unavailable network path not found.  So I tried to get tech support they told me to delete and start over.  I went through my control panel and it gave me the same network error and would not delete the software.  I am beyond frazzeled over this.  Please help.

    Essentially 'b noir' is correct, it will be relating to the .msi file that is, for lack of a better word, screwed. It's a pretty long process in order to cleanly remove and redownload the correct file.
    Not really a long process if you can hunt down a copy of the Windows Installer CleanUp utility. If you have that installed and working, then so long as you know which particular msi (or msis) are being complained about, you can get past the issue in most cases pretty quickly. For example, for an itunes.msi message see:
    error message that I'm missing iTunes.msi.
    There's some additional information in my notes on the bookmark about one possible complication requiring a bit more work. (I'm steadily building the additional info on advanced troubleshooting into bookmarks as I build my public Bookmarks, and eventually tag searches on my Bookmark tags should pull up advanced troubleshooting steps too.)

  • Problems with update/insert and the ON clause

    I have two rather identical mappings, both supporting SCD Type II. One of them works, the other one doesn't.
    As in the SCD whitepaper, I have a split, that ultimately ends in a union, and then UPDATE/INSERTs into the target dimension. My problem is, that though using the matching_id for matching in one mapping, it is not allowed in the second mapping. The error is ORA-38104: The columns refererred in the ON-Clause cannot be updated "MyTable.MyId" (all loosely translated).
    I just don't understand it, as it should be able to match the ID, and if not found, create a new record using INSERT.
    I found a description of the error that sounded like this (https://cwisdb.cc.kuleuven.ac.be/ora10doc/server.101/b10744/e38001.htm):
    ORA-38104: Columns referenced in the ON Clause cannot be updated: string
    Cause: LHS of UPDATE SET contains the columns referenced in the ON Clause
    Action: none
    I just don't understand how this can be a problem, since I have to carry the surrogate key along, in order to assure that the proper records gets updated...
    Anyone who can enlighten me on this one?
    Regards
    Kim

    Oh yes :) I was a quite active participant. What puzzles me is, that I cannot get mapping #2 to work. I have tried to do everything virtually alike, with regards to the surrogate key, and the extra mapping column.
    My setting for the keys are as below:
    Surrogate Matching
    Load column when inserting: yes no
    Load column when updating: yes no
    Match column when updating: no yes
    Load column when deleting: no no
    Table best viewed in notepad :)
    It "feels" like it's trying to update the surrogate key, instead of actually matching.
    Regards
    Kim

  • Using Insert and Delete icons in table control wizard.

    Can anyone tell me how to perform a new row insertion or deletion in a table created using the table control wizard.
    I see there is a form fcode_insert_row and fcode_delete_row, but dont know how to call them and what parameters to pass and all.
    Since iam new to SAP-ABAP, some code samples will be a great help.
    Thanks to all in advance.

    Hi Lavanya ,
    You have to add the icons personally in the table control.. . Put fcode for addition button as INSE and delete as DELE ..coding will be already thr in the wizard no need to anything just add icons in the table control by selecting from f4 help on icons option of screen.
    Thanks,
    Vishnu .

  • Script for handling triggers and delete statements

    Hello,
    currently I'm facing a problem which I don't know how to deal with.
    We need a script which deletes/disables two triggers first, then delete some data and afterwards create/enable the triggers again.
    I didn't find a proper hint how to cover this with dbmcli, probably we have to use a "higher" language..?!?!
    Is it possible at all to provide "dbmcli -i" with a file including sql statements like the example afterwards ?
    Is it possible to disable/enable triggers or do I have to delete and create them ?
    e.g.:
    disable/drop trigger trig_a
    disable/drop trigger trig_b
    delete from a where....
    delete from b where...
    enable/create trigger trig_a...
    enable/create trigger trig_b...
    used maxDB version is 7.5.0.38
    any hint appreciated....GERD.....

    Hi Gerd,
    please be aware that DBMCLI is a DBMServer client, not a SQL client (although it can tunnel some sql through the DBMServer).
    Better use SQLCLI for things like that.
    And. no, you cannot switch triggers on and off - just drop and recreate them.
    But you may specify the IGNORE TRIGGER keyword for the delete statements.
    That way you can leave the triggers just as they are.
    p.s.
    Any reason to stay on super old 7.5 ?
    regards,
    Lars

Maybe you are looking for