Skip to Content
0
Former Member
Nov 30, 2005 at 04:44 AM

Common SELECTION-SCREEN in reports for reuse

496 Views

Dear ABAPERS,

I have a number of ABAP reports with similar but complicated customized selection screen (i.e. implemented using SELECTION-SCREEN statement). I would like to "package" the codes for SELECTION-SCREEN in a common routine in an include program, so that all my reports can just use it (instead of all reports duplicating the same selection screen codes). Any changes to the selection screen can be made through the single source.

However, an error :

Within FORM routines and function modules, the SELECTION-SCREEN statement is not allowed.

Is there any other way to accomplish this goal ? Thank you.

Regards

KC