Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get all tables from a tcode

Former Member
0 Likes
636

Can any of you suggest a function module from which I can get the list of tables used in a transaction?

I have tried function module GET_TABLE which returns only the tables used in a program.But if there are any function module calls inside the program I need to get the tables used in the function module also.

Any ideas ??

3 REPLIES 3
Read only

Former Member
0 Likes
554

HI,

Try this func. module.

RS_PROGRAM_TABLES

give values to parameters:

OBJECT_TYPE - TRAN

OBJECT_NAME - ME31K ->(transaction name)

Regards,

Karthick.

Read only

0 Likes
554

Hi Karthick,

Function RS_PROGRAM_TABLES will fetch tables related to transaction data but the FM will not fetch tables for transactions related to master data. For ex FM will not give tables for tcode MM01.

So suggest some other FM.

Read only

Former Member
0 Likes
554

hi ,

go through the tcodes SUIM STAD . in stad u get the exact information i think.

regards,

venkat.