Module Pool

Question:
Dear friends,
Whenever we create a module pool program say 'ZTEST' using "se80" it creates a Top include and three more includes.
The top include only contains the statement 'Program ZTEST'
not other includes contains this statement. Why.
And what we mean by statement 'Program ZTEST'.
Thanks in advance.
_________________
Gurpreet Singh Walia
Answer:
hi,
the program statement does not come up for the others because they are include programs. the system will generate an include each for PBO, PAI and FORMS. the program statement will come up in the main program of the module pool.
_________________
Cheers,
syd
Answer:
But the top program is also included with thw statement ' include' then what is the difference between this and other three includes.
_________________
Gurpreet Singh Walia
Answer:
the TOP include is where you would declare data like variables and internal tables if you want them as global fields in the program. if you don't want to declare these globally then you have the option to declare them locally in the FORM include inside the form-endform statement (subroutine).
_________________
Cheers,
syd

More Articles:

How to Fetch correct format of characteristic value?
finding of plant table, filed name?
ABAP Workbench (2003) WAS 6.20 Certification?
Inserting Graphic in SAP Script Form?
ALE Error?
Function FI Posting?