Dialog modules help prepare and process screens of the
dynpro. You cannot declare
local data types and data objects within a dialog module, whose functionality is implemented between
ENDMODULE. All declarative statements in dialog modules belong to the
global data declaration of the ABAP program and are visible in all following processing blocks. A dialog module works with the global data types and data objects of the
framework program and therefore should not contain its own declarations.