Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.