Application Development 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: 

Real benefit of using Includes

Former Member
0 Kudos

Hi,

I had been developing objects for quiet a number of years but one thing I couldnt undertstand the importance of Includes. Is there a real reason why we need to split our program into several includes other than readibility. I agree resusability but it never helped me. I never could use an include program of one report in another.

And we cannot do a syntax check for Includes directly, we get to know the errors only when we activate the whole program. Is there a way to do syntax checks for just an Include.

Edited by: Arpitha Bholey on Sep 16, 2008 8:27 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In case you haven't already done so, [see Pages 18 - 21 |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2992ca9-0e01-0010-adb1-b7629adb623c] for some excellent recommendations for using Include programs.

Regards,

Jamie

4 REPLIES 4

Former Member
0 Kudos

Other than readability one reason can be of re-usability of code. If u want to use same type of functionality like display report header then u can put the code in a routine within include and attach the include in the main progs. and call the routine.

Former Member
0 Kudos

It allows different people to work on different parts of a related project simultaneously.

Rob

Former Member
0 Kudos

Hi,

In case you haven't already done so, [see Pages 18 - 21 |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2992ca9-0e01-0010-adb1-b7629adb623c] for some excellent recommendations for using Include programs.

Regards,

Jamie

0 Kudos

Thanks Jamie, that is an excellent document and I have all my doubts cleared.