2008 Jul 23 3:34 PM
Hi Experts,
Is there a way to find out the Function Modules/BAPI's called when I run a Transaction/Program (during runtime).
Let's say I run a trasaction ME22N and Press Save button. The transaction saves the data. Now I would like to know what are all the FunctionModules the transaction invoked during Save action. I went through tracing ST01, could not find it as helpful.
Thanks in advance.
2008 Jul 23 3:47 PM
keep a break point in the place where it triggers when SAVE happens. that time you can check calls Stack.
Hi Experts,
Is there a way to find out the Function Modules/BAPI's called when I run a Transaction/Program (during runtime).
Let's say I run a trasaction ME22N and Press Save button. The transaction saves the data. Now I would like to know what are all the FunctionModules the transaction invoked during Save action. I went through tracing ST01, could not find it as helpful.
Thanks in advance.
2008 Jul 23 3:43 PM
2008 Jul 23 3:47 PM
2008 Jul 24 9:51 AM
Read the SAP help for details, but briefly.
Tx Se30.
Create a new variant. Check "Within and Below", "RFC, Update", "Particular Units" in tab "Program Parts". Choose "none" aggregation in tab "Duration/type".
Save the variant. With that variant selected enter the tx you want to trace - e.g. ME22N, and click on Execute.
Get to the point in the tx just before you press Save. Choose menu system->utilities->runtime analysis->switch on.
Press save.
When the system comes back to you, choose menu system->utilities->runtime analysis->switch off, and leave the transaction.
In the screen section "Performance Data File", click on "Evaluate". Go to menu Goto->Hit List->Standard (or press F5)
All the function modules hit (and lots of other information) will be displayed.
matt
2008 Jul 23 3:47 PM
keep a break point in the place where it triggers when SAVE happens. that time you can check calls Stack.
2008 Jul 23 3:50 PM
Thanks Vijay for your reply.
Could you tell me, how I can check the calls stack.
2008 Jul 23 3:57 PM
Do it this way it works. I did it now
GO to the TCODE and before u hit save set the debug on /h
and then hit SAVE.
When you enter into debug mode ,
in the app tool bar,
Breakpoints - > breat point at -> breakpoint at statement.
in the statement type in CALL FUNCTION
it will have break points at all FMs.
then hit F8 it will stop at the break points required.
Shreekant
2008 Jul 24 2:30 PM
>
> Do it this way it works. I did it now
>
> GO to the TCODE and before u hit save set the debug on /h
>
> and then hit SAVE.
> When you enter into debug mode ,
>
> in the app tool bar,
>
> Breakpoints - > breat point at -> breakpoint at statement.
>
> in the statement type in CALL FUNCTION
>
> it will have break points at all FMs.
>
> then hit F8 it will stop at the break points required.
>
> Shreekant
Won't work unless you set the debugger to break in update mode as well. And unless you use /hs, you won't get system function modules either.
2008 Jul 23 3:49 PM
I dont think you can get a list of all FM triggered.
If I were you I would have kept a break point in all the FM's and then see where all it stops.
Shreekant
2008 Jul 24 2:39 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |