Вы находитесь на странице: 1из 3

How to delete search help duplicate entries in sap abap.

Dear Friends,

I have faced a scenario search help values data redundancy. So I


have explored and find some solution to my requirement.

Output : before creating the search help exit.


Document number BOSS is repeating multiple times.

Steps to Create Search Help Exit :


Step 1 : Create Custom function group as example
(zf4_help ).
Step 2 : Create Custom function module as example
(zcustom_help).

Step 3 : Copy the function module


F4IF_SHLP_EXIT_EXAMPLE. As shown below.

Remove or comment the existing coding available in


the function module and incorporate the below coding
only and activate.
Program :
CASE callcontrol-step.
WHEN 'DISP'.
SORT record_tab.
DELETE ADJACENT DUPLICATES FROM record_tab.
ENDCASE.
Step 4 : Goto your search help as shown below .

Output : After creating the search help exit.


Document number BOSS is showing once as shown
below.

Вам также может понравиться