Skip to Content
Author's profile photo Jorge Andrade

Define parameter values using the Search Help Exit

     This is my first post, simple, but can help someone.

     Any correction or tip is welcome.

 

     I leave here a small and simple tutorial on how to put fixed values ​​in a search help through the Search Help Exit, like the image below:

image 5.jpg

  • Create a function group.

          Ex.: ZGF_SHLP


  • Create a function module for Search Help Exit.

          Ex.: ZSHLP_EXIT


  • In modification of parameters of the function, set the following:

image 1.jpg


  • In table parameters:

image 2.jpg


  • In the source text of the function:

          In the example, for COD_TAB field will by default the values ​​of 5.1.1 . and 5.3.

image 3.jpg

         Uncomment the line (CallControl – step = ‘ SELECT’ .), does not appear the selection window, already opens the prompt selection with the filters defined in the code.

  • In SE11 within the search help , put the function created in Search help exit field.

image 4.jpg

     And that’s it. I hope it help.

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo R Sampath Kumar
      R Sampath Kumar

      hi,

      Thanks for teaching us Portuguese.

      With regards,

      sampath kumar

      Author's profile photo Alexandre Dambrowski
      Alexandre Dambrowski

      Jorge Andrade,

      Please keep in your mind, here you should post just in English! (Por favor tenha em mente que aqui você deve postar apenas em inglês!)

      To write in Portugueses, please use Comunidade SAP em Português (Portuguese Language Community)! (Para escrever em português, por favor utilize a comunidade certa: Comunidade SAP em Português (Portuguese Language Community)!

      Best regards/Cordialmente,

      Alexandre B. Dambrowski