Find custom table used by  which object details

Hi we have one custom table with only one column.This table is used for value set type 'TABLE'.
This table was created by some one else earlier than me.In this table contract id values will be stored so that in the value set these values will be appeared as all knows.
Now the problem is in the value set some of the values(contract ids) are missing.So i need to find out how the insertion is being done like within the package or in any form.
I have checked in toad object_name-->used by but it shows only synonym of this object.
Can any one suggest me how to find the insertion into this table is happening.
Thanks

how the values are populated into this table like one time insertion or through any procedure/function/package.If you're looking for missing data you might find DELETE access to be just as fruitful a line of investigation....
You can find out which PL/SQL programs use the table through the _DEPENDENCIES views as Dan has demonstrated.  That will not show you any dependencies on programs which are outside of the database (client or web server apps), nor will it show you access through spontaneous SQL statements.  That's why you need proper audit in place.  Unfortunately you cannot do that retrospectively, but there is always Log Miner.
Cheers, APC
blog: http://radiofreetooting.blogpsot.com

Similar Messages

  • Need a table which all custom tables used in the program

    HI to all experts.
    I need a table  which contains  all the custom table used in the program . Or any other method which can accomplish this.

    hi max,
    thanks for u r reply . if we use the statement tables in the report and write some tables
    for example: tables: zf020
                                    zf023
    is there any table which stores this .

  • I want to update the Custom table using the data available in ITAB.

    Hi,
    I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
    I want to update the custom table using the itab data How is it possible?
    Is any possible by using Modify ?
    DPK.

    example here
    modifying datbase table useing internal table
    advises before updating this datbase table plz lock that table to avoid incosistency
    write the logic for modifying
    Modify the database table as per new dunning procedure
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    and finally unlock the table
    example
    *To lock table for further operations
    constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = lc_tabname
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc EQ 0.
    To fetch all the contract accounts for customers of the segment
    Households/SME.
    PERFORM fetch_contract_accounts using lc_tabname .
    ENDIF. " IF sy-subrc EQ 0.
    *wrote the logic
    Modify the database table as per new dunning procedure from internal table
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    *unlock the tbale
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    TABNAME = uc_tabname .

  • Table used for repository objects

    Hi Guys,
    Would like to check with you for the table used for below object type:
    1. Program = TRDIR
    2. Smartform = STXFORM
    3. SAPscript = ???
    4. Transcaction code = TSTC
    Thanks in advance.

    Hi Ravi,
    Thanks for your prompt reply. But i may know which table stored the description/text of SAPscript?
    Thanks in advance.

  • Find all tables used in a stored procedure

    Hi,
    I have a requirement where i have to find all the tables used in a stored procedures from different  databases.
    Ex: i have a stored procedure where i use few tables from MASTER database and some from STAGE database.When i have written a query to find all tables used in the stored procedure, i am getting only those database table where i run the query and procedure
    exists.
    I have stored procedure SP1 in Master database, but i use the tables from both master and stage.
    When i run this, i am getting the tables only from Master database but not from stage. i hope my requirement is clear.
    I am trying to find all the tables from all databases used by a stored proc.
    ;WITH stored_procedures AS (
    SELECT 
    o.name AS proc_name, oo.name AS table_name,
    ROW_NUMBER() OVER(partition by o.name,oo.name ORDER BY o.name,oo.name) AS row
    FROM sysdepends d 
    INNER JOIN sysobjects o ON o.id=d.id
    INNER JOIN sysobjects oo ON oo.id=d.depid
    WHERE o.xtype = 'P')
    SELECT proc_name, table_name FROM stored_procedures
    WHERE row = 1
    ORDER BY proc_name
    Please advice

    Your question is not entirely clear. You need to run the query on different databases.
    You may find this blog post helpful
    How to get information about all databases without a loop
    Check the last script in that blog post and modify to your particular purpose.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Updating custom table using call transaction

    How to update a custom table using Call Transaction method. How can we use Table control (Module Pool) for this purpose).

    Vignesh,
    Create a table maintenance transaction for ur custom tables. Check this link for ref...
    http://allaboutsap.blogspot.com/2007/04/table-maintenance-in-sap-step-by-step.html
    And create a BDC recording and code a program accordingly...
    regards,
    karthik

  • Table name to find a variable used in which queries

    Hello,
    what is table name to find a particular variable used in which queries.

      write 'Variable Name:'.
      write vname.
      write /.
      write 'Variable Type:'.
      write variabletype.
      write /.
      write 'Based on Infoobject:'.
      write variobj.
      write /.
      write 'Variable Processing Type:'.
      write varprocesstyp.
      write /.
      write 'Variable Select Parameters:'.
      write varselectiontyp.
      write /.
      write 'Variable Ready for Input:'.
      write varinputtyp.
      write /.
      write 'Variable Entry criteria:'.
      write varentrytyp.
      write /.
      write 'Variable can be changed during navigation:'.
      write varchangeable.
      write /.
    *  write
    Select single varuniid from rszglobv into varid where vnam = p_varnm.
    select single TXTLG from RSZELTTXT into variabledescription where ELTUID = varid and OBJVERS = 'A'.
    write 'Variable Description:'.
    write variabledescription.
    write /.
    write /.
    querydet-querytechname = 'Query Technical Name'.
    querydet-querydesc = 'Query Description'.
    write querydet-querytechname.
    write querydet-querydesc.
    write /.
    Select SELTUID from RSZELTXREF into table queryuid where TELTUID = varid and laytp = 'VAR' and OBJVERS = 'A'.
    loop at queryuid into querydets.
    select single compID from rszcompdir into querydet-querytechname where COMPUID = querydets-queryid and OBJVERS = 'A'.
    select single txtlg from RSZELTTXT into querydet-querydesc where ELTUID = querydets-queryid and objvers = 'A'.
      write querydet-querytechname.
      write querydet-querydesc.
      write /.
    *update querydet from querydetail.
    endloop.
    write 'Query View Details for affected queries'.
    write /.
    viewtab-viewtechname = 'View Technical Name'.
    viewdesc = 'View Description'.
    write viewtab-viewtechname.
    write viewdesc.
    write /.
    clear viewtab.
    clear viewdesc.
    loop at queryuid into querydets.
    select single compID from rszcompdir into querydet-querytechname where COMPUID = querydets-queryid and OBJVERS = 'A'.
    select viewid from rszwview into table viewtab where compid = querydet-querytechname and objvers = 'A'.
    loop at viewtab into viewdetails.
      select single TXTLG from RSZWOBJTXT into viewdesc where objid = viewdetails-viewtechname.
        write viewdetails-viewtechname.
        write viewdesc.
        write /.
       endloop.
      endloop.

  • Unable to find custom table in HANA Studio - Data Provisioning - SLT

    Hi All,
    We are working on a scenario where in we have created a custom table in ECC and when I tried to find the custom table for performing replication using SLT , however, I am not able to find the custom table in SAP HANA Studio. The custom table related entries are maintained in DD08L, DD02L, DD02T. We are able to find standard tables in SAP HANA Studio which could be replicated using SLT.
    Please could you let us know the reason  or anything we are missing as pre-requisites for custom tables to be visible in SAP HANA Studio for SLT.

    Hi,
    Since you confirmed that the custom table details are available in DD02l, DD02T and DD08L,
    I would request you to check the language in which the source table is maintained/created.
    If the  table at the source is maintained in a different language than you are logged in to HANA St
    udio, it will not be displayed in SLT Provisioning.
    Please let me know your observation.
    BR
    Prabhith

  • How to find custom table in Oracle EBS

    Hi experts,
    I am looking for the query that can find out all custom tables/objects in Oracle EBS? For some reasons, the custom tables/objects's name does not follow any standard. That a reason why I cannot find all custom objects in database. If you have that query, please share with me.
    Thanks in advance
    Hieu

    I am looking for the query that can find out all custom tables/objects in Oracle EBS? For some reasons, the custom tables/objects's name does not follow any standard. That a reason why I cannot find all custom objects in database. If you have that query, please share with me.There is no direct way to list the custom objects in the database/application unless you follow the customization standard (naming convention).
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Find+AND+Custom+AND+Objects&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Objects+AND+Naming&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • File to SAP R/3 custom table using PI

    Hi ,
    Any once can help me with File to Custom table updation possibilities using PI.
    Regards,
    Kiran

    Hi Kiran,
    You can do like I mentioned in the above blog.
    Also would suggest not to write to the database directly from PI. Ask an abaper or yourself write a code like an ZBAPI through which you can send data to the table. Then in that case you need to send data to ZBAPI like file - xi - rfc scenario.
    One more possibility is you can create a proxy and then send data to proxy and then let the proxy upload the data in the ztable.
    If you have any specific questions you can ask here.
    Regards,
    ---Satish

  • Internal table value checking in custom table using SQL...

    I have a table which has following fields:
    X1 TABLE (ZCONfig custom table)     
    LIFNR  land1                   
    123      br                    
    234      br                     
    456      br                     
    567      Gr
    and
    X2 TABLE: (Internal table)
    LIFNR:
    234
    567
    123
    Now I want to see if all the field values of LIFNR in internal table X2 (X2-LIFNR) are present in X1 or not.
    Raise error if it is not.
    How do I do this using SQL ? I guess I have to use read statement.
    Please help. Points will be awarded.
    Thanks.
    Regards

    Hi Tushar,
    1 Ya u are right , we need to use READ statement.
    2. Populate X1 (all records)
       in an internal table.
    3. Then Loop at X2
       and compare with X1.
      ( u can also keep an extra field in X2
        of type c, so that if a record is found,
       mark it as X )
    4. try this code (just copy paste)
    REPORT abc.
    DATA : BEGIN OF itab OCCURS 0,
           bukrs LIKE t001-bukrs,
           present TYPE c,
           END OF itab.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    itab-bukrs = '1000'.
    APPEND itab.
    itab-bukrs = 'X000'.
    APPEND itab.
    SELECT * FROM t001 INTO TABLE t001.
    LOOP AT itab.
      READ TABLE t001 with key bukrs = itab-bukrs.
      IF sy-subrc = 0.
        itab-present = 'X'.
        MODIFY itab.
      ENDIF.
    ENDLOOP.
    BREAK-POINT.
    regards,
    amit m.
    Message was edited by: Amit Mittal

  • Generic Extractors with Fm / Finding out tables used

    Hello Gurus,
    for a requirement, i would like to find out the table used in a generic extractor with function module.
    I can see the structure with the objects used but not the tables where they are from.
    How can i find that out?
    Thank you
    Pat

    Hi Gilo ,
    The best way to find out the tables used in the function module will be to analyze the code . Check all your Select Statements in the code and see the tables being used there .
    Sometimes in the code , we use standard function modules from the ECC. Check those standard FMs also and see what table they are using .
    Hope the above reply was helpful.
    Thanks & Regards,
    Ashutosh Singh

  • Best way to set up a custom table using dates ytd, quarters, months

    Hello-
    I did post this on the crystal forum however it really involves setting up a good structured table in order to get the data to report on which I think we need to change which is why I'm posting here.
    I am not a dba but I work with crystal reports and we are working together to get data in tables that we can report on.  We are in the process of creating a data warehouse, which will mainly be summarized data we are exporting out of our legacy system and importing into a mysql database.  Most of this data will be summarized by month, quarter and year.  We will have multiple years of data.  A lot of the reports we will be creating will be in a comparison manner such as 2009 vs 2008 or Jan this year compared to Jan last year or list out sales by month Jan-Dec 2009.  I would like this data to be easily displayed on a report in a side by side manner.  To get this result, what is the best way to structure the data in the tables on a monthly, quarterly and yearly basis?  Right now weu2019ve got one field in the table called date (which is a string) which is listed like:
    Date
    2008YTD
    2009YTD
    2009Jan
    2008Jan
    Is it best to break out the date information so that on the report side it will be easier to work with?  Also should this be set up in the table as a date instead of a string?  If so how do you account for a YTD date?  Are we going to need 2 dates, a start and end date to achieve ytd or qtd information?  Do you recommend creating just a date table and if so how would that be structured?
    So for reporting purposes, using crystal reports, I would like to display comparison data on a report side by side, for this example this year goals compared to last years goals by goal code A-Z (which is a credit code, goals are for the # of credits by code for the year).  The end result I would like is to look like this:
    code   2009 goal   2008 goal
    A        25              20
    B        50              60
    C        10              15
    However the data looks like this (displaying all of the 2009 data first then the 2008 data, not side by side which is how it is in the table):
    code   2009 goal   2008 goal
    A        25
    B        50
    C        10
    etc to Z
    A                          20
    B                          60
    C                          15
    Right now the data is structured in the table like:
    Code  Goal  Date (this is currently a string in the db)
    A        25     YTD 2009
    B        50     YTD 2009
    etc. A-Z for 2009 then:
    A        20      YTD 2008
    B        60      YTD 2008
    Any thoughts on strucuting a table would be appreciated.  thanks.

    Jennifer,
    Most of the DW examples I've seen use a dimDateTime table in the database. That table has multiple columns related to the specific time... For example, here are the columns that are in the, SQL Server sample database, "AdventureWorkdDW"... "DimTime" table
    COLUMN_NAME             COLUMN_INFO
    TimeKey               (int, not null)
    FullDateAlternateKey     (datetime, null)
    DayNumberOfWeek          (tinyint, null)
    EnglishDayNameOfWeek     (nvarchar(10), null)
    SpanishDayNameOfWeek    (nvarchar(10), null)
    FrenchDayNameOfWeek     (nvarchar(10), null)
    DayNumberOfMonth     (tinyint, null)
    DayNumberOfYear          (smallint, null)
    WeekNumberOfYear     (tinyint, null)
    EnglishMonthName     (nvarchar(10), null)
    SpanishMonthName     (nvarchar(10), null)
    FrenchMonthName          (nvarchar(10), null)
    MonthNumberOfYear     (tinyint, null)
    CalendarQuarter          (tinyint, null)
    CalendarYear          (char(4), null)
    CalendarSemester     (tinyint, null)
    FiscalQuarter          tinyint, null)
    FiscalYear          (char(4), null)
    FiscalSemester          (tinyint, null)
    Then all of the fact table receive their date stamps by linking back to this table, using the TimeKey as a foreign key.
    HTH,
    Jason

  • Find all tables used in a set of programs

    I need to find a list of all tables used in all Z programs. Originally I was thinking of getting a list of programs from table TRDIR, using READ REPORT for each one and then using Regex to get a list of tables used in SQL statements. However getting the regex working appears to be more complicated than first expected so I'm looking for other possibilities.

    Use SAP standard program RPR_ABAP_SOURCE_SCAN and in the selection parameters
    Program Name = Z*
    Find String = SELECT
    and execute

  • How find target table in interface which in package

    Hi All,
    I have a question?
    I created interface INT1
    I created variable VAR1
    I placed INT1 in package I need to get INT1 target table in to variable.
    Could you please help in write in the query to find target table of previous interface.
    Appreciate your help.

    Create a logical schema to refer work repository schema. For var1 with this logical schema, in the refresh section, run the following query:
    SELECT table_name FROM snp_pop WHERE pop_name = 'INT1';
    I do not see any hope to derive the interface name automatically unless you use scenarios and invoke it through variables.

Maybe you are looking for

  • How to uninstall my app or programm from mac

    how can i uninstall app and program from the imac?

  • SP-18 , IDOC adapter

    I'm on SP 18.. I'm having only 2 check boxes .. 1) Queue Processing 2) Apply Control Record Values from Payload I'm not having the other 2 options... : " Take Sender From Payload, Take Receiver From Payload. what could be the problem. Thanks sagar

  • Macbook Pro cracking sound on Vista x86

    Hello, In run Mac OS X 10.5.6 and Vista Business x86 via Bootcamp. However, the sound output while running Vista is cracking and slightly hissing every ~20 seconds. Does anybody know the correct sound settings of the internal sound card (e.g. 24-Bit/

  • CProjects Fields - Structures and field Controls

    Hi, On the Project -Additional Data tab on cProjects, we have a field which is called Project "Created by". I am trying to locate where is that field stored in the tables. I saw that under the field controls ,an external structure is maintained and t

  • No picture from webcam in Messages

    I am having a problem with Messages. It does not seem to want to accept the picture from my webcam. It was working just fine a few weeks ago, but suddenly it does not. My first assumption was that it is the web cam that is going. However, I have trie