Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BSP and HTMLB-Time selection...

Former Member
0 Likes
645

Hi,

I am creating a BSP application using HTMLB.

I have a requirement where in the user can select the best time to be contacted.

I have a start time field and an end time field.

Is there an SAP provided field for selecting the time or do I need to create a dropdown and hard code the values?

Could some one please tell me how to implement this time field?

Thanks in advance,

Sudha.

4 REPLIES 4
Read only

Former Member
0 Likes
596
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title=" " >
    <htmlb:form>
      <%
  data: tim type sy-uzeit .
      %>
      <htmlb:inputField id    = "123"
                        value = "<%= tim %>"
                        size  = "8"
                        type  = "TIME" />
    </htmlb:form>
  </htmlb:page>
</htmlb:content>

You can use TIME as type, But No F4 Help. so you have to implement that f4 option.

Read only

0 Likes
596

Hi,

Could you please tell me how to get the time look up where in the time can be selected?

Thanks,

Sudha.

Read only

0 Likes
596

Hi,

Could you please tell me how to implement F4 help for time?

Thanks,

Sudha.

Read only

0 Likes
596

if you use TIME as input type , then input field you will get

00:00:00

so if you want you can show drop down. But it will be difficult to show minutes, seconds.

can't the user enter the time manually. i will check any option available for the time F4 help.