Making field mndatory & adding search help in MB21.

Hi experts...
I want to make two fields mandatory in tcode MB21 & MB22.
Also want to add search help to one of the field.
Can any one tell me?..............
Regards.
Sunil.

You can look for the search help exits to make the changes if already a help is available.
If nothing is available you can check with the screen exit to add the help.
refer the link,
Re: Search help enhancement - VA01

Similar Messages

  • Adding a new field to the search help exit

    Hi friends,
    adding a new field to the search help exit. How does it work ?
    Thanks in advace
    Ilhan

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • Records not displayed in the WGBEZ field in H_T023_MEPO search help.

    Hello Friends,
    I have created the search help exit , in that based on the LREF3 , we have to fetch the materail groups.
    1.I have written the code in the exit , in the search help exit tables parameter record_tab , the data is coming correctly
    but when we run  search help, the description field is not getting displayed.
    I have shift 2-3 places left side as well but the description is not displayed correctly.
    So how can we get the description field filled.
    2. We want that the LREF3 field should come in the selection screen of the dialog box, so that user can enter the values in it.(dialog with value restriction) so i have added LREF3 field in the search help parameters but i want that
    this field should not be displayed in the results of search help . Only materail group and its description gets displayed.
    So can we achieve the same.
    Thanks to provide answers for my above two questions.

    Hi
    Please go through the related pointers ->
    The OSS note 672960 has already indicated you need to use BADI to address it.
    For Search criteria
    You can also use user-defined fields as search criteria. To do this, you have to set fields XINPUT and XDISPLAY to 'X' in table ET_FIELDS for the fields you want to use in BADI BBP_CUF_BADI_2 in method MODIFY_SCREEN. The fields defined this way are displayed if you choose the 'Extended search' link.
    Re: Custom field in Create Bid Invitation..
    Re: Search Help for Purchasing Group..
    Re: urgent help request - How to add custom fields to  header BID.
    Re: New Screen with table control information in Process Bid Invitation
    Do let me know.
    Regards
    - Atul

  • How to change the desription of a standard SAP field in the Search Help

    Hi All,
    In Table T023T there is a field WGBEZ60(Long text describing the material group) and the data element of the field is WGBEZ60.
    Requirement is to change the description of the field WGBEZ60.The desription of the  field is - Description 2 for the material group.
    But the user want as - Description for the material group. He dont want 2 in the description.
    we are using this field in the search help of Material group for the transaction ME21N and ME51N.
    So please tell me how can we change the description of the field in the Search help.
    Thanks.
    Regards,
    Peeyush

    As search help uses data element , it shows its keyword. So you have to do modification to that keyword.
    - Go to CMOD
    - from top menu GOTO -> Text enhancements -> Keywords -> Change -> type WGBEZ60 -> change the description -> Save and add it to transport
    - now use that data element either on the screen or search help. It will have the descripiton modified.
    Regards
    Marcin

  • Modify another field value in search help exit.

    While creating the Sales Order, the user does an f4 on ship to party to determine the sold to party ( search help exit ), now I have the values of both the Ship to customer and Sold to customer in the search help exit, but I can update only the ship to field of the sales order, do you know how I can modify the sold to value on the screen.
    I tried setting up the parameter id 'VAG' in the search help exit with the determined value, but this value is not getting copied in the Sold to party field once the search help is executed.
    The other option which is left is export to memory and import to memory in another user exit of VA01. Is there any other alternative? Also which program do I need to do the import of memory so that sold to party is displayed on the initial before saving the document ?
    Ajay

    Hi,
    Yes..Try calling from the search help exit..
    You have to pass the program name and screen number..
    In the internal table parameter DYNPFIELDS..
    Pass the fieldname and fieldvalue...
    Thanks,
    Naren

  • Product category: Add description field to the search help

    Hi experts,
    My requierement is to add the material group description field 2 in search help.
    Analysis: While creating the shopping cart it will ask product category . when we click on the drop down list we can find the ...type if u click on that it will move to other screen where we can search.after that it will show the product category description , category ID, Logical system.
    I want to add one more field to that ( product category description 2 field.
    let me know how can i proceed further on this.
    Thanks,
    Prashanth.

    Hi Neha,
    Thanks.
    but i want to know which search help is using....(IN ITS )
    please help me to find the exact search help.
    Thanks,
    Prashanth.

  • Adding search help to standard SAP field

    Hi Experts,
    I need to add search help to field ZUONR i.e assignment field in various tcode like fb70,fb60,f-02.etc which will select data from
    Z tables . I have found out serach help exit F4IF_SHLP_EXIT_EXAMPLE but as per my knowledge that is to change existing standard search help.But to field ZUONR there is no search help attached.How can new Z search help be added to field ZUONR without use of access key.
    Please suggest.
    Regards,
    Kaustubh Kabre.

    Hi,
    I don't know how to change "Value table" field on domain without access key, but if nothing else work, you can add new fixed values. From menu Goto->fixed value append.
    Other possibility is to use GuiXT -> write script that will call your FM that will get data from your table and show them.
    Best regards
    Marcin Cholewczuk

  • Adding Search help to a field of standard transction

    hi experts,
    i m new to abap.
    my pp consultant wants that in transaction MM03, for the field on selection screen (Material) one more search help should be added. and on pressing f4 it should be displayed there with other search options.
    The search field is "(Document)-Number of the drawing that exists for this object".
    Note: To see this field run transaction MM03, enter a material and press enter then we get a screen to choose a view. choose basic data2. In the block "design drawing" there is a field for "Document".
    is it possible? if yes how much time it would take and to do it.
    how should i go about it.
    plz help.

    Hi ANNIE,
    Go through the following Procedure to add a Search help to a field of standard Transaction
    The Matchcode is replaced by search help from the version 4.6C.
    I will tell u how create the search help.
    Name of a search help
    A search help is an object of the ABAP Dictionary with which input helps
    (F4 helps) can be defined.
    There are the following types of search helps:
    o Elementary search helps implement a search path for determining the
    possible entries.
    o Collective search helps contain several elementary search helps. A
    collective search help therefore provides several alternative search
    paths for possible entries.
    o Append search helps can be used to enhance collective search helps
    delivered by SAP with customer-specific search paths without
    requiring a modification.
    The three components of the input help process described by a search
    help are the outer interface, the online behavior and the method of data
    Go to Tcode SE11. Select the search help radio button.
    Give name as ztest and click create
    There are two types of search help.
    Once is elementary search help
    & collective search help
    Choose one.
    Add the data element.
    MatchCode is replaced by search helps.
    To attach a search help to a field.
    Use this code.
    at selection-screen on value-request for source.
    progname = sy-repid.
    dynnum = sy-dynnr.
    clear value_tab.
    refresh value_tab.
    Filling the Value_tab internal table by itab2 internal table.
    loop at itab_desc.
    write itab_desc-description to value_tab.
    append value_tab.
    endloop.
    prog = sy-repid.
    no = 1000.
    clear tab.
    refresh tab.
    Building the Structure of the Seach Help.
    tab-tabname = 'FMFCTRT'.
    tab-fieldname = 'BESCHR'.
    collect tab.
    Function Used to provide Search Help.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BESCHR'
    dynpprog = prog
    dynpnr = no
    dynprofield = 'SOURCE'
    window_title = 'Function'
    TABLES
    value_tab = value_tab
    field_tab = tab.
    Regards
    Sreeni

  • Adding search help (F4) for a screen field in standard screen of VA02

    Dear Gurus,
    I need to add a Search Help (F4) to a Standard Screen Field VBAK-VSNMR_V in the standard Screen of VA01/Va02.....Can anyone please guide me how it can be done.
    Regards
    Sajid
    Edited by: shaik sajid on Feb 2, 2009 8:38 AM

    Hi shaik,
    Refer to the following useful link:
    Search help enhancement in VA01
    Hope this will help you...

  • Adding search Help - In the transaction MIGO for the Field WEMPF.

    Hi All,
    In the Transcation MIGO there is a field - Good Recipient ( WEMPF ) -this does not have any F4 help.
    Now i need to create a search help for this field.
    Can any one suggest me how to proceed.
    I am thinking about -- creating a search help - and assigning it to a data elemet(WEMPF) of that field.
    is this a right way. if so please guide me the steps to do.
    Thanks in advance.
    Guru

    hie
    to add a search help to a particular field u need to get the table name where that field is located. secondly go to se11 and enter an appropriate name for your search help, allocate the table where values are going to be taken as well as the search criteria. Afterwards to the table where WEMPF is and on the search help enter your custom search help. save and activate and you shud try MIGO once more and the field WEMPF should have an F4 help.
    regards
    Isaac Prince

  • Adding search help to existing fields

    hi
    i have created a ZTABLE(structure), i need to add search help to one of the field name1 which is the standard sap field from table lfb1. can i add it into the table which i have created, if yes how can i add a search help to the field.

    Hi,
    TYPES: BEGIN OF t_reques,
           lgnum TYPE lgnum,
           END   OF t_reques.
    DATA:i_reques TYPE STANDARD TABLE OF t_reques.
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
      PARAMETER:        p_ware  TYPE lgnum    OBLIGATORY.
    SELECTION-SCREEN: END   OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ware.
      SELECT lgnum
             FROM T301
             INTO TABLE i_reques.
      PERFORM f4_help USING i_reques CHANGING p_ware.    "SUBROUTINE FOR F4 HELP.
          SUBROUTINE FOR F4 HELP.                                        *
         -->P_I_REQUES  text
         <--P_P_WARE  text
    FORM f4_help  USING    p_i_reques
                  CHANGING p_p_ware.
               CALLING FM F4IF_INT_TABLE_VALUE_REQUEST FOR F4 HELP.      *
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          ddic_structure   = 'LINK'
          retfield         = 'LGNUM'
          dynpprog         = sy-repid
          dynpnr           = sy-dynnr
          dynprofield      = 'P_P_WARE'
          callback_program = 'ZAR_F4HELP'   "Your Program Name
        TABLES
          value_tab        = i_reques
        EXCEPTIONS
          parameter_error  = 1
          no_values_found  = 2
          OTHERS           = 3.
      IF sy-subrc <> 0.
        MESSAGE i006(zmm_ab).
      ENDIF.
    ENDFORM.
    Thanks,
    Arunprasad.P
    Reward if useful.

  • Adding search help for field in FK02 Transaction

    Dear All,
         How to add a search to a field

    check this. for tehr info google or search in sdn.
    Re: Adding elementry search help to SAP standard Collective Search help
    Reddy

  • Adding Search help to view BuPaSearchB2B fields

    hii
    i am working in CRM UI7 system.
    and i want to add a search help to Account id in component 'ICCMP_BP_SEARCH' view'BuPaSearchB2B'
    can u help me
    Best Regards
    Owesat Ehsan

    Hi Owesat,
    You can try implementing BUPA search help in your attribute V-Method.
    Check the following link to get the how-to-guide to work this in the GENIL:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0646247-efe2-2b10-3b99-c1a12ef2d752
    You can check also Caíque Escaler answer at the following link, for a example with a search help implementation.
    Kind regards and good luck,
    Garcia

  • Is there any limit for Number of fields in a Search help

    Hi,
    I have created a search help via SE11 and LPOS and SPOS  is  defined for all of the fields.  The problem is whenever a 12 th field is added it disturbs the list and output is not displayed properly.
    The Record Tab is having data of 180 characters, even though it is not taking 12 th field.
    Thanks,
    Anitha A

    Self Answered
    Edited by: Anitha A on Aug 24, 2011 5:43 AM

  • How to change Labels of Fields in the search help shown as F0001 F0002 etc

    Dear All,
    For one of my fields of screen I have been calling a search help configured using F4IF_INT_TABLE_VALUE_REQUEST.
    In this function I am returning the field in dynfields. Let me know please how to change the Labels of Field Names being shown in the search help as F0001, F0002 etc....
    Regards,
    Alok.

    Hi Alok,
    You can change the Field Label by going to the Data Element and changing the Field Label .
    Hope this helps
    Regards
    Sunil

Maybe you are looking for