Search help exit for CSH_T003 not working in FB60

Hi. We need to restrict document types per transaction code.
I know we can use authorisations but it would look nicer to actually restrict the list available, so the user can only choose a valid one, rather than choose any but then be told of authorisation problems.
I put a user exit on the collective search help CSH_T003 and also on the individual H_T003 and set a break point right at the start of the user exit, but it does not break in transaction FB60.
Does anyone know if it is possible to use a search help exit in transaction FB60? If it is possible what am I doing wrong?
Thanks a lot for your help.
Regards,
Dave.

Hi ,
If you are looking to retrict a specific document type for FB60. You can do so, by customizinng "a/c payable & receivable> Busi Trans > Outgoing invoices/Credit memo>Outgoing invoices/Credit memo enjoy.
Then in Fb60, go to "editing option" and hide the doc type under "Document type option". This will only work if you want to use a specific doc type for FB60.
Thanks
Ron
Edited by: Ron on Dec 2, 2009 8:45 PM

Similar Messages

  • Issue Search Help Exit for Material Group

    Dear Expertsl,
    I developed a search help exit for material group for the search helps both H_T023 and H_2023_MEPO to restrict certain material groups from the actual display as follows
    1)  I developed custom table to hold the Invalid material groups
    2) Developed search help as same as in the bellow link
    link:[https://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
    3) Before the statement
        SELECT matkl wgbez wgbez60 FROM t023t INTO s_t023t
          WHERE matkl IN t_matkl
    i selected the Invalid materials from the custom table into an internal table
    4)    i am restricting the entries with the following code.
    LOOP AT a_tab.
    only move values that meet the requirements
    after you convert to upper case.
         MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
         TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
            MOVE      a_tab-wgbez        TO a_tab-wgbez_test.
            TRANSLATE a_tab-WGBEZ_test   TO UPPER CASE.
            MOVE      a_tab-wgbez60      TO a_tab-wgbez60_test.
            TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
          IF a_tab-wgbez60_test IN i_wgbez60 AND
             a_tab-wgbez_test   IN i_wgbez   AND   
             a_tab-matkl        IN i_matkl.
            ADD 1 TO findex.
            MOVE a_tab-matkl   TO temp_tab-matkl.
            MOVE a_tab-WGBEZ   TO temp_tab-WGBEZ.   
            MOVE a_tab-wgbez60 TO temp_tab-wgbez60.
            IF findex > callcontrol-maxrecords.
              MOVE 'X' TO callcontrol-maxexceed.
              EXIT.
            ENDIF.
            READ TABLE i_invalid INTO w_invalid
            WITH KEY matkl = a_tab-matkl.
            IF sy-subrc NE 0.
              APPEND temp_tab.
            ENDIF.
            CLEAR temp_tab.
          ENDIF.
        ENDLOOP.
    This is working fine when we press F4 in ME21N Transaction and give some description and then press enter the popup screen.
    But my requirement is user will enter some description in ME21N material group field and press enter ( Not pressing the F4 here) at this moment this is not going through the search help exit and displaying all the entries including the Invalid materials.
    Note: We can delete the Invalid material groups but the documents which are having the invalid material already will have an issue and need to be corrected all the documents. But our requirement is only to use the correct materials  groups from now onwards.
    I would appropriate if any one can helping this regard.
    Thanks in advance.,
    Regards,
    Venkat

    Hi Venkat,
    You can call your ZSEARCH_HELP from the PAI , on the event SY-UCOMM = Enter using the function module F4IF_FIELD_VALUE_REQUEST.
    For example, your screen field is MARA-ZXXXX, screen 0100 and search help :  ZSEARCH_HELP
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'MARA'
          fieldname                  = 'ZXXXX'
          searchhelp               = 'ZSEARCH_HELP '
          dynpnr                      = '0100'
          dynprofield                =  'MARA-ZXXXX'
    TABLES
       return_tab                = lt_returntab.
    This F4IF_FIELD_VALUE_REQUEST will call your custom search help exit.
    Regards
    Deepa.

  • Steps for creation of search help exit for a search help

    Hi,
    I have created a search help. I need to create a search help exit for this search help.
    Please let me know how to create a search help exit as well as how to link it to my search help.

    1)Copy the FM F4IF_SHLP_EXIT_EXAMPLE to write your own FM. (check the documentation and coding of FM F4IF_SHLP_EXIT_EXAMPLE).
    2)write your code depending upon the functionality you want.
    3)attach the FM in search help through SE11 in "search help exit" field.
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    For more detailed information please refer to the documentation describing the concept of the search help exit.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.

  • Search Help Exit for ECC 6.0

    Greetings,
    I'm working in ECC 6.0. I'm trying to create a Help screen exit using F4IF_SHLP_EXIT_EXAMPLE as a model. The problem is that it will not compile due to the fact that a 'LIKE'  parameter type is used in the function definition tables tab. This is not allowed in 6.0.
    I've tried several work arounds without success. I have search for a 6.0 version of this function without success.
    Does anyone have a solution?
    rv

    Hi Richard,
    We too are running ECC 6.0 (release 701) and the LIKE definition doesn't cause a problem in our system. Maybe it has to do with a particular support pack level. Anyway, since you have presumably copied F4IF_SHLP_EXIT_EXAMPLE to a custom function module, you can manually change the typing of the Changing parameter. I tried this below and the search help exit executes as expected.
    If this doesn't resolve the issue for you, you may want to repost your question to the ABAP Development community.
    Cheers,
    Amy

  • Search help exit for field name: BANKL (bank number)

    Is there any search exit that can be used on field BANKL to display only some bank based on user defined criteria?
    Regards

    we can create the search help ..
    we dont need to use CMOD or SMOD for this .
    The search help exit are implemented as function module (newly created) . 
    The place for exit in search help is blank but we can assing our exit ( FM created ) into that . Take the F1 help of that in change mode of search help .
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    well  which search help you want to change. and what changes are needed .?

  • Search help of material is not working in ECC 6.0 : Urgent

    Hi Friends,
    I am using ECC 6.0. I have a problem in search help of material by plant. In the search help of material (choosing the tab plant material by descriptions), if i give any plant which is 3 chars long (exp. ABC) it is giving correct combination of plant material. But if i am giving a plant which is 4 chars long (exp ABCD) it firing a message saying no values found, although the combination exist. (if i am giving only material name it is showing both 3 chars and 4 chars long plant).
    for ref: please use transaction MD04 and press f4 in material field and choose tab "plant material by descriptions", and give 3 chars and 4 chars long plant.
    please help me to trace the problem or any OSS note.
    correct answer will be awarded.
    I will appreciate to not giving code of search helps because it is a standard SAP functionality that is not working.
    Regards
    Krishnendu

    Krishnendu,
    Please check your SAPGui frontend i think you are using 7.10 patch level 3.? if not try with some other system that have 7.10 patch level 3.

  • Problem in including search help exit for MM03 transaction.

    Hi,
    i am trying to include search help for MM03 trasaction based on MATKL(material group)  WGBEZ (description) in the form of alv tree display.
    Fuctionality i want to achive is :
    1. after pressing F4 on MM03, it prompts to select material group screen, on pressing F4 on material group, now i am able to get the ALV tree display of all the materials and description based on the selection screen criterion.
    2. now, after selecting one material group from ALV screen, i am able to map the corresponding value on the material group on the previous(intermediate) screen, but after pressing enter on this screen, i need to get the corresponding material to be mapped on the MM03 transaction, which i am unable to get.
    when i press enter, it is again going to ALV tree display only and values arent getting refreshed.
    Please help me in solving this.

    Hi joydeep mazumder  ,
    This is the work of the ABAPer, pls ask them to do it.
    Anyway here is the way ...
    You can use append search help to add a new search help to an existing standard sap search help..
    Pls have a look at this....
    http://help.sap.com/saphelp_nw70/helpdata/en/4c/ab0d79e5ce11d295f900a0c929b3c3/content.htm
    Regards,
    Vvieks

  • F4 search help on ECP does not work

    Hello experts,
    Using a WBS with ECP and displaying the cost amounts, the F4 search help on 'Base unit of Measure' does not work. Please let me know if anybody has encountered this before and if so whether it is a SAP error or whether there is some setting which has not been configured correctly.
    Any help would be appreciated
    regards

    Same here

  • Search Help Exit for  "*" + F4

    Dear Experts,
    1. With the below code i'm able to achieve general f4 funtionality, But its not hitting when "text" + "*" + F4.
    types: begin of t_userid,
          bname type XUBNAME,
           PERSNUMBER TYPE AD_PERSNUM,
           end of t_userid.
    types: begin of t_lname,
           name_last type AD_NAMELAS,
           end of t_lname.
    DATA WA_CALLCONTROL LIKE DDSHF4CTRL.
    data: it_userid type table OF t_userid,
          wa_userid type t_userid.
    data: it_lname type table of t_LNAME,
          WA_LNMAE TYPE T_LNAME.
    select PERSNUMBER from usr21 into table it_userid.
    if it_userid[] is not initial.
    SELECT NAME_LAST FROM ADRP INTO TABLE IT_LNAME FOR ALL ENTRIES IN IT_USERID
                               WHERE PERSNUMBER = IT_USERID-PERSNUMBER.
    endif.
      IF CALLCONTROL-STEP = 'SELECT'.
        DATA : t_fields LIKE TABLE OF shlp_tab-fielddescr.
        DATA : w_fields LIKE LINE OF shlp_tab-fielddescr.
      LOOP AT shlp_tab.
          LOOP AT shlp_tab-fielddescr INTO w_fields.
            DATA : l_fname TYPE dfies-lfieldname.
            l_fname = w_fields-fieldname.
            CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
              EXPORTING
                parameter               = W_FIELDS-FIELDNAME
               PARAMETER = 'LOCNO'
              OFF_SOURCE              = 0
              LEN_SOURCE              = 0
              VALUE                   =
               fieldname               = l_fname
              TABLES
                shlp_tab                = shlp_tab
                record_tab              = record_tab
              SOURCE_TAB              = it_LNAME
              CHANGING
                shlp                    = shlp
                callcontrol             = callcontrol
             EXCEPTIONS
               parameter_unknown       = 1
               OTHERS                  = 2.                 .
    endloop.
    endloop.
       IF SY-SUBRC = 0.
         CALLCONTROL-STEP = 'DISP'.
       ELSE.
         CALLCONTROL-STEP = 'EXIT'.
       ENDIF.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    2. And i have field1 from table A and field2, field3 from Table B. Internal table has data with field1, field2, field3. when user press f4 should display all 3 fields but after selecting a record and continue only field1 should be placed at screen level. And the same * + f4 needed too.
    Suggest me to achieve it.
    May be these are basics. But i need your help.
    Thanks a lot.
    Siva Mandapudi.

    Hi Siva,
    Your question not clear for me.
    Suggesting according my understanding
    You can achieve F4 functionality by using the following the FM F4IF_INT_TABLE_VALUE_REQUEST
    data :        l_f_index TYPE sy-tabix,
            l_f_programm LIKE sy-repid.
        l_f_programm = sy-repid.
        l_f_dynnr    = sy-dynnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield         = 'GRPVL'"field name
            dynpprog         = l_f_programm "Program name
            dynpnr           = l_f_dynnr "screen
            dynprofield      = '  Screen field name'
            value_org        = 'S'
            callback_program = l_f_programm "Program name
            callback_form    = ''
          TABLES
            value_tab        = l_t_proj1 "Value table you have to pass (type standard table)
    *      FIELD_TAB        = L_T_RETURN
            return_tab       = l_t_return_tab
          EXCEPTIONS
            parameter_error  = 1
            no_values_found  = 2
            OTHERS           = 3.
        READ TABLE l_t_return_tab INDEX 1.
        IF  sy-subrc = 0 .
         table<Field name > = l_t_return_tab-fieldval.
        ENDIF.
    all F4 FM can select only one value.If req is to get all three value contactnate and pass.
    regards,
    Amit
    Edited by: Amit Kumar on Aug 4, 2011 11:08 AM

  • Please help. passowrd for internet not working

    Trying to log into our internet. But password is too long for the space bar provided on my new macbook pro. what am i doing wrong?
    macbook pro   Mac OS X (10.4)   canon s9000 printer

    please post more information. How are you connecting? Wirelessly? Wired? The assumption would be wireless and by not having enough space you likely have the wrong setting selected. If its wireless check to see if its WEP or WPA (Personal) or WPA (Enterprise) or something similar..... you will need to know that when connecting to some wifi routers.

  • SELECT-OPTIONS Values via DYNP_VALUES_READ in a Search Help Exit

    Hi all,
    I appended a standard search help of a standard report with a search help of my own. Now I am trying to retrieve the values the user has entered into the selection screen of the report using the FM DYNP_VALUES_READ in my search help exit FM. It works fine for single values defined by PARAMETERS and for low and high values of SELECT-OPTIONS (so_example-LOW and so_example-HIGH), but I need the entire SELECT-OPTIONS table. I cannot make any changes in the report, so do you have any solutions I could implement in my search help exit FM?
    Many thanks!
    Vladan
    P.S.
    I found several questions on this topic but they either just different enough not to be applicable in my case or the formatting has made the replies useless.

    Most of the time we just copy the standard FM F4IF_SHLP_EXIT_EXAMPLE to a new one and give our own name.
    You can see that on the 12th line there is the following code
    * EXIT immediately, if you do not want to handle this step
      IF CALLCONTROL-STEP &lt;&gt; 'SELONE' AND
         CALLCONTROL-STEP &lt;&gt; 'SELECT' AND
         " AND SO ON
         CALLCONTROL-STEP &lt;&gt; 'DISP'.
         EXIT.
      ENDIF.
    you should comment those line in order for the control to reach the PRESEL step (which is already defined in the SH Exit FM) which is on line 44.
    Most of the time, when someone says they don't hit PRESEL, this is the problem.
    Edited by: ajithkpunnoose on Jan 5, 2012 12:00 PM

  • Refresh Search Help exit

    Hello,
    We have added a search help exit for sales order reason codes to restrict the values allowed by order type.  It works great except when the user changes the order type.  The system does not pass thru the search help exit again and refresh the values for the new order type unless the user calls transaction VA01 to start over again.   How can I force the system to refresh the search help exit without starting the transaction again?
    Thanks.
    Maggie

    For VA01 there is an inlude MV45AFZZ. In this include there is a form called FORM userexit_field_modification.
    Put in this form the following code and the problem is solved.
    CASE SCREEN-NAME.
       WHEN 'VBAK-AUGRU'.
        CALL FUNCTION 'VRM_DELETE_VALUES'
          EXPORTING
            id                         = 'VBAK-AUGRU'
          ID_CONTAINS_PROGNAME       =
         EXCEPTIONS
           ID_NOT_FOUND               = 1
           OTHERS                     = 2.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDCASE.
    Regards,
      Robert

  • Use of search help exit

    use of search help exit with an example

    Hi,
    A search help describes the standard input help process. In exceptions it could be necessary to deviate in some points from this standard. Such a deviation from the standard can also be implemented with a search help exit.
    The input help process should look as much the same as possible throughout the entire system. Search help exits should therefore only be used for exceptions.
    A search help exit is a function module that has a predefined interface. A search help exit is called at certain times by the help processor. The administrative data of the help processor are passed to the search help exit using the interface.
    You can store your own program logic that manipulates this administrative data in the search help exit. Individual steps of the input help process can be skipped with a search help exit.
    for example
    Search help exit F4UT_OPTIMIZE_COLWIDTH adjusts the column width in the hit list to the contents of the column. It makes sense to use this search help exit when the columns of the hit list have to be made very wide for extreme cases (e.g. for name fields), but normally they will contain much smaller values.
    Each search help exit must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE (is used as pattern for all the search help exits to be created). You can find more information about the interface in the documentation for this function module.
    Calling the Search Help Exit
    If a search help exit is assigned to a search help, the help processor calls it at the following times:
    Before Displaying the Dialog Box for Selecting the Required Search Path.
    It is only called for collective search helps. Using the search help exit, the set of elementary search helps available can for example be restricted depending on the context.
    Before Starting the F4 Process for the Elementary Search Help
    The call is triggered independent of whether the dialog window for entering the search conditions appears or whether the selection is executed immediately (for example, because in the Hot key of the elementary search help Immediate value display is set).
    Before Displaying the Dialog Box for Entering Search Conditions.
    You can either influence the dialog for entering search conditions or skip it altogether here. You can also influence how the selection screen looks. The call is triggered only if there is no direct selection (that is, if in the Hot key of the elementary search help Immediate value display is not set).
    Before Selecting Data.
    The data selection can be partly or completely copied from the search help exit. This can become necessary if the data selection cannot be implemented with a SELECT statement for a table or a view.
    Before Displaying the Hit List.
    You can influence the display of the hit list in this step with the search help exit. You can reduce the number of values displayed here. For example, you can display only values for which the person calling the input help has authorization. You can also copy the complete hit list from the search help exit.
    Before Returning the Values Selected by the User to the Input Template.
    It could be advisable to intervene at this time if control of the further transaction flow should depend on the value selected. A typical example is setting set/get parameters.

  • Urgent-SEARCH HELP EXIT ISSUE

    Hi All,
    I have developed a search help exit for the search help-H_T604, for field STAWN-commodity code.
    When I logon with the my user id, and press F4 for this field, the search screen appears. However, when I use any other login, I do not get this search option and nor are the value options displayed. Please note that this happens only for the material master(MM03). When we are in transaction ME23N, when we press F4 for the same field(STAWN), irrespective of the user login id, we get the search option.
    Please Help.
    Thanks and Regards
    Veena

    Hello Veena,
    hav u checked onething. Any of the exit in MM03 does they checked Sy-UNAME. Please check it.
    Vasanth

  • Search Help Exit in Modal Display of Search Help

    I have created a new search help within the collective search help kred (Vendors/Creditors).  The new search help shows up in FK01,2,3 as a separate tab and uses value restriction.  Furthermore, I have written a Search Help Exit for it.  THE PROBLEM:  Everything works fine when in Control(amodal) mode (menu path: help -> settings -> F4 help), but has a problem when in Dialog(modal) mode.  The Filter button produces a blank dialog box when selected.  Callcontrol-step is PRESEL after the button is selected, do I need to use some function module for this callcontrol-step in the exit to get Filter functionality?
    Message was edited by: Jason DeLuca

    closed

Maybe you are looking for

  • Unable to update Caption field

    Hello; Wondering if anybody else has seen this problem before... I've spent the evening updating caption fields only to have Aperture display a "loading..." message over the photo and then return the previous caption field text. It's as if the Apertu

  • How to erase album images to liberate space?

    How to erase album images to liberate space? when you erase it manually, Itunes automatically download that images again and I don´t want it

  • JOptionPane Problem: Pl Help

    I am trying to change the default selected option of showConfirmDialog to cancel instead of ok. Please suggest how i can do it.

  • Interesting site that definitely breaks the "rules"

    i can't decide if i love it or hate it, but it's at least one of the more creative things i've seen lately. thought i'd share.... http://www.afcook.co.uk/

  • Missing Airport on reinstalled 10.4.6 OSX?

    I reinstalled OSX Tiger 10.4.6 on my 2006 Macbook today using the original reinstall CDs and the internet went missing! It was working perfectly previously. Now not showing up at all. Not in menu bar nor even an option for the internet assistant. It'