2008 May 08 2:22 PM
Which possiblity is existing for my problem.
For a calculation are some values required.
One special value must be stored as kind of
environment paramter or any variable
in order to be able flexible while calculating.
So that can be changed anytime if it is necessary
by the user or elsewhere.
Otherwise this value must be always changed
in the sorce code.
Reagards
ertas
2008 May 08 2:44 PM
Micky thank you for replying but for my opinion it doesn't
make much sence to create a transparent table only
for one value
Reagards
ertas
2008 May 08 2:32 PM
well, you do have transparant tables for this.
But do you want to access this variable from a custom report, or several customer reports, badi implementation or what.
If only in a particular report, define a constant for it, or create a class with some constants...Many options, but this kind of depends on the requirement.
If user has to be able to change it (on the fly) you should create a db (table maintenance) table for this.
2008 May 08 2:44 PM
Micky thank you for replying but for my opinion it doesn't
make much sence to create a transparent table only
for one value
Reagards
ertas
2008 May 08 3:14 PM
True, but I don't see any other way if the user should be able to change it manually, and not have it done by a developer programmatically.
To make it more generic, you can create a table with key field PARAMETER (type string) and another field with VALUE. This way the table can be used for more parameters in the future.
So now my question is: Is it necessary that user can change the variable, or should it only be possible for a developer to do this?