cancel
Showing results for 
Search instead for 
Did you mean: 

search help for time

Former Member
0 Kudos
508

dear friends,

i have time field in table in web dynpro. i have to attach a search help for time into field. but i don't know how to attach search help for time field. can anybody tell me the name of search help for time and how to attach with the field.

regards,

sunil sharma

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There is no SAP delivered, NetWeaver supplied search help for time. I wanted one that matched the classic dynpro time help, so I created one myself using a Freely Programmed Search Help. If you want, I can send you the component.

Former Member
0 Kudos

if possible plz send me the your's document for create time serch help .

thnks

regards,

sunil sharma

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Here is a document:

http://abap-sdn-examples-tpj.googlecode.com/files/ChapterX%20-%20User%20Programmed%20Value%20Help.pd...

And here is a SAPlink Nugget:

http://abap-sdn-examples-tpj.googlecode.com/files/NUGG_WD_TIMESTAMP_VALUE_HELP_DEC2008.nugg

They discuss how to create a Time Value Help and how to create a TimeStamp reusable Component (that uses the time value help internally).

prasenjit_sharma
Active Contributor
0 Kudos

Thomas,

This is really a very good document and really very helpful. I have just one question. How do we use it in our selection screen where we have the fields added using the method add_selection_fields of IF_WD_SELECT_OPTIONS?

Regards

Prasenjit

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You would add this to the select-option field like you would add any other freely programmed value help to the select-option. Have a look at this forum thread for an example:

Basically you have to create a component usage instance of your value help component. Then when you call the add_selection_field use the importing paramters i_valueh_help_id, i_value_help_type. There is a code sample in the referenced forum link above.

prasenjit_sharma
Active Contributor
0 Kudos

Thanks Thomas.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi