Skip to Content
avatar image
Former Member

Can I achieve F4 help?


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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 16, 2015 at 02:37 AM


    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



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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