cancel
Showing results for 
Search instead for 
Did you mean: 

F4 help for Input Field in Webdynpro/abap

Former Member
0 Kudos

Hello Gurus,

In one of my development, I have an input field where the user needs to enter Unit of Measurement(Eg : KG or PC).

For this to provide the f4 help in webdynpro application, there are severeal ways to provide.

Which way will be best suitable and simple for my requirement?

Is it OVS or Data Dictionary help or Freely programmed?

Thanks

Dev

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Dev,

There are different wats of implementing search help in WDP depending on your requirements. Some of them are:

- If you have a data element and domain, the fixed values etc. defined for the domain will be automatically available. Set input help mode property of the context node attribute as 'Automatic'.

- If the data element is part of a structure, and you have defined a search help for the field of the structure, it will be automatically available. Set input help mode property of the context node attribute as 'Automatic'.

- Create a search help, and enter it's name as a property of the context node attribute, while setting the Input help mode property as 'Dictionary search help'.

The above three are useful when the search help values are static. If you want to change the search help values at runtime, you can use OVS. Set input help mode property of the context node attribute as 'Object Value Selector'.

WDR_TEST_CHANGE_VHELP,WDR_TEST_DDIC_SHLP,WDR_OVS refer these examples.

'Dictionary search help' will make your task easier(no coding required).

Thanks

KH

former_member197475
Active Contributor
0 Kudos

Hello Dev,

It purley depends on what and how your are going to implement the logic.

OVS Advantage:

1. You can design your own search attributes.

2. Make the query as strong as possible.

3. Easy to handle the event on selection of the field from F4.

DD Search Help:

Ofcourse, no doubt makes you work less effort.

BR,

RAM.

harsha_jalakam
Active Contributor
0 Kudos

Hi Dev,

It depends on the situation and requirement, for the approach that has to be followed,

If your help is specific only to webdynpro application, then it is better to go for OVS component search help.

And if the search help is required both in GUI(reports,DataDictionary, others,) and in Webdynpro Application, then it is better to go for DataDictionary Search Help.

If the search help requires the fields, which would have the ranges and many fields, , then better to opt for Freely programmed search Help.

Regards,

Harsha