USER_TAB_MODIFICATIONS not getting populated automatically

Hi All,
I am in the process of setting up gathering of schema statistics on my database and was trying to setup estimate stale statistics based on the data from the USER_TAB_MODIFICATONS table. Although I see that monitoring has been turned ON for all the tables in the DB and DML operations are also being carried out on a daily basis, the USER_TAB_MODIFICATIONS remains empty all the time.
I tried executing DBMS_STATS.FLUSH_DB_MONITORING_INFO so as to get this table populated. As soon as i executed it, i could see that the records for all the transactions carried out on that schema during the day appeared in the USER_TAB_MODIFICATIONS table. However, when i again carried out a DML operation as waited for 3 hrs so that it would get populated automatically in the table, I could not see any rows for that table in user_tab_modifications.
Can anyone help me out with what could possibly be the reason behind it? Maybe some background process that populated the user_tab_modifications every 3 hours is disabled? Or is there any other reason behind it?
Please advice.

CrazyAnie,
Here is an illustration for you;
SQL> set line 1000
SQL> set pagesize 1000
SQL> drop table ogan_deneme purge;
drop table ogan_deneme purge
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> create table ogan_deneme (deneme varchar2(10)) monitoring;
Table created.
SQL> insert into ogan_deneme values ('ogan');
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> delete ogan_deneme;
3 rows deleted.
SQL> commit;
Commit complete.
SQL> select * from user_tab_modifications;
no rows selected
SQL> exec dbms_stats.gather_table_stats('ogan','ogan_deneme');
PL/SQL procedure successfully completed.
SQL> select * from user_tab_modifications;
no rows selected
SQL> conn / as sysdba
Connected.
SQL> select * from dba_tab_modifications where table_owner = 'ogan';
no rows selected
SQL> select * from dba_tab_modifications where table_owner = 'OGAN';
no rows selected
SQL> conn ogan/password
Connected.
SQL> exec dbms_stats.gather_table_stats('ogan','ogan_deneme');
PL/SQL procedure successfully completed.
SQL> insert into ogan_deneme values('ogan');
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> delete from ogan_deneme;
3 rows deleted.
SQL> commit;
Commit complete.
SQL> select * from user_tab_modifications;
no rows selected
SQL> exec dbms_stats.FLUSH_DATABASE_MONITORING_INFO;
BEGIN dbms_stats.FLUSH_DATABASE_MONITORING_INFO; END;
ERROR at line 1:
ORA-20000: Insufficient privileges
ORA-06512: at "SYS.DBMS_STATS", line 2151
ORA-06512: at "SYS.DBMS_STATS", line 14390
ORA-06512: at line 1
SQL> conn / as sysdba
Connected.
SQL> exec dbms_stats.FLUSH_DATABASE_MONITORING_INFO;
PL/SQL procedure successfully completed.
SQL> conn ogan/password
Connected.
SQL> select * from user_tab_modifications;
TABLE_NAME PARTITION_NAME SUBPARTITION_NAME INSERTS UPDATES DELETES TIMESTAMP TRU DROP_SEGMENTS
OGAN_DENEME 3 0 3 25-JUN-10 NO 0
SQL>
Even you have executed dbms_stats.FLUSH_DATABASE_MONITORING_INFO; and so still do not see any data, gather table stats for the relevant table.
Hope it helps,
Ogan

