How to expose Global Data Definitions and Declarations

If one can imagine LSMW as a framework for creating ABAP reports--reports that create batch jobs--then one can see how each line in the LSMW is just a way to inject small snippets of ABAP code for each field in a transaction. There is also a place to add code before any batch creation activity starts; this area is typically used to define variables and enable the operator to interact with the program. This area is called Global Data Definitions and Declarations and is hidden by default. In the Maintain Field Mapping and Conversion Rules section of your LSMW object, click Ctrl-F7 or click on ExtrasLayout. In the window that appears ensure that the Global Data Definitions checked.

Access all of the missing sections of the LSMW ABAP.