on 01-07-2009 9:18 AM
hi,
I got 2 problems....
1) i jst kept date navigator on my view and try to run my application ,it gives me runtime error like this:
Note
The following error text was processed in the system RD1 : Exception condition "DATE_INVALID" raised.
The error occurred on the application server r3dev_RD1_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Function: DATE_GET_WEEK of program SAPLSCAL
Method: GET_WEEK_FROM_DAY of program CL_WDR_STANDARD_ADAPTER_HELPERCP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L1STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L1STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L1STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
2) when i used tabstrip element and add tab into that , is it like that i can add only one element into tab area...because first time i got option to addd element to perticular tab and after that if i try,the option to add tab element got disabled...
thanks,
saurin shah
Hi Saurin,
You can only insert only 1 element into the tab area of a tabstrip. If you intend to insert more than 1 ui element, insert a TransparentContainer within the tab area. You can now use this container to insert as many ui elements as you want to.
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
we hav same problem with this DateNavigator any solution from ur side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurin,
Have you resolved the issue? We are also experiencing the same error with the Date Navigator.
Any help is appreciated.
Regards,
Niall
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you have to bind your startwith property of date navigator with some date.....
say you are binding startwith property with attribute datum you have to write following code in wddoinit()
to initialize it....
DATA lo_nd_sydatum TYPE REF TO if_wd_context_node.
DATA lo_el_sydatum TYPE REF TO if_wd_context_element.
DATA ls_sydatum TYPE wd_this->element_sydatum.
DATA lv_datum LIKE ls_sydatum-datum.
DATA lv_currdate TYPE string.
* navigate from <CONTEXT> to <SYDATUM> via lead selection
lo_nd_sydatum = wd_context->get_child_node( name = wd_this->wdctx_sydatum ).
* get element via lead selection
lo_el_sydatum = lo_nd_sydatum->get_element( ).
* get single attribute
lo_el_sydatum->set_attribute(
EXPORTING
name = `DATUM`
value = sy-datum ).
regards
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurin,
You need to maintain the default value for the property "startsWith" of the DateNavigator ui element. Try mention a date like in the format: 01.01.2009 & re-run your application it should be fine. When you dont set any value for this property the system would be having the date as, " . . " ( Blank spaces separated by dots for the date in the format DD.MM.YYYY ) and it would try to interpret it as a date resulting in an exception. You can go through the [standard documentation|http://help.sap.com/saphelp_nw70/helpdata/en/81/ab884118aa1709e10000000a155106/content.htm] for more information about this UI element. You can also find examples of how to use this element in WDR_TEST_UI_ELEMENTS & WDR_TEST_EVENTS.
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry repeated post...
Edited by: Uday Gubbala on Jan 7, 2009 3:56 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurin,
Answer to ur 2nd Question would be you can add multiple elements into each tabarea.
Chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.