Skip to Content
0
Jan 04, 2018 at 05:59 PM

Call external subroutine in a program that has a screen

100 Views

Hi,

In a ME21N user exit I am trying to call a form in a custom program:

PERFORM form_name IN PROGRAM zprog IF FOUND.

Within this form there is a call to a selection screen:

REPORT zprog

...

FORM form_name

CALL SELECTION-SCREEN 0200 STARTING AT 5 5.

ENDFORM.

After the PERFORM in the user I get a short dump:

"You are trying to use screen 0200 in program "SAPLXM06". This screen does not
exist."

Is there a way to make this work?