on 08-18-2010 2:06 PM
Hey,
for my project i need to get a time range for further use.
i decided to use the date navigator so the user can mark the range he wants to "use"
i always get a Date_invalid exception.
from
Function: DATE_GET_WEEK of program SAPLSCAL
i have a context to firstselected last selected and startswith
so the user has a preassigned range
in the inboundhandler im setting the values for this but it always throws this exc
lo_context_node = wd_context->get_child_node( 'ABO' ).
lo_context_node = lo_context_node->get_child_node( 'HOLIDAYBREAK_DATA' ).
lv_first_selected_date = sy-datum + 1.
lv_last_selected_date = sy-datum + 8.
lv_starts_with_date = sy-datum'.
lo_context_element-firstselecteddate = lv_first_selected_date.
lo_context_element-lastselecteddate = lv_last_selected_date.
lo_context_element-startswithdate = lv_starts_with_date.
lo_context_node->bind_element( lo_context_element ).
Hi Adiran,
check the example program WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the View DateNavigator.
also please reger to this link
[Link|http://help.sap.com/saphelp_nw70/helpdata/en/81/ab884118aa1709e10000000a155106/frameset.htm]
Cheers,
bhavana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.