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

How to get tables used by a Function Module

Former Member
2,861

Hi,

How to know the tables used by a function module dynamically.

Cuurently im using BAPI_MATERIAL_SAVEDATA in my report program.

I tried FM GET_TABLES to know the tables, but could see only tables used in the report.

Main issue in my case is when im running this update program, could observe different tables being displayed as updated in SM50(Process Overview).Want to clarify as why these tables which are not being used in my report are being displayed in SM50.

So was doubtin weather this FM is using these displayed tables.

Thanks in advance for u r replys.

Regards,

Dedeepya

1 ACCEPTED SOLUTION
Read only

pablo_marn
Active Participant
1,413

Hi Dedeepya,

you could use a SQL Trace (tx. ST05) to list all tables affected and operations that realize. Just active the trace, execute FM, and Deactive trace. Then click in "Display trace" and check it.

Best regards,

Pablo

Hi,

How to know the tables used by a function module dynamically.

Cuurently im using BAPI_MATERIAL_SAVEDATA in my report program.

I tried FM GET_TABLES to know the tables, but could see only tables used in the report.

Main issue in my case is when im running this update program, could observe different tables being displayed as updated in SM50(Process Overview).Want to clarify as why these tables which are not being used in my report are being displayed in SM50.

So was doubtin weather this FM is using these displayed tables.

Thanks in advance for u r replys.

Regards,

Dedeepya

1 REPLY 1
Read only

pablo_marn
Active Participant
1,414

Hi Dedeepya,

you could use a SQL Trace (tx. ST05) to list all tables affected and operations that realize. Just active the trace, execute FM, and Deactive trace. Then click in "Display trace" and check it.

Best regards,

Pablo