Search help and Match code oject

How to create the search help in version 5.0 and 6.0 ? what is elementary search help,collective search help? what is the use of these search helps? where we use elementary and collective searsc helps? what is the difference between searc help and match code object? how to use in reports?where we use search help and F4IF_INT_TABLE_VALUE_REQUEST function module? what is the diffference between them?

Hi Rk,
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
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search  help
Thanks,
Reward If Helpful.

Similar Messages

  • Diff b/n search help and match code

    hi all,
    can i know the differece between search help and match code object in terms of functionality?
    is there possibility to provide matchcode object for select-options?if yes how can we provide?

    <b>same thread again.</b>
    hi,
    Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
    Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
    A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
    You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
    You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
    Search Help
    Use
    With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
    Prerequisites
    You can call this function by:
    · Selecting Object ® Search... () in the main menu bar of the Integration Builder
    · Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
    In this case the software component version is defined as the search criteria.
    Features
    Defining the Object Type
    You can select the object type in a dropdown list in field Object Type.
    In the design (Integration Repository) you can
    · Select an object type (for example Message Interface)
    · Select a cross-object category (for example Interface Objects)
    In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
    CHECK THIS LINK TO CREATE A SEARCH HELP.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
    more details...
    Here is the code to attach a search help to a select-options
    SELECT-OPTIONS S_MATNR FOR MARA-MATNR MATCHCODE OBJECT MAT1_A.
    Rgds
    Anver

  • Difference between Search Helps and Match Codes?

    Difference between Search Helps and Match Codes?

    Serch help
    Search Helps
    The input help (F4 help) is a standard function of the R/3 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.
    Standard Input Help Process
    A user calls an input help with the following steps (some steps can be omitted, depending on the definition of the input help):
    The user starts the input help to display the possible input values for a field (search field) in a screen template.
    The system offers the user a number of possible search paths. The user selects one of these search paths. Each search path offers a number of restrictions to limit the number of possible input values. These values are offered in a Dialog box for value restriction when the search path is selected.
    The user enters restrictions if required and then starts the search.
    The system determines the values that satisfy the entered restrictions (hits) and displays them as a list (hit list).
    The user selects the most suitable line from the hit list by double-clicking.
    The value of the search field is returned to the screen template (possibly together with other values).
    Steps 2 and 3 are omitted if there is only a single search path available. In this case the dialog box for the value selection is offered immediately. You can also output the hit list directly after starting the input help. Steps 2 to 4 are omitted in this case.
    Function of a Search Help
    This standard process can be completely defined by creating a search help in the ABAP Dictionary. This search help only has to be assigned to the screen fields in which they should be available (see Attaching Search Helps to Screen Fields).
    There are two types of search help:
    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).
    Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    See also:
    Example for Search Helps
    Creating Elementary Search Helps
    Creating Collective Search Helps
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/cf/21ee2b446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Match code
    Match code is nothing but the Search help in Higher versions
    It is same way from SE11 you have to create.
    so from SE11 create it and use it.
    Matchcode objects are being replaced by search helps. This is good as search helps are easy to create. However, it has caused some confusion on how best to add search helps to a selection field.
    The trick that I found is to keep your newly created search helps to a 4-character name. The Matchcode object name has this old 4-character limit. This trick is not documented anywhere in the system but it has been a great time saver for me. You can expand this concept by finding existing SAP search helps that are more than 4-characters, copy them to a 4-character name and presto, you have a new matchcode object available for use
    Check this thread to get detailed info
    Match Code Objects
    Match code
    match code
    match code
    Match code
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef46446011d189700000e8322d00/content.htm
    Rewards if useful.................
    Minal
    http://web.mit.edu/sapr3/docs/webdocs/dontindex/pdf/mcqc.pdf

  • Search help and match code

    we have a search help created called z_zvalue(matchcode). we created it for va42. when we were search the contract number using the z_zvalue, able to see the the contracct number, but the contract number is not passing to the va42 contract field. anybody can tell me how can I pass teh value to the vbeln filed in va42. I don't have that much idea about match code

    hi
    can u please explain me the problem clearly and the solution also.
    thanks in advance.

  • Help in Match-code for field SEARK (Search Term)

    Friends, in my aplication was necessary insert the match-code for SEARK field.
    I use the function module RH_OBJID_REQUEST in the form OPEN_BOX2 at the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
    When I use this match-code and select the 4 itens and clique the OK button, only the last item appears in the field.
    Anyone else had this problem?
    Can someone help me?
    Thanks for listening. 
    Below is the code:
    select-options:
      so_requi    for pm0d1-seark no intervals  .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
      PERFORM open_box2 CHANGING so_requi-low.
    form OPEN_BOX2  changing p_so_requi_high.
    Variáveis
      DATA: h_plvar LIKE p1000-plvar,
            h_otype LIKE p1000-otype,
            h_objid LIKE objec-realo,
            h_begda TYPE begda,
            h_endda TYPE endda,
            p_subty TYPE plog-subty.
    tables
      DATA: p_change_profq LIKE hrpe_profq OCCURS 0 WITH HEADER LINE.
    preenche as variantes para os parâmetros da função
      h_plvar = PCHPLVAR.
      h_otype = 'Q'.
      h_begda = sy-datum.
      h_endda = '99991231'.
      DATA: sel_objects LIKE objec OCCURS 0 WITH HEADER LINE.
    popup with qualifications catalogue
      CALL FUNCTION 'RH_OBJID_REQUEST'
           EXPORTING
                plvar                 = h_plvar
                otype                 = 'Q'
                seark                 = '*'
                seark_begda           = h_begda
                seark_endda           = h_endda
                set_mode              = 'X' "multiple choice
           TABLES
                sel_objects           = sel_objects
           EXCEPTIONS
                cancelled             = 1
                wrong_condition       = 2
                nothing_found         = 3
                illegal_mode          = 4
                internal_error        = 5
                OTHERS                = 6.
    Captura os dados selecionados e passa para o select-options
       free: so_requi.
       if sy-subrc = 0 .
         loop at sel_objects.
           clear so_requi.
           so_requi-sign    = 'I'.
           so_requi-option  = 'EQ'.
           so_requi-low     = sel_objects-objid.
           append so_requi.
         endloop.
       endif.
    endform.                    " OPEN_BOX2

    Hi
    I am sorry I thought that it is TPLNR field
    for EQFNR there is no matchcode or search help
    if you want you can create a matchcode/search help and add
    It is a CHAR 30 field for which most of the times no values are entered
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Choose an entry in Search help and not in its input field

    Hi to all,
    In my application I have a field with a search help.
    I want that this field only can be modified using a search help and this field can't be modified directly writing in this field.
    Is similar to transaction se63 - Translation - Abap objects - Short texts - OTR - Source language
    I have created an example with the field SCARR-CARRID but this field can be modified with search help and directly, or this field can't be modified.
    In my application I have done the following:
    -> Screen painter (layout):
    Name: SCARR-CARRID
    Input Field: not marked
    Output Field: marked
    Possible entries: marked
    Possible entries keys: 2
    -> Flow logic:
    PROCESS BEFORE OUTPUT.
    MODULE IMPORT_DATA_0001.
    PROCESS AFTER INPUT.
    MODULE EXPORT_DATA_0001.
    PROCESS ON VALUE-REQUEST.
    FIELD SCARR-CARRID MODULE listbox.
    PROCESS ON HELP-REQUEST.
    MODULE listbox INPUT.
    TYPES:
    BEGIN OF VRM_VALUE,
    KEY(40) TYPE C,
    TEXT(80) TYPE C,
    END OF VRM_VALUE,
    VRM_VALUES TYPE VRM_VALUE OCCURS 0,
    VRM_ID TYPE VRM_VALUE-TEXT,
    VRM_IDS TYPE VRM_ID OCCURS 0.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    CHECK list[] IS INITIAL.
    name = 'SCARR-CARRID'.
    SELECT carrid CARRNAME FROM SCARR
    INTO (value-key,value-text).
    APPEND value TO list.
    ENDSELECT.
    SORT list BY text.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = name
    values = list.
    ENDMODULE. " LISTBOX INPUT
    How can i solve this problem?
    Thanks a lot.

    Hi Jey:
    I have tried this:
    MODULE listbox INPUT.
      TYPES: BEGIN OF vrm_value,
               key(40)  TYPE c,
               text(80) TYPE c,
             END OF vrm_value,
      vrm_values TYPE TABLE OF vrm_value,
      vrm_id     TYPE vrm_value-text,
      vrm_ids    TYPE TABLE OF vrm_id.
      DATA: name       TYPE vrm_id,
            list       TYPE TABLE OF vrm_value WITH HEADER LINE,
            poplist    TYPE TABLE OF spopli WITH HEADER LINE,
            popanswer  TYPE c,
            popindex   TYPE i,
            value      TYPE vrm_value,
            lt_dyntab  TYPE TABLE OF dynpread  WITH HEADER LINE,
            dynpprog   TYPE syrepid VALUE 'SAPMZxxxx',           "Enter your dynpro here
            dynpnr     TYPE sydynnr VALUE '0100',          "Enter your screen number here
            dynpfield  TYPE help_info-dynprofld VALUE 'SCARR-CARRID'.
      IF list[] IS INITIAL.
        name = 'SCARR-CARRID'.
        SELECT carrid carrname FROM scarr
        INTO (value-key,value-text).
          APPEND value TO list.
          poplist-varoption = value-text.
          APPEND poplist.
        ENDSELECT.
      ENDIF.
    Use some method to display a list for selection
    Here is a simplified way of doing it but there are
    much more sofisiticated methods.
      CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
           EXPORTING
                textline1          = 'Select an entry'
                titel              = 'Selection'
           IMPORTING
                answer             = popanswer
           TABLES
                t_spopli           = poplist
           EXCEPTIONS
                not_enough_answers = 1
                too_much_answers   = 2
                too_much_marks     = 3
                OTHERS             = 4.
      CHECK sy-subrc = 0.
      CHECK popanswer NE 'A'.
      popindex = popanswer.
      READ TABLE list INDEX popindex.
      IF sy-subrc = 0.
        lt_dyntab-fieldvalue = list-key.
      ENDIF.
    Update the screen field with the selected value
      lt_dyntab-fieldname  = dynpfield.
      APPEND lt_dyntab.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname               = dynpprog
                dynumb               = dynpnr
           TABLES
                dynpfields           = lt_dyntab
           EXCEPTIONS
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                undefind_error       = 7
                OTHERS               = 8.
    ENDMODULE. " LISTBOX INPUT
    I think that there is a error that I have not seen because I put a breakpoint at the beginning of your code and the execution doesn`t stop.
    Now I execute the dynpro and appears my field 'SCARR-CARRID' and I can't choose a value and I can write in input field.
    Can you help me?
    Thanks a lot.

  • FM : to call collective Search help and update two fields in SSCR

    Hi Experts,
         I have problem while using collective serach help.
        My scenario is using Collective Search help thru that i want to update 2 fields in my selection screen.
    Thru this function module F4IF_INT_TABLE_VALUE_REQUEST  i can mapping and update two fields using DYNP_VALUE_UPDATE but using this function module i can't able to call my Collective Search help
    in other way
    Thru F4IF_FIELD_VALUE_REQUEST  i can able to call the collective search help but _i can't mapping field and can't updated the
    selection screen field_
    Is any otherway to do it, Please help me ASAP.
    Regards,
    Florian.

    Hi Friends,
    I have the similar kind of requirement. Upon click on a Button on screen i need to call a search help, and collect one or more selected material numbers.
    The search help is working fine and i am getting the entries with the following code.
    The problem is i am finding extra popup on screen.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname         =  space
    fieldname       =  space
    SEARCHHELP      =  'MAT1'
    MULTIPLE_CHOICE =  'X'
    STEPL           =  0
    value           = 'MATNR'
    *dynpprog        =  progname
    *dynpnr          =  dynnum
    *dynprofield     = 'CARRIER'
    CALLBACK_PROGRAM          = 'ZTEST_1_PRA'
    CALLBACK_FORM             = 'F4CALLBACK'
    TABLES
    RETURN_TAB                = RETURN_TAB
    EXCEPTIONS
    FIELD_NOT_FOUND           = 1
    NO_HELP_FOR_FIELD         = 2
    INCONSISTENT_HELP         = 3
    NO_VALUES_FOUND           = 4
    OTHERS                    = 5.

  • Search help for material code in VA01

    Dear Experts,
    In VA01 tcode in item level if user press f4 in the material code then we will get all the f4 helps for few fields.Now i need to add one more field  mtart from mara table  in the existing  search help of material code.
    plz suggest me how can i proceed.
    If u have any documets regarding adding one more fied to existing search help plz send me.
    Thanks & Regards,
    farook.
    Edited by: farook shaik on Aug 18, 2009 8:58 AM

    Hi,
       You can do that using search help exits you would find several threads already posted to the forum for this like below:
    Link[Search Help Exits|Search Help Exit;
    Regards,
    Himanshu

  • Search Help and Multiple Value Selection?

    Hello
    Is it possible to select more than one entry in a search help popup? If so, what do I have to do in the context attribute to be able to handle multiple return values from the search help popup?
    Regards,
      Mathias

    hi matthias.....
           you cannot select multiple lines in a search help. because... you are going to return to only one field... else what you can do is. have a small button which acts as a search help and pop up a window which has  a table in it. so you can select multiple values.
    ---regards,
       alex b justin

  • A question about search help and input help,PLZ take a look at it.

    hi everyone,
    i want to know the difference between search hlep and inpu help
    can anyone tell me about that?
    thanks

    HI
    BOTH ARE SAME
    you can define F4 help in 2 ways
    in SE11 or in the report program
    IN SE11
    Attaching a search help to a table field
    Choose the field name, click on search help tab and
    provide the name of the search help.
    A search help is attached to a field of a table or structure in the maintenance transaction for this table/structure, analogously to attaching to a table. You must assign the interface parameters of the search help to any fields of the table/structure. The search field must be assigned to an EXPORT parameter of the search help at this time.
    Attach the search help to the table field
    The search help ZSTRAVELAG_NAME is therefore directly attached to the field AGENCYNUM of table ZSTRAVELAG.
    Attaching a search help to a data element
    Provide the search help name and the parameter name
    under the further characteristics tab of the data element.
    If the input help of a field is defined by its data element, no further screen fields can be used in the input help.
    Also note that the input F4 help would be available wherever the data element is used.
    Attaching a search help to a screen element
    A search help can be directly assigned to a screen field in two ways.
    The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
    The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
    However, input help is only available for this particular screen.
    in REPORT PROGRAM
    in this way we declare in report program
    TYPES : BEGIN OF ST_OBJID_SH,
    OTYPE TYPE HRP1000-OTYPE,
    OBJID TYPE HRP1000-OBJID,
    END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
    SELECT OTYPE OBJID FROM HRP1000
    INTO TABLE IT_OBJID_SH
    WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'OBJID'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'S_OBJID'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    VALUE_TAB = IT_OBJID_SH
    FIELD_TAB =
    RETURN_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.
    ENDIF.
    Check this out
    http://www.sap-img.com/abap/value-request-for-parameter.htm
    ******************************8
    sample program
    report zrich_0001 .
    data: begin of ihelp occurs 0,
    field type char10,
    ftext type char50,
    end of ihelp.
    data: a_field(20) type c.
    select-options s_field for a_field.
    initialization.
    ihelp-field = 'A'.
    ihelp-ftext = 'Description A'.
    append ihelp.
    ihelp-field = 'B'.
    ihelp-ftext = 'Description B'.
    append ihelp.
    ihelp-field = 'C'.
    ihelp-ftext = 'Description C'.
    append ihelp.
    at selection-screen on value-request for s_field-low.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield = 'FIELD'
    dynprofield = 'S_FIELD'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    value_org = 'S'
    tables
    value_tab = ihelp.
    start-of-selection.
    one more program....
    REPORT ZHELP .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
    SELECT MATNR
    FROM MARA
    INTO TABLE ITAB
    UP TO 10 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'MATERIAL NUMBER'
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_MATNR'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3.
    Create it from SE11.
    enter search help
    and create elementary
    enter description and below Table name
    and the fields
    see the doc
    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.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

  • Help for search help and currency and quantity fields

    hi,
    please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
    regards
    raj.

    Hi Rachu,
    Welcome To SDN
    Help On Search Help
    Go to se11
    Select radio button Search help
    click on create
    and select elementary seacrh help
    selection method---->tablename or viewname
    press f1 in search help exit we will get a FM named as
    F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
    come to se11
    and in our seacrh help we will pass components of the search help
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
    Help On Currency and Quantity Fields:
    Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
    If suppose you are creating a table for Employee. And suppose that fields would be like :
    EMPID -
    employee id
    EMPNAME
    employee name
    DEPARTMENT --- department
    SALARY -- salary ( Data Type u2013 CURR )
    WEIGHT -
    weight of the employee ( Data Type -- QUAN )
    Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
    CURRKEY --- Data Type ( Cuky )
    Quantity --- Data Type ( Unit )
    Now we have to attach the field Currkey to the field Salary
    And the field Quantity to the field Weight
    So when u create a table you can see a tab Currency / Quantity fields.
    Here You can give the reference table and the reference field against the salary and weight fields.
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074

  • CUP - custom field and match code

    Hi,
    is it possible to have a custom field in CUP with a match code to help searching ?
    the only two way that i found are dropdown lists for a table from a backend system and free field ( varchar, date, numeric)
    thanks
    Regards
    Aurelien

    Hi Aurelien,
    You can create custom fields in CUP for the following types.
    1  Text type
    2 Numeric type
    3 Date type
    4 Drop down
       a) drop down data define in CUP
       b) Drop down data coming from backend table.
    If you want a request to be associated with a match code that helps you seaching the request later.
    Than create an text type custom field and use in a workflow.
    While a creating the request define the value of custom field.
    Now you can serch request on the basis of the value define in the custom field.
    Kind Regards,
    Srinivasan

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • Search Help for transaction code KE53

    Hi Experts,
    I want to add one more elementary search help in already existing search help PRCT for tcode KE53.
    This is a collective search help. I am trying to create an elem. searh help which includes 3 input fields
    Profit Center (PRCTR), Text desc. of Profit Center (LTEXT), and Company Code (BUKRS). But the problem is PRCTR & BUKRS are in table CEPC_BUKRS and PRCTR & LTEXT in table CEPC. Then how do i club the 3 in a single elem help. Do i have to use Search Help Exit. I have created a FM in which i have written a select query as follows:
    SELECT APRCTR ALTEXT B~BUKRS
           FROM CEPCT AS A
           INNER JOIN CEPC_BUKRS AS B
           ON APRCTR = BPRCTR
           INTO CORRESPONDING FIELDS OF TABLE ITAB.
    ITAB is the table in FM. The FM also includes the changing parameters :SHLP & CALLCONTROL and tables SHLP_TAB & RECORD_TAB (but i dont know the use of the parameters). How do i proceed.
    I dont have any idea about search help exits. Also there is no table which includes PRCTR, BUKRS and LTEXT.

    Hi,
    No need to write a search help exit. You can instead give a database view in the selection method. This database view can be a join on the tables CEPC  and CEPC_BUKRS.
    Refer to the search help PRCTN which uses a database view as the selection method.
    Since this is a standard search help, you will have to use append search help technique. Refer to this link for [enhancing the standard search help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm].
    regards,
    Advait
    Edited by: Advait Gode on Dec 30, 2008 9:45 AM

  • How to build search help for company code (BUK) in SRM

    Hello,
    I am new to SRM and was wondering if any have come across similar requirement. I am a workflow developer and we are building a custom table to derive deadline escalation timelines. We are also adding a field in our custom table for company code so that we can have company specific deadlines. table T001 is empty in SRM and hence we are unable to use F4 (search help). Is there existing functionality in SRM that gets this search from the backend ECC system and displays when F4 is pressed. How can I use that functinoality?
    Appreciate any info folks.
    Thanks again.
    Samir

    Hi
    Which SRM version are you using ?
    <b>Related links -></b>
    Re: Search Help on SRM front end screen
    F4 Help for WBS Element
    Re: Company Code defaults
    Re: Search help for Custom Item level field
    Custom field in SRM as a dropdown field with values stored in R/3
    Calendar help for Date i/p field in SRM 5.0 shopping cart
    Company code
    Problems assigning values via F4 or search help
    Also There is a standard table in SRM which contains Plant data ->
    <b>BBP_LOCMAP</b> (Mapping Table Business Partner --> System --> Location)
    Try creating a  custom search help based on this Table, defined as selection method and assign the same to the related field.
    Do let me know.
    Regards
    - Atul

Maybe you are looking for