Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

abap important faq!

Former Member
0 Likes
475

what is top include? what it does & can be done with it? & significance?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
460

Hi,

The TOP Include is like a portion of the code where we make all the data declarations..

Everything declared here will be globally available in all the includes of the main program..

Thanks and Best Regards,

Vikas Bittera.

2 REPLIES 2
Read only

Former Member
0 Likes
461

Hi,

The TOP Include is like a portion of the code where we make all the data declarations..

Everything declared here will be globally available in all the includes of the main program..

Thanks and Best Regards,

Vikas Bittera.

Read only

Former Member
0 Likes
460

Top include is a include program of type "I"

For readability purpose you can declare all the variables in the top include and call the include in the executable program.

Include program can be used to seperate different parts of your code like data declaration, routines, etc....