How to Edit and update a Procedure belonging to other owner

1) How do i edit a stored procedure
2) After editing it how can i update it in other users log

You need resource privilege to recreate a procedure in another user's schema, CREATE ANY PROCEDURE.
Then you need access to the source code. Offline access is best. The data dictionary won't let you see package bodies belonging to other users from the ALL_SOURCE view, but should from DBA_SOURCE. GUI tools like TOAD and SQL Developer may let you see other users source but this will depend on the editor. Likewise the GUI tools may/may not let you edit others users code when you have privileges.
Generally, you don't "edit" stored procedures. You get the source, use an editor to modify the source, and replace it with the new code. Its best to keep offline backups of source while you are working on it, especially if you are using a GUI tool where a botched editing session will corrupt the online copy.
If using SQL*PLUS to recreate another user's stored procedure you need to prefix the create command with the username, something like
create or replace package scott.my_package ...which may not be necessary if you're using a GUI tool.
Message was edited by (content):
riedelme

Similar Messages

  • How to edit and update table control into database?

    I am doing table control. Here are my codes:
    *& Report  ZHERA_TABLE2
    REPORT  ZHERA_TABLE2.
    ***&SPWIZARD: DATA DECLARATION FOR TABLECONTROL 'ZTABLE_CONTROL'
    *&SPWIZARD: DEFINITION OF DDIC-TABLE
    TABLES:   ZHERA.
    *&SPWIZARD: TYPE FOR THE DATA OF TABLECONTROL 'ZTABLE_CONTROL'
    TYPES: BEGIN OF T_ZTABLE_CONTROL,
             NAME LIKE ZHERA-NAME,
             AGE LIKE ZHERA-AGE,
           END OF T_ZTABLE_CONTROL.
    *&SPWIZARD: INTERNAL TABLE FOR TABLECONTROL 'ZTABLE_CONTROL'
    DATA:     G_ZTABLE_CONTROL_ITAB   TYPE T_ZTABLE_CONTROL OCCURS 0,
              G_ZTABLE_CONTROL_WA     TYPE T_ZTABLE_CONTROL. "work area
    DATA:     G_ZTABLE_CONTROL_COPIED.           "copy flag
    *&SPWIZARD: DECLARATION OF TABLECONTROL 'ZTABLE_CONTROL' ITSELF
    CONTROLS: ZTABLE_CONTROL TYPE TABLEVIEW USING SCREEN 1000.
    START-OF-SELECTION.
    CALL SCREEN 1000.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE_CONTROL'. DO NOT CHANGE THIS LI
    *&SPWIZARD: COPY DDIC-TABLE TO ITAB
    MODULE ZTABLE_CONTROL_INIT OUTPUT.
      IF G_ZTABLE_CONTROL_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'ZHERA'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_ZTABLE_CONTROL_itab'
        SELECT * FROM ZHERA
           INTO CORRESPONDING FIELDS
           OF TABLE G_ZTABLE_CONTROL_ITAB.
        G_ZTABLE_CONTROL_COPIED = 'X'.
        REFRESH CONTROL 'ZTABLE_CONTROL' FROM SCREEN '1000'.
      ENDIF.
    ENDMODULE.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE_CONTROL'. DO NOT CHANGE THIS LI
    *&SPWIZARD: MOVE ITAB TO DYNPRO
    MODULE ZTABLE_CONTROL_MOVE OUTPUT.
      MOVE-CORRESPONDING G_ZTABLE_CONTROL_WA TO ZHERA.
    ENDMODULE.
    Screen 1000 codes:
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'ZTABLE_CONTROL'
      MODULE ZTABLE_CONTROL_INIT.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_ZTABLE_CONTROL_ITAB
           INTO G_ZTABLE_CONTROL_WA
           WITH CONTROL ZTABLE_CONTROL
           CURSOR ZTABLE_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE ZTABLE_CONTROL_CHANGE_FIELD_ATTR
        MODULE ZTABLE_CONTROL_MOVE.
      ENDLOOP.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'ZTABLE_CONTROL'
      LOOP AT G_ZTABLE_CONTROL_ITAB.
        CHAIN.
          FIELD ZHERA-NAME.
          FIELD ZHERA-AGE.
        ENDCHAIN.
      ENDLOOP.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_1000.
    Please show me where to put my codes to edit(edit directly on table control fields) and update my table control(using the 'save' button)?

    Hi,
    You have to put the following code in the PBO of screen 1000.This code would make the fields editable to make changes in the table control fields directly.
    Here there are 3 transactions.For create and change transactions, the fields will be in editable mode and for display transaction,they will be non editable mode.
    DESCRIBE TABLE tb_line LINES lin.    " tb_line is the name of the internal table for the table control
      tcl_item-lines = lin.                             '' lin hold the number of lines of the internal table
    CASE sy-tcode.
        WHEN 'ZCREATE09' OR 'ZCHANGE09'.
    ***Checking if the table control is empty or not***
          IF lin NE 0.       
            LOOP AT SCREEN.
    ***To make the screen editable****
              screen-input = 1.
            ENDLOOP.
          ELSE.
            LOOP AT SCREEN.
              IF screen-name CS 'TB_LINE'.
    ****To make the screen non-editable if no values are present in the
    ***table control****
                screen-input = 0.
                MODIFY SCREEN.
              ENDIF.
            ENDLOOP.
          ENDIF.
    Once the fields are edited and the save button is pressed,the entered values have to be populated into the Z tables.The code has to written in the PAI of the screen 1000.Here the values from the work area of the internal table are moved into the Z Table. The code will be.
    LOOP AT tb_line.
        ztm09_ekpo-ebeln = ztm09_ekko-ebeln.  "ztm09_ekko and ztm09_ekpo are the names of the Z Tables.
        ztm09_ekpo-ebelp = tb_line-ebelp.   
        ztm09_ekpo-matnr = tb_line-matnr.
        ztm09_ekpo-menge = tb_line-menge.
        ztm09_ekpo-meins = tb_line-meins.
        ztm09_ekpo-netpr = tb_line-netpr.
        ztm09_ekpo-waers = tb_line-waers.
    *****Update the entries into item table*****
        MODIFY ztm09_ekpo.
      ENDLOOP.
    Reward if helpfull
    Thanks,
    Kashyap

  • Edit and update multiple records in JSP buisness components

    Hi everybody,
    I'm building BC4J components using entities and views and JSP buisness components.
    how can I edit and update multiple records
    at a time in the jsp file
    Note using the databean
    "oracle.jbo.html.databeans.EditCurrentRecord"
    one can view one record at a time
    thank you

    do you have a sample code? thanks
    Hi
    There are several options. One of them could be
    1) use <input name=rc[j] value="..."> instead of
    display a raw text
    2) parse parameters in doPost method of your servlet
    to update appropriate values.
    3) Make a empty row enable inserts
    Regards
    Jan

  • How to read and update the value of property file

    Hi,
    I am not able read the values from property file.
    Please tell me how to read and update the values from property file using Properties class
    This is my property file : - Config.properties its located in D:\newfolder
    Values
    SMTP = localhost
    Now i need to change the value of the SMTP
    New value :
    SMTP =10.60.1.9
    Pls Help me
    Thanks
    Merlin Rosina,

    Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.

  • How to edit and make a high quality swf a low quality one

    How to edit and make a high quality swf a low quality one. how do you do this in adobe flash cs5? The file i edited is entirely too large

    click file/publish settings/html and use the quality settings dropdown.
    if that doesn't lead to satisfactory file size, you may need to check the properties of each bitmap in the library to see if it's set to over-ride the global settings.

  • How to edit and add a signature on a pdf file

    how to edit and insert signature on a pdf attachment
    Creating, Editing & Exporting PDFs

    First the PDF file has to be editable.
    Then it depends on whether you want to sign it with an annotation (Acrobat stamp), an Electronic Signature (a.k.a EchoSign) or a Digital Signature (Acrobat).
    If it's a Stamp then go to Sign Panel>Get others to Sign and then you can use the Place Signature button.
    If it's an Electronic Signature then after you finished your stamp then just follow the wizard that pops up when you click the Signed. Proceed to Send Powered by EchoSign
    If it's a Digital Signature then go to Sign Panel>Work with Certificates>Sign with Certificate and follow the wizard.

  • Question:  How to edit and/or delete photos uploaded to web gallery?

    My Dad uploaded some photos to my web gallery without renaming the photos. Is there any way I can go in and edit and/or delete these photos? Sorry if it's a dumb question... I'm new to iLife '08 (really new to iLife in general)... and for the life of me can't figure out how to edit and/or delete these photos (without deleting the whole library).
    Thanks for any help!
    Ciao ~ Louie

    Guess I just answered my own question.
    For anybody else that may be wondering...
    From within iPhoto there is a "WEB GALLERY" tab in the left side menu. There you will see the name of your web gallery with a little icon that looks like an antenna. If you click on that icon... it will sync your web gallery photos that have been uploaded by other users into iPhoto. You can then edit and/or delete the photos within iPhoto and the edits will automatically change on the published web gallery (may depend on sync preferences... mine changed automatically).

  • Bug while editing and compiling the procedure

    Bug while editing and compiling the procedure in Sql Developer 1.5.4
    the error is
    ora -00904 "ATTRIBUTE" Invalid Identifier
    Edited by: user4448643 on Mar 16, 2009 5:09 AM

    I'm not trying to be snippy but this is the answer I got from you in another thread about the same issue:
    +"I'm not sure I said it's being worked on - the bug is logged and in the queue.+
    +Support will tell you to move to a supported version of the database, this is true. The same is true for the forum, if you are on an unsupported database version you're encouraged to move to a supported release.+
    +If you need to work with 9i, then use SQL Developer 1.5.3, the error is not in that release."+
    When I read that I got that I should not assume the bug was being worked on and that the SQL Developer team sees 9i as having a short remaining life.
    JB

  • HT3281 How to download and update iso 6

    I would like to learn how to download and update iso 6 in my iPad

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • Any Complete Tutorials On How To Edit And Export MIDI Files In GB?

    Hi. A friend sent me about 25 nice standard MIDI files that all open fine in QT Pro. She wants me to drag and drop them into GarageBand 2, attempt to edit them, change sounds and then export them out as the edited versions, key changes, added bars, change instrument sounds, etc,. Although I'm a trained musician who understands form, I really don't have a clue on how to use GB to edit and export standard MIDI files. Can this be done effectively in GB ver 2 or 3?
    Basically what she then wants to do is take the edited MIDI tracks, put them into itunes I guess on her iBook G4 or Ipod and do a solo act playing her keyboard live and usibg the MIDI tracks as background.
    Are there any links to step by step tutorials on how I can lerarn this procedure? Please offer any advice and links if you can and thanks for your help
    steveb

    Not really practical, I'm afraid. Capturing screenshots and cutting them up is possible with Photoshop, but PDF editing is very limited (fix a typo, move a picture).

  • Single Edition and update

    How many update i can upload with single edition?

    One limitation not mentioned here, however, is that the serial number associated with a Single Edition license expires after a year. The license only allows you to build (and update) your application for a one-year period. After a year, you need to either subscribe to Creative Cloud (which will entitle you to build an unlimited number of Single Edition applications as you're a subscriber) or purchase a new serial number through the Adobe Store. Hint: The cost of a Single Edition serial number is $395 whereas the cost of a subscription to Creative Cloud is $49.99/month (with a 40% discount if you're upgrading from Creative Suite).

  • Grant to edit and execute a procedure.

    Dear All,
    My Database is 11gR1 and OS is Linux.
    There is a procedure in one of my schema, and i want to assign edit/drop/alter rights of this procedure to a particular DB user.
    When i assign rights it says only execute and debug rights can be associate with a user.
    When i give debug and execute rights user can not alter the procedure.
    Regards, Imran

    Hi,
    CREATE ANY or ALTER ANY or DROP ANY should be the very last option considered! These privileges allow the grantee to master ANY (ALL) tables stored on your database, which is not what you have probably intended (and should be granted only to DBAs).
    Think of creating a dedicated "application schema owner" account instead of storing the objects (tables, views, procedures...) under your own schema (user).
    Grant the DMLs (SELECT, INSERT, UPDATE, DELETE, EXECUTE) to Roles, then grant Roles to Users.
    Any DDLs (CREATE, ALTER, DROP) should and may remain only for the "appliction schema owner" account and DBAs.
    Best regards,
    Krzysztof

  • How to share and update one iTunes master library on an external HD between an iMac and iBook

    Hi.  I am in the process of consolidating and switching gears from storing my iTunes libraries (which have roughly the same files) on both my iMac and iBook (both OS 10.7.5) to creating one master library on an external hard drive (Canvio Connect 2TB) and sharing that between both computers, updating the laptop (which I use less frequently) when necessary. I wanted to know if this is possible and if so, how to go about doing this in a way where I don't lose any data and am able to maintain it efficiently.  Thanks!

    There is a library file on the external drive that contains a list of all the tracks you have put into iTunes.  The list points to media files iTunes plays are on the external drive too.  Using the instructions I provided you tell the iTunes application on each computer to start up using the library file on the external drive.  If you add a file to iTunes while using computer #1 the file will be copied to the media folder on the external drive and the library file on the external drive will be updated to show there is a new file.  When you plug the same drive into computer #2 and start iTunes it takes the file listing from the library file on the external drive.  You are using the one library with each computer and it exists only on the external drive which both computers use.  They are truly sharing the same single copy of the  library.
    I have a box with objects inside and a list inside with an updated inventory of the objects. I give the box to you. You take some objects out and put some in and make a note in the list of what you have done, then put the list back inside and hand the box to me.  How do I know what changes you have done?  Simple.  I open the box and look at the list.  It's the same list that was in your hands only moments before.  I add a few objects and update the list, put it back inside the box and hand the box to you.  How do you know what changes have been made? Simple.  Open the box and read the list which was the one I updated moments before.  The only copy of the list is in the box so neither of us is needing to keep our own copy of the list updated.
    Everything iTunes needs to generate your library listing is in the iTunes folder, but it doesn't have to be on the computer.  In your case it will all be on the external drive and each copy of the iTunes application on each computer will look and use the same identical library file on the external drive as you pass it from computer to computer.  Once you have set this up you can delete the entire iTunes folder in Music from your computer because the application will no longer be using it.  The only thing "iTunes" left on the computer will be the application itself, but each copy will have been told to use the library on the external drive.
    Okay, enough.  I've said the same thing about 4 ways now.

  • How to edit and save a document in Pages

    How do I edit and save a document in Pages with MacBook Air

    1) Do you want to edit a .doc(x) and then save it as a .doc(x) again? You'll need to be a bit more specific
    2) Pages is an analogy to MS Word, so editing would be just as simple as typing. Go to 'Help' in the menu bar in Pages and then select 'Pages Help' to enter How-to's and Tutorials from Apple on using Pages.

  • How to edit and rebundle CFBundleExecutable bundle

    I already have one iPad aap and i just want to modify the language and few changes inside. I searched lot for the solution and i found that everything is bundled inside(i found one bundle named "micro SVR").
            <key>CFBundleExecutable</key>
            <string>micro SVR</string>
    Can any one please guide me how can edit this and rebundle it.

    That sounds as if it might be a question better asked in the Developers' Forum.

