‎2007 Jun 15 12:12 PM
Hi,
I would like to create a search help with 3 levels.
For Example: If i press F4 on Purchase order field it will show a popup purchasing documents by material. Again if we press F4 on materila number it will show a list of pop up, let us say select material by material type.
Now inorder to select material type system will not allow F4 there even though it has a check table etc.
Is there any possibility to have 3rd level search help.
Appreciate your response.
Thanks,
Suneel
‎2007 Jun 15 12:19 PM
Yes it is possible to get multi level search help... its dynamically called
use
AT SELECTION-SCREEN ON VALUE-REQUEST FOR field.
and call CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
accordingly... levels call be defined one after the other.. just keep passing the value to next value-request and F4IF_INT_TABLE_VALUE_REQUEST
reward points if helpful.
regards
fazeel
‎2007 Jun 15 1:29 PM
Hi,
I have created search help in SE11 and would like to attache to screen.
I will attach first search help to screen field and that searc help should leads me to dig to next 2 levels.
Is there any other posibility in this way.
Thanks,
Suneel
‎2007 Jun 16 6:51 PM
hi
I think there is two type of search help, one is elementary other is collective search,collective search where u can define multiple fields for the search help.
it solve the problem
thanks
Roopesh
‎2007 Jun 17 8:12 PM
Hi
You have to create a Cumulative search help and use using different tables
See the cumulative search help for MATNR field and create accordingly
see the doc
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
Search Help Exits:
Reward points for useful Answers
Regards
Anji
‎2007 Jun 19 8:13 AM
Hi,
use at selection-screen on value-request <field>
call function 'f4_int_table_value_request'
reward points if useful..
regards
‎2007 Aug 07 7:57 AM
We have setting in SAP to get multilevel search helps.
Go to menu HELP--> F4 help and choose model dialog
‎2007 Aug 08 1:32 PM
Hi Suneel,
what you request is possible. I describe it with an easy example:
Create a search help for the well-known table SFLIGHT (in fact there are already some) as follows:
Go to SE11 and create a search help e.g. ZSFLIGHT. Choose 'elementary search help'.
Choose Dialog type: 'Dialog with value restriction'.
As selection method choose SFLIGHT. As search help parameters choose CARRID, CONNID, FLDATE. In columns LPos and SPos assign numbers 1,2, and 3 for the parameters. Check column 'EXP' for parameter FLDATE.
Now activate the search help and call the testing facility. A popup appears with a input field FLDATE. There you can use the F4 functionality. Now you simulate what would happen when you assign this search help to a real screen field.
Since we have chosen 'Dialog with value restriction' a popup appears containing seclect options for CARRID, CONNID and FLDATE (because we have given them positions in SPos). You will see that CARRID and CONNID both provide a value help themselves.
Let's concentrate on field CONNID. The reason, that we have a value help here is, that for table field SFLIGHT-CONNID a value help exists.
Indeed, if you open table SPFLI in se11 and double-click on field CONNID, a popup appears displaying details on that field. There you see, that the value help for that field comes via the check table and is defined by search help H_SPFLI.
You can navigate to the definition of that search help by double-clicking on the name. There you see, that the display type of that search help is 'Display values immediately'. Therefore, we would expect that when pressing F4 on the parameter CONNID in the selection-screen described above a hit-list shows up immediately.
Please try this. When you take a closer look at the definition of search help H_SPFLI, then you can see, that it has entries in its SPos-column. Hence, in principle you should be able to get another selection-screen. Indeed, you can achieve this by pressing the filter-icon on the hit-list. When you do this, indeed another selction-screen shows up, containing field CARRID (and others). As you can see CARRID again carries a value-help. This comes because H_SPFLI has table SPFLI as selction method and SPFLI-CARRID again carries a value help.
In principle this can go on infinitely.
I think the example is just what you required with the only exception that once in between a hit-list shows up. The reason for that is, that H_SPFLI has display type 'Display values immediately'. If the display type was 'Dialog with value restriction' it would be exactly as demanded.
Hope this example helps you to solve the problem on your own.
Greetings
Stephan