Problem solve Get help with specific problems with your technologies, process and projects.

Avoid hard-coding

Avoid hardcoding without cluttering up the selection screen.

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
This was last published in May 2002

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close