Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member1716
Active Contributor

Hi all Experts,


In this document I would like to explain about the search help concept that we have in SE11. The different types of it. How to create it. How to find the search help that is used in standard t-codes. Hope you will find this post useful.

What is search help?

In T-code se11 we have a radio button as search help (Marked in Red Below), have you ever wondered what is the use of it and where it is applicable. You are about to know the entire use of it in the following pages.



Types of search help:

Search help is of two types as below:

1)    Elementary search help:


Elementary search help is like when we press F4 on any particular field we will have only one tab where certain fields will be present in which you can enter the values and retrieve the corresponding values for the field.


2)    Collective search help:


In case of collective search help we will have collection of several tabs for assisting to fill the value in the field. Take a look at below image showing the collective search help (Marked in red below), here we have displayed the collective search help used in the T-code va21 for the field sold to party. We can find there are several tabs available for F4 for that particular field.



How to find the search help for standard transaction:


To find the search help used for any particular field in standard T-code follow the below steps:


1)     1) Press F1 on the field and find the screen number by clicking the technical settings icon.


2)     2) Now go to the main program of the transaction and reach to the corresponding screen.


3)     3)View the screen in screen painter and click on the required field, you will be getting the name of the search help as marked in red below,



How to create a search help:


In the following pages we will see how to add our own elementary search help to the collective search help of the standard T-codes.


Steps to be followed: 


We need to do the following steps in order to achieve our requirement,


1)     1) Create a view.


2)     2) Create an elementary search help.


3)     3) Append the search help to the collective search help of the standard transaction.


1)    Create a view.


a)     a) Go to se11 and create a view where you have added all the fields that needs to be used in your own search help as shown below. You can add as many fields as per your requirement.



2)    Create an elementary search help.


a)     a) Go to se11 and give search help name of your choice and click create. Select elementary search help radio button in the pop up and click continue. You will be getting the below screen.



b)     b) In the above image enter the view that you have created in the field Selection method (Marked in red above) and then add the fields that you want to be displayed in your search help. Finally the screen will be looking as below after activating.



3)    Append the search help to the collective search help of the standard transaction.


a)      a) As we have found out the search help used in the standard transaction above using the screen painter the job is easy now for us. Enter the search help value in se11 and display, in our case the search that we found out above was SD_DEBI. Reach out to the third tab as below.


b)  



   b) Now click on go to -> append search help as below,


c)    



c) You will be reaching to the screen below, click on the create icon (Marked in Red below) and give a name of the elementary search that we have created to append.



d)     d) Now as soon as you continue you will be getting the below screen,



e)   


Re    e) Reach out to the third tab and enter the name of the elementary search help that you have created above in step 2.



f)      f) Now position the cursor on the search that you have entered and click on Param Assignment button (Marked in Red above). We have to assign the required parameter that needs to be copied to screen field in our case it is KUNNR field as shown below. Do not forget to activate.



g)    g) Now go back and see the main search help screen, you can find our appended search help present (Marked in red below), and then activate.



h)    h) Now go the same transaction VA21 and check for the F4 help for the field you find our newly created tab present there.



   Few points to be noted:


1) 


1        1) In case of point 2 b above I have marked two fields name dialogue type and hot key. I would like to explain the significance of both,


A)       a)  Dialogue type:


It controls the display of extra tab that we have created. It has three values as marked below, you can understand the difference by simply maintaining different values and check the behavior of the tab.



       b) HOT KEY:


Suppose if we maintain any value in the field say B is maintained for our case, you can simply enter the value “=B” in the sold to party field and press enter. Then the search help will be directly navigated to that particular tab.


We can even control the resultant display of the search by simply giving values in sold to party field itself.


For eg: If you enter “=B..ABC”, then the search will display results based on the value that you have entered. The value above was preceded by two dots so the vale ABC will be place in the second field of the screen and the corresponding result will be displayed.


Conclusion:


Thus you would now learnt what is a search help, the types, how it can created, and other significance of it. In case of same field in different transactions different search help can be used. For eg: Material field in VA21 and in MM01 uses different search helps. Hope you found this document useful


Please feel free to ask in case you have any doubts regarding this document.   I would also be very happy if you could add your valuable points on this.


ABAP DevelopmentABAP Switching, Enhancing, and Adapting Standard Programs


Please do share your valuable comments and ratings. Thanks for reading


LET’S LEARN SHARE AND COLLABRATE


Thanks and Regards,


Satish Kumar Balasubramanian



6 Comments