Avoid hardcoding without cluttering up the selection screen.
In some cases variables are almost permanent. Almost but not quite. For Example Company Code. This may never change for some reports. Other variables which are semi-permanent are Position Holder names such as Accounts Receivable Controller for specific areas.
Rather that hard-code these variables or put them in the selection screen they can be entered into the selection parameters table TVARV and extracted from there from within your ABAP code.
Then when there is a need to change the variable value it is quite easy for a power-user to change it and no changes are required in your code.www.A-Wizard.com.au