Skip to Content
author's profile photo Former Member
Former Member

abap

how to create collective search help?give me some example.

i know how to create elementary seach help.

what is the difference between collective and elementary seardh helps?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2008 at 06:09 PM

    Search Helps

    The input help (F4 help) is a standard function of the SAP System. The user can display the list of all possible input values for a screen field with the input help. The possible input values can be enhanced with further information. This is meaningful especially when the field requires the input of a formal key.

    Check this link for Creating Collective Search Helps and elementary search helps

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm

    Also check this thread.

    Difference between Match Code & search help

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 27, 2008 at 07:42 PM

    Hi Chinna

    rest is given in the above post..

    Collective search help is a collection of elementary search helps

    Ex: BUPA collective SH.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 03:34 AM

    Elementary search helps defines a search path where we will define the table from which the data has to be read and the selection criteria. Through import and export parameters. Used when we gets the data rom a single table.

    Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criteria�s. More than one tables are

    Selection from multiple tables

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 03:36 AM

    Creation of Search Helps: A Simple Collective Search Help

    Go to SE11 -> Select radio button "Search Help" -> enter a name

    Select "Elementary Search Help" radio button (on the popup) and hit "Enter"

    -> Enter "Short description" and fields that should be displayed in the Search Help in the Definition Tab.

    -> Now go to the "Included Search Helps" tab and enter the names of the Elementary Search Helps you wish to include into your Collective Search Help

    -> Now select the line which contains your Elementary Search Help and click on "Param. Assignment**"

    Position the cursor one after the other on each allocated search help and choose Parameter assignment.

    In the next screen, enter the parameter names of the elementary search helps to which the corresponding parameters of the collective search help should be assigned in the field Reference parameter. You can select the parameters contained in the included search help using the input help. Create a proposal for the assignment with Proposal.

    -> "Save" -> "Check" -> "Activate" -> "Execute". You will see a popup window (as shown below) with all the fields you added. Press F4 on any of them to see how your first Collective Search Help looks.

    Below is how it looks. CONGRATS! Your first Collective Search Help is ready and looks good

    ***********************************************

    Once done, you can attach the search help to:

    *

    A data element

    *

    A check table

    *

    A table field

    *

    A screen field

    reward points if useful.

    thanks and regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 03:38 AM

    Hi Usha,

    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).

    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.

    3)An elementary search help defines the standard flow of an input help.

    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.

    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.

    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.

    CREATION:

    Go to SE11 Tcode

    select search help

    give the 'z' search help name and create

    select the selection method ur table name eg : 'mara'

    dialog module 'display value immediately'.

    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.

    where left position when displaying and spos = search position

    and then save and activate ..

    See the links:

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm

    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485

    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619

    pls go through this for search help creation

    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm

    Search Help Exits:

    Creating Elementary Search Helps

    Procedure

    In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.

    A dialog box appears in which you must select the type of search help.

    Select Elementary search help and choose .

    The maintenance screen for elementary search helps appears.

    Enter an explanatory text in the field Short text.

    You can for example find the search help at a later time using this short text.

    In the Definition tab page enter the selection method of the search help.

    You can enter the name of a table or a view (database view, projection view or help view) here. If you enter a table that has a text table, the name of the text table is automatically entered in the corresponding field.

    Using the input help (F4 help), select fields of the selection method as parameter in the Search help parameter area. Select the fields that should be used in the dialog box for value selection or in the hit list.

    If the selection method is a table that has a text table, both the fields of the table and the fields of the text table are offered in the input help.

    The data element of the parameter is automatically copied from the selection method. The data element defines the output attributes and the F1 help of the parameter in the hit list and in the dialog box for value selection.

    You can assign the parameter another data element. To do so, select the Mod flag. The Data element field is now ready for input. Then select a data element with the input help (F4 help). Only data elements whose data type, length and number of decimal places is the same as those of the previous data element can be assigned.

    This removes the link between the data element of the search help parameter and the data element of the selection method field having the same name. If you cancel the Mod flag, the data element of the assigned table field is used again.

    Define the attributes of the search help parameters.

    Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.

    You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the parameter position in the hit list in LPos. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.

    Enter the parameter position in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.

    Set the SDis flag if the parameter should be a pure display field in the dialog box for value selection. The user is thus informed that the contents of the parameter restrict the value, but he cannot change this restriction. This makes sense for example when the parameter is an import parameter or if it has a default value.

    You can assign the parameter a default value in the Default value field.

    Select the dialog type of the search help.

    The dialog type defines how the hit list is displayed in the input help.

    Save your entries.

    A dialog box appears in which you have to assign the search help a development class.

    Choose .

    Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.

    Result

    The search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred during activation, the activation log is automatically displayed.

    Other Options

    Assign a hot key: If the search help is to be accessed with a hot key, you must enter a one-place ID in the Hot key field. All the elementary search helps contained in a collective search help should have different short cuts.

    Assign a search help exit: In exceptions, you might have to change the standard flow defined by the search help with a search help exit. In this case enter the name of the search help exit in the corresponding field.

    Test the search help: You can test the flow of an input help defined by the elementary search help with . A dialog box appears in which you can simulate the behavior of the search help under different conditions. You can obtain information about the options provided in this window with .

    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm

    kindly reward if found helpful.

    cheers,

    Hema.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 03:46 AM

    Hi ,

    Here is the steps to create Collective search help .

    1. In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.

    A dialog box appears in which you must select the type of search help.

    2. Select Collective search help and choose .

    The maintenance screen for collective search helps is displayed.

    3. Enter an explanatory text in the field Short Text.

    You can for example find the search help at a later time using this short text.

    4. In the Definition tab page enter the parameters of the collective search help.

    Select the Imp flag if it is an import parameter. Select the Exp flag if it is an export parameter.

    Define the types for the parameters of a collective search help by assigning a data element. Enter the name of the data element that describes the contents of the search help parameter in the Data element field.

    You can assign the parameter a default value in the Default value field.

    5. In exceptions it could be necessary to change the standard process defined by the search help. You can implement the deviation from the standard using a search help exit.

    In this case enter the name of the search help exit in the corresponding field.

    6. On the Included search helps tab page, define the search helps that you want to include in the collective search help.

    You can include elementary search helps and collective search helps.

    Use the Hide flag to control whether an included search help should appear in the dialog box for selecting the elementary search help. If the flag is set, the search help is not offered.

    It makes sense to hide search help inclusions if one or more search paths in the standard system should not be used in a specific SAP System. Similarly, search help inclusions can also be already hidden in the standard system because they only can be used meaningfully in a few cases. You have to cancel the flag in this case.

    7. Position the cursor one after the other on each allocated search help and choose Parameter assignment.

    In the next screen, enter the parameter names of the elementary search helps to which the corresponding parameters of the collective search help should be assigned in the field Reference parameter.

    You can select the parameters contained in the included search help using the input help. Create a proposal for the assignment with Proposal.

    8. Save your entries.

    A dialog box appears in which you have to assign the search help a development class.

    9. Choose Activate .

    Result

    The collective search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation Log. If errors occurred when the collective search help was activated, the activation log is automatically displayed.

    The difference between collective and elementary seardh helps

    Elementary search helps:- defines a search path where we will define the table from which the data has to be read and the selection criteria. Through import and export parameters. Used when we gets the data rom a single table.

    Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criteria’s. More than one tables are

    Selection from multiple tables

    Reward points if it is usefull...

    Girish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.