2007 Dec 23 4:39 PM
People,
I have a basic doubt about debug:
Inside a debugging session, it is possible to save all the parameters of a function module, so that I can use them after in a execution through se37?
Thank you!
2007 Dec 23 6:00 PM
I doubt if its possible.. the varaibles seen in bedugging are just untill that session, saving that is not possible thru bebugging..
alternative
open another session of FM and copy paste the values and save variant in se37 as test variant.
2007 Dec 23 6:47 PM
Yes, I know....
I´m asking it because I have a lot of parameters and table parameters.... And I´m looking for a more practical way!!!
Thank you!
2008 Feb 14 6:24 PM
With the new debugger you can actually do that.
- Set a breakpoint in the function module
- when the debugger stops in the function module copy all importing, changing parameters and tables from the function module into your variables section
- in the variables section click on the tools icon
- choose option 'Save parameters as Test data (SE37)
- you get a popup where you can enter the name for your test variant
- confirm
-when you now run SE37 you will find your variant, which will populate the interface with all the data
Hope that helps,
Michael