Set Default Values of Parameter Field
I would like to set default values of paramter field.
I can acces default values of an existing rpt file with code.
But I don't know how to set it.
I looked examples on business object web site, I found example for setting "current values" but I did not find example for setting default values.
Could you give me some examples?
Shawn Penner replied
In RAS 9, any report modification fell under the RCAPI umbrella, and you were required to purchase an RCAPI license in order to use those functions. Originally the ability to change table location fell under the RCAPI scope - but this was later patched so that you could change table location without needing an RCAPI license.
Unfortunately, what is happening here is that you are trying to modify the parameter object, which does fall under the RCAPI license - so there will not be any patch to fix this error.
Your only options unfortunately are to either upgrade to a newer version which doesn't have this restriction on RCAPI licensing, to edit the default values through the report designer, or to obtain an RCAPI license for version 9 and then add it using the keycode manager.