Skip to Content
author's profile photo Former Member
Former Member

Date Navigator : StartWith Property

Hello,

I was using the date bnavigator UI element and I have bound my StartsWith property with a context attribute of type "D" and setting the value to sy-datum on WDINIT of the view.

But at run time when i am moving from one month to the next it was not working properly the valse are generatin random for the year and i was getting the erro called invalid date.

Then I set this property to some date value at design time instead of binding this to a attribute the it starts working fine.

When I looked in the help.sap.com I found these lines for this property.

Can any one let me know why we cannot bound this property to a attribute.

‚óŹ startsWith

Start date, start of the displayed date range.

This property can be personalized by an administrator.

This property, which does not have to be bound, can be changed by the client.

Thanks

Pradeep

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 29, 2010 at 11:21 AM

    Hi,

    Rather than going for date navigator. better go for an input field.create a node in context with any attribute of type D and in view.bind that attribute to inputfield's value.Run ur application automatically calendar control wil be displayed near input box.Try this out and tell me.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Thanks. But my requirement was something different which was not fulfilled by standard calendar help that`s why i have used date navigator.

      While implementing i get this problem so I asked if any one can tell me what excatly that means.

      Thanks

      Pradeep

  • Posted on Oct 29, 2010 at 12:47 PM

    hi,Pradeep.

    About date navigator, usually i used it so many times. And bind the "StartWith" property with one context attribute typed "D", it works fine, no any mistake occurs in my work..

    So, i am confused why it is not okay for you?? and why random value??

    So, i suggest you debug your WD, go to check the property value "start with" in the action handler.

    If you resolved it, also please let us know why and how..

    Best wishes.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.