How to get which tables are being updated by running any transaction code

Hi experts,
please tell me how to find which system table are being updated after running any transaction code .
please tell me the procedure to find that.
Thanks & Regards,
Yogesh

Hi yogesh patil,
for the dbtable..
goto technical settings and activate the log...
it will tells u..
transaction...Table history (SCU3)
Log data changes
The logging flag defines whether changes to the data records of a table
should be logged. If logging is activated, every change (with UPDATE,
DELETE) to an existing data record by a user or an application program
is recorded in a log table in the database.
Note: Activating logging slows down accesses that change the table.
First of all, a record must be written in the log table for each change.
Secondly, many users access this log table in parallel. This could cause
lock situations even though the users are working with different
application tables.
Dependencies
Logging only takes place if parameter rec/client in the system profile
is set correctly. Setting the flag on its own does not cause the table
changes to be logged.
The existing logs can be displayed with Transaction Table history (SCU3)
Reward points if helpful

Similar Messages

  • How to find which tables are being used by a workbook.

    I was asked by the client to generate a report which will show the Workbook name and it's corresponding tables/views.
    Any idea on how to use the EUL tables for this purpose. I know the SQL query to find the tables in case the workbook was run at least once. But I want to show the Workbook and it's table details even the report was never run.
    Advanced thanks,
    Lokesh.

    Hi Jay
    While we're on the subject of scripts, here's a couple more you might like:
    Script 1:
    =========
    This one shows you how many times an item has been used. It is useful for determining how often users make use of items in a folder. It could be used as research for a materialized view, for dropping items which are not used, or for understanding usage.
    SELECT
    OBJ.OBJ_NAME FOLDER,
    EXP.EXP_NAME ITEM,
    COUNT(QPP.QS_ID) USAGE
    FROM
    EUL5_OBJS OBJ,
    EUL5_QPP_STATS QPP,
    EUL5_EXPRESSIONS EXP
    WHERE
    OBJ.OBJ_NAME = <Folder Name>
    AND OBJ.OBJ_ID = EXP.IT_OBJ_ID
    AND INSTR(QPP.QS_OBJECT_USE_KEY,OBJ.OBJ_ID) > 0
    AND INSTR(EUL5_GET_ITEM_NAME(QPP.QS_ID),EXP.EXP_ID) > 0
    GROUP BY
    OBJ.OBJ_NAME,
    EXP.EXP_NAME;
    Script 2:
    =========
    This one examines the whole EUL and displays a count of the number of times a worksheet has been run by folder. It also shows the date and time of the last run. This one is useful to determine the most and / or least popular worksheets. Adjusting the ORDER BY clause can throw up some interesting results.
    SELECT
    OBJ.OBJ_NAME FOLDER,
    MAX(QPP.QS_CREATED_DATE) LAST_DATE,
    QPP.QS_DOC_OWNER OWNER,
    QPP.QS_DOC_NAME WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS SHEET_NAME,
    COUNT(QPP.QS_ID) USAGE
    FROM
    DRAKE.EUL5_OBJS OBJ,
    DRAKE.EUL5_QPP_STATS QPP
    WHERE
    INSTR(QPP.QS_OBJECT_USE_KEY,OBJ.OBJ_ID) > 0
    GROUP BY
    OBJ.OBJ_NAME,
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_DETAILS,
    QPP.QS_DOC_NAME
    ORDER BY
    OBJ.OBJ_NAME,
    COUNT(QPP.QS_ID) DESC;
    I'm considering a blog entry of useful EUL scripts. Anyone interested? Yes - either reply here or drop me a line.
    Best wishes
    Michael

  • How and when does table SWIWIOBJCT being updated / populated with workitem

    Hi Experts,
    I am currently debugging an issue wherein a Invoice Workflow is being displayed in the Purchase Order Workflow Overview. I debugged this and found out that this is because there are entries being selected from table SWIWIOBJCT and this will be also displayed in the workflow overview.
    So what I am trying to look into is how does this table being populated. Like, what are the criteria and requirements that this table will be updated / populated.
    Any help is highly appreciated.
    Thanks so much in advance,
    Larissa
    Edited by: Larissa Taguiamon on Apr 14, 2010 7:48 PM

    Abdullah
    The EKBE table will have items related to PO history - so if you go to a PO line item and look at the PO history you will see an invoice but you will NOT see a payment.   Payments are not directly related to a PO and therefore no payment information would appear in your PO history and therefore it wouldn't be on the EKBE table either 
    Sandra

  • Way to find which tables are being accessed

    Hi Guys
    I have a large database and i want to find which tables are not being accessed (even select) from a specific period of time. is there any way to find out . I am using oracke 10g release 1
    Regards
    Khurana
    Edited by: Khurana on Sep 8, 2009 4:29 PM

    select sp.object_owner,sp.object_name,
    (select sql_text from v$sqlarea sa
    where sa.address = sp.address
    and sa.hash_value =sp.hash_value) sqltext,
    (select executions from v$sqlarea sa
    where sa.address = sp.address
    and sa.hash_value =sp.hash_value) no_of_full_scans,
    (select lpad(nvl(trim(to_char(num_rows)),' '),15,' ')||' | '||lpad(nvl(trim(to_char(blocks)),' '),15,' ')||' | '||buffer_pool
    from dba_tables where table_name = sp.object_name
    and owner = sp.object_owner) "rows|blocks|pool"
    from v$sql_plan sp
    where operation='TABLE ACCESS'
    and object_owner IN ('YOUR_USER_NAME')
    order by 1,2
    It will tell you that currently "OBJECT_NAME" is being accessed; but i think it is for full table scan.
    Source:http://www.oracle.com/technology/oramag/code/tips2005/032105.html
    Regards
    Girish Sharma

  • Which tables are being used to extract the data for the materi Extractors

    Hi
    please advise which tables are used to extract the data for the extarctors
    0MAT_SALES_ATTR,
    0MATERIAL_ATTR,
    0MAT_PLANT_ATTR
    0PLANT_ATTR
    ,Many thanks.

    Hi,
    Activate a database trace using ST01. Then perform the MM03 operation and goto the SD Texts tab. Now stop the trace and see if you can locate either a table or program which you can utilize in the log.
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55f993545a11d1a7020000e829fd11/frameset.htm
    Hope this helps..
    Rgs,
    Ravikanth.

  • How to see what Tables are being used in all reports

    Post Author: tmashley
    CA Forum: Crystal Reports
    Hello,
    How can I see what database tables are used in all my online reports? I have around 1000 reports posted to Enterprise over 6 different datasources. If possible I would like to see the fields within those tables that are being used to.
    I am using Crystal Reports XI Release 2
    Any help is appreciated
    Thanks,
    Tom

    I don't think you can see the databases of the reports unless you download the report onto your pc as a Crystal Report format and then open it under Crystal Reports.
    This way it will open the report within Crystal Reports and will show you the datasource it is coming from.
    I doubt if you can see them online.
    Kind Regards
    Jehanzeb

  • SharePoint Databases - How to determine which ones are being used and which ones aren't

    I am not sure where to exactly post this question.  On the SQL Server side or on a SharePoint side.
    I am a SQL Server Database Administrator who is monitoring some SharePoint databases.  On a daily basis it seems that they are creating new databases but don't delete the databases that they are no longer using.  For example, they might be testing
    on a development server and if things aren't working properly instead of asking that the databases be deleted they just go ahead and create new databases to do what ever they need to do.  Is there a way on the SQL Server side to determine which SharePoint
    databases are being used and which ones aren't being used?  Or does one determine this information through the SharePoint Central Administration console?
    lcerni

    Hello,
    The following query gives you the databases now in use.
    SELECT
    DISTINCT d.name
    FROM
    sys.dm_tran_locks
    tl INNER
    JOIN sys.databases
    d
    ON
    tl.resource_database_id
    = d.database_id
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to find which tables are filling by a transaction

    hi ,
            what is the process to know which talbes are filled by a particular transaction eg, by using tcode vd03 we  create customer , which we can see in kna1 tables.

    Use trace like
    - SQL trace, [ST05 (doc)|http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/cb632772cd0cd4e10000000a1553f7/frameset.htm] will show you the tables accessed.
    - performance trace, [SE30 (doc)|http://help.sap.com/erp2005_ehp_04/helpdata/EN/00/e0a73e5b7a424de10000000a114084/frameset.htm] will show you the tables accessed, the FM used, etc.
    NB: VD03 is an inquiry transaction, i suppose you meant VD01
    Regards

  • How can I verify that the Trace and Points tables are being updated?

    I am using MSQuery to look at the data in my Citadel database, but it appears there is no data in the database. There are transactions in the A/E viewer. I am totally new to lookout and citidel. TIA.

    Hi Jeff,
    Here are some old articles on accessing Citadel 4 data from MSQuery and MSAccess. These should at least give you a starting point:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/85CECF0AEEC5B1B28625680800733CC6
    http://zone.ni.com/devzone/conceptd.nsf/webmain/0A3D4EEAC9208065862568080072DB9F
    Also, do you have NI-MAX? You can check for data in there too.
    Hope this helps,
    Khalid

  • How to get which fields are currently displayed by ALV?

    Hi ,
    I have a program which displays list in the form of ALV . I have a parameter on the screen which takes the layout name from the user. At the same time I have the parameter which takes the filename from the user.
    Now the program should write only those fields to the file which are displayed on the screen depending on the layout.
    How can I get the names of the fields which are displayed on the ALV layout so that I can write only those fields to the file ?
    [Here the requirement is such that we have to provide seperate download to file option even if we have the same functionality provided by the ALV]
    Please suggest.
    Naina

    YOu can use one these FMs before filling up your download table:
    REUSE_ALV_GRID_LAYOUT_INFO_GET
    REUSE_ALV_LIST_LAYOUT_INFO_GET
      IF g_grid IS INITIAL.
        CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET'
             IMPORTING
                  es_layout      = g_layout
                  et_fieldcat    = g_fieldcat_tab[]
                  et_sort        = g_sortfields_tab[]
                  et_filter      = g_filter_tab[]
    *           ES_LIST_SCROLL = G_SCROLL
                  es_variant     = g_variant
             EXCEPTIONS
                  no_infos       = 1
                  program_error  = 2
                  OTHERS         = 3.
      ELSE.
        CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET'
          IMPORTING
            es_layout      = g_layout
            et_fieldcat    = g_fieldcat_tab[]
            et_sort        = g_sortfields_tab[]
            et_filter      = g_filter_tab[]
            es_list_scroll = g_scroll
            es_variant     = g_variant
          EXCEPTIONS
            no_infos       = 1
            program_error  = 2
            OTHERS         = 3.
      ENDIF.
    Regards,
    Naimesh Patel

  • How to reorg my tables that being updated very frequently during batch jobs

    Hello All,
    See I have 4 tables of them 250+ Gb and rest 2 50+(<100) Gb in size.
    Now client is asking to reorg them. No I have two questions
    1. When I should go for reorg.?
    2. and how?
    Thanks in advance.
    Regards,
    Alok

    user577981 wrote:
    Hello All,
    See I have 4 tables of them 250+ Gb and rest 2 50+(<100) Gb in size.
    Now client is asking to reorg them. No I have two questions
    1. When I should go for reorg.?
    2. and how?
    Thanks in advance.
    Regards,
    AlokAnd I'd ask the client "Why?" What problem is exhibiting itself that would indicate a table reorg is the proper response?
    You'd be surprised how many "clients" - includeing commercial software developers, don't understand db internals and look for silver bullet solutions to problems, or even "anticipated" problems.
    That's not not say that there <i>isn't</i> a legit reason for doing a table reorg, but there are far fewer occurances of legit reasons than there are people demanding table reorgs simply because they don't know what else to do.

  • Recording which articles are being read

    I want to create a cloud tag of popular topics
    What i need to work out
    1. How to record which articles are being read
    2. How to display these in a tag cloud
    3. Then when a user clicks on a tag - all the articles which
    similar
    tag are displayed
    What i have done so far (how am i going?)
    Db called tags
    Tables
    tag, article title, article url, article description
    # each article has a few different tags
    e.g
    article for preventing std has the following tags
    std, sex, safe sex, HIV
    # the article itself doesnt exist in the database as i read
    this
    wasn't good for SEO. so the article itself exists on a static
    page.
    I have close to 100 medicla articles and add about 4 or 5 a
    month
    so i would love to get this working to save me time and
    effort.
    Many thanks
    Mark Holloway
    coordinator
    www.healthhokkaido.com

    Have been using this code from the pete frei tutorial - cloud
    tags -. It is working fine.
    In the case of my database, each article has 3 tags
    associated.
    So there are 3 fields as opposed to 1 from which to count the
    tags.
    How could I adjust the code to take accountfor this?
    Also I am a begineer so if you had the time to provide a
    short explanation that would also be great.
    <cfquery datasource="cart" name="tags">
    SELECT COUNT(tag) AS tagCount, tag
    FROM list
    GROUP BY tag
    </cfquery>
    <cfset tagValueArray =
    ListToArray(ValueList(tags.tagCount))>
    <cfset max = ArrayMax(tagValueArray)>
    <cfset min = ArrayMin(tagValueArray)>
    <cfset diff = max - min>
    <cfset distribution = diff / 3>
    <style type="text/css">
    <!--
    .smallestTag { font-size: xx-small; }
    .smallTag { font-size: small; }
    .mediumTag { font-size: medium; }
    .largeTag { font-size: large; }
    .largestTag { font-size: xx-large; }
    -->
    </style>
    <cfoutput query="tags">
    <cfif tags.tagCount EQ min>
    <cfset class="smallestTag">
    <cfelseif tags.tagCount EQ max>
    <cfset class="largestTag">
    <cfelseif tags.tagCount GT (min + (distribution*2))>
    <cfset class="largeTag">
    <cfelseif tags.tagCount GT (min + distribution)>
    <cfset class="mediumTag">
    <cfelse>
    <cfset class="smallTag">
    </cfif>
    <a href="/tag/#tags.tag#"
    class="#class#">#tags.tag#</a>
    </cfoutput>

  • How to find out which queries are being used ?

    We have a number of InfoSet Queries which the users are calling from SQ00. Some of them are very old.
    I would like to find out which queries are being used, so we can have the idle queries decommissioned.
    How can this be done ?
    Best regards,
    Peter

    Hi,
    It's been a while since I've done this but one method is to use ST03N & look for the execution of programs with an AQ* prefix.  The general structure is AQZZ/<query user group><query name>.
    You could probably get the same info from the audit log but I've not checked that.
    Cheers,

  • How can I know in which Tables are the fields stored

    Hi,
    In transaction FSE3 Display Financial Version
    Statement Version, if I drilldown in details, I can
    see Item No, Chart of Acc, From Accountm To Account D,
    C.
    when I do a F1 on the fields, I can see that it is a
    structure. How can I know in which Tables are the
    fields store?

    Hi Ankit,
    There are no rules or guidelines for finding the table but i will share some of the tips used generally.........but i am not sure if we can do it for a tree structure..but try anyways....
    Double click on the structure name seen on the F1 pop up window...
    in the structure screen, try to analyse the field which is very important something like a key in that set of fields or do the same for the fields which we feel are more important,then click on the domain for that field....once in the domain..click on the "where used list for the domain" on the top...
    it will display a pop up -> select only "table" and then press "Tick/OK"..A list will be displayed with the data element and table name ..from this we need to find out the right one we need either by going for text of the table or going through each and every one
    It takes time but does the job.....
    Regards
    Byju

  • How to get the tables present in which datafiles?

    Hello,
    I want to find the which tables are present in which datafiles.
    Can anybody please tell me how can I achieve this goal?
    Thanks in advance.
    Himanshu

    Hi Himanshu,
    why not!not you can only know the datafile which it belongs but the tablespace alos.belongs.here's the query.
    column file_name format a25
    column tablespace_name format a10
    coulmn segment_name format a10
    I am using emp table which is in scott schema.
    select d.file_name,d.tablespace_name,e.segment_name
    from dba_data_files d, dba_extents e
    where segment_name = 'EMP'
    and d.file_id=e.file_id ;
    this will solve your problem.and i wanyted to know one thing from you are you working some where??
    thanks..

Maybe you are looking for