on 10-07-2012 8:27 AM
how to set system date (sy-datum) value directly in the context of an attribute ?I used the wd_context->setattribute option,but I want to set it in the context attribute itself as the default value.
In General we will use set_Attribute method to set the value.
But by default if you want to achieve the value... in attibute properties you will find default value... there you can pass..
But i dont think you can pass sy-datum variable there..
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vanaja,
The values of all system fields in this table are implicitly set when the program is started, The GET TIME command explicitly updates the system fields, except for sy-dayst, sy-fdayw and sy-tzone.
In context if can have attribute of type ( SYDATUM / SYST-DATUM ) . In case of default value property the attribute can have a preconfigured value. I dont think you can pass any variable there.
However you can achieve your goal by creating context attribute in component controller & in the WDDOINT method set the current date. This will be available throughout the life time of the component & visible to every controller.
Regards,
Monishankar Chatterjee
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.