Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Calendar Using Date Navigator in Webdynpro ABAP

$
0
0

Hi Narasimha,

 

The requirement exactly like RAILWAYS ticket booking cannot be achieved by using DATE navigator as we don't have any provision to disable/to graded out the dates of our wish.

 

You can achieve your requirement ( up to some extent) as below

  • Create a date navigator ui element and bind the start date and end date to context attributes
  • Create a node DATE_SEL ( 0...n ) and attribute "DATE" of type DATS
  • Now, right click on DATE NAVIGATOR ui element and  choose "Add selection" option from menu to add the dates of selection. Bind the datasource and selected date to node "DATE_SEL" and attribute "DATE" respectively
  • The selection node "DATE_SEL", you can populate the 60days/30days as per your requirement and it hightlights ( you can choose your choice of color ) the dates in the calender. So that user focuses on these dates for selection. if any other dates other than these selection, you can raise an error message to the user by using event "ONDAYSELECT"

 

Hope this helps you.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>