‎2010 Aug 11 11:50 AM
Hi Experts,
I want to write to many ABAP report programs. There will be also many default values which i want to include in many programs. So, thinking about declaring all default values at one place in one file and then that can be used in many programs. what is the best way to do that?
One option is create INCLUDE TOP file while creating first program and then that can be used in oher programs. But I dont know how to add same INCLUDE file in another programs. Please explain
Thanks
‎2010 Aug 11 12:13 PM
‎2010 Aug 11 11:54 AM
But I dont know how to add same INCLUDE file in another programs.
Just place the created include in the top of the program.
include zinclude.
‎2010 Aug 11 12:13 PM
‎2010 Aug 11 2:49 PM
You could create a class via SE24 and declare your default values as public constants. Then you can refer these directly via ZCL_MYCLASS=>MYVALUE anywhere you like.