0% found this document useful (0 votes)
2K views

How To Delete Search Help Duplicate Entries in Sap Abap

To remove duplicate entries from a search help in SAP ABAP, one creates a custom function group and module, copies an existing exit function module, removes existing code, and adds code to sort and delete adjacent duplicate records from the search help table. This prevents the same document number from repeating multiple times in the search help output.

Uploaded by

Kabil Rocky
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

How To Delete Search Help Duplicate Entries in Sap Abap

To remove duplicate entries from a search help in SAP ABAP, one creates a custom function group and module, copies an existing exit function module, removes existing code, and adds code to sort and delete adjacent duplicate records from the search help table. This prevents the same document number from repeating multiple times in the search help output.

Uploaded by

Kabil Rocky
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 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.

You might also like