Skip to Content
avatar image
Former Member

Is it possible to define constant declaratavly?

I have a Web Dynpto application calling to some rfc enabled function. This function has a lot of table and import parameters and most of them should be assigned to constant values and not to be modified. For now I have a function in component controller called assignConstants which is called from wdDoInit function but is there any way to define this constant and bind them declarative, without coding?

P.S. It would be also nice to have something like default values for all context nodes.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 28, 2004 at 04:52 PM

    Hi Victor,

    Static default values work only in few cases. It is indeed so that the initial values must be programmed. Also we think that is appropriate, since the initial values are nevertheless condition dependent usually, e.g.:

    - language dependently, e.g. "Mr./Mrs. versus Herr/Frau"

    - user specifically, e.g. "first name, surname",

    - time-specifically e.g. "date from today"

    You can get that usually only by programming, since most declarative approaches are limited or complicated.

    Hope that helps!

    Best regards,

    Karin

    Add comment
    10|10000 characters needed characters exceeded