Skip to Content
avatar image
Former Member

restricting the range in time picker combo

Hello experts,

I am trying to limit the range in the time pickers in appointment screen. i.e. the combo values will start at 08:00:00 until 22:00:00 instead of 00:00:00-23:30:30 by default.

I found a way for changing the intervals within this list using method get_p_ with parameter IV_PROPERTY = 'timeRange' but I didnt find any way for limiting the range.

Does anybody have a clue.

Thank you very much

Gilbert Cohen

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 19, 2010 at 09:06 AM


    This might be hard-coded.

    Please check in


    method INIT_DATA

    there are two lines of codings

    ls_time-time = '000000'.

    lv_nb_itr = 1440 / lv_minute_increment.

    The first line determines the starting time will be 00:00

    The second line determines it will calculate the 24 hours time, 24*60 = 1440

    And the timerange you mentioned will effect the time interval (between each selectable TIME items).

    Do other SDN expert might have better idea than modification?


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2010 at 09:20 AM

    Thank you Hongyan,

    I found also this method but it is a private method. So I dont have any way of changing this without a repair.

    I was hoping that there is some possible BADI or enhancement that can do the job.



    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      You may check


      to see how to locate badi. But I've tried and didn't see any badi could help to overwrite the hard-coding.