on 09-30-2009 6:44 AM
Hi,
When i am using a date_navigator for 3 months display the startup date for that i have given has 01.07.2009. So the calendar starts with July to Sep.
But i want to get the first month to be the current month.it is throwing exception when i try to populat the system date in startup date field .
Regards,
Amit Teja V
hi thanks for the reply,
But my point is what needs to be placed in STARTWITH property .Because the date navigator month display depends on the STARTWITH property.Could you please suggest.
Regards,
Amit Teja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>its interface is IWDDateNavigator and is of type java.sql.date and can be binded.
I think we are not speaking the same language. That would be for Web Dynpro Java. The property in question in Web Dynpro ABAP expects a Date Field. You have declared an attribute of type sydatum and set its value to sy-datum - then the calendar should begin with the current month. If you did this and got an exception, please post the details of that exception.
HI thomas,
Bulls eye,that is what i mean.
When i bind a attribute of type d to startwith it is showing as ER.ND.CALE and when i test this i am getting exception as
The following error text was processed in the system DEV : Exception condition "DATE_INVALID" raised.
When i click on f4 help for the startwith then it is giving a dump as
Unable to interpret "CALE" as a number.
Regards,
Amit Teja V
Edited by: AMITTEJA VUTPALA on Oct 1, 2009 1:05 PM
hi,
bind ur firstselectedday property with context attribute of type D
now in ur method declare one variable lv_date of of type DATS
set its value to SY_DATUM
nw read ur attribute here and set its value to lv_date
refer this help as well
http://help.sap.com/saphelp_NW70EHP1/helpdata/en/81/ab884118aa1709e10000000a155106/content.htm
rgds,
amit
Edited by: amit saini on Sep 30, 2009 8:03 AM
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.