How to Assign Custom Search Help to the standard tcode ME53N.

Hi All,
Can any help me  out.
I have created a custom Collective Search ZH_T023_MEPO, I want it to be assigned it to the Tcode ME53N. Replacing the standard one H_T023_MEPO. and i also need to restrict it for only one Plant for other Plantu2019s  standard search help H_T023_MEPO should work as usual

Hello
The search help in the item overview (of the purchase order) is H_T023_MEPO whereas in the item details section (tabstrip Material Data ) it is H_T023.
Thus, there would be at least two search helps that you need to change or modify.
I would suggest a different approach assuming that your requirement is to restrict the search help under certain conditions (e.g. plant). Implement the BAdI ME_PROCESS_PO_CUST and implement two methods:
PROCESS_ITEM = check material group of item and invalidate if required
(IF_PURCHASE_ORDER_ITEM_MM~INVALIDATE)
CHECK = closing check of entire PO (in case of invalid material groups return CH_FAILED = 'X'
Regards
  Uwe

Similar Messages

  • How to assign a search help

    Hi
      How to assign a search help for the particular field
    in any screen.
    By
    Prashanth

    Hi,
    **How to assign a search help for the particular field
    in any screen.
    -  insert the event PROCESS ON-VALUE-REQUEST in the program and add a field statement for the field that should trigger the F4 help. In the mdoule called from <b>PROCESS ON-VALUE-REQUEST</b>, call function module
    F4IF_FIELD_VALUE_REQUEST.
    <b>Samples code:</b>
    PROCESS ON VALUE-REQUEST.
    FIELD it_zsd00003-prctr MODULE f4_help_for_pctr.
    MODULE f4_help_for_pctr INPUT.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'ZSD00003'
    fieldname = 'PRCTR'
    SEARCHHELP = ' '
    SHLPPARAM = ' '
    dynpprog = 'ZSD00002_BRUGERKONV_LISTE'
    dynpnr = '0100'
    dynprofield = 'IT_ZSD00003-PRCTR'
    STEPL = 0
    value = '50*'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    SUPPRESS_RECORDLIST = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    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.
    There is <b>on more example with code</b> , just copy and paste the code and design the screen and you will be able to find ur search help.
    Find the code:
    Re: Creating customized search helps in Dialog Programming
    Hope this will help you.
    Cheers
    Sunny
    Rewrd points, if found helpful

  • Custom Search Help for the field Equipment number

    Hi,
    I have enchanced sales order transaction and included a field Equipment number(EQUI-EQUNR).
    Here after pressing F4(Search help) standard search help is display.
    I have a requirement wherein, the standard search help should not appear and a customised search where a specific Equipment category type values should appear in the search help.
    Ex. Field equipment  category (EQTYP).EQUNR(Equipment Number).
    Please let me know how to work for the customised search help.

    Hi,
    You need to create a customized search help.
    [Elementary Search Help - Structure|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee38446011d189700000e8322d00/content.htm]
    [Creating Elementary Search Helps|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee5f446011d189700000e8322d00/content.htm]
    Then you need to attach the search help to the screen field..
    [Assigning Search Helps to Screen Fields|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee93446011d189700000e8322d00/content.htm]
    [Hierarchy of Search Help Call|http://help.sap.com/saphelp_nw04/helpdata/EN/0b/32e9b798da11d295b800a0c929b3c3/content.htm]
    regards
    Nitesh

  • How to pass custom search help(F4 help) for a field in ALV output?

    Hi,
    I want to activate the F4 help in ALV output for a field for which we do not have search help assigned at table ,data element and domain level.
    In field catalog i have enabled it by below line.
    ls_fcat-F4AVAILABL = 'X'.
    but because there are no standard input help available it is giving message as "No input help is available".
    so how to pass our custom search help (g_search) for any field in ALV output.
    I am using object oriented ALV grid display.
    Thanks!!!
    Rajesh Gupta.

    hi,
    check this out:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b3d5e890-0201-0010-c0ac-bba85ec2ae8d
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/acdefb13-0701-0010-f1a2-8eeefa7d3780
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b3d5e890-0201-0010-c0ac-bba85ec2ae8d?quicklink=index&overridelayout=true

  • How to change the search help in the standard table?

    Hello Experts,
    Due to service package installation the search help in standard table (VBAP)  field (KDMAT) was changed from Collective search help (VMCV)  to elementary search help (VMCVA).
    Now I need to change the elementary search help to Collective search help, without taking the Access Key.
    Please suggest me the appropriate solution

    hi
    In SE11, go to the change mode of the collective search help and add the elementary search help, in the INCLUDED SEARCH HELPS tab.for including elementary search help, you just have to enter the name of search help along with its parameter in collective search help
    system autimatically takes selection method and dialog from elementary search help
    regards
    Prashant

  • How to implement custom lov button without the standard template.fmb?

    hello,
    i am developing a application using oracle forms 10g. i can't use the standard template.fmb because my application does not run in ebs. there comes the problem: i want to implement the lov button function like the template does, such as :
    1. when the text item get focus, lov button display.
    2. when the text item lost focus, lov button disappear.
    3. when scrollbar scrolls, the position of lov button adjust accordingly.
    4. there is only one lov button in one form and the lov button was created dynamicly.
    i found it's so complex to do this.
    anyone can help?

    Try to change the following setting to true
    app.ui.lovButtons=falsein $ORACLE_HOME\forms\java\oracle\forms\registry\registry.dat

  • How to apply custom search help

    i have a field in the selection screen for plant entry
    i want there to display all the plants that are in my own created table and NOT the entries of T001W table
    how to do that

    Hi Karan Chopra,
                           This is kiran kumar.G(working on sap).I will read all the replies for ur answer.i will develop a small code 4 u.i will execute that code that is executing perfectly try this.
    if  u r satisfy  with my answer plz give me  REWARD POINTS..
            HAVE A NICE DAY..
    i have to send a code for matnr filed.U have to according to ur requirement ok.
    CODE:
    REPORT  ydemo87                                 .
    Global Data  (MATNR = 18 IN LENGTH)
    DATA: var(18).   "It Must Be Character bcz MATNR field is a char type
    Parameters for Input the Data
    PARAMETERS: p_matnr(18).
    Global data
    DATA: t_ret_table LIKE STANDARD TABLE OF ddshretval,
          fs_ret_table TYPE ddshretval,
          t_dynp_fields LIKE STANDARD TABLE OF dynpread,
          fs_dynp_fields TYPE dynpread.
    Selection screen
    AT SELECTION-SCREEN OUTPUT.
    PLACE BELOW STATEMENT COMPULSORY
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'MARA'
          fieldname                 = 'MATNR'
       searchhelp                = 'MAT1'     "ANY NAME U WANT TO GIVE
      SHLPPARAM                 = ' '
      DYNPPROG                  = ' '
      DYNPNR                    = ' '
      DYNPROFIELD               = ' '
      STEPL                     = 0
      VALUE                     = ' '
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
      SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = ' '
      CALLBACK_FORM             = ' '
      SELECTION_SCREEN          = ' '
    TABLES
       return_tab                = t_ret_table
    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.
      READ TABLE t_ret_table INTO fs_ret_table INDEX 1.
      CLEAR t_dynp_fields.
      fs_dynp_fields-fieldname = 'P_MATNR'.
      fs_dynp_fields-fieldvalue = fs_ret_table-fieldval.
      APPEND fs_dynp_fields TO t_dynp_fields.
      CLEAR fs_dynp_fields.
    SELECT SINGLE matnr FROM mara INTO fs_dynp_fields-fieldvalue WHERE matnr
    EQ fs_ret_table-fieldval.
      APPEND fs_dynp_fields TO t_dynp_fields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
        TABLES
          dynpfields           = t_dynp_fields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          OTHERS               = 8.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Just Display the value
    START-OF-SELECTION.
      var = p_matnr.
      WRITE:/ var.

  • Dynamically assign Search Help to the field

    Hi All,
    I have creates one search help from se11 like zshlp. i m not assign this search help to the database field. bocz i used this search help at runtime. so how can i assign this search help during execution time of my program. 
    Reward for helpful answer.
    THANKS & REGARDS,
    SAHIR

    Hi Sahir,
       Creating dynamic search help means the f4 help will come on the context bases.
    that will achieved with function module
    1. F4IF_INT_TABLE_VALUE_REQUEST  : Display internal table as search help (documented in SAP)
    *---Report with selection screen and to display the list of
    possible entries for field 'B' as per the value in field 'A'.
    REPORT ZTEST_F4HELP .
    parameters: p_vbeln type vbak-vbeln,
    p_posnr type vbap-posnr.
    at selection-screen on value-request for p_posnr.
    data: begin of help_item occurs 0,
    posnr type vbap-posnr,
    matnr type vbap-matnr,
    arktx type vbap-arktx,
    end of help_item.
    data: dynfields type table of dynpread with header line.
    dynfields-fieldname = 'P_VBELN'.
    append dynfields.
    call function 'DYNP_VALUES_READ'
    exporting
    dyname = sy-cprog
    dynumb = sy-dynnr
    translate_to_upper = 'X'
    tables
    dynpfields = dynfields
    exceptions
    invalid_abapworkarea = 1
    invalid_dynprofield = 2
    invalid_dynproname = 3
    invalid_dynpronummer = 4
    invalid_request = 5
    no_fielddescription = 6
    invalid_parameter = 7
    undefind_error = 8
    double_conversion = 9
    stepl_not_found = 10
    others = 11.
    read table dynfields with key fieldname = 'P_VBELN'.
    p_vbeln = dynfields-fieldvalue.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = p_vbeln
    importing
    output = p_vbeln.
    select posnr matnr arktx into table help_item
    from vbap
    where vbeln = p_vbeln.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield = 'POSNR'
    dynprofield = 'P_POSNR'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    value_org = 'S'
    tables
    value_tab = help_item.
    Hope this is helpful to you. If you need further information, revert back.
    Reward all the helpful answers.
    Regards
    Nagaraj T

  • Custom Search Help for Business Agreement field in transaction BP.

    Dear Experts,
    My requirement is to add Custom search help to Businees Agreement field (BUPA_CRMM31-BUAG_ID) in transaction code BP.
    PLease guide me how to add Custom search help to Businees Agreement field which dont have search help option.
    Regards,
    Bala

    Hello there,
    I think the requirement/question is not very clear in your post.
    However, the segment Java applet calls a CRM class which has related code and methods.
    Class:  CL_CRM_MKTTG_SEGAP_COM
    Package: CRM_MKTTG_SEG_APPLET.
    Please explain the problem in detail.
    Regards,
    Vinamra.

  • How to link a search help to a selection screen field

    Hi All,
    I am using field PKWRG from PA0017 table in selection screen. I need F4 help there as in Tcode PA30 . But this field does not have value table or check table. However, it has a search help attached 'TRV_PKWRG' .
    But, I donot know how to assign a search help to a selection screen field. Please help.
    Regards,
    Nibha

    Hello,
    Fetch all the data which from the table which you want to show in the search help and pass the value to the FM
    F4IF_INT_TABLE_VALUE_REQUEST and the selection-screen event must be
    at selection-screen on value request parameter or selection option variable.
    BCALV_TEST_FULLSCREEN
    BCALV_TEST_FULLSCREEN_CALLS
    BCALV_TEST_FULLSCREEN_PRINT
    BCALV_TEST_FULLSCREEN_STATUS
    BCALV_TEST_GRID
    BCALV_TEST_GRID_DRAG_DROP
    BCALV_TEST_GRID_EDITABLE
    BCALV_TEST_GRID_EVENTS
    BCALV_TEST_GRID_INDEX
    BCALV_TEST_GRID_TOOLBAR
    BCALV_TEST_HIERSEQ_LIST
    BCALV_TEST_LIST
    BCALV_TEST_LIST_PRINT
    BCALV_TEST_LIST_STATUS
    BCALV_VERIFY_DTYPES_D0100_F01
    BCSMENUF01
    BDLCOF10
    BDLDVI10
    BDLTREDF

  • Additional columns in customer search help

    Need to add 5 additional fields in customer search help. The problem is i have to fetch data from ADR2 (active telephone and mobile number) ADR6 active email id. In table condition i have mentioned kna1-adrnr = adr2-adrnr, kna1-adrnr = adr6-adrnr.
    So the search help is displaying only the record which is having adrnr number in adr2 and adr6. but the client wnat to display all the kunnr irrespective whether they are having mail id or telephone number. How to achieve it???
    Is it is possible to add columns thru search help exist.
    regards
    Mullai

    Create a copy of VTBAA and append your fields...

  • Default multiple values in custom search help

    Hi All,
    I created a custom search help for the vendor. The fields in the search help are LIFNR (Vendor) and KTOKK (Account Group).
    I would like to be able to set three default values for the account group. That is, when the user clicks on the dropdown to display the search help, I would like to have three values populated in the KTOKK field. Is this possible?
    Any help would be appreciated.
    Thanks!

    Hi,
    I am not sure abt default values, but if you are using this search help in any report than you can set hot keys in your search help and using hot keys, you can set some default filter values in you report's parameter.
    you can set variant in your report where parameter is having values like :: =,<hotkey>,<sel1>,<sel2>
    here <hotkey> : wht you have assingned in search help.
           <sel1>    : one of those default values you want to display.
           <sel2>    : one of those default values you want to display for the second field.
    hope it helps,
    Regards,
    Sagar

  • Custom search help exit through stand search help SD_MAT1

    Dear Experts,
    How to prepare custom search help through stand search help(SD_MAT1).
    My requirement: In VA01 transaction, material(matnr) search help, adding custom search help.
    Regards,
    Abbas.

    Dear Abijith,
    How to write custom search help(FM) code with parameters and how match with search help parameters in search help exit.  Please give some sudo code.
    Regards,
    Abbas.

  • Creating a new Search Help on a standard SAP table field?

    Good day, everyone!
    As part of a report I am writing, the customer would like to have Search Help added to the AUFEX field in table AUFK.  They would like this functionality so that when they are changing an order via t-code ko02, they can get a list of valid values to put in field AUFEX.  I would like to tie it to a zTable I've created; in my zTable, I have just 2 fields:  a key value (that will go into AUFEX) and a text description of the key value.  This zTable is used in my report.
    While I've created a Search Help on this table already for table maintenance, I've never added a custom Search Help to an existing standard SAP table field before.  I've done some Googling and other searching to see what I need to know, but I've only been able to find information on Collective Search Helps.  AUFEX doesn't yet have a Search Help field, so I don't think Collective Search Helps is my answer.
    Is this possible?  Can I add a custom Search Help to a standard SAP table field that doesn't have any Search Help linked to it yet?  Is there an existing thread or guide somewhere that can tell me how to do this?
    Thank you!

    Hi
    Yes u can: u can assign the search help to (A) data element livel or (B) field table livel.
    After creating your search help:
    A) Run SE11, insert your data element (AUFEX), press edit and insert the search help in "Search Help" area on DEFINATION tab;
    B) Run SE11, insert your table (AUFK), press edit, place the cursor on your field (AUFEX) and go to GoTo->Search help->for field
    But u should consider it'll mean to change a standard object for both cases: so u need to get the access key from your OSS.
    Max

  • Enhancements:Search help addition to standard screen-field

    Hi Guys,
    I am trying to add search help to the standard screen field inco2 in transaction va02. for this I am trying to add inplicit enhancement point in include MV45AFZZ.
    I right click over the yellow line and create enhancement implementation in local object. the moment I choose my enhancemetn implementation and press enter, it gives me dump, Please nebody tell me where am I going worng, or Is my approach correct.....Please suggest.......
    thanks in advance

    Hi Anil,
    Can you please tell me how to approach for adding search help to standard screen field INCO2 in transaction VA02.

Maybe you are looking for

  • Calling Oracle Stored Procedure from BC4J JSP App

    I am on an extremely tight deadline and am trying to get my JSP application to use an Oracle Stored Procedure. I need to take some input from the user and send these values as parameters. Has anyone worked with Stored Procedures in JDev3.1? Please re

  • Photoshop CS5.1 Extended: Could not complete your request because there are too many Files Open

    I saved a file last night and now this morning I get an error message stating: "Photoshop CS5.1 Extended: Could not complete your request because there are too many Files Open. Try closing some windows and try again.". I've rebooted the system and ma

  • Window Properties (HTML Help) - Placement Issues

    I am compiling my online help in Robohelp 8 and have an issue with the window placement of the Help menu output.  I have a dual monitor setup so the Help window appears on the primary monitor.  Is there a setting or configuration that instructs the H

  • Calling a java program from a perl CGI

    The perl program takes form data, does stuff with it, writes it to a file, and then calls a java program to encrypt it, and email it. When I telnet to the server, I can run the java program using: java CryptoMail.class [email protected] data.txt The

  • How was this made?

    http://www.youtube.com/watch?v=Jc8TNyT9MFc&feature=related Was this made with a Motion/AE type software, or a true 3D animation software such as Maya or 3DSmax?