2008 Feb 26 7:55 AM
Hi,
I want to define constants for use within a whole function group. How could it be done?
Thanks,
Said
2008 Feb 26 7:59 AM
You can maintain constansts or global variable in the 'Global Data' of function group.
Please go to the function group through SE37 transaction and select display or change. in the Popup select for mainprogram in the mainprogram you can see the a include program which will be with 'Global Data'. this is the section where you can maintain the global variables.
Ex;
include lwbabaptop. " Global Data
Thanks,
2008 Feb 26 7:57 AM
Hello
Go to the TOP include of the function group and define your constants there:
CONSTANTS:
gc_my_constant TYPE xxx VALUE '...'.
Regards
Uwe
2008 Feb 26 7:59 AM
You can maintain constansts or global variable in the 'Global Data' of function group.
Please go to the function group through SE37 transaction and select display or change. in the Popup select for mainprogram in the mainprogram you can see the a include program which will be with 'Global Data'. this is the section where you can maintain the global variables.
Ex;
include lwbabaptop. " Global Data
Thanks,