09-16-2008 7:26 PM
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
09-16-2008 9:24 PM
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
09-16-2008 8:32 PM
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.
09-16-2008 9:13 PM
It allows different people to work on different parts of a related project simultaneously.
Rob
09-16-2008 9:24 PM
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
09-17-2008 12:01 AM
Thanks Jamie, that is an excellent document and I have all my doubts cleared.