Recreate Grants and Synonyms for APPS schema

Hi,
how can I Recreate Grants and Synonyms for APPS schema ?
Many thanks.

Hi,
You can recreate grants and sysnonyms through adadmin utility.
Navigation : adadmin - > Maintain Applications Database Entities menu - > Re-create grants and synonyms for APPS schema.
Rgds,
S.Jai
Shanthi Gears (LTD)

Similar Messages

  • Error while running Re-create grants and synonyms for APPS schema

    Hi,
    I have upgraded customer's Oracle Apps 11i (11.5.10) database to Oracle 10g R2. While executing '+Re-create grants and synonyms+ ' as given in Note: 362203.1, I am gettng error:
    plus80 -s APPS/***** @E:\EBSTEST\ebstestappl\ad\11.5.0\admin\sql\adappsgs.pls &systempwd 1 INV APPLSYS APPS TRUE FALSE TRUE
    Error:
    Program exited with status 3
    Cause: The program terminated, returning status code 3.
    Action: Check your installation manual for the meaning of this code on this operating system.Connected.
    old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
    new 2: ad_apps_private.create_grants_and_synonyms(1,'INV','APPLSYS','APPS','FALSE');
    begin
    *+
    ERROR at line 1:
    ORA-20000: ORA-00955: name is already used by an existing
    object:create_grants_and_synonyms(1,INV,APPLSYS,APPS): create_base_gs(INV,APPS): In Synonyms
    Loop:create_synonym(INV,MTL_ONHAND_DISCREPANCY,APPS,MTL_ONHAND_DISCREPANCY):
    do_apps_ddl(APPS,CREATE SYNONYM "MTL_ONHAND_DISCREPANCY" FOR INV."MTL_ONHAND_DISCREPANCY"):
    ORA-06512: at line 5
    MTL_ONHAND_DISCREPANCIES
    I checked the database and there isn't MTL_ONHAND_DISCREPANCY synonym. But there is MTL_ONHAND_DISCREPANCIES synonym.
    This is an upgraded instance from 11.0.3 and first time I am running Re-create grants and synonyms for APPS schema.
    Plz let me know if anyone of you faced this issue.
    Rgds,
    Thiru

    Hi,
    there is no such table MTL_ONHAND_DISCREPANCY or synonym in Applications 11.5.10.2. Is that custom table created in your db?
    After dropping this table from APPS schema 'Re-create grants and synonyms for APPS schema' went thru fine.Its correct
    This table does not exist in INV schema in 11.5.10.2.
    Could be possible that the consultant could have created this table in INV and APPS schema by mistake or whatever.Yes, with the same name, there might be table in APPS SCHEMA. When you run recreate grants and synonyms, adadmin tries to create synonym for that table in APPS schema. since there is object available with the same name in apps chema, you got that error.

  • Error In Adadmin Re-Create Grants And Synonyms For Apps Schema

    HI,
    I upgraded the my DB from 9.2.6 to 10.2.4.It was sucessfull.
    While doing Postupgradayion steps -
    Recreate grants and synonym for apps
    a. Log in to server with applmgr user
    b. Execute adadmin
    c. Choose -> Maintain Applications Database Entities menu
    d. Choose -> Re-create grants and synonyms for APPS schema
    2 workers got failed ...
    i chked the worker log file i found
    sqlplus -s APPS/***** @/stageAPP/stageappl/ad/11.5.0/admin/sql/adappsgs.pls &systempwd 1 PO APPLSYS APPS TRUE FALSE TRUE
    Connected.
    old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
    new 2: ad_apps_private.create_grants_and_synonyms(1,'PO','APPLSYS','APPS','FALSE');
    begin
    ERROR at line 1:
    ORA-20000: ORA-00955: name is already used by an existing
    object:create_grants_and_synonyms(1,PO,APPLSYS,APPS): create_base_gs(PO,APPS):
    In Synonyms
    Loop:create_synonym(PO,XXGOD_SEQ_DECORTIMESHEET_HDR,APPS,XXGOD_SEQ_DECORTIMESHEE
    T_HDR): do_apps_ddl(APPS,CREATE SYNONYM "XXGOD_SEQ_DECORTIMESHEET_HDR" FOR
    PO."XXGOD_SEQ_DECORTIMESHEET_HDR"):
    ORA-06512: at line 5
    Workaround $adctrl
    Control
    Worker Code Context Filename Status
    1 Run Grants/Synonyms R115 adappsgs.pls FAILED
    2 Run Grants/Synonyms R115 Wait
    3 Run Grants/Synonyms R115 Wait
    4 Run Grants/Synonyms R115 Wait
    5 Run Grants/Synonyms R115 Wait
    6 Run Grants/Synonyms R115 Wait
    7 Run Grants/Synonyms R115 Wait
    8 Run Grants/Synonyms R115 Wait
    9 Run Grants/Synonyms R115 Wait
    10 Run Grants/Synonyms R115 Wait
    11 Run Grants/Synonyms R115 Wait
    12 Run Grants/Synonyms R115 Wait
    13 Run Grants/Synonyms R115 Wait
    14 Run Grants/Synonyms R115 Wait
    15 Run Grants/Synonyms R115 Wait
    16 Run Grants/Synonyms R115 Wait
    SQL> select owner, object_type from dba_objects where object_name = 'XXGOD_SEQ_DECORTIMESHEET_HDR';
    OWNER OBJECT_TYPE
    PO SEQUENCE
    APPS SEQUENCE
    Its Cutom Object .. I think i need to drop/rename anyone .. which one i should drop / rename .
    Or
    Is it possible to skip the failed workers .. if do .. please give me the steps ...
    Thanks

    Hi;
    There is 8 option(hidden) avaliable but i suggest dont use this option.(As you mention its a custom,if you belive it wont problem you can use this hidden option or drop 'XXGOD_SEQ_DECORTIMESHEET_HDR' and recreate it later,its own your risk) By the way please check below notes which is similar error like yours
    Run Adadmin To Recreate Grants And Synonyms ORA-20000 ORA-00955 In Synonyms Loop:create_synonym(GL,PLAN_TABLE,APPS,PLAN_TABLE) [ID 437714.1]
    ADADMIN MAINTAINING APPLICATIONS GRANTS AND SYNONYMS APP-931 ORA-955 ORA-20000 [ID 1014455.102]
    Regard
    Helios

  • Script to create grants and synonyms for objects in database

    Hello,
    We are building a patch to be applied to the production environment. I want to create a script/sql query that builds a list of grants and synonyms for all the objects created after august 09.
    for ex:
    create or replace synonym abc for schema_name.abc;
    Grant execute on abc to user_xyz;
    How can I use Oracle's data dictionary to do this?
    thankz

    Hi,
    You'll probably want to use these views:
    user_objects - includes created (DATE) column.
    user_synonyms
    user_tab_privs - not just tables (e.g., includes EXECUTE privileges on functions).
    Data dictionary views beginning with 'user_' cover objects owned by the current user only.
    Almost all of the data dictionary views (and all of the three mentioned above) also have 'all_' and 'dba_' versions.
    For example:
    all_objects inculdes everything in user_objects, plus objects in other schemas on which the current user has privileges.
    dba_objects include every object in the database. (Not everyone is allowed to see the dba_ views.)
    Here's one of many possible ways to use these views:
    SELECT     'GRANT '
    ||     privilege
    ||     ' ON "'
    ||     table_name
    ||     '" TO '
    ||     grantee
    ||     CASE
              WHEN  grantable = 'YES'
              THEN  ' WITH GRANT OPTION;'
              ELSE  ';'
         END
    FROM     user_tab_privs
    WHERE     table_name  IN (          -- Only interested in objects created after August 9
                     SELECT  object_name
                     FROM    all_objects
                     WHERE   created >= TO_DATE ( '10-Aug-2009'
                                                           , 'DD-Mon-YYYY'
    ;

  • Do I need to reapply grants and synonyms. Altering Rename for other schema

    Hi,
    We are following the process to replace some tables in UAT/PROD with new structure of tables.
    So for example for Table A in Schema A:
    Step1- Create TableA_NEW with the required structure and partitions.
    Step2- Insert into TableA_NEW Select * from TableA.
    Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA
    Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table
    Now do I need to reapply all the grants and synonyms originally applied to TableA.
    When I test in Dev, all the grants and synonyms still hold. But I can't take any chances for UAT/PROD.
    Also when I rollback these changes and Rename the tables back to Original table.
    Then do I need to Reapply all the grants and synonyms originally applied to TableA.
    Please suggest..

    user8941550 wrote:
    Hi,
    We are following the process to replace some tables in UAT/PROD with new structure of tables.
    So for example for Table A in Schema A:
    Step1- Create TableA_NEW with the required structure and partitions.
    Step2- Insert into TableA_NEW Select * from TableA.
    Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA
    Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table
    Now do I need to reapply all the grants and synonyms originally applied to TableA.
    When I test in Dev, all the grants and synonyms still hold. But I can't take any chances for UAT/PROD.
    Also when I rollback these changes and Rename the tables back to Original table.
    Then do I need to Reapply all the grants and synonyms originally applied to TableA.
    Please suggest..
    Step1- Create TableA_NEW with the required structure and partitions. New table - does not have grants
    Step2- Insert into TableA_NEW Select * from TableA.
    Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA Renamed table keeps grants. Synonym not valid at this point
    Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table New table still does not have grants, synonym now valid
    So, grants disappear but synonym will be valid at end of process.

  • Differences between Headstart Oracle Designer and Headstart for Apps

    Hello,
    I would like to know where i can find an online demonstration of the product "Headtsart for Apps 11i" ?
    I have found the online demonstration of the product "Headtsart Oracle Designer" at the url :
    http://otn.oracle.com/products/headstart/headstartdemo_viewlet.html
    I would like to compare the functionalities of these two products (the tabs option for example).
    For a new application, we have the choice between "Headstart for apps"+"Oracle Application" environment or "Headstart Oracle Designer" alone.
    If no demonstration exists, could you tell me the difference between these two products (i have understood that one run under OA and the other run alone) ?

    Hi,
    Headstart for Apps and Headstart Oracle Designer are based on the same idea, and therefore there are many similarties between the two. The main differences are:
    * the look and feel
    Headstart for Apps is used to generate Oracle Form screens with the same look and feel as a standard Oracle Application screen. Headstart Oracle Designer has its own look and feel.
    Headstart for Apps also enables/eases some Oracle Applications specific look and feel features (although Headstart Oracle Designer has also adopted some of these).
    * dependency of Oracle Applications
    Forms generated with Headstart for Apps cannot run outside the Oracle Applications framework. You will use the same security mechanism as for an Oracle Applications form, the same messaging system, and you can use the standard Oracle Applications built ins.
    Headstart Oracle Designer runs completely outside the Oracle Applications framework, there is a separate messaging system, and you cannot use the Oracle Applications built ins.
    Hope this helps!

  • CREATE PUPLIC Synonyms for each schema directly

    hi every body
    what i want to ask that : can i make a trigger which create public Synonym
    after each table,view,function>....etc. created

    Sure you can CREATE a SYSTEM trigger.
    Start with
    CREATE OR REPLACE TRIGGER someTriggerName
    AFTER CREATE ON ([someSchemaName.]SCHEMA or DATABASE)
    DECLARE
    BEGIN
        -- Put your INSERT statement here
        --  Some aystem variables you can use are
        --  DICTIONARY_OBJ_NAME
        --  DICTIONARY_OBJ_OWNER
        --  DICTIONARY_OBJ_TYPE
        --  DATABASE_NAME
        --  ....  Look up the rest yourself
    END;You can read about SYSTEM Triggers here - search the web page for SYSTEM TRIGGER, and the examples tend to be towards the bottom.
    urlhttp://technet.oracle.com/docs/products/oracle9i/doc_library/901_doc/appdev.901/a88876/adg13trg.htm#431
    [/url
    Good Luck,
    Eric Kamradt

  • Authorizing and Deauthorizing for apps?? (Not music.. there seems to be a difference- I've already de and reauthorized for music)

    I recently got a new macbook Pro and am having trouble syncing my apps. My last computer has been reset.
    I have already deauthorized my 5 computers going to account info and selecing that... This seems to only apply to music. I still get a message when trying to sync apps that the apps that the computer is not authorize for many of my apps and then get the error telling me I "cannot authorize more than 5 computers". I am not going to be able to do this and it looks like what works for the music in this case (deauthorizing all 5) does not apply to apps.
    Now what???
    These are not all cheap apps.. some are $10 so there is no way I am buying them again. This is kind of rediculous.
    Thanks for any help!!
    Jim
    This is with OS 10.7 and iPhone software 4.3.5

    I emailed with support and this is basically the deal. My iPhone also has my "me" account on it... [email protected]
    So some of the apps purchased from the phone went with that account that I really didn't know existed. To fix it I had to also authorize this iTunes with my me.com account (Store->Authorize This Computer) and it all worked out and is now syncing those apps back to my iPhone. 
    I got that email from mac support at the same as the last message and like you said, when right-clicking the app and selecting "Get Info" it showed the me.com account. So this was a good lesson for a few things. Thanks for the help.

  • Caching service only works for OS X updates and not for Apps

    Hello,
    It seems that my OS X Server Caching service only works for Apple OS X Software Updates (in Mac App Store updates, when the icon of Mountain Lion appears). I see it in my logs in verbose mode when I download an Apple OS X Software Updates and not when I download an app in Mac Appstore.
    So I'm sure my Caching service works but not for all downloads.
    Why ? What's wrong with my server ?
    I read in some blogs that Caching Server can work for iOS devices appstore too. I try to download some apps with my iphone but nothing happens in logs ...
    Can somebody help me about the Caching Server ?
    Thank you.

    I am with chugues http://www.apple.com/ios/business/
    Caching Server 2 supports iOS 7.
    By caching purchased content and software updates on a local Mac running OS X Mavericks Server, Caching Server 2 speeds up the download and delivery of content through the App Store, Mac App Store, iTunes Store and iBookstore. Your users get faster downloads of content and updates to their iOS devices directly over your corporate network.
    Shows iOS updates and et al. Why is this feature not on yet?

  • Changed username and password for App Store, now can't download already purchased apps.

    I recently changed the email associated with my Apple ID and then later the password for it. Now the App Store thinks I'm a different user and does not recognize previous purchases. When I try to login with the old account info it does not work. Can someone help me get the App Store to remember the purchases that I've already made?

    Content purchased with an Apple ID are permanently tied to that Apple ID.
    Did you change the email address or create a new one?
    If the former, simply sign out and sign back in with the correct credentials.
    If the later, simply provide the password for the correct account.

  • Why can't I use the same login and password for apps and cloud

    I try to go on to face time and it asks for my login and password which works
    ok with the App Store but is not recognised when using face time or I cloud

    You can, if logged in using the same Apple ID for all.

  • Help and suggestions for color scheme for multiple flavor package design

    I need help choosing colors for a multiple flavor food product line.
    My objective in this post is to know how to create or acquire the palette I will need in order to proceed with design, mock ups, marketing collateral etc.
    This project requires a color scheme that has enough contrast and variation to represent up to 24 flavors of food packages per type or line of products. Each product flavor or flavor combination (the name of the item, such as Cherry Cocoa Almond or Apricot Vanilla Bean etc.) in the line will be represented by a single color. The product packaging will be white on solid color. The medium will be laser print on gloss label stock.
    The problem is that many flavors will use similar colors. Chocolate items will have different hues of browns and Maple or Nut flavors will also use brown tones. Likewise Orange, Apricot and Mango will use similar hues of orange etc. I know the problem could be solved with dual or multiple colors but I do not have that option for this project. All of the packaging is white on single color. There are no accent colors used.
    I need to generate the palette before designing the packaging in order to create mock ups for print and then photography for print marketing collateral and internet marketing assets etc.
    Does anyone have a good strategy for this or know of any resources available?
    I am using:
    Dell Precision T1700 (64-bit)
    Windows 7 Professional (Service Pack 1)
    Dual screens (not calibrated to Pantone or printer)
    Printer: Konica Minolta bizhub c224e
    Pantone+ Color Bridge Coated and Uncoated book
    Adobe CC, AI, PS, ID etc.
    I am printing onto gloss labels for mock ups and will be using images for web.
    I would also be interested in knowing how to calibrate these devices.
    Thanks!

    When it comes to design and design sense, sometimes just the name of the item could generate ideas.  There really is no right or wrong way to come up with concepts.  But, reaching out to other people is a good way of going about it.  In product development, I always recommend putting together some sort of focus group and brainstorm ideas back and forth.  In larger corporate product departments you would have product managers defining their product descriptions.  You might have a marketing group head get involved.  Well, I know I am not telling you anything you didn't already know.  I'm just saying that, as a designer, I always present my ideas to a few people to get feedback.  And, based on that, I can then further develope the idea or dump it and start over.  I recently was involved with a new product development and came up with some really great conceptuals.  But, then I was told by a product manager that sometimes you have to roll-out something preliminary and, in a few years of selling tons of great items, you then revamp the entire line with a tag that reads "new and improved".  This might work in your case where you have limited resources initially.  Hope you do well.  You could always post screen grabs of what you are thinking and we could give you feedback, too.  Just a thought.

  • Does JMS support reliable messaging (store-and-forward) for app clients?

    I need to write an enterprise application client (launched with Java web start or packaged with a tool like Sun's package-appclient) that can send messages reliably from Linux to Windows. JMS seems like the obvious solution, so I deployed an EAR file with an MDB and an application client on a Windows machine (running SJSAS 9). I was able to download the client jar file onto Linux and send JMS messages successfully. However, if the Windows machine is not available, the Linux client immediately throws exceptions and fails. Are there any JMS providers that provide a store-and-forward mechanism for enterprise clients, so that if the remote server is not available immediately, messages are delivered later? (Note that the client can't be a servlet or other server-managed component.)
    I'd prefer an open-source solution, but this requirement has an extremely high priority for my customer, so I'll use a commercial product if necessary. And if there's something other than JMS that works, that would be fine. (In my case, the messages on the remote side ultimately go to a .NET service, so WS-ReliableMessaging would be ideal, but it looks WS-RM won't be integrated into .NET until Vista, and the current WS-RM implementation is a beta, etc., etc.)
    Thanks,
    Mike

    You could use Apache ActiveMQ
    http://incubator.apache.org/activemq/
    which supports embedded brokers inside each JVM which can be networked together in a store-forward mechanism so that each application keeps working and store-forwarding messages.
    http://incubator.apache.org/activemq/networks-of-brokers.html
    or you can use failover transport to handle automatic reconnection...
    http://incubator.apache.org/activemq/how-can-i-support-auto-reconnection.html
    If you need to communicate with some .Net you can use the NMS - the .Net Messaging API which has a client for ActiveMQ as well...
    http://incubator.apache.org/activemq/nms.html
    James
    http://logicblaze.com/
    Open Source SOA

  • BlackBerry Z10 -- note re operating system and hint for an improvement perhaps

    I am not sure this is me or the Z10 operating system [latest update].  I really like the device, by the way, and recommend it highly.  I am a new user, and a bit of a klutz, and I have noticed when I log on to our household wireless with the BlackBerry Z10 I have to give the Cisco Router a password which we have for a guest on our household wireless network.  I do that, and then I press "log in"....
    Somewhere in this sequence I get the message on the BlackBerry Z10 "Do you want to log in to the hotspot?" or some such thing and I affirm I do, then the Cisco message comes up from our system...  I think that's the sequence, and I fill in the password and press log in.  Then if I am watching it properly, it takes a little moment or two, I get briefly the message "you are logged into the internet" or something like that, I forget the exact words.  I got confused for the longest while whether I was logged in or not, because the BlackBerry browser indicates the Cisco page to log in with the password when I am already logged in, and the annoying thing is that I am not sure I really am in or not and I forget to go to the browser and fill in the web URL I want, like yahoo.ca...  I wish the programmers at BlackBerry would put a line on there like "you are logged in, enter your website name on the browser search line" or something -- the trouble stems from the fact I have removed my browsing history and the only site up is the Cisco log-in page when I am already logged in -- could this be fixed with a style reno on the browser, to indicate I am logged in, and that I should enter the website I want to see...  other uses may do this differently, I don't know, it's probably just me...   I don't have time to fiddle with the device a lot, I mainly use it for a cellphone, so am not "at it" all the time.
    PS:  the use of the term "hotspot" is confusing too, because somewhere I read that if you don't want to connect to one of those little wireless radiating gadgets called a "hotspot" you set that setting to No, and then connect to the wireless network in your area you wish to connect to...  but that's called by you a "hotspot" too, and I find that confusing...   maybe hotspot should be as a term confined to the other gadget, and "wireless network" used for wireless network...   or am I wrong...

    Hi,
    there is no such table MTL_ONHAND_DISCREPANCY or synonym in Applications 11.5.10.2. Is that custom table created in your db?
    After dropping this table from APPS schema 'Re-create grants and synonyms for APPS schema' went thru fine.Its correct
    This table does not exist in INV schema in 11.5.10.2.
    Could be possible that the consultant could have created this table in INV and APPS schema by mistake or whatever.Yes, with the same name, there might be table in APPS SCHEMA. When you run recreate grants and synonyms, adadmin tries to create synonym for that table in APPS schema. since there is object available with the same name in apps chema, you got that error.

  • Validates apps schema

    Hi Guys,
    Why & when we validates apps schema.

    947652 wrote:
    Hi Guys,
    Why & when we validates apps schema.Oracle E-Business Suite Maintenance Utilities Release 12.1
    http://docs.oracle.com/cd/E18727_01/doc.121/e13676/T530334T530340.htm
    Validate APPS Schema
    Verifies the integrity of the APPS schema. It produces a report named <APPS schema name>.lst. that lists issues and potential issues, grouped by the action required:
    - Issues you must fix (not specific to the APPS schema)
    - Issues you must fix (specific to the APPS schema)
    - Issues you may want to address (specific to the APPS schema)
    The report is located in $APPL_TOP/admin/<SID>/out (UNIX), where <SID> is the value of the ORACLE_SID or TWO_TASK variable, or in %APPL_ TOP%\admin\<SID>\out (Windows), where <SID> is the value of the LOCAL variable. Each section of the file contains instructions for resolving the issues that are listed. Most issues can be fixed by either compiling invalid database objects or recreating grants and synonyms.
    Note: For more information, see Validating the APPS Schema in Oracle E-Business Suite Maintenance Procedures -- http://docs.oracle.com/cd/E18727_01/doc.121/e13675/toc.htm
    Thanks,
    Hussein

Maybe you are looking for

  • Purchase order and rfq  smartforms issues

    Anyone please let me know the issues faced with purchase order and rfq smartforms

  • Problem with receiver jdbc CC

    Hi, Iam doing RFC to JDBC scenario.. The receiver JDBC adapte which i configured is giving me an error saying that "Unable to execute statement for table or stored procedure. 'HR_Employee' (Structure 'Statement') due to com.microsoft.sqlserver.jdbc.S

  • Data Execution Prevention message...

    I am getting a message from MS Windows: Data Execution Prevention - Microsoft Windows "To help protect your computer, Windows has closed this program." Name: Adobe Reader 9.3 Publisher: Adobe Systems Incorporated I already have added this program to

  • Company language property in DI API

    how does the language property affects the behavior of DI API? does it change the encoding used? does it change the returned values? does it have any effect at all?

  • Problems with a closed loop

    I will briefly describe what i am doing, but my problem is not with any hardware it is with programming iterative loops in labVIEW. What i am trying to do is get the input for an activex aircraft instrument. The attitude data is coming from an inerti