Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182779
Active Contributor
I was working on some dynpro application, and testing was really messy, because I needed to fill the parameters each time I wanted to executed it...That why I thought about saving a variant...But...My application was on Dynpro and not on standard report...After browsing trough function modules and standard programs, I came to this nice example of how to achieve that goal.

We need a Dynpro screen with a SubScreen are called Parameters (I need some Select-Options, so using a SubScreen was the best choice).

This is the source code.



And of course, some pictures -:)









Well...There's a few drawbacks in this example...

  • You can't save the Variant description.
  • When you create a new variant, SAP ask you if you want to replace it...Even when it doesn't exists!
If someone can fix that, I would be very happy -:D

11 Comments