Skip to Content
0
Jul 16, 2019 at 08:27 AM

Converting a Report to a Function Group

259 Views

Hello,

Our customer have a big and old ABAP report which includes many useful subroutine forms and classes about their business, now they need some functionalities and screens to be used in other programs and also in RFC functions,
so I started to work on converting this report to a new Function Group.

The old ABAP report starts with a selection screen for data filtering and continues with START-OF-SELECTION event an other dialog screen calls in END-OF-SELECTION event. I started by moving all routines and local classes to top include of new Function Group now.

My question is :

I want the transaction code of this program to work as before in new Function Group, without changing anything.
I just want to be able to use form subroutines and local classes in some new Function Modules to call from other programs.

But selection screen 1000 (default sel. screen) is not allowed in Function Group and also report events START-OF-SELECTION , END-OF-SELECTION is not being triggered.


Is there any quick way to make the transaction code work in new Function Group
without manually calling selection the screen and re-arranging the queue of events ?

Thank you