SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
Cannot Use PERFORM form(prog)
In ABAP Objects, the following statement causes an error message:
PERFORM form(prog) ...
Correct syntax:
PERFORM form IN PROGRAM prog ...
Cause:
The PERFORM form IN PROGRAM prog has replaced the PERFORM
form(prog) statement. The name declaration form IN PROGRAM prog (unlike
form(prog)) allows you to declare dynamic program names using the form
IN PROGRAM (name) variant. Conversely, the static form, form(prog)
does not comply with standard ABAP semantics, in which the dynamic variant is differentiated from the static variant using parentheses.