Skip to Content
avatar image
Former Member

Can you change search help in SAP standard fields easy?

Hello,

I am a novice abap programmer, i have a question about search help in SAP standard fields.

I use this struct TRHEADER, and in the struct i use the field TR_EXTPID as my PARAMETER input field.

When the program is executed and the user presses F4, then the search help is started. I can see that the search help used is CTS_CHANGEABLE_IMG_PS:PROJECTS.

This is not good enough for me, in my program i need to see all projects, so i would like to change the search help to CTS_PROJECTS instead (i can see it exists).

Is it possible in the program to say it should use another search help or do i have to modify SAP standard to change it in the TRHEADER struct?

Thanks in advance.

Regards,

Kenneth

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 22, 2010 at 05:37 AM

    Search for Search_help_Exits for the same .

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      @Saravraj

      That worked perfectly i just changed my selection-option from:

      SELECT-OPTION s_proj FOR trheader-prj_extpid NO INTERVALS.

      To:

      SELECT-OPTION s_proj FOR trheader-prj_extpid NO INTERVALS matchcode object CTS_PROJECTS.

      And now it looks up alle projects 😊

      Thanks a lot, and thanks to the rest of you for you input!

      Regards,

      Kenneth

  • Sep 22, 2010 at 06:40 AM

    In your program,you can call your own search help in the event:

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR <parameter>.

    then use function F4IF_INT_TABLE_VALUE_REQUEST to build your own search help.

    Add comment
    10|10000 characters needed characters exceeded