cancel
Showing results for 
Search instead for 
Did you mean: 

Can I achieve F4 help?

former_member194142
Participant
0 Kudos

Hello,

I created a custom SEARCH HELP and attached it to a field on my custom WD's view, well.

Now, user is asking me to add a new button on the view's toolbar, and when user clicks that button I need to show the same F4 dialog box, results list, in short, all F4 functionality should get, up on clicking of that button, pls. let us know how we can attach all that F4 functionality (dialog box, results list, user selected record populated on the field) to a button on my custom WD's view?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi,

The simple way to achieve your requirement is create a new view F4_VIEW with a table ui element.

On button click, fetch records and fill into table and show F4_VIEW as popup window.

When user selects a value on table and press OK button, read the selected row of table and populated into the TARGET field.

You should know to which field you are suppose to populate the result.

Are you having buttons for individual fields like BT_F4_MATNR, BT_F4_LGORT, etc

Regards,

Rama

former_member194142
Participant
0 Kudos

Thank you. I thought we gonna have a readily available classes / functions from std. SAP, but not!

On GUI we have  F4IF_START_VALUE_REQUEST or F4IF_FIELD_VALUE_REQUEST, like the same I expected in WD space    

Answers (0)