Skip to Content
author's profile photo Former Member
Former Member

Method to determine 'Source ' of Insertion of Data

Hi SAP Gurus,

How can I know as to which program inserts data into a 'Z' table .The table has a table maintence generator.

Othe than that which standard program/zprogram inserts data z table.

Apart from 'where used list' is there any other way around.

Thanks in advance.....

Regards,

Gaurav

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2004 at 05:54 AM

    Hello Gaurav,

    Most of the times during debugging huge program we will want to find out where the data is getting inserted into a table. But you are asking for where the table is getting populated in the whole of SAP. I do not know your requirement completely (i.e., i do not know the big picture of your problem).

    I also would like to know why you do not want to use the where-used list functionality. It is really a very good option to use in this case. You should try using this functionality more optimally.

    For example, if there is a Z Table, then <b>in general</b>, there is no way that a standard program will update it. Even if there is a user-exit in some program, it will also begin with a 'Z'. Now when you do the where-used list for this table, you can restrict the search area to consider only the Z objects.

    Lastly, if you are expecting that this table will be updated through dynamic inserts, for example through statements like

    INSERT INTO (dbtabname) VALUES wa.
    INSERT (dbtabname) FROM wa. 
    INSERT (dbtabname) FROM TABLE itab.
    

    then you can search the programs for the name of the table. i.e., if your table is ZTEST, then you can search for all the programs that contain the string 'ZTEST'. Refer to the conversation at search-content-of-abap-programs for more information.

    Hope this has been helpful.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.