Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Search help exit to trigger before displaying the records

Former Member
0 Kudos

Hi All,

I need to create a search help exit for material (MAT1) to restrict the number of records that are going to be displayed.

I have created a search help exit and gave the same in the search help exit field.

But it is not triggering before displaying the results. It is only triggering before displaying query screen and after selecting a record from the results.

How can I trigger before displaying the results?

Thanks in advance.

Kishore

2 REPLIES 2

Former Member
0 Kudos

Hi,

Make sure that your code permits the display function at the top of the function module.

e.g.

case callcontrol-step.
    when c_selone or c_presel or c_select or c_return 
        *or c_display.*
    when others.
      exit.
  endcase.

Darren

0 Kudos

Darren,

I already had that logic. But still it is not stopping.

Thanks,

Kishore