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

Debugging

Former Member
0 Likes
560

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!

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
515

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.

Read only

0 Likes
515

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!

Read only

Former Member
0 Likes
515

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