Restrict search help results on order types

I need to restrict search help results on the account assignment category  for order type for the users when creating a SC. I have define fix values on the attributes PM_AUART & ANR & KNT (Order type, Order & Account assignment category) and maintained the related others PM attributes as well. But when I select the search help the system brings up all the Orders type and not the ones defined at the user attributes -  PM_AUART (Order type). Do I am missing something? How can I restrict the search help when searching for order types?
Your support is highly appreciated.
Thanks
William

Hi
Please elaborate which SRM version you are currently on..
Which Search help you are referring to and the name of the serach help which is being used ?
Regards
- Atul

Similar Messages

  • Adding new field in search help result view

    Dear Experts,
    I want to include one more field in search help result. The field shoud give description.
    How can i do this in UI result view?
    If I try to add attribute in result view, the result view is of type table, and it does not allow us to add value node. It will allow us to add model attribute. If I add attribute in search help resut table view then will i be able to see it in table form.
    Thanks and regards
    Pankaj Kumar

    Hi Pankaj,
    Its not that difficult.
    There are two ways
    1. You can enhance your Result BOL object through EEWB and append your z-field to std. BOL result object. This then appears automatically for your result context node and then you can pull it to the view in config tool.
    2. Directly go to your context node class (CN00 , CN01 etc ) , now copy method GET_S_XYZ , paste it and rename as GET_yourfieldname. Similarly copy SET_S_XYZ, GET_M_XYZ and GET_I_XYZ and paste and rename. Once activated. Quit the component browser completely. Open again using bsp_wd_cmpwb. open you view and then your node. You can find you new attribut present as struct.YourField.
    You can then copy code from available setter-getter methods for this attribute. You must handle setter getter by urself in this case. In may std. nodes, this is done for description field. I have personally done this for product descripton field.
    if you dont want the field to be part of structure ( i.e. as struct.Yourfield ) then you can also copy paste GET_XYZ, SET_XYZ methods. your filed then do not appear as Struct.YourField but it just appears as YourField name under context node.
    Hope this helps you.
    Thanks & Regards.
    You can check PRODUCTDESCRIPTION  attribute of BTAdminI node of BT115QIT_SLSQ/Items  view of BT115QIT_SLSQ component. They have added it the same way as i described above. You see the GET_ method to see how they are retrieving product description. In my object, i wrote direct query to Comm_prshtext table to retriev short_text by passing product guid and then assigen it to value variable of Get method.
    Edited by: suchita P on Sep 20, 2008 2:22 AM

  • PNPCE LDB search help shows all action types?

    Hi All!
    I use pnpce in my program. Want to select all vacations in 302 infotype.
    By "search help" button i use "HR Master Record: Infotype 0302 (Additional Actions)" sh.
    P* structures (such p0298, p0302) filles up with ALL "Action types" - not only with "V7" which i specified.
    Tell me pls why?
    Thanks fo ideas!!
    Edited by: Julius Bussche on Dec 29, 2008 11:01 AM

    Hi,
    I understood from the qn that you have used PNPCE as LDB.You want to select some specific action from F4 help in input.That is not getting populated.
    Sometimes, entry might be restricted for hits.After pressing F4, make the maximum no. of hits as blank.

  • Search help results of cost center

    Hi everybody
    Cost center is normally assigned to SC item based on the attribute set in PPOMA_BBP (attribute CNT). Now, when you're in the item details screen and want to change that default cost center you can search for other ones using the "glasses icon". This starts some kind of a F4 search help screen and returns a list of all available cost centers existing in the backend system.
    Our SRM users are NOT created in the backend system, therefore we're not able to control cost center authorizations via backend user authorizations.
    So the problem we have is, that in the result screen we get by far too much cost centers from which the enduser can make his choice. We'd like to reduce this result list to only the cost centers assigned via CNT attribute on org. unit level in PPOMA_BBP.
    I already looked at BAdIs BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT (method GET_COSTCENT) and to verify if they could do what I wanted simply tried to delete all entries from table ET_COSTCENT_LIST and ET_COSTCENT_FAVOURITES... no changes, the result list still contains a complete overview of all our backend cost centers.
    To all SRM gurus out there: how is it possible to restrict the result list of cost center search help?
    Thanks again anyone for some help.
    Kind regards,
    Renaud

    Hi Case,
      We can get this functionality with out changing any standard program.
      Herewith I am sending details.
    1.     Implement the badi using definition BBP_DRIVER_DETERMINE and write below  mentioned code in method DETERMINE_DRIVER.
            IF functionname = 'B470_SHLP_CALL' AND sy-tcode NE 'PPOMA_BBP'.
    functionname = 'ZB470_SHLP_CALL'.
            ENDIF.
    2.     Copy the standard FM B470_SHLP_CALL to ZB470_SHLP_CALL then make        
           the changes in ZB470_SHLP_CALL.
           Here you have to make two changes.
    a.     Clear the destination name (LV_DESTINATION) for calling search help
                            from SRM
    b.     Give your own search help name (ZCOST_CENTER we need to create this search help in SRM )
           Now it will call the search help ZCOST_CENTER from SRM only
                   Sample code
              CASE shlp_field.
            WHEN gc_g_l_acct.
          lv_shlpname = 'SAKO'.
           lv_shlpparam = 'SAKNR'.
            WHEN gc_cost_ctr.
          lv_shlpname = 'ZCOST_CENTER'.
          lv_shlpparam = 'KOSTL'.
          CLEAR lv_destination.
    3.      Create you won search help (ZCOST_CENTER) in SRM and write code in search help exit for getting the cost centers from user attributes. For reading the cost centers from user attributed you can use the FM BBP_READ_ATTRIBUTES (pass the CNT as attribute ID)
    Regards,
    Padmaraju
    If it useful to you,please reward points.

  • Can AUTHORITY_CHECK effect in search help result list

    For example ,authorizaiton objid a value 1,2,the user only have authorization a = 1,but in F4 for search help ,the user can see value 1 and 2 for a .Can i do someting to make the user only can see value 1 for a?
    i have an idea using search_help_exit and authority_check,is there any other way to do this ?

    Hi,
    I need to perform authority check on the field NAME1 present in the standard screen - customer master ( T.Code-XD02). Only certain users should be allowed to edit the field and others should be restricted.
    I have created a field exit FIELD_EXIT_AD_NAME1 for the ADRC-NAME1 field.
    Now inside this field exit i need to write the authority-check code.
    I have created the authorisation object Z_KNA1_NAM for the field NAME1 using the SU20 and SU21.
    For this scenario how do i write the authority-check code in my field exit?
    Below is my field exit code,is that correct?
    FUNCTION FIELD_EXIT_AD_NAME1.
    ""Local Interface:
    *" IMPORTING
    *" REFERENCE(INPUT)
    *" EXPORTING
    *" REFERENCE(OUTPUT)
    AUTHORITY-CHECK OBJECT 'Z_KNA1_NAM'
    ID 'NAME1' FIELD SY-UNAME
    ID 'ACTVT' FIELD '03'.
    IF SY-SUBRC = 0.
    MESSAGE 'Not Allowed to Edit the Name 1 Field' TYPE 'E'.
    ENDIF.
    ENDFUNCTION.
    In the above code i have given SY-UNAME in the code line 2 - ID 'NAME1' FIELD SY-UNAME ,is that correct? what should i give there?
    Please help me on this issue.
    Cheers,
    P.S.Chitra

  • Want search help result directly only key field

    Hi friends
       i need one help, working on 4.6c, i want any fm that takes search help name and select options and write back the result list .
       i know some fm's like DD_SHLP_GET_HELPVALUES which is returning the result in string, for that i have to do lot of other stuff in that one i have to use cl_alv_table_create=>create_dynamic_table which i don't want.
        i want only the key field result list like F4IF_FIELD_VALUE_REQUEST rerurns RETURN_TAB type table of DDSHRETVAL .
      thanks in advance

    Hi Shiva,
    I know that this post is really old, but just for people who still visit this post, I extended Uwe's solution and came up with this. (Uwe's solution causes a popup to appear which I do not want as am accessing the F4 helps remotely).
    DATA: ls_shlp_descr TYPE shlp_descr,
           lt_ddshretval TYPE TABLE OF ddshretval,
           ls_ddshselops TYPE LINE OF ddshselops.
    " Get F4 Help structure
    CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
       EXPORTING
         shlpname = 'T006_T'
       IMPORTING
         shlp     = ls_shlp_descr.
    " Add filter criterion
    ls_ddshselops-shlpname = 'T006_T'.
    ls_ddshselops-shlpfield = 'MSEH3'.
    ls_ddshselops-sign = 'I'.
    ls_ddshselops-option = 'EQ'.
    ls_ddshselops-low = 'MON'.
    APPEND ls_ddshselops TO ls_shlp_descr-selopt. " You can add more such filter options
    " Get the result values
    CALL FUNCTION 'F4IF_SELECT_VALUES'
       EXPORTING
         shlp       = ls_shlp_descr
       TABLES
         return_tab = lt_ddshretval.
    Maybe there are other ways to do this, just that I found this pretty OK for my case.
    best regards,
    Ashwani

  • How to get search help results in RIGHT-JUSTIFIED column

    I am writing a search help with search help exit. Therefore, I use a table lets say tabA. I don't need all fields of tabA but need some further fields which I fill during exit.
    tabA does not have currency or number fields.
    I need a currency field and use a char20 field of tabA instead. filling of this field and showing results is o.k., but of-course it is shown left-justified.
    I did not find any fields of shlp-fielddescr which sounds like left/centered/right-alignment. Another try was to fill char20 field with leading '_' signs - that looked terrible and was not right-justified either, because of not fixed-size font.
    Let's resume: there is no number or currency field which I can use. The shown results appear in a column of not fixed-size font.
    Any other idea?

    Hi, I have the same problem. Did you get to resolve it? . Thanks

  • Variant characterstics search help in sales order using object dependency

    Hi Sapients,
    we are trying to configure variant configuration in sales order.
    TDC related details like grade,profile,tdc no, tdc date, tdc customer, hardness, composition will be entered through a ZPROGRAM and the details will be stored in ZTABLE (ZTDC).Now when we create sales order, after entering the material and clicking on variant configuration, the configuration screen comes up where the grade and profile will come from the material master. User will punch the appropriate TDC number, but a search help needs to be generated for TDC no based on the values of grade and profile, which will show the tdc numbers punched for that particular grade and profile from the Ztable.
    Please guide me how to resolve this issue. shall i create dependency based on TDC no. In dependecy what is the code i have to write . Please elaborate in detail as i dont have idea on dependency.
    Is it possible through user exit.
    Thanks

    Hi,
    My thoughts are as follows.
    If for a particular combination of grade and profile, there is unique TDC number, then it is possible to use variant table. However if the number is not unique for a combination of grade and profile, then V.Table will not help. Dependency using V.Table will not give the possible list of values, but will automatically update the value based on grade and profile.
    If the combination is not unique, you can think of using a FUNCTION (CU67). SAP documentation is very good on using functions and function modules related to this. It is not as difficult as we think it is and we are using functions for some of our functionalities.
    So based on this, you can decide on your further actions.

  • Search help result

    Hi there.
    There is a F4IF_INT_TABLE_VALUE_REQUEST FModule but it returns only 1 field from search-help line chosen
    Could You tell me how can I get the whole line ?

    Hi,
    This is how the FM works.
    data:
        begin of t_values occurs 2,
          value like kna1-begru,
        end of t_values,
        t_return like ddshretval occurs 0 with header line.
      t_values = 'PAR*'.
      append t_values.
      t_values = 'UGG'.
      append t_values.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield        = 'BEGRU'
                value_org       = 'S'
           tables
                value_tab       = t_values
                return_tab      = t_return
           exceptions
                parameter_error = 1
                no_values_found = 2
                others          = 3.
      if sy-subrc = 0.
        read table t_return index 1.
        o_begru-low = t_return-fieldval.
        if o_begru-low = 'PAR*'.
          o_begru-option = 'CP'.
        else.
          o_begru-option = 'EQ'.
        endif.
        o_begru-sign = 'I'.
        append o_begru to s_begru.
      else.
        o_begru = i_begru.
      endif.
    Regards,
    ramya

  • Restricting F4 help in OT Compensation type in ESS in Record Working time

    Hi all
    In ESS, In the Record Working Time, in Overtime Compensation type , I want to restrict the F4 help  during display based on the Payscale group.
    For eg If the User EMP1 has the Payscale group 11, I should show the OT compensation f4 help as 1, 2, 3 4.
         If the user is EMP2,  has the Payscale group 12 ,, I should show the OT compensation f4 help as 1, 2.
    Where I should write code to control this ?
    Is there any BADI /user exit for this PBO action?

    There is no customisation available, you need to go for modification here
    ie CLASS CL_XSS_CAT_RFC_COMMAND_TOOLS method BUILD_F4_HELP
    SAPLHRXSS_CAT_WEBDYNP          / LHRXSS_CAT_WEBDYNPU02
    FUNCTION                       / HRXSS_CAT_WD_F4_AWART

  • Populate and display internal table results using search help exit...

    I have copied F4IF_SHLP_EXIT_EXAMPLE and made changes. I want this search help exit to populate and display contents related to 'FIELD1' when the user enters a specific value for it in the search help screen, meaning when the user restricts the search by that value.  For field2, field3, field4, field5, field6, field7, and field8 I am using a custom view.
    Following is the code:
    TYPES:  BEGIN OF t_search,
                   field2 TYPE field2,
                   field3 TYPE field3,
                   field4 TYPE field4,
                   field5 TYPE field5,
                   field6 TYPE field6,
                   field7 TYPE field7,
                   field8 TYPE field8,
                   field1 TYPE field1,
                END OF t_search.
      DATA: it_itab TYPE TABLE OF t_search,
            wa TYPE t_search,
         wa_selopt TYPE ddshselopt,
            wa_fielddescr TYPE dfies.
    ranges: r_field1 for std_table1-field1
    STEP SELECT    (Select values)
        FREE: r_field1.
    **Get the value entered for FIELD1 in search help
        LOOP AT shlp-selopt INTO wa_selopt.
          CASE wa_selopt-shlpfield.
            WHEN 'FIELD1'.
              r_field1-sign = wa_selopt-sign.
              r_field1-option = wa_selopt-option.
              r_field1-low = wa_selopt-low.
              r_field1-high = wa_selopt-high.
              APPEND r_field1.
              CLEAR: r_field1.
          ENDCASE.
        ENDLOOP.
    **Select 'ID' and 'FIELD1' from table into lt_itab
        SELECT id field1
              INTO TABLE lt_itab
                FROM std_table1
                  WHERE field1 IN r_field1.
        IF sy-subrc = 0.
    **Now, based on the particular IDs from lt_itab, I need to select other values
    from other tables which also have 'ID' as the key.
           SELECT std_table2~field2
                std_table2~field3
                std_table3~field4
                std_table3~field5
                std_table3~field6
                std_table4~field7
                std_table4~field8
                std_table1~field1
              INTO CORRESPONDING FIELDS OF TABLE it_itab
              FROM std_table2
                         INNER JOIN std_table3 ON
                                std_table3mandt = std_table2mandt AND
                                std_table3id = std_table2id
                         INNER JOIN std_table4 ON
                                std_table4mandt = std_table2mandt AND
                                std_table4id = std_table2id
                         INNER JOIN std_table1 ON
                                std_table1mandt = std_table2mandt AND                                           std_table1id = std_table2id
              WHERE
                    std_table1~field1 IN r_field1.
    'id' is common in all the std_tables --> std_table1, std_table2, std_table3, std_table4.
    STEP DISP     (Display values)
    **Then I need to gather all the results in my internal table it_itab and display
    in search help results for the value of FIELD1 entered by the user in the search help.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'FIELD1'
            fieldname   = 'FIELD1'                          
          TABLES
            shlp_tab    = shlp_tab                                   
            record_tab  = record_tab
            source_tab  = it_itab
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
    I am not getting all the data in my internal table and wanted to know if there is anyting wrong in my select statement.
    Any guidance will be appreciated and awarded appropriate points.
    Thanks.

    the webdynpro fieldname and the search help input parameter name were made same.

  • Restrict Usage of Order Types by Users

    Hi
    We have two order types existing in SAP and interfaced with MAXIMO. Data flows into these order types via XI Interface from MAXIMO. So, in SAP my client wants to restrict usage of these two order types by SAP users. Is there a way, do i need to config something. Please let me know
    Thanks in advance

    Hi Srinivas
    Do you have config steps documentation available. If yes please share. Previous thread was useful but dint supplied me full information. Now I'm confused as, do i have to specify restrictions in Status profile or in Maintain authorization.
    Thanks for the initial help.

  • Search help restricted selection

    Dear All,
    Can we restrict search help to display only desired value.
    for example I have two input fields one each for plant and storage location and I want to display possible values for Storage location based on the input plant.
    is it possible?
    I am using a search help based on table T001L
    Can you guys help me on this.
    Thanks
    Amit

    For plant and storage location, this is handle automatically by the standard search helps.  I believe you need to use the memory ids to force this behavior.  Please try this as it works good in my system.
    report zrich_0001.
    tables: mseg.
      select-options WERKS for MSEG-WERKS memory id WRK.
      select-options LGORT for MSEG-LGORT memory id LAG.
    Regards,
    Rich Heilman

  • Restricting Material for particular Order type

    Dear Guru's,
    Is it possible to restrict particular material for particular order type in CO01.
    E.g. Material A is used in CO01 for order type X
           Material B is used in CO01 for order type Y
    I want to restrict CO01 should not allow production order creation of material A with order type Y.
    Regards
    Chandan.

    Hy,
    By the use of production scheduling profile you can set default order type for the required materials.But it doesn't restrict the other order type. During the manual order creation if user has select other order type then , there is no restriction.So as Mr. Shiva said put restriction over manual order creation, if possible.other option may be by using User Exit.
    Now in your case you want to restrict materials not material type. So it is quite complicated for Abaper to write code , because the for every new material Abaper has to change code.
    So there is one option by grouping perticuller materials under one production scheduler and then it is more convient for Abaper to create code for User Exit.
    Pls refer below thread which may give some more inputs  for your requirments.
    [Ugent: How to restrict a Material Type for a Specific Process Order Type;
    Regards,
    Dhaval

  • Search help for orders not showing favorites because of backend search help

    Dear Experts,
    We are on an SRM 5 implementation.
    As a cost assignment, we want to add an order. We have added authorization object BBP_FUNC to the authorization profile because we need the backend search help, showing all orders. Is there a way that we can change the binoculars to a drop down box? That way, users could assign multiple orders in PPOMA and use as a favorite. Or is there another way to use a favorites selection of orders (from PPOMA) together with the use of backend search help.
    Regards,
    Tom

    Tom
    If you've given users access to the search help functionality you will always get the binoculars.
    This would still be the case if you have favorites maintained for users.
    If you want a drop-down list to appear instead you'll need to maintain all the relevant entries as attributes in the org structure via PPOMA_BBP and then remove the search help Auth Object.
    It's a bit of a catch 22 really.
    Regards
    Keith

Maybe you are looking for

  • Community Members and Knowledge Directory Link

    Hi, I'm using the support centre nav scheme but can't get the 'Community Members and Knowledge Directory' link to appear (the one that appears like an extra community page). I've set the property in the Community Wizard but that doesn't work. And I'v

  • Measuring Low Frequencies with LabVIEW and FieldPoint Using [c]FP-CTR-500/502

    I am trying to use this example in a LabView 8.0 and a Field Point FP-CTR-502 module but without any sensor I get frequency and period values. Is that possible to use this example with LabView 8.0 or not? I am trying to use an anemometer Campbel Scie

  • Images in HANA

    Hi, I wanted to store images into HANA DB. So i thought of using BLOB data type. Next i thought of exposing this data via oData service. Later came to know that oData doesn't support BLOB entries. So we started using php server to store the images. S

  • Allow mail to sign using privateKey only once

    I have my private key for signing and encrypting mail in a separate keychain from the login keychain. I want Mail to ask me every time whether it can use the private key, and up to now it has done so. First, I receive the prompt to enter the password

  • No windows file sharing on mobile acount ?

    why can't i do file windows file sharing on mobile acount ? PowerBook G4   Mac OS X (10.4.5)