Org Structure Audit Trail?

Is there a standard report or method of viewing changes made to the organization structure in HR? thanks in advance.

Are looking for any specific object in the Org. structure?
IF yes, then go to HRP 1000 table & select the object which you want to & execute, the changed by user name & changed on details would display as one of the columns.
Thanks
RL

Similar Messages

  • Can not view audit trail of BPMN Process instance in Enterprise Manager

    I can not view the audit trail of BPMN Process instance in Enterprise Manager. When I try to click on BPMN process link inside process instance flow trace a NoClassDefFoundError error occurs. How can I fix this?
    ####<Jan 23, 2014 1:44:24 AM MSK> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <vm-vtb-04> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <ab53c740f435f6de:-43ee6bbc:143bbd0bbe7:-8000-0000000000000319> <1390427064715> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #2
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: oracle/bpm/draw/diagram/ProcessDiagrammer
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:342)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.NoClassDefFoundError: oracle/bpm/draw/diagram/ProcessDiagrammer
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
            at java.lang.Class.privateGetPublicMethods(Class.java:2556)
            at java.lang.Class.getMethods(Class.java:1412)
            at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1284)
            at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1158)
            at java.beans.Introspector.getBeanInfo(Introspector.java:408)
            at java.beans.Introspector.getBeanInfo(Introspector.java:167)
            at javax.el.BeanELResolver$BeanProperties.<init>(BeanELResolver.java:153)
            at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:574)
            at javax.el.BeanELResolver.getValue(BeanELResolver.java:281)
            at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
            at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
            at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
            at com.sun.el.parser.AstNot.getValue(AstNot.java:59)
            at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
            at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
            at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:506)
            at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.isDisabled(GoLinkRenderer.java:681)
            at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.handleInaccessibility(GoLinkRenderer.java:584)
            at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.encodeAll(GoLinkRenderer.java:131)
            at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.encodeAll(CommandLinkRenderer.java:158)
            at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
            at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
            at oracle.adfinternal.view.faces.renderkit.rich.BreadCrumbsRenderer._renderLink(BreadCrumbsRenderer.java:420)
            at oracle.adfinternal.view.faces.renderkit.rich.BreadCrumbsRenderer._renderNode(BreadCrumbsRenderer.java:322)
            at oracle.adfinternal.view.faces.renderkit.rich.BreadCrumbsRenderer._renderContent(BreadCrumbsRenderer.java:269)
            at oracle.adfinternal.view.faces.renderkit.rich.BreadCrumbsRenderer.encodeAll(BreadCrumbsRenderer.java:162)
            at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
            at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
            at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:499)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$100(PanelGroupLayoutRenderer.java:30)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:659)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
            at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.processFlattenedChildren(IncludeTag.java:675)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:160)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
            at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
            at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
            at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:499)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$100(PanelGroupLayoutRenderer.java:30)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:659)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
            at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
            at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
            at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer.renderSideFacet(PanelBorderLayoutRenderer.java:316)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer._encodeAllWithSideFacets(PanelBorderLayoutRenderer.java:163)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelBorderLayoutRenderer.encodeAll(PanelBorderLayoutRenderer.java:83)
            at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
            at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
            at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
            at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
            at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
            at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)

    Hi Matt
    Till you get exact answer, try indirect approach. I did view page source and could not find the details in the source code. Then I clicked on image to show in new browser and thats when I got this link: You can dig into this imageRenderer.jsp file that can be found in one of the WAR files shown below. Look into EARs also that my have WARs with this jsp. Mostly there should be some sort of Servlet also to display the audit trail. I just checked from bpm/workspace Process Tracking Tab. I did not looked from EM Console tracking tabs though.
    beaHome\Oracle_SOA1\soa\applications\OracleBPMWorkspace.ear has a OracleBPMWorkspace.war file. See if this direction helps
    http://devlinux04:8001/bpm/workspace/jsf/instance/imageRenderer.jsp?imagePath=/tmp/1pLcNmhd77v9XnLCrpNs6dyby3Vzpv4QR1LdPTTf6hpCTp8Fh2KH!-206223496!1302780477267/GraphicalAuditTrail1328100234265306320.png
    Thanks
    Ravi Jegga

  • Working with HR replication after using local org. structure

    Hello SRM Gurus,
    My client have implemented the HR module in ECC 5 and want to use it for replicating it to SRM 4.0.
    We're in PROD (using the extended classic scenario) for over a year using a local SRM org. structure.
    Have any one encountered with this requirement?
    What will be the system impact of this kind of change, in terms of old documents, in process documents etc..?
    Please your advise.
    Raz

    Hi Raz,
    The workaround resolution ( not a fix ! ) I have created for a client (but not executed as client agreed to communicate to the users (manually created)....no history etc from go-live date etc.
    Step 1) User A ( Manually created in SRM ORG)
    Step 2) User A1 ( created through HR ORG - 0105/0001 )
    Step 3) Set on behalf for A1 (means A1 always purchase and see the SC etc on behalf of A) .
    Step 4) Set the timeframe for the on behalf feature (i.e say 3 months from go-live User A will be deleted and no on behalf etc). FYI,  history information still exist in database, you may write your own custom code to retrieve it for audit purpose
    Make sure User A is deleted from SRM ( I mean SAP User ID ..not just ORG).
    Step 5) Change the HR 0105/0001 entry and set the user to User A.
    Step 6) You will see the change pointer for it
    Step 7) User A is back to business.....
    This is the backup plan I have created it. But I have not executed it.....may be when I get time, I will test it....If you /someone happen to test it, please let me know the result.
    Hope it will help you.
    -Pranav

  • ORACLE 10g generate reports for audit trail

    HELP ORACLE 10 g
    I am a beginner about the oracle 10g
    anybody can guide me how to start with
    generate reports for audit trail , top ten url
    , no of hits in the portlets ......
    =(
    thank you ....

    In a nutshell:
    1 - You will have to have the portal database schema as your data source.
    2 - You will have to design a target database schema with the target data bjects (tables, dimensions and fact tables - cubes) where the data will be loaded for reporting purposes.
    3 - Then you will have to model the loading process by defining mappings (mappings will translate into generated code for the load process) and process flows to run the mappings in the right order etc.
    4 - You will deploy the sources, targets and processing entities to the target schema.
    5 - You will run the deployed code periodically as needed and maintain the source, target and loading entities which might change with time.
    One observetion - OWB does not produce reports. It creates and maintains the data infrastructure for a reporting/analysis system (a data warehouse, data mart or an operational data store). To produce reports (for example, the top-10 report mentioned by you), you will have to run a reporting tool on top of the data structures created and maintained by OWB.
    Regards:
    Igor

  • User Audit Trail for a custom table.

    Hello all. I need to know the correct and accurate way to user audit for a custom table. To elaborate further, I have a table catering to sanctioned strength of employees in a particular Cost Center, the entries have been deleted all together by someone, and I need to know the way to recover the data and to identify the user in question. Note, I have used STAT and have foundno results, and standard user audit trail are turned off.
    Any help or push in the right direction would be highly appreciated.
    P.S: any additional technical details on the table structure can be provided for further analysis if needed.

    Try to add your custom table and table fields in the below views
    V_T585A
    V_T585B
    V_T585C
    After doing this your custom table changes gets stored in the pcl4 document . If the custom table  is master data table  then from the standard Audit trail report you can see the logged changes in custom table also by providing the custom infotype number.
    if its is custom customizing table , need to explore

  • How to see when SR Escalation was created in the Audit Trail

    We have an FDA requirement that the Oracle SR audit trail show when an escalation was created and closed. The audit trail doesn't show this currently in our system. Looking for a way to make this appear in the audit trail.
    We need to be able to provide a single audit trail through the forms (reports are not acceptable) that shows all SR details (as standard functionality) along with when the escalation was created and de-escalated (or closed)
    Any ideas using 11.5.10.2?

    Abhishek 
    I tried to delete the extension, in the Log tab, I only got one error which is:
    Table CI_EEW_ORDERADM_H can't be created with package $TMP
    Seems like the deletion process tried to change the structure CI_EEW_ORDERADM_H.
    I checked this structure, there is already a field added by other developer, but this structure is apparently in another z-package.
    So what I should do now?
    Thanks

  • Not able to see hierarchial org structure by clicking on Expand this branch

    Dear experts,
    I am currently using the Online data extraction via sap for Nakisa Integration with SAP Landscape.
    I have completed the configuration of Nakisa with the help of configuration guide and administrator guide - After completing administrator steps the org chart is visible - When i navigate to the org structure i can see the org unit under the org structure root that i configured as an administrator in the general settings section.
    When i click the + sign ie on expand this branch i am not able to see all teh org units under the displayed branch.
    Can you please guide me regarding how one can view the org structure below the selected branch when i click on expand this branch section.
    Manager Personnel Id is not maintained for this org unit - Should the user clicking on the expand this branch be the manager of the org unit to see the org structure.
    Regards
    HKishan

    Dear Luke,
    I am not able to see that navigation icons within an org chart box - The org unit that is displayed on clicking the orgchart does have branches in SAP but i am not able to see these navigation icons that lead me to these branches.
    Is there any specific step that needs to be done to see these branches.
    By the way what is the log file you are refering to is it the "PresentationResources.xml " or is it any other log file.
    Regards
    Hkishan

  • Audit Trail on R12.1 (shadow table concept)

    I want to enable Audit Trail at table (column) level. Though I got response from Oracle Support but at present I am stuck on particular error. Here are the steps which I followed:
    1. Apply latest Patch 12860752:R12.FND.B - Latest Audit Trail Fixes for post 12.1.3.
    2. Enable Audit Trail on a table : I have set this for "PER_PEOPLE_F" tables of HR module
    a. (R)System Administrator, (N) Profile -> System
    Query Profile: 'AuditTrail:Activate'. Click FIND
    Set it to 'Yes' at Site level.
    b) Enable Audit Installations (HR)
    -- Got System Admin: Security:AuditTrail:Install
    -- Enable Audit Installation for HR
    c) Define Audit tables and desired columns.
    -- Got System Admin: Security: Audit Trail: Tables
    -- Query for user table name 'PER_PEOPLE_F' and add columns on which enable trail
    d) Define an Audit Group and associated tables
    -- Got System Admin: Security: Audit Trail: Groups
    -- Create Audit group for table defined in 'C'
    e) Run Concurrent program 'AuditTrail Report for Audit Group Validation' with parameter as that of Audit Group.
    f) Define an Industry Template contain Audit Group
    -- Got System Admin: Security: Audit Trail Reporting: Audit Industry Template
    g) Run concurrent program "AuditTrail Update Tables".
    Now, I am facing challenge at point (g), as, the concurrent request "AuditTrail Update Tables" is completing with error.
    And I am not able to proceed further.
    ****Log file shows as:****
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FNDATUPD module: AuditTrail Update Tables
    Current system time is 02-APR-2013 01:02:32
    ----->Expand Rows
    INSERT INTO FND_AUDIT_COLUMNS (TABLE_APP_ID, TABLE_ID,COLUMN_ID,STATE,SEQUENCE_ID, SCHEMA_ID, LAST_UPDATE_DATE,LAST_UPDATED_BY, LAST_UPDATE_LOGIN,CREATED_BY,CREATION_DATE) VALUES ( 800, 53506, 135906, 'P', -1, 900, SYSDATE,0,0,0,SYSDATE)
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'P' WHERE T.TABLE_APP_ID = 800 AND T.TABLE_ID = 53506
    commit
    commit
    DELETE FROM FND_AUDIT_TABLES WHERE STATE = 'X'
    DELETE FROM FND_AUDIT_COLUMNS C WHERE C.STATE = 'P' AND NOT EXISTS (SELECT NULL FROM FND_AUDIT_TABLES T WHERE T.TABLE_APP_ID = C.TABLE_APP_ID AND T.TABLE_ID = C.TABLE_ID AND T.STATE !='X')
    ----->Update Pending Columns
    ----->Adding ROW_KEY
    **Starts**02-APR-2013 01:02:54
    **Ends**02-APR-2013 01:02:57
    ----->Alter Shadow Table
    ALTER TABLE PER_ALL_PEOPLE_F_A ADD (FULL_NAME VARCHAR2(240))
    ALTER TABLE PER_ALL_PEOPLE_F_A ADD (FULL_NAME VARCHAR2(240))
    commit
    commit
    UPDATE FND_AUDIT_COLUMNS SET STATE = 'N' , SEQUENCE_ID = 5 WHERE TABLE_APP_ID = 800 AND SCHEMA_ID = 900 AND TABLE_ID = 53506 AND COLUMN_ID = 135906 AND STATE = 'P'
    commit
    commit
    ----->Drop Triggers
    DROP TRIGGER PER_ALL_PEOPLE_F_AI
    DROP TRIGGER PER_ALL_PEOPLE_F_AI
    commit
    DROP PROCEDURE PER_ALL_PEOPLE_F_AIP
    DROP PROCEDURE PER_ALL_PEOPLE_F_AIP
    commit
    DROP TRIGGER PER_ALL_PEOPLE_F_AD
    DROP TRIGGER PER_ALL_PEOPLE_F_AD
    commit
    DROP PROCEDURE PER_ALL_PEOPLE_F_ADP
    DROP PROCEDURE PER_ALL_PEOPLE_F_ADP
    commit
    DROP TRIGGER PER_ALL_PEOPLE_F_AU
    DROP TRIGGER PER_ALL_PEOPLE_F_AU
    commit
    DROP PROCEDURE PER_ALL_PEOPLE_F_AUP
    DROP PROCEDURE PER_ALL_PEOPLE_F_AUP
    commit
    DROP TRIGGER PER_ALL_PEOPLE_F_AC
    DROP TRIGGER PER_ALL_PEOPLE_F_AC
    commit
    DROP TRIGGER PER_ALL_PEOPLE_F_AH
    DROP TRIGGER PER_ALL_PEOPLE_F_AH
    commit
    DROP TRIGGER PER_ALL_PEOPLE_F_AT
    DROP TRIGGER PER_ALL_PEOPLE_F_AT
    commit
    ----->Create Standard Triggers
    CREATE OR REPLACE PROCEDURE
    PER_ALL_PEOPLE_F_AIP(A0 IN DATE,A1 IN DATE,A2 IN NUMBER,JB IN DATE,JC IN VARCHAR2,JD IN VARCHAR2,E0 IN DATE,E1 IN DATE,E2 IN NUMBER,RB IN DATE,RC IN VARCHAR2,RD IN VARCHAR2 )
    AS
    ROWKEY number;
    NXT number;
    CMT number;
    NUSER varchar2(100);
    nls_date_fmt VARCHAR2(40);
    BEGIN
    select value into nls_date_fmt from v$NLS_PARAMETERS where parameter='NLS_DATE_FORMAT';
    execute IMMEDIATE 'alter session set nls_date_format="MM/DD/YYYY HH24:MI:SS"';
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    ROWKEY:=(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000 MOD(NXT,100000)) * 100000 USERENV('SESSIONID');
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    INSERT INTO PER_ALL_PEOPLE_F_A
    VALUES(SYSDATE,'I',NUSER,NULL,USERENV('SESSIONID'),NXT,CMT,ROWKEY,E0,E1,E2,NULL,NULL,NULL);
    execute IMMEDIATE 'alter session set nls_date_format="'||nls_date_fmt||'"';
    END PER_ALL_PEOPLE_F_AIP;
    commit
    CREATE OR REPLACE PROCEDURE
    PER_ALL_PEOPLE_F_AUP (A0 IN DATE,A1 IN DATE,A2 IN NUMBER,JB IN DATE,JC IN VARCHAR2,JD IN VARCHAR2,E0 IN DATE,E1 IN DATE,E2 IN NUMBER,RB IN DATE,RC IN VARCHAR2,RD IN VARCHAR2)
    AS
    NXT NUMBER;
    CMT NUMBER;
    NUSER varchar2(100);
    newtransaction_TYPE VARCHAR2(1);
    newTRUE_NULLS VARCHAR2(250);
    tmpPRIMCHANGE NUMBER;
    nls_date_fmt VARCHAR2(40);
    I0 DATE;
    I1 DATE;
    I2 NUMBER(10,0);
    YB DATE;
    YC VARCHAR2(150);
    YD VARCHAR2(240);
    BEGIN
    select value into nls_date_fmt from v$NLS_PARAMETERS where parameter='NLS_DATE_FORMAT';
    execute IMMEDIATE 'alter session set nls_date_format="MM/DD/YYYY HH24:MI:SS"';
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    SELECT 0+decode(E0,A0,0,1)+decode(E1,A1,0,1)+decode(E2,A2,0,1) into tmpPRIMCHANGE FROM SYS.DUAL;
    IF tmpPRIMCHANGE>=1 THEN
    SELECT decode(A0,NULL,'Y','N')
    ||decode(A1,NULL,'Y','N')
    ||decode(A2,NULL,'Y','N')
    ||decode(JB,NULL,'Y','N')
    ||decode(JC,NULL,'Y','N')
    ||decode(JD,NULL,'Y','N') INTO newTRUE_NULLS FROM SYS.DUAL;
    IF(newTRUE_NULLS='NNNNNN')THEN
    newTRUE_NULLS:=NULL;END IF;
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    INSERT INTO PER_ALL_PEOPLE_F_A
    VALUES(SYSDATE,'D',NUSER,newTRUE_NULLS,
    USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    A0,A1,A2,JB,JC,JD);
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    INSERT INTO PER_ALL_PEOPLE_F_A
    VALUES(SYSDATE,'I',NUSER,NULL,USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    E0,E1,E2,NULL,NULL,NULL);
    ELSE
    SELECT DECODE(JB,RB,NULL,JB)INTO YB FROM SYS.DUAL;
    SELECT DECODE(JC,RC,NULL,JC)INTO YC FROM SYS.DUAL;
    SELECT DECODE(JD,RD,NULL,JD)INTO YD FROM SYS.DUAL;
    SELECT decode(A0,NULL,decode(E0,NULL,'N','Y'),'N')
    ||decode(A1,NULL,decode(E1,NULL,'N','Y'),'N')
    ||decode(A2,NULL,decode(E2,NULL,'N','Y'),'N')
    ||decode(JB,NULL,decode(RB,NULL,'N','Y'),'N')
    ||decode(JC,NULL,decode(RC,NULL,'N','Y'),'N')
    ||decode(JD,NULL,decode(RD,NULL,'N','Y'),'N') INTO newTRUE_NULLS FROM SYS.DUAL;
    IF(newTRUE_NULLS='NNNNNN')THEN newTRUE_NULLS:=NULL;END IF;
    IF(newTRUE_NULLS is not NULL)OR
    YB IS NOT NULL OR
    YC IS NOT NULL OR
    YD IS NOT NULL THEN
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    INSERT INTO PER_ALL_PEOPLE_F_A
    VALUES(SYSDATE,'U',NUSER,newTRUE_NULLS,USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    E0,E1,E2,YB,YC,YD);
    END IF;
    END IF;
    execute IMMEDIATE 'alter session set nls_date_format="'||nls_date_fmt||'"';
    END PER_ALL_PEOPLE_F_AUP;
    commit
    CREATE OR REPLACE PROCEDURE
    PER_ALL_PEOPLE_F_ADP(A0 IN DATE,A1 IN DATE,A2 IN NUMBER,JB IN DATE,JC IN VARCHAR2,JD IN VARCHAR2,E0 IN DATE,E1 IN DATE,E2 IN NUMBER,RB IN DATE,RC IN VARCHAR2,RD IN VARCHAR2)
    AS
    NXT NUMBER;
    CMT NUMBER;
    NUSER varchar2(100);
    newTRUE_NULLS VARCHAR2(250);
    nls_date_fmt VARCHAR2(40);
    BEGIN
    select value into nls_date_fmt from v$NLS_PARAMETERS where parameter='NLS_DATE_FORMAT';
    execute IMMEDIATE 'alter session set nls_date_format="MM/DD/YYYY HH24:MI:SS"';
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    SELECT decode(A0,NULL,'Y','N')
    ||decode(A1,NULL,'Y','N')
    ||decode(A2,NULL,'Y','N')
    ||decode(JB,NULL,'Y','N')
    ||decode(JC,NULL,'Y','N')
    ||decode(JD,NULL,'Y','N') INTO newTRUE_NULLS FROM SYS.DUAL;
    IF(newTRUE_NULLS='NNNNNN') THEN
    newTRUE_NULLS:= NULL;
    END IF;
    INSERT INTO PER_ALL_PEOPLE_F_A
    VALUES(SYSDATE,'D',NUSER,newTRUE_NULLS,
    USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    A0,A1,A2,JB,JC,JD);
    execute IMMEDIATE 'alter session set nls_date_format="'||nls_date_fmt||'"';
    END PER_ALL_PEOPLE_F_ADP;
    commit
    CREATE OR REPLACE TRIGGER PER_ALL_PEOPLE_F_AH BEFORE INSERT ON PER_ALL_PEOPLE_F BEGIN IF fnd_global.audit_active THEN fnd_audit_pkg.audit_on := TRUE;ELSE fnd_audit_pkg.audit_on := FALSE;END IF;END;
    commit
    CREATE OR REPLACE TRIGGER PER_ALL_PEOPLE_F_AI AFTER INSERT ON PER_ALL_PEOPLE_F FOR EACH ROW BEGIN IF fnd_audit_pkg.audit_on THEN PER_ALL_PEOPLE_F_AIP(:old.EFFECTIVE_START_DATE,:old.EFFECTIVE_END_DATE,:old.PERSON_ID,:old.DATE_OF_BIRTH,:old.FIRST_NAME,:old.FULL_NAME,:new.EFFECTIVE_START_DATE,:new.EFFECTIVE_END_DATE,:new.PERSON_ID,:new.DATE_OF_BIRTH,:new.FIRST_NAME,:new.FULL_NAME);END IF;END;
    commit
    CREATE OR REPLACE TRIGGER PER_ALL_PEOPLE_F_AT BEFORE UPDATE OF EFFECTIVE_START_DATE,EFFECTIVE_END_DATE,PERSON_ID,DATE_OF_BIRTH,FIRST_NAME,FULL_NAME ON PER_ALL_PEOPLE_F BEGIN IF fnd_global.audit_active THEN fnd_audit_pkg.audit_on := TRUE;ELSE fnd_audit_pkg.audit_on := FALSE;END IF;END;
    commit
    CREATE OR REPLACE TRIGGER PER_ALL_PEOPLE_F_AU AFTER UPDATE OF EFFECTIVE_START_DATE,EFFECTIVE_END_DATE,PERSON_ID,DATE_OF_BIRTH,FIRST_NAME,FULL_NAME ON PER_ALL_PEOPLE_F FOR EACH ROW BEGIN IF fnd_audit_pkg.audit_on THEN PER_ALL_PEOPLE_F_AUP(:old.EFFECTIVE_START_DATE,:old.EFFECTIVE_END_DATE,:old.PERSON_ID,:old.DATE_OF_BIRTH,:old.FIRST_NAME,:old.FULL_NAME,:new.EFFECTIVE_START_DATE,:new.EFFECTIVE_END_DATE,:new.PERSON_ID,:new.DATE_OF_BIRTH,:new.FIRST_NAME,:new.FULL_NAME);END IF;END;
    commit
    CREATE OR REPLACE TRIGGER PER_ALL_PEOPLE_F_AC BEFORE DELETE ON PER_ALL_PEOPLE_F BEGIN IF fnd_global.audit_active THEN fnd_audit_pkg.audit_on := TRUE;ELSE fnd_audit_pkg.audit_on := FALSE;END IF;END;
    commit
    CREATE OR REPLACE TRIGGER PER_ALL_PEOPLE_F_AD AFTER DELETE ON PER_ALL_PEOPLE_F FOR EACH ROW BEGIN IF fnd_audit_pkg.audit_on THEN PER_ALL_PEOPLE_F_ADP(:old.EFFECTIVE_START_DATE,:old.EFFECTIVE_END_DATE,:old.PERSON_ID,:old.DATE_OF_BIRTH,:old.FIRST_NAME,:old.FULL_NAME,:new.EFFECTIVE_START_DATE,:new.EFFECTIVE_END_DATE,:new.PERSON_ID,:new.DATE_OF_BIRTH,:new.FIRST_NAME,:new.FULL_NAME);END IF;END;
    commit
    ----->Create Views
    VIEW PER_ALL_PEOPLE_F_AV1
    commit
    VIEW PER_ALL_PEOPLE_F_AV2
    commit
    VIEW PER_ALL_PEOPLE_F_AV3
    commit
    VIEW PER_ALL_PEOPLE_F_AV4
    commit
    VIEW PER_ALL_PEOPLE_F_AC1
    -->EFFECTIVE_START_DATE
    -->EFFECTIVE_END_DATE
    -->PERSON_ID
    -->DATE_OF_BIRTH
    -->FIRST_NAME
    -->FULL_NAME
    commit
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'E' WHERE T.TABLE_ID = 53506 AND T.TABLE_APP_ID = 800 AND NOT EXISTS ( SELECT NULL FROM FND_AUDIT_COLUMNS C WHERE C.TABLE_APP_ID = T.TABLE_APP_ID AND C.TABLE_ID = T.TABLE_ID AND C.STATE = 'P' AND C.SCHEMA_ID != -1)
    commit
    commit
    ----->Delete Invalid Columns
    ----->Drop Triggers
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AI
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AI
    commit
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AIP
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AIP
    commit
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AD
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AD
    commit
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_ADP
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_ADP
    commit
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AU
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AU
    commit
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AUP
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AUP
    commit
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AC
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AC
    commit
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AH
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AH
    commit
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AT
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AT
    commit
    Cause: Table name is FND_PROFILE_OPTION_VALUE_A.
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV1
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV2
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV3
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV4
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV5
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV6
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV7
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV8
    commit
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV9
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV10
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV11
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV12
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV13
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV14
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV15
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV16
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV17
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV18
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV19
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV20
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV21
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV22
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV23
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV24
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV25
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV26
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV27
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV28
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV29
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV30
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV31
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV32
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV33
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV34
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV35
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV36
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV37
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV38
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV39
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV40
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV41
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV42
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV43
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV44
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV45
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV46
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV47
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV48
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV49
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV50
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV51
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV52
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV53
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV54
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV55
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV56
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV57
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV58
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV59
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV60
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV61
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV62
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV63
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV64
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV65
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV66
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV67
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV68
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV69
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV70
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV71
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV72
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV73
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV74
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV75
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV76
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV77
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV78
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV79
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV80
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV81
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV82
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV83
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV84
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV85
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV86
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV87
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV88
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV89
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV90
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV91
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV92
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV93
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV94
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV95
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV96
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV97
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV98
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV99
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV100
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AC1
    commit
    ----->Drop Shadow Table
    DROP TABLE FND_PROFILE_OPTION_VALUE_A
    ORA-00942: table or view does not exist
    Error in fdasql, continuing...
    /oracleferp/FERP/APPS/apps_st/appl/fnd/12.0.0/bin/FNDATUPD
    Program was terminated by signal 11
    Executing request completion options...
    Output file size:
    0
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 02-APR-2013 01:03:56
    Any comments/ suggestions in context of the Audit Trail query are heartily welcome !!
    Regards,
    S.Malik

    Dear Hussein,
    I followed the doc id: 727770.1 and as per note, I deleted the previous Audit data.
    And enabled the audit trail as per document to the similar table as mentioned in the doc. with similar steps. But still the concurrent request "AuditTrail Update Tables" is completing with error. Please find below the log file for the same:
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FNDATUPD module: AuditTrail Update Tables
    Current system time is 02-APR-2013 04:19:23
    ----->Expand Rows
    INSERT INTO FND_AUDIT_COLUMNS (TABLE_APP_ID, TABLE_ID,COLUMN_ID,STATE,SEQUENCE_ID, SCHEMA_ID, LAST_UPDATE_DATE,LAST_UPDATED_BY, LAST_UPDATE_LOGIN,CREATED_BY,CREATION_DATE) VALUES ( 810, 55079, 158785, 'P', -1, 900, SYSDATE,0,0,0,SYSDATE)
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'P' WHERE T.TABLE_APP_ID = 810 AND T.TABLE_ID = 55079
    commit
    INSERT INTO FND_AUDIT_COLUMNS (TABLE_APP_ID, TABLE_ID,COLUMN_ID,STATE,SEQUENCE_ID, SCHEMA_ID, LAST_UPDATE_DATE,LAST_UPDATED_BY, LAST_UPDATE_LOGIN,CREATED_BY,CREATION_DATE) VALUES ( 810, 55079, 158787, 'P', -1, 900, SYSDATE,0,0,0,SYSDATE)
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'P' WHERE T.TABLE_APP_ID = 810 AND T.TABLE_ID = 55079
    commit
    INSERT INTO FND_AUDIT_COLUMNS (TABLE_APP_ID, TABLE_ID,COLUMN_ID,STATE,SEQUENCE_ID, SCHEMA_ID, LAST_UPDATE_DATE,LAST_UPDATED_BY, LAST_UPDATE_LOGIN,CREATED_BY,CREATION_DATE) VALUES ( 810, 55079, 158786, 'P', -1, 900, SYSDATE,0,0,0,SYSDATE)
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'P' WHERE T.TABLE_APP_ID = 810 AND T.TABLE_ID = 55079
    commit
    INSERT INTO FND_AUDIT_COLUMNS (TABLE_APP_ID, TABLE_ID,COLUMN_ID,STATE,SEQUENCE_ID, SCHEMA_ID, LAST_UPDATE_DATE,LAST_UPDATED_BY, LAST_UPDATE_LOGIN,CREATED_BY,CREATION_DATE) VALUES ( 810, 55079, 158790, 'P', -1, 900, SYSDATE,0,0,0,SYSDATE)
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'P' WHERE T.TABLE_APP_ID = 810 AND T.TABLE_ID = 55079
    commit
    commit
    DELETE FROM FND_AUDIT_TABLES WHERE STATE = 'X'
    DELETE FROM FND_AUDIT_COLUMNS C WHERE C.STATE = 'P' AND NOT EXISTS (SELECT NULL FROM FND_AUDIT_TABLES T WHERE T.TABLE_APP_ID = C.TABLE_APP_ID AND T.TABLE_ID = C.TABLE_ID AND T.STATE !='X')
    ----->Create New Table
    CREATE TABLE OTA_DELEGATE_BOOKINGS_A (AUDIT_TIMESTAMP DATE NOT NULL, AUDIT_TRANSACTION_TYPE VARCHAR(1) NOT NULL, AUDIT_USER_NAME VARCHAR2(100) NOT NULL, AUDIT_TRUE_NULLS VARCHAR2(250), AUDIT_SESSION_ID NUMBER NOT NULL, AUDIT_SEQUENCE_ID NUMBER NOT NULL,AUDIT_COMMIT_ID NUMBER NOT NULL, ROW_KEY NUMBER )
    commit
    GRANT ALL ON OTA_DELEGATE_BOOKINGS_A to APPS
    GRANT ALL ON OTA_DELEGATE_BOOKINGS_A to APPS
    commit
    CREATE SYNONYM OTA_DELEGATE_BOOKINGS_A for OTA.OTA_DELEGATE_BOOKINGS_A
    CREATE SYNONYM OTA_DELEGATE_BOOKINGS_A for OTA.OTA_DELEGATE_BOOKINGS_A
    commit
    ----->Adding ROW_KEY
    **Starts**02-APR-2013 04:19:32
    **Ends**02-APR-2013 04:19:34
    ----->Alter Shadow Table
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (BOOKING_ID NUMBER(9,0))
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (BOOKING_ID NUMBER(9,0))
    commit
    commit
    DELETE FROM FND_AUDIT_COLUMNS C WHERE C.TABLE_APP_ID= 810 AND C.TABLE_ID = 55079 AND C.COLUMN_ID = 158785 AND C.SCHEMA_ID = 900
    INSERT INTO FND_AUDIT_COLUMNS (TABLE_APP_ID,TABLE_ID,COLUMN_ID,STATE,SEQUENCE_ID,SCHEMA_ID,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN,CREATED_BY,CREATION_DATE) VALUES ( 810, 55079, 158785, 'K', 0, 900, SYSDATE,0,0,0,SYSDATE)
    commit
    ----->Update Pending Columns
    ----->Adding ROW_KEY
    **Starts**02-APR-2013 04:19:36
    **Ends**02-APR-2013 04:19:36
    ----->Alter Shadow Table
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (BOOKING_STATUS_TYPE_ID NUMBER(9,0))
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (BOOKING_STATUS_TYPE_ID NUMBER(9,0))
    commit
    commit
    UPDATE FND_AUDIT_COLUMNS SET STATE = 'N' , SEQUENCE_ID = 1 WHERE TABLE_APP_ID = 810 AND SCHEMA_ID = 900 AND TABLE_ID = 55079 AND COLUMN_ID = 158786 AND STATE = 'P'
    commit
    ----->Adding ROW_KEY
    **Starts**02-APR-2013 04:19:37
    **Ends**02-APR-2013 04:19:37
    ----->Alter Shadow Table
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (DELEGATE_PERSON_ID NUMBER(10,0))
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (DELEGATE_PERSON_ID NUMBER(10,0))
    commit
    commit
    UPDATE FND_AUDIT_COLUMNS SET STATE = 'N' , SEQUENCE_ID = 2 WHERE TABLE_APP_ID = 810 AND SCHEMA_ID = 900 AND TABLE_ID = 55079 AND COLUMN_ID = 158787 AND STATE = 'P'
    commit
    ----->Adding ROW_KEY
    **Starts**02-APR-2013 04:19:37
    **Ends**02-APR-2013 04:19:37
    ----->Alter Shadow Table
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (EVENT_ID NUMBER(9,0))
    ALTER TABLE OTA_DELEGATE_BOOKINGS_A ADD (EVENT_ID NUMBER(9,0))
    commit
    commit
    UPDATE FND_AUDIT_COLUMNS SET STATE = 'N' , SEQUENCE_ID = 3 WHERE TABLE_APP_ID = 810 AND SCHEMA_ID = 900 AND TABLE_ID = 55079 AND COLUMN_ID = 158790 AND STATE = 'P'
    commit
    commit
    ----->Drop Triggers
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AI
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AI
    ORA-04080: trigger 'OTA_DELEGATE_BOOKINGS_AI' does not exist
    DROP PROCEDURE OTA_DELEGATE_BOOKINGS_AIP
    DROP PROCEDURE OTA_DELEGATE_BOOKINGS_AIP
    ORA-04043: object OTA_DELEGATE_BOOKINGS_AIP does not exist
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AD
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AD
    ORA-04080: trigger 'OTA_DELEGATE_BOOKINGS_AD' does not exist
    DROP PROCEDURE OTA_DELEGATE_BOOKINGS_ADP
    DROP PROCEDURE OTA_DELEGATE_BOOKINGS_ADP
    ORA-04043: object OTA_DELEGATE_BOOKINGS_ADP does not exist
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AU
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AU
    ORA-04080: trigger 'OTA_DELEGATE_BOOKINGS_AU' does not exist
    DROP PROCEDURE OTA_DELEGATE_BOOKINGS_AUP
    DROP PROCEDURE OTA_DELEGATE_BOOKINGS_AUP
    ORA-04043: object OTA_DELEGATE_BOOKINGS_AUP does not exist
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AC
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AC
    ORA-04080: trigger 'OTA_DELEGATE_BOOKINGS_AC' does not exist
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AH
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AH
    ORA-04080: trigger 'OTA_DELEGATE_BOOKINGS_AH' does not exist
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AT
    DROP TRIGGER OTA_DELEGATE_BOOKINGS_AT
    ORA-04080: trigger 'OTA_DELEGATE_BOOKINGS_AT' does not exist
    ----->Create Standard Triggers
    CREATE OR REPLACE PROCEDURE
    OTA_DELEGATE_BOOKINGS_AIP(A0 IN NUMBER,JB IN NUMBER,JC IN NUMBER,JD IN NUMBER,E0 IN NUMBER,RB IN NUMBER,RC IN NUMBER,RD IN NUMBER )
    AS
    ROWKEY number;
    NXT number;
    CMT number;
    NUSER varchar2(100);
    nls_date_fmt VARCHAR2(40);
    BEGIN
    select value into nls_date_fmt from v$NLS_PARAMETERS where parameter='NLS_DATE_FORMAT';
    execute IMMEDIATE 'alter session set nls_date_format="MM/DD/YYYY HH24:MI:SS"';
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    ROWKEY:=(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000 MOD(NXT,100000)) * 100000 USERENV('SESSIONID');
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    INSERT INTO OTA_DELEGATE_BOOKINGS_A
    VALUES(SYSDATE,'I',NUSER,NULL,USERENV('SESSIONID'),NXT,CMT,ROWKEY,E0,NULL,NULL,NULL);
    execute IMMEDIATE 'alter session set nls_date_format="'||nls_date_fmt||'"';
    END OTA_DELEGATE_BOOKINGS_AIP;
    commit
    CREATE OR REPLACE PROCEDURE
    OTA_DELEGATE_BOOKINGS_AUP (A0 IN NUMBER,JB IN NUMBER,JC IN NUMBER,JD IN NUMBER,E0 IN NUMBER,RB IN NUMBER,RC IN NUMBER,RD IN NUMBER)
    AS
    NXT NUMBER;
    CMT NUMBER;
    NUSER varchar2(100);
    newtransaction_TYPE VARCHAR2(1);
    newTRUE_NULLS VARCHAR2(250);
    tmpPRIMCHANGE NUMBER;
    nls_date_fmt VARCHAR2(40);
    I0 NUMBER(9,0);
    YB NUMBER(9,0);
    YC NUMBER(10,0);
    YD NUMBER(9,0);
    BEGIN
    select value into nls_date_fmt from v$NLS_PARAMETERS where parameter='NLS_DATE_FORMAT';
    execute IMMEDIATE 'alter session set nls_date_format="MM/DD/YYYY HH24:MI:SS"';
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    SELECT 0+decode(E0,A0,0,1) into tmpPRIMCHANGE FROM SYS.DUAL;
    IF tmpPRIMCHANGE>=1 THEN
    SELECT decode(A0,NULL,'Y','N')
    ||decode(JB,NULL,'Y','N')
    ||decode(JC,NULL,'Y','N')
    ||decode(JD,NULL,'Y','N') INTO newTRUE_NULLS FROM SYS.DUAL;
    IF(newTRUE_NULLS='NNNN')THEN
    newTRUE_NULLS:=NULL;END IF;
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    INSERT INTO OTA_DELEGATE_BOOKINGS_A
    VALUES(SYSDATE,'D',NUSER,newTRUE_NULLS,
    USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    A0,JB,JC,JD);
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    INSERT INTO OTA_DELEGATE_BOOKINGS_A
    VALUES(SYSDATE,'I',NUSER,NULL,USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    E0,NULL,NULL,NULL);
    ELSE
    SELECT DECODE(JB,RB,NULL,JB)INTO YB FROM SYS.DUAL;
    SELECT DECODE(JC,RC,NULL,JC)INTO YC FROM SYS.DUAL;
    SELECT DECODE(JD,RD,NULL,JD)INTO YD FROM SYS.DUAL;
    SELECT decode(A0,NULL,decode(E0,NULL,'N','Y'),'N')
    ||decode(JB,NULL,decode(RB,NULL,'N','Y'),'N')
    ||decode(JC,NULL,decode(RC,NULL,'N','Y'),'N')
    ||decode(JD,NULL,decode(RD,NULL,'N','Y'),'N') INTO newTRUE_NULLS FROM SYS.DUAL;
    IF(newTRUE_NULLS='NNNN')THEN newTRUE_NULLS:=NULL;END IF;
    IF(newTRUE_NULLS is not NULL)OR
    YB IS NOT NULL OR
    YC IS NOT NULL OR
    YD IS NOT NULL THEN
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    INSERT INTO OTA_DELEGATE_BOOKINGS_A
    VALUES(SYSDATE,'U',NUSER,newTRUE_NULLS,USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    E0,YB,YC,YD);
    END IF;
    END IF;
    execute IMMEDIATE 'alter session set nls_date_format="'||nls_date_fmt||'"';
    END OTA_DELEGATE_BOOKINGS_AUP;
    commit
    CREATE OR REPLACE PROCEDURE
    OTA_DELEGATE_BOOKINGS_ADP(A0 IN NUMBER,JB IN NUMBER,JC IN NUMBER,JD IN NUMBER,E0 IN NUMBER,RB IN NUMBER,RC IN NUMBER,RD IN NUMBER)
    AS
    NXT NUMBER;
    CMT NUMBER;
    NUSER varchar2(100);
    newTRUE_NULLS VARCHAR2(250);
    nls_date_fmt VARCHAR2(40);
    BEGIN
    select value into nls_date_fmt from v$NLS_PARAMETERS where parameter='NLS_DATE_FORMAT';
    execute IMMEDIATE 'alter session set nls_date_format="MM/DD/YYYY HH24:MI:SS"';
    NXT:=FND_AUDIT_SEQ_PKG.NXT;
    CMT:=FND_AUDIT_SEQ_PKG.CMT;
    NUSER:=FND_AUDIT_SEQ_PKG.USER_NAME;
    SELECT decode(A0,NULL,'Y','N')
    ||decode(JB,NULL,'Y','N')
    ||decode(JC,NULL,'Y','N')
    ||decode(JD,NULL,'Y','N') INTO newTRUE_NULLS FROM SYS.DUAL;
    IF(newTRUE_NULLS='NNNN') THEN
    newTRUE_NULLS:= NULL;
    END IF;
    INSERT INTO OTA_DELEGATE_BOOKINGS_A
    VALUES(SYSDATE,'D',NUSER,newTRUE_NULLS,
    USERENV('SESSIONID'),NXT,CMT,(TO_NUMBER(TO_CHAR(SYSDATE,'YYYYMMDDHH24MISS'))*100000+MOD(NXT,100000)) * 100000 + USERENV('SESSIONID'),
    A0,JB,JC,JD);
    execute IMMEDIATE 'alter session set nls_date_format="'||nls_date_fmt||'"';
    END OTA_DELEGATE_BOOKINGS_ADP;
    commit
    CREATE OR REPLACE TRIGGER OTA_DELEGATE_BOOKINGS_AH BEFORE INSERT ON OTA_DELEGATE_BOOKINGS BEGIN IF fnd_global.audit_active THEN fnd_audit_pkg.audit_on := TRUE;ELSE fnd_audit_pkg.audit_on := FALSE;END IF;END;
    commit
    CREATE OR REPLACE TRIGGER OTA_DELEGATE_BOOKINGS_AI AFTER INSERT ON OTA_DELEGATE_BOOKINGS FOR EACH ROW BEGIN IF fnd_audit_pkg.audit_on THEN OTA_DELEGATE_BOOKINGS_AIP(:old.BOOKING_ID,:old.BOOKING_STATUS_TYPE_ID,:old.DELEGATE_PERSON_ID,:old.EVENT_ID,:new.BOOKING_ID,:new.BOOKING_STATUS_TYPE_ID,:new.DELEGATE_PERSON_ID,:new.EVENT_ID);END IF;END;
    commit
    CREATE OR REPLACE TRIGGER OTA_DELEGATE_BOOKINGS_AT BEFORE UPDATE OF BOOKING_ID,BOOKING_STATUS_TYPE_ID,DELEGATE_PERSON_ID,EVENT_ID ON OTA_DELEGATE_BOOKINGS BEGIN IF fnd_global.audit_active THEN fnd_audit_pkg.audit_on := TRUE;ELSE fnd_audit_pkg.audit_on := FALSE;END IF;END;
    commit
    CREATE OR REPLACE TRIGGER OTA_DELEGATE_BOOKINGS_AU AFTER UPDATE OF BOOKING_ID,BOOKING_STATUS_TYPE_ID,DELEGATE_PERSON_ID,EVENT_ID ON OTA_DELEGATE_BOOKINGS FOR EACH ROW BEGIN IF fnd_audit_pkg.audit_on THEN OTA_DELEGATE_BOOKINGS_AUP(:old.BOOKING_ID,:old.BOOKING_STATUS_TYPE_ID,:old.DELEGATE_PERSON_ID,:old.EVENT_ID,:new.BOOKING_ID,:new.BOOKING_STATUS_TYPE_ID,:new.DELEGATE_PERSON_ID,:new.EVENT_ID);END IF;END;
    commit
    CREATE OR REPLACE TRIGGER OTA_DELEGATE_BOOKINGS_AC BEFORE DELETE ON OTA_DELEGATE_BOOKINGS BEGIN IF fnd_global.audit_active THEN fnd_audit_pkg.audit_on := TRUE;ELSE fnd_audit_pkg.audit_on := FALSE;END IF;END;
    commit
    CREATE OR REPLACE TRIGGER OTA_DELEGATE_BOOKINGS_AD AFTER DELETE ON OTA_DELEGATE_BOOKINGS FOR EACH ROW BEGIN IF fnd_audit_pkg.audit_on THEN OTA_DELEGATE_BOOKINGS_ADP(:old.BOOKING_ID,:old.BOOKING_STATUS_TYPE_ID,:old.DELEGATE_PERSON_ID,:old.EVENT_ID,:new.BOOKING_ID,:new.BOOKING_STATUS_TYPE_ID,:new.DELEGATE_PERSON_ID,:new.EVENT_ID);END IF;END;
    commit
    ----->Create Views
    VIEW OTA_DELEGATE_BOOKINGS_AV1
    commit
    VIEW OTA_DELEGATE_BOOKINGS_AV2
    commit
    VIEW OTA_DELEGATE_BOOKINGS_AV3
    commit
    VIEW OTA_DELEGATE_BOOKINGS_AV4
    commit
    VIEW OTA_DELEGATE_BOOKINGS_AC1
    -->BOOKING_ID
    -->BOOKING_STATUS_TYPE_ID
    -->DELEGATE_PERSON_ID
    -->EVENT_ID
    commit
    UPDATE FND_AUDIT_TABLES T SET T.STATE = 'E' WHERE T.TABLE_ID = 55079 AND T.TABLE_APP_ID = 810 AND NOT EXISTS ( SELECT NULL FROM FND_AUDIT_COLUMNS C WHERE C.TABLE_APP_ID = T.TABLE_APP_ID AND C.TABLE_ID = T.TABLE_ID AND C.STATE = 'P' AND C.SCHEMA_ID != -1)
    commit
    commit
    ----->Delete Invalid Columns
    ----->Drop Triggers
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AI
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AI
    ORA-04080: trigger 'FND_PROFILE_OPTION_VALUE_AI' does not exist
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AIP
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AIP
    ORA-04043: object FND_PROFILE_OPTION_VALUE_AIP does not exist
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AD
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AD
    ORA-04080: trigger 'FND_PROFILE_OPTION_VALUE_AD' does not exist
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_ADP
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_ADP
    ORA-04043: object FND_PROFILE_OPTION_VALUE_ADP does not exist
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AU
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AU
    ORA-04080: trigger 'FND_PROFILE_OPTION_VALUE_AU' does not exist
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AUP
    DROP PROCEDURE FND_PROFILE_OPTION_VALUE_AUP
    ORA-04043: object FND_PROFILE_OPTION_VALUE_AUP does not exist
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AC
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AC
    ORA-04080: trigger 'FND_PROFILE_OPTION_VALUE_AC' does not exist
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AH
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AH
    ORA-04080: trigger 'FND_PROFILE_OPTION_VALUE_AH' does not exist
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AT
    DROP TRIGGER FND_PROFILE_OPTION_VALUE_AT
    ORA-04080: trigger 'FND_PROFILE_OPTION_VALUE_AT' does not exist
    Cause: Table name is FND_PROFILE_OPTION_VALUE_A.
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV1
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV2
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV3
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV4
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV5
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV6
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV7
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV8
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV9
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV10
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV11
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV12
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV13
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV14
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV15
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV16
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV17
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV18
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV19
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV20
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV21
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV22
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV23
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV24
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV25
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV26
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV27
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV28
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV29
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV30
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV31
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV32
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV33
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV34
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV35
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV36
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV37
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV38
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV39
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV40
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV41
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV42
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV43
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV44
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV45
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV46
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV47
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV48
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV49
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV50
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV51
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV52
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV53
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV54
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV55
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV56
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV57
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV58
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV59
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV60
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV61
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV62
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV63
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV64
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV65
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV66
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV67
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV68
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV69
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV70
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV71
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV72
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV73
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV74
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV75
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV76
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV77
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV78
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV79
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV80
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV81
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV82
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV83
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV84
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV85
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV86
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV87
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV88
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV89
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV90
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV91
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV92
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV93
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV94
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV95
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV96
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV97
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV98
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV99
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AV100
    ORA-00942: table or view does not exist
    DROP VIEW FND_PROFILE_OPTION_VALUE_AC1
    ORA-00942: table or view does not exist
    ----->Drop Shadow Table
    DROP TABLE FND_PROFILE_OPTION_VALUE_A
    ORA-00942: table or view does not exist
    Error in fdasql, continuing...
    /oracleferp/FERP/APPS/apps_st/appl/fnd/12.0.0/bin/FNDATUPD
    Program was terminated by signal 11
    Executing request completion options...
    Output file size:
    0
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 02-APR-2013 04:19:44
    Regards,
    S.Malik

  • Audit Trail Log for Sharepoint Foundation 2010

    Hi all,
    Does SharePoint Foundation 2010 have the ability to Audit user actions including opening documents, editing permsions, etc ?
    What is the different with audit trail for Sharepoint 2010 and WSS 3.0?
    Thank you
    Rgds,

    I agree with Kamil Jurik. There is no auditing feature in SharePoint Foundation edition. The auditing feature is a SharePoint Enterprise feature. But yes there are free utilities on the web, like on codeplex and other. And if you are good in coding then
    you may develop your own custom solution as given in a tech article:
    http://msdn.microsoft.com/en-us/magazine/cc794261.aspx
    Thanks & Best Regards,
    Zakir Chougle || SharePoint Developer
    Please click "Propose
    As Answer" if a post solves your problem, or "Vote
    As Helpful" if a post has been useful to you

  • BAPIs / Function Modules to access org. structure data?

    Hi,
    I want to integrate SAP org. structure with external BPM system.
    anybody knows how to access org. structure data via RFC or web services?
    Thanks in advance.

    The purchasing org and purchasing grp can be found in T024E and T024 table.
    Regards
    Anurag

  • Report on Opportunity Audit Trail

    We need to write a report on the Audit Trail within opportunities. Has anyone done this? Is it possible in R16 or 17?

    I'm really surprised that this isn't possible. What is the point of the auditing of fields if we can't report on it? How do you handle SOX compliance for customers? Can we get an audit report from Oracle with a special request?
    -Frustrated... :(

  • How can I set a report to have an audit trail?

    I am using Business Objects Enterprise and am having a difficult time getting an audit trail set up for reports. If reports are scheduled, then the audit trail exists. But if the reports are manually generated, no audit trail exists. Any suggestions would be greatly appreciated.
    Edited by: Dawn Michelle on Jun 7, 2011 11:05 AM

    Auditing database maybe?
    Other than writing your own front end app that allows users to run reports on demand and keeping track yourself, I do not think there is any way to do this.
    Jason

  • Sending mail to a particular positon in org structure via workflow

    hi all
    i have a problem regarding sending mail to particular position in org structure on runtime execution  via workflow so that i neednt hard court the particular position
    to achieve this i am using expressions,first i have created a new container element and then i have used container operation like this:
    (lead.employee responsible.business partner= container element defined by me)
    when i first try to execute the workflow and test it ,in the container  i am getting the value of the container element in which i have the position where i have to send the mail.but inspite of value getting populated ,when i am using that container element to send mail like:
    expression: container element
    the mail is not send,when i checked the log it is mentioned that " you are not the authorised person to stsart the workflow and start failed" but workflow is still triggered and i am able to pass the object but not able to send the mail.
    please tell me is there any feasible way to achieve this,like rule or in my way how is it able to achieve
    detailed possible solution will really be appreciated.on thing we are working on CRM 5.0 standalone system
    full marks will be rewarded
    best regards
    ashish

    Hi,
    Follow this ,
    Goto PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "123********" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    I guess you have done the same for the standard task TS*********** but failed to do it for the workflow template (WS123*************). Or have you done it already?
    Also once you make this change "Refresh your buffers" once before checking it out.
    Richard A

  • Error while creating Org structure     Message no. BBP_LOCATION009

    Hi
    Iam trying to build an SRM6.0 with backend as R/3 4.7
    I have replicated the plats from back end with report BBP_LOCATIONS_GET_FROM_SYSTEM
    On errors rectified the same and finally, SLG1 report shows no errors.
    But still noticed that T77S0 table entry with GPID=EBP, SEMID= LMIGR is not set to ‘X’ (Refer note 563180)
    Due to the above problem while creating org structure when I click on ‘Att inheritence’ or “Extended attributes –Locations” tab,
    I get the message:
    Start program BBP_LOCATIONS_GET_ALL first (see Note 563180 and long text)
             Message no. BBP_LOCATION009
    Diagnosis
        You tried to call a program that uses a location. The locations have not
        yet been replicated.
    System Response
        The current program has been terminated.
    Procedure
        Start the program  to replicate the locations. You can find more
        information in SAPNet in Note .
    Procedure for System Administration
    You can disable this message by starting table maintenance (SM30) for
    table T77S0. Change the entry EBP/LMIGR to "X". Note that the system
    cannot supply certain information if the locations are not replicated.
    Locations that do not exist can be deleted during attribute maintenance.

    are you working with multiple backend systems?
    can you retry downloading the plants with the report
    BBP_LOCATIONS_GET_ALL
    and then give the logical sys name as yr present backend?
    BR
    Dinesh

  • SRM HR Org Structure - error in EBP User

    We are on SRM 4.0 (EBP 5.) and have replicated our R/3 org structure.  We run a nightly batch job that updates the org structure in SRM with any changes made in R/3.  Some users are unable to use SRM due to not being replicated properly into SRM. When you view the org structure via PPOMA_BBP - Change Attributes  Check there are two STOP signs - with the following error messages
    STOP   BBP Error in EBP User xxxxx
    STOP   HR/ALE Verteilung ist aktiv. Verteilen Sie die Benutzerdaten neu. 
    When I translated the German error message, it translated to
    HR/ALE Distribution is active.
    Redistribute the user data. 
    How do I redistribute the user data to correct the problem so the users can use SRM again?  
    Also, where can I change the german transaction into English. 
    Any assistance would be greatly appreciated. 
    Thanks 
    Jan Stover

    Hi Jan,
         Follow these steps in R/3
    1. Go To PA20. Check the Personal ID for the user for whom it shoots an error
    2. Go To PFAL. You might have to use a variant for this transaction. Feed the User's Personal # and the target system.
    This will push an IDOC from R/3 to SRM with the org data
         Follow these steps in SRM:
    1. Go to SE38 and execute this report RBDAPP01
    This report will process the incoming IDOC to the Org Structure in SRM
    Regards,
    Anand

Maybe you are looking for

  • IE11/Win 8.1 error 'Your client does not support opening this list in windows explorer'

    I hoping someone might be able to help with this frustrating issue. I work on a project where we are using various versions of on-line SharePoint (2007/O365).  In order to quickly drag and drop folders we need to often open the document libraries by

  • Red Circle with Red Square ***!?

    Someone please give me a short and simple answer to this one...why oh why is it happening and how do i fix it? It seems to be getting worse. I have done a full restore etc.

  • How to close skype community account

    does anyone know how to close this skype community account that i had to create just to post a simple answer to something i read and found out how to solve easily.. this BS CRAP THAT GOES ON YOU HAVE TO HAVE ACCOUNTS EVERY PLACE TO POST SOMETHING COM

  • Oracle Provider for OLE DB on Vista

    hi all , which ole DB provider compatible with vista ( business edi.) i have installed oledb 10.2.0.2.20 it installed successfully but i want to connect to my oracle9i database server . and it is not connected properly . is there any issue with oracl

  • Plain Explain  and s methods (tools) for  to improve Performance

    Hi How can I do to use Plain Explain and others methods for to impove performance ? Where can I to find tutorial about it ? thank you in advance