cancel
Showing results for 
Search instead for 
Did you mean: 

Button on Input field

Former Member
0 Kudos

Hi

Is it possible to create a button like SAP's original search help (IModifiableSimpleValueSet) into an input field?

I know I can use onEnter of the input field to create an action, but I also need the user to see that there is a possibility

to open a search help (in this case my custom search help).

Thank you and regards

yuval

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
former_member185879
Active Contributor
0 Kudos

Hello Yuval,

Why can't you implement OVS for the same?

You can use OVS to search for some values and also you can write code to do some operation in onEnter.

Revert for any queries.

Regards

Nizamudeen SM

Former Member
0 Kudos

Hi

Correct me if I am wrong, but isn't OVS tied to a bapi?

Doesn't it include all the fields a bapi has?

What if I do not have a reafy bapi, but use the general Rfc_read_table?

reagrds

yuval

former_member185879
Active Contributor
0 Kudos

Hello Yuval,

Yes, to make OVS help we need an BAPI or RFC, but we can remove the fields whatever not required in OVS help.

Regards

Nizamudeen SM

Former Member
0 Kudos

Nizamudeen hi

So can I use Rfc_Read_Table without showing all the required fields to the user?

Interesting....

bye

yuval

former_member185879
Active Contributor
0 Kudos

Hello Yuval,

Yes.

1. import the RFC

2. Copy the values to the local node.

3. Create two more nodes as OVS_Input(The attributes available inside this node will be the input values on OVS Pop-Up) and OVS_Output(The attributes available inside this node will be the output table on OVS Pop-Up).

4. Pass this input and output node in init for the OVS.

5. Write code accordingly in OVS Class.

Hope You understood. Revert for any queries.

Regards

Nizamudeen SM

Former Member
0 Kudos

Hi

Thank you for your answer

I will try this next week

In the meantime I implemented my own solution by creating a window, putting a view in it with a table.

I also used the classes TableFilter and Table-sort to manage my table.

Works nice! And finally I have a search help that involves an event I can use. This was the most important part of the entire requirement.

Any way it would be useful to also get to know the solution you propose.

Regards

Yuval

Former Member
0 Kudos

Hi Yuval,

When you put an input field and a button in a container and display a pop up window on click of that button.

You can create multiple search options with table and filters in that pop-up window. and link the selected table filter attribute to input field of the main window.

Or You can use the same IModifiableSimpleType and bind to attribute of the input field.

Regards,

Hanif