MODULE
Short Reference
ABAP Syntax MODULE mod {OUTPUT|[INPUT]}.
...
ENDMODULE.
ABAP_ADDITION:
... OUTPUT|[INPUT]
What does it do? The MODULE statement defines a mod
dialog module . The
naming conventions apply to the name
mod . The functions of a mod dialog module are implemented
between the MODULE ad ENDMODULE statements.
A dialog module is called using the MODULE
statement with the same name of the
dynpro flow logic of any ABAP program dynpro
.
ABAP_ADDITION ... OUTPUT|[INPUT]
What does it do? The OUTPUT and INPUT additions determine
whether the dialog module can be called for the
PBO event or for the PAI event. The
INPUT addition is the default and can therefore also be omitted,
although this is not recommended for the readability of the program. Two
dialog modules with the same name can be defined in a program, if one
of them has the OUTPUT addition and the other has the INPUT
addition, which is not recommended again for reasons of readability.
Latest notes: For data encapsulation reasons, we recommend that you
implement little functionality in dialog modules, and that you call
procedures instead.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved