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,
Similar Messages
-
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 -
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 -
How to link a search help to a parameter using which syntax
hi
how to link a search help to a parameter using which syntaxHi
by useing this <b>F4IF_INT_TABLE_VALUE_REQUEST</b> you can creat a search help for a parameter on the screen
under <b>AT SELCTION-SCREEN ON FIELD</b>
write a selct query and store that values in the internal table and call that internal table in that FM
<b>example</b>
TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.
DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
* IF S_OBJID IS NOT INITIAL.
SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.
IF SY-SUBRC EQ 0.
* SEARCH HELP FOR QUALIFICATION.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
RETFIELD = 'OBJID'
* PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'
* STEPL = 0
* WINDOW_TITLE =
* VALUE = ' '
VALUE_ORG = 'S'
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* MARK_TAB =
* IMPORTING
* USER_RESET =
TABLES
VALUE_TAB = IT_OBJID_SH
* FIELD_TAB =
* RETURN_TAB = RETURN_TAB
* DYNPFLD_MAPPING =
* EXCEPTIONS
* PARAMETER_ERROR = 1
* NO_VALUES_FOUND = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
<b>Reward if usefull</b> -
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,
EssamHi 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. -
How to create search help on a parameter
Hi all,
How to create search help on a parameter .Please tell me process .
Regards,Hi,
If you want to create search help in parameter check that search help is available
by going to se11 or
create search help there ..
Please check the following links to create a search helps. They guide you step by ste.
Link:[http://www.sap-img.com/abap/attach-a-search-help-to-the-screen-field.htm]
Regards
Vinu.r -
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. -
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,
EssamYou 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, -
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.
THanksI 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 thomasHi
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!
ThomasHi,
You might have access to the pernr field by reader memory id 'PER'.
thanks.
JB -
How to get search help for 2nd parameter based on the 1st parameter value
Hi all!
I have 2 parameters (material no, revision level). I have created a search help for revision level. It has an importing parameter :material no. and one exporting parameter : revision level.When I checked it, it's giving the revision values only for the specified.
In my report , I have kept these 2 materials in my selection screen.For revision level , I have added the matchcode object which I have created. When I pressed F4 for revision level, it's giving all the values irrespective of the material no. in the first parameter. How to solve it? Please suggest.Hi,
Try this code filling internal table fields,
DATA: BEGIN OF values,
OID TYPE ZCL_OBJECT-OBJECTID,
ODEC TYPE ZCL_OBJECT-OBJECT_DESC,
END OF values,
W_FIELD(10).
DATA: ZCL_PROJECT-PROJECTID type zcl_project-projectid,
ZCL_OBJECT-OBJECTID(5).
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr,
dynpro_values TYPE TABLE OF dynpread,
field_value LIKE LINE OF dynpro_values,
values_tab LIKE TABLE OF values.
CALL SCREEN 100.
*& Module VALUE_PROJECTID INPUT
text
*MODULE VALUE_PROJECTID INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'ZCL_PROJECT'
fieldname = 'PROJECTID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_PROJECT-PROJECTID'.
*ENDMODULE. " VALUE_PROJECTID INPUT
*& Module VALUE_OBJECTID INPUT
text
MODULE VALUE_OBJECTID INPUT.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
translate_to_upper = 'X'
TABLES
dynpfields = dynpro_values.
READ TABLE dynpro_values INDEX 1 INTO field_value.
W_FIELD = FIELD_VALUE-FIELDVALUE.
SELECT OBJECTID
OBJECT_DESC
FROM ZCL_OBJECT
INTO (VALUES-OID,
VALUES-ODEC)
WHERE PROJECTID = FIELD_VALUE-FIELDVALUE.
APPEND VALUES TO VALUES_TAB.
ENDSELECT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'OID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_OBJECT-OBJECTID'
value_org = 'S'
TABLES
value_tab = values_tab.
ENDMODULE. " VALUE_OBJECTID INPUT
*& Module INIT OUTPUT
text
MODULE INIT OUTPUT.
progname = sy-repid.
dynnum = sy-dynnr.
CLEAR: field_value, dynpro_values.
field_value-fieldname = 'ZCL_PROJECT-PROJECTID'.
APPEND field_value TO dynpro_values.
IF SY-UCOMM = 'BACK'.
LEAVE program.
ENDIF.
IF SY-UCOMM = 'ANS'.
LEAVE TO SCREEN '0'.
ENDIF.
ENDMODULE. " INIT OUTPUT
START-OF-SELECTION.
WRITE: / field_value-fieldvalue,
W_FIELD.
LOOP AT VALUES_TAB INTO VALUES.
WRITE / VALUES.
ENDLOOP.
if sy-subrc <> 0.
WRITE / field_value-fieldvalue.
endif.
Plzz reward points if it helps -
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.
ThanksHi Naren,
It think You can get rid of the unwanted tabs by implementing the BAdI 'HRPAD00_PREM' itself.
Regards,
Suresh Datti -
Search Help Problem - Passing parameter between to search helps.
I created following 2 table for entering data in PO screen using ME21N using Custom Data Tab.
ZSTATE_TAB - State table (has elementary search help ZSTATE_SH - Value of SCODE is exported)
SCode(Key) Description
S001 New York
S002 Virginia
S003 West Virginia
ZCITY_TAB - City Table (has elementary search help ZCITY_SH - Value of SCODE is imported)
SCode(Key) CCode (Key) Description Level
S001 C001 New York City L001
S001 C002 Rochester L002
S001 C003 Buffalo L003
S002 C004 Richmond L029
S002 C005 Fairfax L030
I have created an custom input field LEVEL in t-code ME21N in Customer Data Tab.
I want to create search help for LEVEL using import parameter STATE & CITY .
On selection screen of search help two selection parameters STATE and CITY are displayed.
Step 1:User press F4 for getting list of state and selects any state using search help ZSTATE_SH (Value of SCODE is exported)
Step 2:User press F4 to get the list of City using search help ZCITY_SH, based on state selected in Step 1. (Value of SCODE is imported)
In Step 2, I want to see only the cities selected in Step 1. But instead all Cities are displayed in hit list.
I also created a table maintenance program SM30 for ZCITY_TAB, the search help ZCITY_SH is correctly displaying the data in hit list according to the State selected in ZSTATE_SH.
But it is not displaying the correct list for cites in ME21N.
Kindly help me in fixing this problem.
Thanks in advance.here is the answer from [sap library - Value Transport for Input Helps - Parametrizing the Import Parameters of the Search Help|http://help.sap.com/saphelp_nw2004s/helpdata/en/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm] :
If the search help is attached to the table field ( Attaching to Table Fields) or to the check table of the field ( Attaching to Tables), a value transport can take place for all the screen fields that are linked with a parameter of the search help. -
Search Help With Input Parameter in WebDynpro ABAP
Hello all,
I have been facing a problem regarding a search help I wanted to attach to an input field on my UI. The search help expects an import parameter and offers four output parameters. What I did was to create a context node based on a ddic structure. The structure has one attribute for each of the five parameters. I defined the search help for all context attributes except the importing one where I deactivated the search help. The search help is available on one of the input fields on the view and bound to one of the attributes in the context. The other context attributes are not bound to anything. The names as well as the data types are the same in the search help as well as in the ddic structure, bound to the context node.
During WDDOINIT, I am setting the "import" context attribute. The problem is that the table with the search help parameters is empty when the search help exit is entered. Do you have any idea what I have to do in order to provide the import value to the search help?
Thanks in advance and best regards
SimeonHi,
By context node, do u mean that u made a drop down with values in ddic structure ,
rather than that u can use FM 'VRM_SET_VALUES' this would be simpler if that makes sense for ur requirement.
pls revert if any comments on it.
regards,
Dinesh.
Maybe you are looking for
-
Updating iPod to 2.2 - Can't get iTunes to Resume download
Hi. I have tried numerous times to download the new Ipod Touch firmware using my dial-up connection. As the firmware is over 250MB I have to Stop/Resume my Internet connection a few times (my dial-up has a 10hr limit). Unfortunately, after downloadin
-
If im on the net and I want to save a picture, I have no right click button how do I save a picture? Sorry if this sounds stupid im new to Mac. Thanks, Juls
-
Forgot my question answers and reset email doesn't exist anymore
I would like it to be reset <Email Edited By Host>
-
JSF, ADF BC, 11g - Configure default location for pageDefs
Hi all, As the title suggests, I was wondering if there is anyway to configure the default location for pageDefs. I've been having some issues when creating a page through faces-config.xml. If I don't put a folder before the jsp name when declaring t
-
I have a pre-production 2-node cluster running on Solaris 10, Oracle 10.2.0.3 with the Oracle CRS, and using a NetApp filer as the shared storage. I also have a separate Solaris server running Grid Control 10.2.0.3, with the repository as one of the