How to find all Custom tables (transp) that have a custom transaction code?

My client has asked us to provide a list of all Z (custom) tables and the associated transaction codes for maintaining them.
I know I can manually do this with a Z* search in se11 and then do a where used on each table to find out if a view (transaction code) exists for the table - BUT THIS WOULD TAKE HOURS IF NOT DAYS TO DO AND BE LIABLE FOR HUMAN ERROR.
Does anyone know the way we could code a search for this information (ABAP) and know what tables to use?
Thanks.
Scott

Hi
You can search in table TSTCP for custom tables that have a maintainance view and a transaction associated, which is a call to SM30. To do this, just select the table with TCODE starting with 'Z' and PARAM starting with '/*SM30'.
But you can also have some Z tables updated by an module pool program. This is more complex to find, because you don't know if you simply have the field used in the screen for some other use in a transaction, or if it is in that screen just to update the table. In this case, you need to analyze each screen.But I hope the first tip help you to solve your problem.

Similar Messages

  • How to find all the tables associated for a particular transaction

    Hi-
    May I know how to find all the tables, related(foreign key) tables for a transaction within SAP GUI?
    Up to my technical knowledge, this can be achieved by looking database diagrams from DB level. But that would be for entire database as a whole. What I'm expecting is to see transaction level relative tables that too from SAP GUI. Please share the possibilities if any.
    Regards
    Sekhar

    Dear Micky Oestreich
    May be we possess expertise or high level experience, it should not show up in our way of communication. Every professional starts with the basic stuff to learn. When the question is raised in such minimum polite way, the same level of courtesy is expected in return. If you felt my question was basic, you might have refused it gently. If you are in good mood or bad mood it doesn't matters.
    Hi Vengal Rao
    Thanks for your response. It helped me.
    Regards
    Sekhar

  • How to view all the ejb's that have been deployed.

    Is there any option to view all the ejb's that have been deployed.

    In Oracle9iAS , you can use Enterprise Manager to view
    all that is deployed and get lot more information about the ejbs, servlets, JSps etc...
    more info available at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/core.902/a92171/monitor.htm#1005616

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • How to find all the table used in a report

    Hi Expert ,
                    Is there is any program  to find out all the tables which  are used in a perticular report .
    Thanks in advance
    Tarak

    Well, so far Viquar Iqbal has given the only really correct answer - use SQL trace.  The reason the others are incomplete, is because they don't consider that a report might call a function module or a class method that accesses a table.  In fact, for many applications this is exactly what happens - db accesses are abstracted away from the main program.
    The other alternative to SQL trace is to use Run Time Analysis.  The advantage of SQL trace is that it shows the tables hit in order.
    matt

  • How to find All backup table in the d/b with different suffix?

    I need to find out all backup tables where table having suffix like BKUP and some dates in number.
    For e.g.:
    WX_ACCOUNT_YEAR_FUND_BKUP
    WX_ACTUALS_CATEGORY_D_APR05
    WX_ACTUALS_F_APR05
    WX_ACTUALS_F_BACKUP_APR05
    WX_ACTUALS_F_JAN_17_2006
    WX_ACTUALS_F_JUL05
    WX_CHECK_BOOK_HEADER_D_010306
    WX_DIMENSION_ACTUALS_OLD
    WX_DIMENSION_ACTUALS_OLD_APR05
    W_ORG_DSXBKP09292005
    Is there any way to find such tables by using SQL query.

    WITH T
    as
    select 'WX_ACCOUNT_YEAR_FUND_BKUP' table_name from dual
    union all
    select 'WX_ACTUALS_CATEGORY_D_APR05' from dual
    union all
    select 'WX_ACTUALS_F_APR05' from dual
    union all
    select 'WX_ACTUALS_F_BACKUP_APR05' from dual
    union all
    select 'WX_ACTUALS_F_JAN_17_2006' from dual
    union all
    select 'WX_ACTUALS_F_JUL05 ' from dual
    union all
    select 'WX_CHECK_BOOK_HEADER_D_010306' from dual
    union all
    select 'WX_DIMENSION_ACTUALS_OLD' from dual
    union all
    select 'WX_DIMENSION_ACTUALS_OLD_APR05' from dual
    union all
    select 'W_ORG_DSXBKP09292005' from dual
    union all
    select 'W_ORG_DSXBKP' from dual
    select table_name from t
    where regexp_like(table_name,'[[:digit:]]$')
    or ( table_name  like '%BKUP' or table_name  like '%OLD')I have considered the table names ending with OLD also as backup tables. If this is not a backup table then remove the condition from the where clause
    Regards,
    Mohana

  • How to find which profiles created with SU02 have a specific company code

    We just added another company code.
    We have company code 10 & 20
    We're trying to find out which profiles created with SU02 have company code 0010 or * for BUKRS
    I know that you can get that information with SUIM for field text BUKRS and it will show you all the roles or I can browse table agr_1252,
    But how do I get the same information for profiles created with SU02
    I just want to make sure that users that have company code 0010 cannot access company code 0020 and vice versa
    Thanks a lot in advance, this will be very helpful for me
    Thanks again
    Joe

    Hello Joe,
    Solution is to be found in SUIM->Profiles by complex selection criteria. In the selectin screen uncheck the field 'Generated Profiles'
    (t-code=S_BCE_68001409)
    Total Questions:         58 (34 unresolved)
    Please clean up your threads....
    Thread locked as per forum rules.
    b.rgds, Bernhard

  • How to find all child tables

    Hi,
    I have a set of tables that are in multi level hierarchy.
    Here is the example.
    Table1 (id is primary key)
    Table2 (id,loc is primary key. and id is refering to table1.id) Table3(id,name is primary key and id is refering to table1)
    Table 4(emp_id,group,name,loc_grp is PK. emp_id and loc_grp is refering to table2) Table5(std_id,name,dpt,sal is pk and std_id,name is refering to table3)
    Now, I want to get all tables and their columns that are refering to Table1.id. In this example, it should return table2, table3,table4 and table5 along with their columns.
    some thing like this.
    Table_name Column_name
    Table2 id
    Table3 id
    Table4 emp_id
    Table5 std_id
    Please suggest how to get this.

    HI ,please try this one .
    SELECT a.table_name, c.column_name, b.table_name AS child_table,
           d.column_name, b.r_constraint_name
      FROM user_constraints a,
           user_constraints b,
           user_ind_columns c,
           user_cons_columns d
    WHERE a.constraint_type = 'P'
       AND a.constraint_name = b.r_constraint_name
       AND b.constraint_type = 'R'
       AND a.table_name = c.table_name
       AND a.constraint_name = c.index_name
       AND b.constraint_name = d.constraint_name
       AND a.table_name = '<TABLE_NAME>' ;thanks,
    P Prakash

  • How to find out the table column that is required for index

    hi all,
    i want to the column required for index in one schema.
    what are the ways to achieve the same.

    To know what columns to index you must, not should, but must, know your data, know how it will be used, and know how your WHERE clause filters will affect how the data is accessed.
    Building indexes based on some rule is a waste of CPU, disk i/o, and space.
    To build indexes that enhance rather than degrade a system requires research and the use of explain plan reports generated with DBMS_XPLAN.
    http://www.morganslibrary.org/library.html

  • How to find all the tables by feild value in oracle

    Hi ...
    I have a requirement to find the tables in a particular schema(suppose DEMO) by Field value..
    Ex:
    suppose in a  schema called DEMO  i have the tables.......T1,T2,T3,T4,T5..
    all the above tables have the name column..
    now i wan to know the tables whose column(name) have value as rajani.......
    pls help.........
    thank you
    .+

    Solutions from previous requests for the same...
    michaels>  var val varchar2(5)
    michaels>  exec :val := 'as'
    PL/SQL procedure successfully completed.
    michaels>  select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
    --        where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
           order by "Table"or
    11g upwards
    SQL> select table_name,
           column_name,
           :search_string search_string,
           result
      from (select column_name,
                   table_name,
                   'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
              from cols
             where table_name in ('EMP', 'DEPT')),
           xmltable (str columns result varchar2(10) path '.')
    TABLE_NAME                     COLUMN_NAME                    SEARCH_STRING                    RESULT   
    DEPT                           DNAME                          es                               RESEARCH 
    EMP                            ENAME                          es                               JAMES    
    EMP                            JOB                            es                               SALESMAN 
    EMP                            JOB                            es                               SALESMAN 
    4 rows selected.

  • How to find out the table names related to fields of Transactions

    Hi All,
       My Task is to extract the data from diff tables whose names i need to find out . I was given with the transactions like Me31k,Me32k,Migo,Miro etc. Can anyone Plz suggest me on how to do this apart from debugging the transaction or runnig the SQl Tracer .

    <b>Go to SE93-> give ->msc3n double click program -> in top include you`ll find the tables OR search key word "tables" in program .</b></u>FYI
    tables: dfbatch, " Dynprofelder
    bncom, " allg. Kommunikationsstruktur
    mtcom, " Kommunikations-WA Mat.stamm
    makt, " Materialkurztexte
    mbew, "#EC NEEDED
    t001w, " Werke
    t001l, " Lagerorte
    mara, " Konzerndaten zum Material
    marc, " Werksdaten zum Material
    mard, " Lagerortdaten zum Material
    mch1, " Chargendaten
    mcha, " Chargendaten werksbezogen
    mchb, " Chargenbestände
    mchx, " Bewert.arten zu werksübergr. Ch
    mchuwl, " Arbeitsvorrat Charge Benutzer
    thead, " SAPscript: Text-Header
    cdhdr, " Header Änderungsbelege
    cdshw, " Positionen Änderungsbeleg
    t148g, " Feldauswahl Sonderbestände
    t148zt, " Texttabelle Zustandsschlüssel
    t149c, " globale Bewertungstypen
    t005u, " Provinzschlüssel Texte
    t005t, " Bezeichnung der Länder
    tvfmt, " Materialgruppe Export Bezeichn.
    bwtty, " Bewertungstyp
    rmclm, " E/A Felder Klassifizierung
    inob, " Umschlüsselung Klassif.objekt
    kssk, " Zuordnung Objekt <-> Klasse
    klah, " Kopfdaten Klassen
    t134, " Materialarten
    prdkzt, " Texte zum Periodenkennzeichen
    *prdkzt. "#EC NEEDED
    Hope this’ll give you idea!!
    P.S award the points.
    Good luck
    Thanks
    navjot

  • Query for retreiving table names that have the same data

    Hi,
    Does anybody know how to retreive all the table names that have the same data in their respective tables but i dont know the table names or its fields. Is there any possible query to perform this action???
    Thanks in Advance,
    Balaji.

    What about...
    WITH manager_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id
      AND   m.name = :P_MANAGER)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    ), all_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    SELECT a.*
    FROM   manager_list m,
           all_list a
    WHERE  m.employees = a.employeesWould be easier in 11g, but I don't have an installation here so this is based on 10g.
    Cheers
    Ben

  • How to find out the tables that will be affected using a transaction

    Hi,
    How to find out the list of database tables that will be affected when we use a standard transaction(ex. VA01, MM01..)...?(like When we create a salesorder, which tables and which fields will be affected..?)
    Is there any transaction or a simple way to find out the solution?
    Thanks,
    Pradeep.

    Hi,
    Give transaction code and in menu(system- status),  double click onthe Program name.
    Check in TOP INCLUDE - you will find all the tables related to that transaction.
    Thanks,
    Anitha

  • How to find all photos that have NO faces, as opposed to UNNAMED faces?

    I find that iPhoto often misses faces entirely, especially if the face is wearing sunglasses or a hat or both.  Sometimes it is rather inexplicable that it has missed a face, as the face seems obvious.
    If you use the smart album method to find all "unnamed" faces, the photos have at least one unnamed face identified.  You can then add any missed faces to those photos.
    But what about photos in which iPhoto has failed to identify the existence of even one face?  Or for that matter, if I want to see only pictures of landscapes or objects that have no people?  Does anyone have a method for finding all photos that have no faces in them at all?
    For me, the idea is to find all unidentified faces and add them.  But as I pointed out above, there may be other uses for this.
    Any ideas, anyone?
    Thanks

    Awesome !!! Thank you very much. I did not realize you could use JavaScript to code against iTunes ...
    I don't know if you have written any of these yourself, but do you know how to maybe create a smart playlist with this information via script? If not, no big deal. At least I know have something which I can use, I will just have to run it every so often.
    Thanks again for pointing me to that site!

  • How I can find all the entities bol that contains a field.

    Hello, I'm trying to find all the entities bol that contains the field account_group, in the model_browser but in Tx "GENIL_MODEL_BROWSER" I have to see all bol entities if contains this field.
    My question is:
    Is there a transaction or other method where I introduce the field and appear all the Bol entities that contains this field????
    Thanks in advance

    To delete network locations:
    System Preferences / Network
    On the locations drop down menu, select Edit Locations, choose the location you want to remove and click on the minus sign.

Maybe you are looking for