Maybe you are looking for

  • I think I messed up. How to uninstall iLife disc and keep existing iPhoto.

    Ok. I was reading some other answers but didn't see this one.  After upgrading to Mavericks 10.9.5, I began having problems with editing in iPhoto. And upon opening iPhoto, it would take forever. Usually I just minimize it in the dock. So, if I do to

  • Problem with layout smartform

    Hello all, I have a problem with the layout of smartform. My smartform is composed of a window (main). Within the main window, there is a loop where they are printed a series of tables which are associated with a frame. When the smartform printed on

  • Inspection setup key

    Hi,      While making gr goods automatically updated in to quality inspection stock. But inspection setup key is not activated in the material master for that material. So inspection lot  number is not created for this Goods receipt entry.. how can i

  • Parallels and Time Machine

    I think I did wrong question I have installed Parallels on my Macbook Pro, and I'm interested in buying a Time Machine Airport, my concern is whether Time Machine also makes me the automatic backup of my files have Windows in Parallels

  • Keyboard shortcut for "Clear" brush mode?

    I saw on this site http://helpx.adobe.com/en/photoshop/using/default-keyboard-shortcuts.html#WS17DDC46E-8F05- 4250-8CFC-EE0AB2E6EF84a that the keyboard shortcut for CLEAR brush blending mode was shift+alt+R for windows. I tried it but I keep hearing