cancel
Showing results for 
Search instead for 
Did you mean: 

Time Picker

Former Member
0 Kudos

Hi,

I am not able to use inputfield for "Time" selection,

though am able to select date.

<htmlb:inputField id="IP_Date" type="DATE" showHelp="TRUE" />

<htmlb:inputField id="IP_Time" type="TIME" showHelp="TRUE" onValueHelp="TRUE"/>

Do i have to call javascript function on onValueHelp?

But then the time-picker would be different in appearance from the date-picker that SAP has provided.

Please suggest something.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Shalaxy,

Did u get the answer for u r issue.if u got the answer please tell me abt the date picker. and also tell me how to call the jvascript function in value help.and i have one doubt in java script we have to use abapstatements and querry statements.

if u don't mind do u know how to popup the data from the table and put in a inputfield valuehelp.Please help me.if u have any documents of simple programmes abt UI elements of BSP.Please provide me.Iam new to BSP.Please help me.

Former Member
0 Kudos

no i havnt yet found the answer , can someone help here ?

Former Member
0 Kudos

i have created my own time picker, but the problem remains , the output i get is rough and doesnt match the "good looks " of sap's date picker.

some one plz suggest an element that i should use (am using a pop up window right now) .

Former Member
0 Kudos

i used "phtmlb:comboBox" for time selection with a bit of javascript for making the elements visible/hidden.

athavanraja
Active Contributor
0 Kudos

showHelp attribute can only be set for type DATE and STRING fields.

for type TIME you cannot set showHelp attribute. may be you can use a string field withe showhelp = true and in onvaluehelp call a js function to show help for time selection.

Raja

Former Member
0 Kudos

Thanks for the reply but if i use JS the display we will get wont match the DATE-picker display provided by SAP and both will look different.

( If SAP has provided "TIME" as an option then there must be some way to use it. I really dont know what shud be done )

Somebody plz suggest

Former Member
0 Kudos

Somebody please help, no clue yet from anywhere.