cancel
Showing results for 
Search instead for 
Did you mean: 

Method to determine 'Source ' of Insertion of Data

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 for more information.

Hope this has been helpful.

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi Poorna,

Thanks for the peice of advice. It has helped me lot.

So I am rewarding U yhe points.

Thanks once again.

Regards,

Gaurav

Answers (0)