Help regarding search help
hi,
i want to know the functionality with example on "search help".
how r they useful?....how r they created??...and how to use them in dialog program??
thanks
Hi Kunal,
There are 3 ways:
1)In the PAI of the screen, add a module Process on value request. For example:
PROCESS AFTER INPUT.
MODULE USER_COMMAND_100.
PROCESS ON VALUE-REQUEST.
FIELD field_name MODULE value_request_for_field_name.
*field_name is the field for which you require search help.
In the Module value_request_for_field_name call this function 'F4IF_INT_TABLE_VALUE_REQUEST'.
2)The above procedure can be used if the field you have defined doesnt have an existing search help.If it already has search help and the field in the screen is taken from the dictionary,then in the attributes,u can check from from dictionary under the dictionary tab.
3)A manual search help can also be created in the se11 transaction by clicking on the search help radio button and giving the table and field name for which search help is required.
Creating Elementary Search Helps
Procedure
In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.
A dialog box appears in which you must select the type of search help.
Select Elementary search help and choose .
The maintenance screen for elementary search helps appears.
Enter an explanatory text in the field Short text.
You can for example find the search help at a later time using this short text.
In the Definition tab page enter the selection method of the search help.
You can enter the name of a table or a view (database view, projection view or help view) here. If you enter a table that has a text table, the name of the text table is automatically entered in the corresponding field.
Using the input help (F4 help), select fields of the selection method as parameter in the Search help parameter area. Select the fields that should be used in the dialog box for value selection or in the hit list.
If the selection method is a table that has a text table, both the fields of the table and the fields of the text table are offered in the input help.
The data element of the parameter is automatically copied from the selection method. The data element defines the output attributes and the F1 help of the parameter in the hit list and in the dialog box for value selection.
You can assign the parameter another data element. To do so, select the Mod flag. The Data element field is now ready for input. Then select a data element with the input help (F4 help). Only data elements whose data type, length and number of decimal places is the same as those of the previous data element can be assigned.
This removes the link between the data element of the search help parameter and the data element of the selection method field having the same name. If you cancel the Mod flag, the data element of the assigned table field is used again.
Define the attributes of the search help parameters.
Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.
You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the parameter position in the hit list in LPos. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.
Enter the parameter position in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.
Set the SDis flag if the parameter should be a pure display field in the dialog box for value selection. The user is thus informed that the contents of the parameter restrict the value, but he cannot change this restriction. This makes sense for example when the parameter is an import parameter or if it has a default value.
You can assign the parameter a default value in the Default value field.
Select the dialog type of the search help.
The dialog type defines how the hit list is displayed in the input help.
Save your entries.
A dialog box appears in which you have to assign the search help a development class.
Choose .
Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.
Result
The search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred during activation, the activation log is automatically displayed.
Please check this link on how to create search help.
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
1) after creation of search help, you can assign this to database field in change mode of table and double clicking of the field name.
2) in screen field, double click to see the attributes and give your search help there.
Refer this link
http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards
Similar Messages
-
When search help is executed initially i want to display a screen for selection criteria and values have to be displayed how we can do this one?
Hi,
Check for Search Help in the Dictionary objects:
http://help.sap.com/saphelp_46c/helpdata/en/4f/991f82446d11d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/c9/83eb02be4c11d1950200a0c929b3c3/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee93446011d189700000e8322d00/content.htm
Elementary search helps defines a search path where we will define the table from which the data has to be read and the selection criteria. Through import and export parameters. Used when we gets the data rom a single table.
Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criterias. More than one tables or Selection from multiple tables
For more help on Search helps , Check this http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
Regards,
Manish -
Help views ( search helps) in tables
Hello Experts,
we are creating customized infotypes.Can anyone tell me how to create help views ( search help ) in tables.
Regards,
Shilpa.Helli Shipa
You can create the search helps via se11 transaction and then attach the seach help from the field in table
Regards
Sonu Gupta -
Hi All,
I need some regarding search help.
I have created search help for two Fields.
in my Selection screen I am giving these two
for example material type and material Number
in my first selection I have selected material type 'X'.
when I press F4 on material number I need to get only the material no, which are related to that material type 'X'
I need to filter the Second F4 help based on First one.
Can u guys tell me the solution ASAP.
Thanks in advance
Regards
VenuHi Venu,
Use AT SELECTION-SCREEN ON VALUE-REQUEST FOR <Material Type>
here you will get the 'Material Type' which user has selected, so get the Values from the database based on the 'Material Type' which is selected, then pass it to the 'Material Number' so that if User press the F4 then he will get only those values based on the condition.
you can use Function module F4IF_FIELD_VALUE_REQUEST to get the values.
Regards,
KK -
Help for search help and currency and quantity fields
hi,
please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
regards
raj.Hi Rachu,
Welcome To SDN
Help On Search Help
Go to se11
Select radio button Search help
click on create
and select elementary seacrh help
selection method---->tablename or viewname
press f1 in search help exit we will get a FM named as
F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
come to se11
and in our seacrh help we will pass components of the search help
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
Help On Currency and Quantity Fields:
Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
If suppose you are creating a table for Employee. And suppose that fields would be like :
EMPID -
employee id
EMPNAME
employee name
DEPARTMENT --- department
SALARY -- salary ( Data Type u2013 CURR )
WEIGHT -
weight of the employee ( Data Type -- QUAN )
Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
CURRKEY --- Data Type ( Cuky )
Quantity --- Data Type ( Unit )
Now we have to attach the field Currkey to the field Salary
And the field Quantity to the field Weight
So when u create a table you can see a tab Currency / Quantity fields.
Here You can give the reference table and the reference field against the salary and weight fields.
Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074 -
SVS, EVS, and OVS, Value Help and Search Help
what and how to use SVS, EVS, and OVS, Value Help and Search Help in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other
SVS and EVS are Web Dynpro Java specific types of value help. They do not exist in Web Dynpro ABAP. In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help. In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values. It doesn't change the development model, just the runtime user experience.
You can read more about each of the types of WDA based value help in the online help:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm -
Regarding Search help on selection-screen field
Hi there,
I am working on custom tables.
I have a requirement to maintain search pattern on a selection-screen field.
selection-screen parameter: p_name which is company name filed from Z table.
By giving a string like Holl* and by pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
Thanks in advance.
-TulasiHi
Go through the link given below :
How to create a search help for my own fields in selection screen
F4 search help on report selection screen
also try :
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'VKORG'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'P_VKORG'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'C'
TABLES
VALUE_TAB = T_TABLE1
FIELD_TAB = field_tab
RETURN_TAB = RET_TAB
DYNPFLD_MAPPING = DYN_TAB
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
With Regards
Nikunj shah -
Hi Experts,
We are having one Customised Transaction code for Project management and when i select Sales Employee and enter the pernr , it will display all the sales order under him, but when i am not searching through Pernr Instead am pressing F4 where i can see Last name and First Name under F4 Help and I am giving some name 'FIRST NAME = LIEW' and press enter it showing an error as 'No values found for the selection' though his record existing in View M_PREMN, here the search help used is PREMN, How can we check wheteher this Entry has been maintained under PREMN?
Please provide your Valuable Suggestions.
Thanks,
Sailaja.Did you check authorization failures thru [SU53|http://help.sap.com/saphelp_nw70ehp1/Helpdata/EN/52/6716b3439b11d1896f0000e8322d00/frameset.htm] ?
(Be aware there is an exit on this search help for lowercase and authority-checks)
Regards,
Raymond -
I am having a problem in Search help exit.
Currently we have a search help Z_srchlp. In the Selection method of this search help we have a Help view z_view.
In this view we have a join on Tables KNA1 and KNVV. But now the requirement is to fetch some fields(STR_SUPPL1 and STR_SUPPL2) from ADRC table also. I have to write a Search help Exit for that.
The search help is on SHIP-TO PARTY in VA01. In the Output I need to Display the fields (STR_SUPPL1 and STR_SUPPL2) from ADRC based on adressnumber i.e., ADDRNUMBER in addition to what we are displaying currently.
Please let me know How can I achieve it. It will be great help if u can send me the Code as it is very urgent.Hi,
take a look to the search help F4IF_SHLP_EXIT_CUSTOMER with SE37.
Regards
Nicole -
Regarding search help for a attribute
Hi All,
I have an ALV, there is a hyperlink for one field, which opens up another Popup for ALV as component usage.
I have one Search help for a field in this popup.
When I open this popup for first time in that session, F4 for the SH, the value is not getting populated in that field.
When I close the popup and open it again, next time the value which I select is getting populated in that field.
Don't know why this happens.
Like OVS, can we have F4 help event custom one for SH so that I can triiger it for first time.
What is the event that gets triggered upon F4 selection of SH.
Appreciate your replies.
My server details are as below -
EHP 4 for SAP ERP 6.0 /7.0
WEBCUIF 700 0001 SAPK-70001INWEBCUIF SAP WEBCUIF 700
SAP_ABA 701 0002 SAPKA70102 Cross-Application Component
Does Service pack has raised these issues.
Regards,
Lekha.
Edited by: Lekha on Aug 11, 2009 6:06 PMResolved by myself.
-
Regarding search help restrictions...
Hi Experts,
I have created search help with dialog type C (i.e Dialog with restrictions). As soon as user hits F4 on particular field , it will give pop-up with restriction count.
I want to set restrict count by default 10 instead of 500. How can we acheive this.
Please help me .
Thanks in advance
Raghu[search help exit|http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm]
[Search help Help|http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm]
check my wiki for the code for a search help exit.
J@Y -
Need help on search help on selection screen field
Hi guyz,
Please tell me how to pass the parameter or restrict the below search help.
*s_bsart FOR ekko-bsart . " Doc. Type*
For the above selection screen field i need to display the data only for cat = F if i click search help.
Thanks,
Mohamed KaleelHi,
Use At selection-screen for value-request for s_bsart.
SELECT_OTPIONS: s_bsart FOR ekko-bsart.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bsart.
CALL SCREEN 100 STARTING AT 10 5
ENDING AT 50 10.
MODULE value_list OUTPUT.
SUPPRESS DIALOG.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
SET PF-STATUS space.
NEW-PAGE NO-TITLE.
s_bsart-low = 'F' / 'CAT=F'.
write :/ s_bsart-low.
Hide: s_bsart-low
clear s_bsart-low.
ENDMODULE.
AT LINE-SELECTION.
LEAVE TO SCREEN 0.
This will resolve the issue.
Regards,
Gurpreet -
Problem with ALV search help Dictionary Search Help
Hello experts
I have a problem with ALV search help.
I use DDIC table ZXXX with text table ZXXX_T. I created DDIC search help form table ZXXX. In my WD application, in context on COMPONENTCONTROLLER i set on attribute: 'Input help mode' as 'Dictionary Search Help' and in 'Dictionary Search Help' I pass name of new created DDIC search help.
I create a input field from that atrribute and search help works fine (there was a value and description for value from text table). So I created ALV witch contains that attribute too.
Next I set column for this attribute in ALV as editable but on Serch help for this collumn I have only value. I DON'T HAVE TEXT DESCRIPTION FOR VALUE.
Please help me and tell me what I do wrong?
MikoHello,
Thank's for your help. I create DDic Search help for all fields from my ALV. Next I changed 'TYPE' for all ALV fields in COMPONENTCONTROLLER from ZXXX-Zfield to Zfield, and I changed 'Input help mode' from 'Automatic' to 'Dictionary Search Help'. Now I see Value and Description for value in Search Help in my ALV.
Regards
Miko -
How to add check tables or search helps to search help parameters?
Hello Forum!
I have made a Z-Search help, and I have a problem with some of my parameters.
The field (MARC)-EKGRP (Purchasing Group) has a check Table (T024) and the matching search help (H_T024).
I seem to find no possibility to add this check Table search help to my EKGRP parameter in my Z-Searc Help.
(Therefore, the End-User has to type it in Manually, there is no F4 funktionality...)
Is there a way to do this?
Thanx for replying!
Kind Regards,
Pieter
PS: I´m experiencing the same problems with other fields as well: to parameter (MARA-)MFRNR I would like to add the seach Help 'KRED', for it appears on my Z-Search Help. And so on....Thanks, Archna Raja!
This is certainly the right direction to look for a solution.
However, i can not get it to work.
In debugger Mode I have populated the SHLP-FIELDDESCR field 4AVAILABL with X.
Result: The button for the search help appears. But when I click on it, nothing happens.
I than also tried this in combination with populating the fields:
REFTABLE
CHECKTABLE
No search Help window opened..
I did not find a fileld where I can indicate the Search help in the SHLP Structure.
Am I missing out on something?
Kind Regards,
Pieter
PS: I´m trying to get a search help for The filed EKGRP.
Check Table: T024 Serach Help: H_T024
Edited by: Pieter De Fré on Nov 30, 2010 11:38 AM -
Hi
i create Z report.
In the selection screen i have 2 field: werks and MKMNR ( Master Inspection Characteristics). when i press F4 on MKMNR i see search help of MKMNR - <b>QPMK</b>
I want that the value of the werks will automatic enter to search help
for example if i entyer werks 1002,so i want to see only record that have 1002
How can i do it?
thanks
have a nice dayhi,
try :
AT SELECTION-SCREEN ON VALUE-REQUEST FOR ...
fm F4IF_INT_TABLE_VALUE_REQUEST
A.
Message was edited by:
Andreas Mann
Maybe you are looking for
-
2 iphones on one mac? Is this possible?
If I were to buy 2 iphones (one for me and one for my wife), could we have both phones linked to the same iMac? Are there any limitations to this? Would we share itunes library, etc? Thanks!
-
Display filesystem in Webdynpro Java Tree UI
Hi, I want to display a filesystem structure and its files in a Webdynpro Java Tree UI. I am using Netweaver CE 7.11. The root node of this tree should be the local filesystem on C:\ or a network share for example, which the users can browse and sele
-
Proceedure to activate standard workflow FIPP_SUBWF06
Hi Experts, Can you please let me know the proceedure and standard configurations in SPRO to activate standard work flow FIPP_SUBWF06 ( WS20000045 Amount release with user decision ). Thanks and Regards, Viven
-
Not Showing area code for USA SkyPe Number
Hi All , I am trying to get USA Skype number from below mentioend Link https://secure.skype.com/skypein/start 1.After Selecting United States as country , they asks fro "Step 1: State" 2 .After Selecting State they asks for number. "Step 2: Number"
-
Web based email program prevents access from email aggregator
Hi all - I'm a fairly new BB user and have a problem that I need some help. I have been using my BB Bold to access my U.S. Army webmail. Recently I received an email from the system saying that access to email by aggregators such as Google mail and