Create and understand search help with SAP Custom Search Help

Requirement for Create and understand search help with SAP Custom Search help

  1. Add custom search help by modifying the standard search help
  2. Then fix the issue for user being able to select multiple options but after selecting it does not populate the window

Find technical information to add custom search help

Find the technical information for the specific search help by clicking F1 and then find the table name as V_PRSMP

Create and understand search help with SAP Custom Search Help

Furthermore, Using where used find the specific search help that uses the table

Create and understand search help with SAP Custom Search Help

Below is the search help which uses that view.

Create and understand search help with SAP Custom Search Help

Check PRSMP search help and find that it is an elementary search help. Then check if there is any other search help linked to it. Moreover, Found the search help PRSM from the where used

Create and understand search help with SAP Custom Search Help

Create and understand search help with SAP Custom Search Help

The search help PRSM is a collective search help

Create and understand search help with SAP Custom Search Help

After that you can find the corresponding user exit in which the breakpoint can be set to understand how it works or check on the individual search help in the ‘Included search helps’ option.

 

Add custom search help to standard.

Created a custom search help as below with the selection method as a view which fetches the result

 Create and understand search help with SAP Custom Search Help

This view has a join with table PROJ

Create and understand search help with SAP Custom Search Help

There can be other kinds of search help you could create like below:

Combination of selection method and Search help exit as belowCreate and understand search help with SAP Custom Search Help

Additionally, for this requirement an elementary search help as my custom code and added it in the collective search help “Included search help” Section as below

 Create and understand search help with SAP Custom Search Help

After debugging there seems to be some parameter missing which caused the issue of not being able to populate the value from the search help. Additionally, Read more in the section below

Reported issue

Multi selection search help did not return any values.

Create and understand search help with SAP Custom Search Help

After that using Multiple selections

Create and understand search help with SAP Custom Search Help

Then custom search help was created as seen below

Create and understand search help with SAP Custom Search Help

When the user selected options for multi select

Create and understand search help with SAP Custom Search Help

Then no value was returned

Create and understand search help with SAP Custom Search Help

Fix search help not returning result issue:

To start debugging popup since you cannot type /h to debug just drop the file on the GUI for the specific screen which has pop up and you would open up the debug screen

[FUNCTION]

Command=/H

Title=Debugger

Type=SystemCommand

Found in debugging a parameter missing which caused the issue and  then there was a missing assignment of the elementary search help to the collective search help. Then Assign button was clicked and then copy this helped to fix the issue and the selection of the search help was returned back on the display screen.

Create and understand search help with SAP Custom Search Help 

In addition, to read more about thishttps://blogs.sap.com/2022/06/29/getting-started-with-abap-how-to-create-help-view-and-search-help-part-1/                                                                                                 For more information and services:https://peritossolutions.com/services/sap-consulting-services/

Get In Touch If You Have A Business Query