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

Attaching search help to SCREEN FIELDS AND TABLE FIELDS

Hello experts,

Himanshu here.

Could you please explain how we can assign search Help to a screen field AND TABLE FIELDS in ABAP?

Please reply at the earliest,as we have some deliverables to be met

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 21, 2007 at 12:39 PM

    Hi,

    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 Collective search help and choose .

    The maintenance screen for collective search helps is displayed.

    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 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.

    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.

    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 concrete R/3 System. Similarly, search help inclusions can also be already hidden in the standard system because they only can be used meaningfully in a few R/3 Systems. You have to cancel the flag in this case.

    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 your entries.

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

    Choose .

    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.

    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.

    regards,

    veeresh.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi veeresh,

      I'm creating an elementry search help to attach to my own screen field so will it help or i need to create collective seach help. If i can create elementry seacrh help then what selection method should i choose which is on the definition tab.

      Plz help as i need to finish my task as soon as possible...

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 09:15 AM

    hi

    use the following code

    MODULE value_request INPUT.

    • Module to generate F4 Help

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    • DDIC_STRUCTURE = ' '

    retfield = 'EBELP'

    • PVALKEY = ' '

    dynpprog = sy-repid

    dynpnr = sy-dynnr

    dynprofield = 'DYNPFD'

    • STEPL = 0

    • WINDOW_TITLE =

    • VALUE = ' '

    value_org = 'S'

    • MULTIPLE_CHOICE = ' '

    • DISPLAY = ' '

    • CALLBACK_PROGRAM = ' '

    • CALLBACK_FORM = ' '

    • MARK_TAB =

    • IMPORTING

    • USER_RESET =

    TABLES

    value_tab = it_line_items

    • FIELD_TAB =

    • RETURN_TAB =

    • DYNPFLD_MAPPING =

    • EXCEPTIONS

    • PARAMETER_ERROR = 1

    • NO_VALUES_FOUND = 2

    • OTHERS = 3

    .

    IF sy-subrc <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    ENDMODULE. " VALUE_REQUEST INPUT

    regards

    ravish

    <b>plz reward points if helpful</b>

    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.