Add Elementry search help to collective SH for vendor

Hi friends.
I am making a search help for blocked vendors..
-     Name LFA1 - NAME1 
-     Vendor number LFA1 – LIFNR
-     Account group LFA1 - KTOKK
-     Company code LFB1 - BUKRS
-     Purchasing organization LFM1 - EKORG
-     Blocking indicators
o     Central posting block: LFA1 – SPERR
o     Posting block for company code:  LFB1 - SPERR
o     Centrally imposed purchasing block LFA1 - SPERM
o     Purchasing block at purchasing organization level: LFM1 - SPERM
o     Block Function: LFA1 - SPERQ
i have made a Database view for LFA1 LFB1 and LFM1
But when i run the SH , output list contains values against input of vendor (LIFNR) only..not for others fields..
what should i do..
regards
Message was edited by:
        Madan Gopal Sharma

Hi
first write a report to fetch the Only blocked Vendors,
and create a Z table with the required fields for that Blocked vendors and update that Z table with the data fetched in the program.
The using that Table create a elementary search help for the blocked vendors.
see the help.
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
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search  help
Reward points if useful
Regards
Anji

Similar Messages

  • How to add a search help for a field in alv?

    HI!Everyone ,
    i want to add a search help created by myself for one field in alv,
    and i want to use this function "HELP_VALUES_GET_WITH_TABLE".
    can anyone help me ?
    thanks!

    HI,Vijay.
    My code like this :
          PERFORM build_fcat.
          PERFORM build_objects.
          PERFORM layo_build.
          PERFORM set_drdn_table .
          CALL METHOD alv_grid->set_table_for_first_display
            EXPORTING
             i_structure_name = 'STU_S'
              is_layout        = s_layo
            CHANGING
              it_outtab        = itab_out
            it_fieldcatalog  = i_fcat
            ."Period
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
    for example, there is a field 'UNAME' IN Structure 'STU_S',
    i want to add a search help for 'UNAME'.
    the 'UNAME'  is not users in SAP R/3 , i want to add some data by myself or from a table .

  • Adding elementry search help to SAP standard Collective Search help

    Hi,
    I had copied standard elementary search help to MAT0M to ZZ_MAT0M and added some more fields and activated to it.
    it got activated sucessfully.
    Now i have to attached the ZZ_MAT0M elementry search help to standard collective search help MAT1_A.
    How can i do that?
    can i add it directly to MAT1_A (sell --->search help <MAT1_A> changes --> in included search helpss tab using + (insert icon) )
    Thanks & regards

    I solved my problem :
    I had copied standard elementary search help to MAT0M to ZZ_MAT0M and added some more fields and copied Database View M_MAT1M to ZZ_M_MAT1M and addedd same fields and  activated both.
    both got activated sucessfully.
    Now i have to attached the ZZ_MAT0M elementry search help to standard collective search help MAT1_A and this Z-search help shd appear on the first tab.
    so I just went to collective search help MAT1_A in change mode --> click on "+" icon addedd my ZZ__ search help, save and activated it.
    If you dont really care in which tab your search help shd appear, then the best option is to use Append Search help.
    Note : if you are directly adding your search help in collective standard search help, then its better to remove hotkey form your custom elementry search help, as, if not remove will lead to warnings or make sure that you have unique hotkey in that collective search help.

  • How to add a search help for a field in Screen Personas?

       I just started learning to use a Screen Personas, and I want to know how to add a search help for a field.
       I found a property in the help document named "IsLookupSupported". Is it the key?  But I saw it was gray in the field I created, and its value is "false". I could not change it.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • How to include elementry search help into predefined collective search help

    Hi guys...
         how to include the user defined elementry search help into pre-defined collective search help.. pls reply as soon as possible..its urgent..
    regards
    kirankpasupuleti

    Hi Kiran,
    I have a complete doc on this which gives you step by step procedure to achieve the same.
    If you want I can send you the docs.
    Please give me your email id.
    Regards,
    Amit Mishra

  • Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Hello,
    this topic is still a problem for me, does anybody have an idea.
    Just to show what's my problem:
    Collective Search help KRED does include a SAP append-search help ASH_KRED which holds the elementary search helps KREDC, KREDE, KREDM, KREDW.
    The search helps KREDE, KREDM, KREDW should not be displayed, so I added another Serach-Help-Append ZKRED_CUST at the end of CSH KRED which holds these 3 SH's with the hidden flag.
    That works, the SH's are not shown anymore.
    I also added some other of the Original SAP SH's (e.g. KREDA) with the hidden flag and added changed copies of these (e.g ZKREDA) there to be shown instead.
    All this can be done modification free by appends.
    The folders of the elementary search helps are shown in the order as they are found included in the KRED SH and the append to this SH.
    This means that the not hidden Sh KREDC from ASH_KRED is shown before all the "custimized" ZKREDx -SH's. But we need this SH not very often, so that I want it to displayed al the right-most position of the folders of SH's or at the most down postition of the drop-down-selection of SH's.
    But I have not found any way to do this modification free.
    The only way to archive this is to modify ASH_KRED by setting the Hidden-Flag for KREDC and add this SH at the end of append-SH ZKRED_CUST again.
    But I want avoid this modification.
    So, is there any way to do this without modifing any of the original SAP SH's ?
    Helmut Fischer

  • How to add a search help to a field  Bank Type in Transaction FK02

    Dear All,
         How to add a search help to a field  Bank Type in Transaction FK02.
         Is there any possibilty of using  exit or searc help or domain to solve this problem.
            Thanks in Advance..
    Thanks,
    Lakhsmi.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • How to add new Search Help in VD02

    Hi All,
    I have created Database view and Elementary Search Help and i want to add the search help to Cutomer in VD02, So can any one please tell me how i can do it .....
    Regards,
    Sudhakar Reddy.A

    Hi All,
    If i select any Customer from this search help the selected customer should get display on the field...
    EX:
    IF i select Customer : 100 in VD01
    It Should get display in the field Customer in VD01.
    Can any one can help in this....... As i am using HOT KEY as 'Z' in Elementary Search Help.
    Regards,
    Sudhakar Reddy.A

  • How to add the search help in Screen programming "F4" help

    i add the input field
    se51 --> layout and now want to add the search help with these field,
    please help me... in this way.

    Looks like u r a novice in Mp programming.
    Please look at some demo programs in SAP which can teach u the basics of Module Pool programming . Use Demo* in se38 and search first in sap and then in some other sites.
    The above thing can be done in Process on value request .
    Br, vijay.

  • F4 help for Elementary Search Help in collective Search help

    Hi Gurus,
    I have created an elementary search help 'ZXXX' with fields Partner , KDGRP and KTEXT .For this searh help,  I have created a  database view for the selection method with tables BUT000 , KNVV and T151.Finally, added this elemenatry search help'ZXXX' to collective searh help BUPA.
    When I press f4 on BP , I could very well see the newly created seach help 'ZXXX' in transaction BP.However, the F4 on field KDGRP is missing. I thought the SAP internally determines F4 for  KDGRP based on the check table T151 in domain KDGRP but it is not happening. I did try to infulence the values in shlp-interface and shlp-fielddescr using search help exit but it does not work.
    Could you help me how do I acheive the F4 help on field KDGRP which is used in an elementary search help and further more in collective search help BUPA on transaction BP.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    cheers,
    Amber
    Edited by: Alvaro Tejada Galindo on Jan 4, 2010 3:29 PM

    Hi
    There might be some reasons for not getting the F4 value. One reason could be the complete AUTHORISATION for shopadmin given to the user.
    Please check the SHOPADMIN authorisations of the user.
    Hope this will be helpful
    Regards

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • Elementry search help (value of import parameter)

    hi friends..
    In my search help...when i pass value in WERKS as CV01 ..then no result is coming..as only CV0 value is passed to import parameter..
    and if put CV* then list is coming..
    Any IDEA to solve this problem...
    Message was edited by:
            Madan Gopal Sharma

    Hi
    Have you created the search help properly
    create by going through the doc and attach to the field werks and see,
    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
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points if useful
    Regards
    Anji

  • Change Default choice of Elimentary search help in Collective Search Help

    Hi All,
    This might be very odd one but i am faced with such a requirement.
    In collective search help for eg in MM02 for material we click on a F4 for material master and it gives the list of various search help.   By default the last selected elimentary search help will be selected.
    My requirement is that by default only the first search help has to be displayed. 
    Any idea on how this can be achieved.
    Regards,
    G

    Hi NabheetMadan,
    I am aware of the concept of search help exit.  What i am looking for is how to influence the choice of default search help in the exit.
    Regards,
    Shankar

  • 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 in selection screens for interactive report

    A search help can only be assigned to DB table.
    So my doubt is can it also be used for seletion screens created for an interactive report?
    If yes what is the procedure.. Please give me one example at least...
    waiting for your valuable suggestions.....
    Thanks,
    regards,
    Chinmay

    Hi Chinmay,
    I suppose your requirement is to give search help to selection screen elements.
    Here is the code.
    REPORT  ZSHAIL_F4HELP                           .
    parameters: name(10) type c .
    TYPES: BEGIN OF VALUES,
             CARRID TYPE SPFLI-CARRID,
             CONNID TYPE SPFLI-CONNID,
           END OF VALUES.
    dATA: PROGNAME LIKE SY-REPID,
          DYNNUM   LIKE SY-DYNNR,
          DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
          FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
          VALUES_TAB TYPE TABLE OF VALUES.
    at selection-screen on value-request for name.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        tabname                   = 'DEMOF4HELP'
        fieldname                 = 'CARRIER1'
      SEARCHHELP                = ' '
      SHLPPARAM                 = ' '
       DYNPPROG                  = PROGNAME
       DYNPNR                    = DYNNUM
       DYNPROFIELD               = 'CARRIER'
      STEPL                     = 0
      VALUE                     = ' '
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
      SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = ' '
      CALLBACK_FORM             = ' '
      SELECTION_SCREEN          = ' '
    IMPORTING
      USER_RESET                =
    TABLES
      RETURN_TAB                =
    EXCEPTIONS
       FIELD_NOT_FOUND           = 1
       NO_HELP_FOR_FIELD         = 2
       INCONSISTENT_HELP         = 3
       NO_VALUES_FOUND           = 4
       OTHERS                    = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    PROGNAME = SY-REPID.
      DYNNUM   = SY-DYNNR.
      CLEAR: FIELD_VALUE, DYNPRO_VALUES.
      FIELD_VALUE-FIELDNAME = 'CARRIER'.
      APPEND FIELD_VALUE TO DYNPRO_VALUES.
    I hope your query is solved.
    If so,please award points.
    Regards,
    Sylendra.

Maybe you are looking for

  • Java Card Applet Development

    Please I am doing my final year project on secure mobile application using Java Card Technology. I need to write and an application that can send SMS on a SIM card to another SIM card with the same application. The application will have a server side

  • SSI of HTML file using SpryAssets

    Hi, I've saved a navigation header for my website in a nav.html file. I'm trying to get another file, test.shtml, to use server-side includes to include nav.html into it. However, the nav.html file was built in DW using a Spry Menu Bar, which stores

  • Hdmi to compoent

    I don't have hdmi ports on my tv, is it possible to go from hdmi to component. Because Have looked at some websites and they say its impossible. http://www.bluejeanscable.com/articles/component-to-hdmi-cable.htm

  • Validating select-options entries

    hi i need to check whether all entries in SELECT-OPTIONS range are valid or not. *my select-options field is s-pernr as below. SELECT-OPTIONS: s_pernr  FOR pernr-pernr. *all valid entries from PA0000 table will be selected into pernr_table. SELECT DI

  • Can not start workflow from Servr OM code

    Hello all , i want to start sharepoint 2013 workflow when a list item is updated based on some condition. i have writen bellow code var workflowServiceManager = new WorkflowServicesManager(web);                 var workflowSubscriptionService = workf