Similar Messages

  • SGTXT field is not getting populated in 315 document

    While placing stock in storage location through MIGO (movement 315) with reference to movenet 313 document, TEXT (SGTXT) field which is entered in 313 document is not getting populated from referred document.

    Hi,
    This is Standard SAP functionality.The Text does not get automatically populated from the referred document. You will have to use enhancement for the same. Use BADI - MB_MIGO_ITEM_BAdI

  • Foreign key fields not getting populated in datacontrol palette for EJB app

    Hi,
    I am quite new to ADF and EJB.I developed a jdeveloper application with JSF and EJB tiers.(I am using jdeveloper 10.1.3.5)
    For database the default HR database is used.I created the entities for the EMPLOYEES and DEPARTMENTS table.
    I also created a session bean and a data control for the session bean.
    I am having a JSF page that receives all the details of a new Employee and insert into database (i.e persistEntity)
    But the Employees constructor from the Data control palette is not populating the MANAGERID and DEPARTMENTID fields which are
    the foreign key constraints for the EMPLOYEES table and hence while trying to persist the entity
    with the auto populated fields an error message is thrown.
    If I used ADF BC instead of EJB then i could populate all the fields including MANAGERID and DEPARTMENTID.
    Is it possible to have two text fields for Manager and Department in the jsf to insert the Employee details with EJB as the Model?.
    If possible how do I bind the values of these fields to the Employees entity object in EJB.
    Kindly need your insights on this.
    Thanks,
    Guna.

    Hi,
    How are you using MANAGER_ID and DEPARTMENT_ID fields, are they exposed as Long (or some other numeric type), or did you map them on the entity, something like this
    @ManyToOne
    private Employee manager; // this by default uses the column named MANAGER_ID
    @ManyToOne
    private Department department; // this by default uses the column named DEPARTMENT_ID
    .... If you mapped them (which is the right way), when you create an employee you should set these attributes before persisting the entity, by using employee.setManager(manager) and employee.setDepartment(department). Then, the foreign keys get populated automatically by your persistence provider (Toplink).
    If you are using data controls, it is a little different process to set the department and manager, but you should take a look at this tutorial http://www.oracle.com/technology/obe/obe11jdev/ps1/ejb/ejb.html , it will hopefully answer a lot of your questions.
    Pedja

  • Values not getting populated in the SMOPCCAPRO

    Hi,
    We had added a new field to CPGProduct in component CPGOE_ABLOCKS. But the extension field was not included to the BOL structure automatically.
    So ,we had used the SAP note 1472567 to add the include structure INCL_EEW_MKTPL_PRD to structure CRMS_MKTPL_CPG_PROD which inturn would rectify our BOL  structure CRMS_MKTPL_IB_CPG_PROD.
    The field which we had added using AET was added in tables CRMD_MKTPL_PROD and SMOPCCAPRO. But we are facing an issue that the values are not getting populated in the SMOPCCAPRO table on save.The values are gettign populated in the CRM table.
    Do we need to implement any other SAP note on the midleware side too to rectify this issue as i infer some interface structure would be missing this field which results in the truncation of value from being passed to the CDB table . Any pointers in this regard would be helpful.
    Thanks
    Swapna.

    Hi Swapna,
    as the CDB table has been extended with the new field I assume that you have enabled the mobile flag for the enhancement.
    Then it will also extend the mobile BDOC and the data should be transfered automatically.
    If this does not happen there's an error somewhere. Either the middleware is not set up properly or the mapping routine does not transfer the fields properly.
    I recommend to raise an OSS message for this.
    Best regards
    Matthias

  • Payment Terms not getting populated on Intercompany Invoice document(FB50L)

    Hi All,
    I am facing an issue with the Vendor and/or Customer payment term on the inter-company invoice posted via FV50L/FB50L.
    We have defined companies as vendors and customers so that we could do the inter-company posting. The inter-company processing is done by FV50L/FB50L with postings to the GL accounts in respective company codes directly. Once it gets posted, SAP automatically creates 2 document: Vendor invoice and Customer invoice. The vendor invoice document would have the credit line item created automatically and so is the debit line item for the customer invoice.
    However, the payment terms from the vendor and/or customer master is not getting populated on the credit / debit line items generated automatically.
    I have verified the payment terms on vendor and customer, OBYA config, field status group for posting key & the recon account, authorizations and these thing look good.
    Have anyone come across this issue before? Please let me know.
    Point will be assigned to valuable suggestions!!
    Thanks very much for your help.
    Anish

    Hi Nakula,
    Payment term gets populated correctly from the vendor/Customer master data in case of FB60/FB70 resp. The issue is only with the automatic Intercompany Vendor and Customer line items created where it does not populate the payment terms.
    regards,
    Shreya

  • Business area is getting populated automatically

    Hi, I came across a situation where some time Business area is getting populated automatically in some of the Maintenance order. I have checked the reference object, cost centre, Plant level, WBS element etc, we have not maintained the business area anywhere. Moreover, if I create the new order with reference to order having Business area, then also business area does not come into new order, but somehow in some situation it is getting populated. I want to delete this business area from the order as it is creating problem while posting of FI docs. We get the error saying reconcilation account not found for this .
    Could you please tell me, what are the other sources of business area , from there it can come. .
    Thanks in advance.
    Sanjay

    Hi Kale,
    Make sure the field Business area is not supressed in tx. OB14. for the GL account in line item 001.
    On the other hand, have a look to the note and kba below:
    41294 - Business area in customer/vendor item
    Kba 1727802 - Business area not getting populated in sales/ purchase tax

  • Field in ALV not getting populated

    Hi all,
               I need some help. I am displaying an ALV with fields.
        GROUP     G/L ACCOUNT     Local currency       USD     Period
           100              10                       5                       5           12
           100               11                      6                       4            12
      now i have added an extra field TXT20 in the as last field of structure
        GROUP     G/L ACCOUNT     Local currency       USD     Period      TXT
           100              10                       5                       5           12          aa
           100               11                      6                       4            12         ab
    TXT should come as 3rd coloumn in the output.
    EXAMPLE:
         GROUP     G/L ACCOUNT       TXT      Local currency  USD     Period     
           100              10                      aa                  5              5           12         
           100               11                     ab                   6             4            12        
    I have changed the coloumn positions in the field catalog accordingly and I have not written or changed any select queries from earlier output.
    now my problem is PERIOD field is not getting populated in the ALv,the data is visible in the IT_FINAL which I am passing to Reuse_alv_grid_display. the field catalog is also getting build properly.
    so plz suggest some changes so that I can move ahead.

    Hi
      I don't know what's the reason and now I have no environment to test it, but you can try other way:
      1. define your fieldcate one by one as the sequence of your output like
          GROUP         G/L ACCOUNT          TXT           Local currency         USD          Period
          In this situation, you needn't use component -- position of fieldcate structure. Pay attention to
          fieldname in upper case.
       2. If only doing step1 has no effect, then adjust your structure of internal table. Sequence your
           component of IT_FINAL as the output field like step1.
       If still no effect, please let me know.

  • IS Retail - Inventory - Retail price BWGV0 is not getting populated

    Hi ,
    We have activated IS retail industry specific indicator in SBIW. Fo some reason when I do RSA3 in '2LIS_03_BF' , all the stock movements are displayed but the retial price field BWGV0 is not getting populated. Do you guys have come across this situation ? Please let me know.
    Thanks
    Hareesh

    Some documents below might worth taking look..
    Process key logic for MM inventory can be found in OSS note 492828
    Logic for MM purchasing can be found in note 684465
    Activating the process key logic in R/3 for MM should be as simple as setting the correct industry in MCB_ (also found under SBIW), but if it doesn't work look at OSS note 353042. In the end haveto use trans BF11 to add an entry to a table, even though the plugin is 2003.1 on R/3 4.6C.
    352344
    492828 Determining the transaction key for 2LIS_03_BF + 2LIS_03_UM
    Hope it Helps
    Chetan
    @CP..
    Hope it Helps
    Chetan
    @CP..

  • OVS value not getting populated in field

    Hi Experts,
    Kindly suggest me a solution for the below given issue.
    I have added three custom fileds to an already existing WD Coponent.
    And also added OVS help as an input help method to these fields.
    If I right click on the WD application and TEST, the application opens in browser and I am able to select the value from OVS list.
    If I run the application by copying the URL and paste it in the browser, or clicking on Portal link, if we select the value from OVS list that value is not getting populated in the field.
    Below is the logic I have written.
    method ON_OVS_PAYMENT .
    TYPES:   BEGIN OF ty_payment,
                 payment TYPE char4,
                 desc    TYPE char30,
               END OF ty_payment.
    * declare data structures for the fields to be displayed and
    * for the table columns of the selection list, if necessary
      types:
        begin of lty_stru_input,
    *   add fields for the display of your search input here
          payment type char4,
    *      desc    type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    *   add fields for the selection list here
          payment type char4,
          desc    type char30,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_payment       type string,
            lt_payment       TYPE TABLE OF ty_payment,
            ls_payment       TYPE ty_payment,
            lv_short         TYPE string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    *   in this phase you have the possibility to define the texts,
    *   if you do not want to use the defaults (DDIC-texts)
          ls_text-name = `PAYMENT`.  "must match a field name of search
          ls_text-value = `Terms of payment`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name = `PAYMENT`.  "must match a field in list structure
          ls_text-value = `Terms of Payment`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `DESC`.  "must match a field in list structure
          ls_text-value = `Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 20 ).
        when if_wd_ovs=>co_phase_1.
          ovs_callback_object->context_element->get_static_attributes(
              importing static_attributes = ls_search_input ).
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
          if ovs_callback_object->query_parameters is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          if not <ls_query_params> is assigned.
    ******** TODO exception handling
          endif.
    *     call business logic for a table of possible values
    *     lt_select_list = ???
          lv_short = <ls_query_params>-payment.
          CALL FUNCTION 'ZSIILESD001' DESTINATION 'LOGICALE22'
          EXPORTING
          i_payment             = lv_short
          TABLES
          ET_PAYMENT            = lt_payment.
        lt_select_list[] = lt_payment[].
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    *   apply result
          if ovs_callback_object->selection is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `PAYMENT`
                                   value = <ls_selection>-payment ).
          endif.
      endcase.
    endmethod.

    Hi Pradeep,
    I don't think it really make any difference to the application run if we run from SE80 or run via application url.
    Try to set the external break point in OVS PHASE3 for your user. Check if the break point is reached and data is set after selection from OVS.
    Regards,
    Rama

  • Users details not getting populated in the portal tables..

    Hi,
    We have implemented single sign on (SSO) and we do not create users in the portal as user/pwd come from OID.
    Now becoz of this the portal tables are not getting populated.I require that all the users of the OID to be populated in the portal tables. How can I do it.I depserately require it.

    You can use the function wwsec_api.activate_portal_user to create the shadow records in the portal repository.
    Ref. : http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsec_api.html

  • Values not getting populated in the o/p

    Hi,
    I have a requirement,where in which I have to add MRP Controller(marc-dispo) and production scheduler(marc-fevor) fields in the selection screen and the same should be added in the o/p.These fields are not getting populated in the o/p,even if I give some values for these fields in the selection-screen.What would be the reason for this?
    Regards,
    Hema

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Amount not getting populated in me21n

    hi,
    amount is not getting populated for the condition type in the conditions tab of me21n.

    Hi
    Have you maintained Info record with conditons? Please write in detail.
    regards
    Srinivas

  • Default Value in a DFF is not getting populated in Self Service Page

    I had an issue in Self Service Page.
    In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
    But this field is not getting populated with the default values.
    But this is working fine in Forms , i.e the default value is populated in forms.
    Why the default value is not populated in Self Service Pages?
    For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
    Context Code : GB_CODE
    Segment : "Enter the Group"
    and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
    In forms if am not entering any value, then its defaulted to 'XXXXX'.
    But in Self Service this is not happening.
    Can anybody help me out...

    Actually, I have narrowed down the problem. It is not quite the same.
    DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
    So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
    We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
    Any thoughts?
    Thanks much!

  • UWL : New tasks are not getting populated in the UWL

    Hi Experts,
        I<b> configured my uwl to my backend system , the completed tasks are getting populated in the UWL but the New tasks and in progress tasks are not getting populated in the UWL.(some thing strange).</b>
    When  i am trying to configure the universal  worklist system ,its givin me a caution message as  <b>System SHDCLNT012 does not support optimized delta pull</b> . where SHDCLNT012 is the system alias name.
    Is this the problem for not populating the new tasks in the UWL?
    Please provide me  the solution..
    Thanks & Regards,
    Sateesh

    Hi Sateesh,
    This message will appear if either the background jobs are not scheduled, or UWL cannot tell that the background jobs are scheduled. The message no longer appears once you ensure the background jobs are scheduled to run via the user id UWL_SERVICE and that user is mapped to my portal user ID UWL_SERVICE.
    Kai

  • WBS element is not getting populated in Excise entry in Project billing

    Hi SAP Guru's
    We have the case where we are doing the billing from manufacturing plant against Project. While billing WBS element is appearing in the invoice but in excise invoice entry same is not getting populated. This is affecting RR and P&L.
    Can you help me by providing the standard solution to meet this requirement or update if we can meet this requirement by some function module or through any exit.
    Thanks
    Surender Gupta

    Hi,
      In transaction" VTFA" and for your sales and billing type,select your item category and in the same scree,your pricing type should be "D".This will copy all the conditions from sales order item.
      Reward if this helps.
    Regards
    Karan

Maybe you are looking for

  • Windows 8.1 Update 1 Enterprise Availability

    My university offers Windows 8 Enterprise to students and staff. When 8.1 came out, Enterprise users couldn't get the update from the Windows Store and had to get it at the Volume Licensing Service Center (VLSC). Essentially, we had to wait on our IT

  • No sound from DVD on XP

    Hello I have a mac book pro running XP pro Sp2 via boot camp and when I try playing a DVD with media player it shows the video but there is no sound. i can play it fine on the mac side but have to use it on the windows because of the presentation sof

  • Question about DataService and Assembler

    I know that in order to use a DataService you need an Assembler and an ActionScript class which is a mirror of the Java objects the Assembler will be working with. My question is, can the same Assembler work with two or more different Java objects???

  • OneNote 2010 navigating pages moves the view around.

    I am using Windows 7 64bit OneNote 2010.  The problem I am having is when navigating from different pages or sections in the notebook.  I scroll or zoom on page 1 navigate to page 2 and scroll or zoom in on something then navigate back to page 1 and

  • How to decode .class files to .java files?

    I just want to know that how can I decode .class files back to .java files? If anybody can tell, it will be of great help.