hi all,
i have a requirement in which i have declared a inputfiled type date and getting this field filled through pop up help using the below code.
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page title=" " >
<htmlb:form>
<htmlb:label for = "HDATE"
text = "From Date"
tooltip = "Enter from date" />
<htmlb:inputField id = "HDATE"
value = "<%= sy-datum %>"
showHelp = "X"
type = "date"
disabled = "FALSE" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
now i wanted to execute an additional function when the help button is clicked so i declared it in as
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page title=" " >
<htmlb:form>
<htmlb:label for = "HDATE"
text = "From Date"
tooltip = "Enter from date" />
<htmlb:inputField id = "HDATE"
value = "<%= sy-datum %>"
showHelp = "X"
onValueHelp = "sapHelpDate('HDATE', parameters);function();"
type = "date"
disabled = "FALSE" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
The function sapHelpDate is the default function which is called when onValueHelp is not mentioned.
Could anyone please throw some light on this function?
by doing the above i am able to execute my separate function along with the pop up coming for the date,but the icon for the date help is changed and i am not able to show it same as in default case.
could any one help me with this.
thanks in Advance
regards,
Arvind.