Search Help 'PREM' Related

Dear Friends,
I have modified the screen SAPLKACB 0002. I HAVE APPLIED SEARCH HELP "PREM" ON COBL-PERNR(Personnel No).Now if u go to F-02 Transaction.We have a Company Code entered Say : 2200.
Now if we fill in the mandatory fields we go 2 next screen there we have personnel no field where i have
attached F4(Search Help).
Now i need 2 restrict the search help according to the company code.
if the Company Code i enter say 2100 and hIt enter.it should give me some king of msg that
the company code 2100 does not match the (F-02 Transaction Company Code:2200).
Please Guide as 2 how 2 Accomplish this.
Regards,
Essam

You may check the following IMG path from SPRO:
Personnel Management > Personnel Administration > Basic Settings > Maintain search helps
And then look into tab 'Included search helps'. Maybe some of the check-boxes have been checked / unchecked here.
Hope this helps.
Regards,

Similar Messages

  • Search help (PREM) for personal no. is not coming in ALV grid table control

    hi experts,
    Search help (PREM) for personal no. is not coming in ALV grid table control.
    i have assigned the srch help (prem) to my 'ZFIEXP_PROJALLOC' table for the emp_id.
    but in output it is now showing the help.
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'ZFIEXP_PROJALLOC'.
      ls_fcat-ref_field = 'EMP_ID'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    Then i tried to solve it using the PA0002 . ie.,
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'PA0002'.
      ls_fcat-ref_field = 'PERNR'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    with this it is showing the help in employee code, but, when i click on an empl number, it is not added to my table control and allowing me to add the number by typing them.
    plz help me.
    thanks.

    Hi 
    In the layout give layout-sel_mode  = 'A'.  and
    pass  'A'    to  i_save  exporting parameter to method  set_table_for_first_display.
    The same thing if you are working with function module
    reuse_alv_grid_display.
    Reward points for useful answer.
    Venkat

  • Search Help "PREM"  Restriction on Company Code

    Dear Friends,
    I have modified the screen SAPLKACB 0002. I HAVE APPLIED SEARCH HELP "PREM" ON COBL-PERNR(Personnel No).Now if u go to F-02 Transaction.We have a Company Code entered Say : 2200.
    Now if we fill in the mandatory fields we go 2 next screen there we have personnel no field where i have
    attached F4(Search Help).
    Now i need 2 restrict the search help according to the company code.
    if the Company Code i enter say 2100 and hIt enter.it should give me some king of msg that
    the company code 2100 does not match the (F-02 Transaction Company Code:2200).
    Please Guide as 2 how 2 Accomplish this.
    Regards,
    Essam

    Hi if you need to do any thing to search help u need to create a search help exit for it.
    check my [blog|https://wiki.sdn.sap.com/wiki/x/du0] on this code.

  • Search help PREM end parameter

    Dearu2026
    Since few days ago we noticed that search help PREM (for example from transaction PA30) has changed, although we didnu2019t implement any change or system modification. Can someone explain me why this could have happened Is there any other system parameter than MOL influencing the match code Which one Thanks in advance

    You may check the following IMG path from SPRO:
    Personnel Management > Personnel Administration > Basic Settings > Maintain search helps
    And then look into tab 'Included search helps'. Maybe some of the check-boxes have been checked / unchecked here.
    Hope this helps.
    Regards,

  • Pa30 to view only a selected infotype and still use search help prem

    Is it possible to use PA30 to have non-hr users see a custom infotype but none of the other standard infotypes?  I would like for the non-hr users to be able to use the Search Help PREM to find records for the custom infotype.
    Is this type of inquiry better served by creating a custom program?

    These type of requirements are served at the security level but instead going into so much complexity, it is a better idea to write a custom report for the requirement.
    Regards,
    Amit
    Reward all helpful replies.

  • Search help PREM is empty

    We just upgraded to SAP ECC 6.0 and we are no longer able to do mathcode lookups on employees names.  i.e., PA20 and then in the Personnel No field when we enter =n.smith we get the message "No input help available (search help PREM is empty).  PA20 was just one example and it happens on all of our screens. 
    I can see PREM in se12 search helps and it calls the HRMC_PREM_EXIT_A function module which calls the HRMC_PREM_EXIT.  Does anyone have any ideas as to what the problem may be and what I can do to fix it?  thx in advance for any help you can provide.

    The OSS Notes you provided were not my problem in the end.  I have resolved my own problem and here are some of the details.  I certainly appreciate your response though.
    In Previous versions of SAP (pre 6.0), we modified PREM to add our own search helps in PREM - Z_PREMK02 and Z_PREMN02.  In going to 6.0 these additional Z search helps did not exist in PREM and consequently the PREM search help was not functioning Properly.  It came up with an error u201CNo input help available (search help PREM is empty).u201D
    To Resolve this issue I created a new APPEND Search Help ZPREM by doing the following steps:
    - Go into se12
    - Put in PREM for the Search help and click on Display
    - Click on Goto -> Append Search Help and at the prompt type in ZPREM as the Appended Search Help Name
    - Definition Screen should autopopulate
    - In the Search helps for ZPREM add the  two Z Searchps above + the PREMN one
    - Do Parameter Assignments for the 2 Z* ones of PERNR
    - Once you have done all of the above go into both the Z_PREMK02 and the Z_PREMN02 and change the Search help exit to HRMC_PREM_EXIT_A

  • PA Search Help PREM

    Hi friends,
    I need to reomove one of the fields (GBDAT) from search Help PREMN from collective search help PREM in PA.
    I can just delete that field from object is the simplest one, but thinkign if there is another way around, like controlling through authorizations.
    THanks

    I believe that what you have already suggested is the only way to achieve your requirment.
    Regards,
    RIch Heilman

  • Event handler on search help PREM how to?

    Hello!
    I'm new to webdynpro and did already some basic tutorials.
    One thing which isn't covered there i want to know...
    I have for example to attributes.
    PERSNO and ENAME.
    On Perso i have the basic search help PREM
    In my webdynpro i have these 2 Input fields. Now i need an event which fills the ENAME, after i selected a PERNR via the search help.
    How can i handle these events?
    greets thomas

    Hi
    see standard component WDR_TEST_OVS
    this link will be helpful
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/abap%2bwd%2bobject%2bvalue%2bselector(OVS)
    Abhi

  • Add STEXT of object U in the result of search help PREM

    Hi All,
    At a customer (4.7 system) we would like to add a field "company" in the result of the search help PREM in pa30:
    This field "company" is the long text of object U. And object U is linked to object P.
    The problem is that I am not able to define join conditions in the selection method (ZM_PREMN) of the elementary search help (PREMN) to get the column "company" filled. Not possible to link HRP1001, PA0002, and HRP1000 to get stext of the correct object in the field company.
    I tried to define a user-exit for the search help, but the problem is that at the place where HRMC_PREM_EXIT_A is called I have not even the pernr's. (To be able to retrace the U's (company's) that are linked with the P's.)
    Does anyone already solved this kind of problems? Does anyone has the knowledge of BADI's for searchhelps?
    Or does anyone has knowledge of the place where we could repair it?
    Any help would be appreciated!
    Thomas

    Hi,
    You might have access to the pernr field by reader memory id 'PER'.
    thanks.
    JB

  • BADI for HR search help PREM

    Hello folks,
    I have a requirement here. I have appended a search help ZIPPREM to the standard HR search help <b>PREM</b>.
    And I had implemented  BADI <b>HRPAD00_PREM</b> in order to get values based on the custom search help.
    Here is the code for the same.
    METHOD if_ex_hrpad00_prem~get_shlps.
    *=======================================================================
    * data declaration
    *=======================================================================
      DATA: ls_sel_shlp LIKE LINE OF sel_shlp.
    *=======================================================================
    * set attributes for selection table
    *=======================================================================
      ls_sel_shlp-sign   = 'I'.
      ls_sel_shlp-opti   = 'EQ'.
    *=======================================================================
    * assign search helps dependent on the relevant transaction
    *=======================================================================
      CASE sy-tcode.
        WHEN '/IRM/IPSICIP'.
          ls_sel_shlp-low = 'ZIPPREM'.
          APPEND ls_sel_shlp TO sel_shlp.
        WHEN '/IRM/IPSICCP'.
          ls_sel_shlp-low = 'ZIPPREM'.
          APPEND ls_sel_shlp TO sel_shlp.
        WHEN '/IRM/IPSIPA'.
          ls_sel_shlp-low = 'ZIPPREM'.
          APPEND ls_sel_shlp TO sel_shlp.
        WHEN ', /IRM/IPSICPP '.
          ls_sel_shlp-low = 'ZIPPREM'.
          APPEND ls_sel_shlp TO sel_shlp.
      ENDCASE.
    *=======================================================================
    * run standard coding in addition
    *=======================================================================
      standard = 'X'.
    ENDMETHOD.
    But my requirement is I want to hide or deny access to all other tabs (search helps) except the custom one for PREM.
    How can I do that?? Please help.
    Thanks

    Hi Naren,
    It think You can get rid of the unwanted tabs by implementing the BAdI 'HRPAD00_PREM' itself.
    Regards,
    Suresh Datti

  • PA30, Maximum rows 50, Search help PREM

    Hello,
    Do you know maybe what could be a problem with transaction PA30
    when I'm using search help for finding persons I will get only 50 rows on
    the list and the message DH803 :
    'There are more than 50 possible inputs"
    when I was analysing program it's hard coded for 50th but maybe there is a way to set (increase) this value in configuration?
    Thank you in advance Bogumila

    even if (T77S0) RECFA:HIHIT is set to 500, the search help results in PA30 are reduced to 50. where can I temporarily extend that value to e.g. 200?
    your input is highly appreciated.
    rgds
    Lorenz

  • Further action after leaving search help without event "onEnter"

    Hi,
    I created an iView with an input field to select an employee with search help PREM. Everything works well, so I can search by several match codes.
    And here's my problem: I need the name of the employee in an output field of my iView whenever I select a result of the search help without pressing the enter key (just to make the user sure to use the right employee).
    Is there the possibility to call a customer function and afterwards to bind the element? Ok, I think I need an interaction – but how can I do this without the event onEnter? I just want to select an employee with the search help and -when returning back- displaying his name.
    We substituted an html-application with this iView. The html-appl used a piece of java script in which we used the "on blur"-function, so when we left the input field we called a function to select the employee's name. This way was fine...
    Ok folks, who has an idea/solution?!
    Steffen

    hi steff........
               what you can do is... instead of a standard search help, you can use ovs... so in the coding part you can fill other details too with respect to the selected value... or
            try filling the output field  in the wddomodify method.
    ---regards,
       alex b justin

  • Hide all tabs in Personal Number Search Help

    Hi Experts,
    In Assest Master AS01, there is a personal number field. When user click on search icon from this field, system has to show only newly added elementary search help tab and hide all standard elementary search helps tabs tagged to Collective Search help PREM.
    Collective search help tagged to Personal number is PREM. I am able to hide all elementary search helps by adding some code in search help exit "HRMC_PREM_EXIT_A " and can see newly added search help. But with addition to this tab there is one more search help tab is apperaing. Name of the appered search help is "Free Search". I checked PREM but there is no any elementary search help with this name.
    The reason behind adding new search tab is user should not see sensitive data and personal details.
    Can anybody tell me how to hide this tab? Your suggation(any enhancement point) is highly needed for me.
    Thanks in advance!
    Regards,
    Meera.

    Hi,
    In the P_Pernr object for field, AUTHC add M as well. Refer the below link for more detals.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/ef/4aba3b3bf00152e10000000a114084/content.htm
    Regards,
    Gowrinadh

  • F4 search help in Bex Seceltion Screen

    Hi all,
    In my system in the variable selection screen , i am not able to find the F4 search help. Is there any settings need to do .
    Can anybody help me on this.
    Thanks and regards.
    Niyati.

    Hi,
    Please check the Search Help of related infoobject from SE11. It must have Search help exit "RSD_CHA_HELP_VALUES_EXIT".
    regards,

  • How to see additional individual search helps in sh for PERNR

    Hi,
    In this moment I see only 3 tabs in search help for PERNR. But there are about
    20 search helps. How  can I activate them ?
    I tried to do it by program DBPNPGMC but it didn't help.
    Thank you very much
    Irena

    Hi irena,
    1. Attach the search help PREM
      for pernr.
    2. It has got many different kinds of 20-30 helps inside it.
    regards,
    amit m.

Maybe you are looking for

  • PDF links work in Acrobat - don't work in Reader

    Acrobat version: 9.5.1 (latest as of this writing) Reader version: 10.1.3 (latest as of this writing) I createa  Word doc that has links to UNC shares that look like this: "\\server\share\file.exe" I convert the file to a PDF through Acrobat File ->

  • Problem with decimal numbers..

    hi i posted the other day with a problem I had. I thought it was all sorted but I have just realised that there is another problem. I have the following code for an applet: import java.applet.*; import java.awt.*; import java.awt.event.*; public clas

  • Program name required

    Hi all,         Can anyone please tell me the name of the standard SAP program in CRM to create a) Business Partner b) Lead Kindly reply!!!! Regards, Chaitanya ******REPLIES WILL DEFINETELY BE REWARDED************

  • Why  Operating Unit not necessary for GL and FA ????

    Hi Friends, Can any body share the logic of operating unit, why it is attached with AR,CM,PO,AP,OM,INV..... Why not with GL/FA? Any idea would be highly appreciatable.... Regards, Asad

  • Is there a way to start a Sequence with Task Manager (Windows)

    Hi Is there a way to start a Sequence with Task Manager (Windows)?