Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search Help

Former Member
0 Likes
1,273

Hello All,

This is my requirement.

1.User want a search help on vendor master(XD01) for couple of fields. How to go about this? What is the best way to go do this?

I do not know much about search help, in this regard kindly let me know some links and suggestions.

Regards,

Pratap

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
860

Hi,

create a new elementary search help..

Then add the new elementary search help to the standard sap collective search help using the append search help technique..

Check this link for more details

http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/content.htm

Thanks

Naren

8 REPLIES 8
Read only

Former Member
0 Likes
861

Hi,

create a new elementary search help..

Then add the new elementary search help to the standard sap collective search help using the append search help technique..

Check this link for more details

http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/content.htm

Thanks

Naren

Read only

Former Member
0 Likes
860

Hi,

You can use the Search help exit ....

A search help exit is a function module that has a predefined interface. A search help exit is called at certain times by the help processor. The administrative data of the help processor are passed to the search help exit using the interface.

You can store your own program logic that manipulates this administrative data in the search help exit. Individual steps of the input help process can be skipped with a search help exit.

<b>Calling the Search Help Exit</b>

If a search help exit is assigned to a search help, the help processor calls it at the following times:

<b>Before Displaying the Dialog Box for Selecting the Required Search Path.</b>

It is only called for collective search helps. Using the search help exit, the set of elementary search helps available can for example be restricted depending on the context.

<b>Before Displaying the Dialog Box for Entering Search Conditions.</b>

You can either influence the dialog for entering search conditions or skip it altogether here. You can also influence how the selection screen looks.

<b>Before Selecting Data.</b>

The data selection can be partly or completely copied from the search help exit. This can become necessary if the data selection cannot be implemented with a SELECT statement for a table or a view.

<b>Before Displaying the Hit List.</b>

You can influence the display of the hit list in this step with the search help exit. You can reduce the number of values displayed here. For example, you can display only values for which the person calling the input help has authorization. You can also copy the complete hit list from the search help exit.

<b>Before Returning the Values Selected by the User to the Input Template.</b>

It could be advisable to intervene at this time if control of the further transaction flow should depend on the value selected. A typical example is setting set/get parameters.

Regards

Sudheer

Read only

Former Member
0 Likes
860

Search helps can be implemented in a variety of ways:

please see the link for your use ...

[Removed by the moderator.]

reward points if it is usefull ...

Girish

Read only

former_member196299
Active Contributor
0 Likes
860

hi Mohan ,

Please check the following link where you can get the complete information about creating a search help and using it in your programs and screens .

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=creating%20and%20using%20a%20search%20help%20&c...

Reward if helpful !

Regards,

Ranjita

Read only

Former Member
0 Likes
860

Hi,

1.in exceptions it could be necessary to change the standard process defined by the search help. You can implement the deviation from the standard using a search help exit.

In this case enter the name of the search help exit in the corresponding field.

2.On the Included search helps tab page, define the search helps that you want to include in the collective search help.

You can include elementary search helps and collective search helps.

Use the Hide flag to control whether an included search help should appear in the dialog box for selecting the elementary search help. If the flag is set, the search help is not offered.

It makes sense to hide search help inclusions if one or more search paths in the standard system should not be used in a concrete R/3 System. Similarly, search help inclusions can also be already hidden in the standard system because they only can be used meaningfully in a few R/3 Systems. You have to cancel the flag in this case.

Regards

Read only

0 Likes
860

Hello All,

Thanks for all your help.

As I mentioned earlier my requirement as follows.

We already have search help (KRED) for vendor display(XK03) while selecting the vendor.

KRED is collective search help, in that we have several elementary search helps. We included couple of elementary search helps according to the client requirement.

Here I am coming to the point.

I have ele.search help ZKRED3, on this we already have couple of existing search help parameters lije company code, name1 etc. For this data collection from a D/B view(join condition LFA1/LFB1).

User wants to searh help for fields NAME2 and NAME3 with any UPPER/LOWER case characters. For name1 we using LFA1-MCOD1 as view field, so I am using LFA1-MCOD2 for name2. So irrespective of character case(U/L) it's fetching the data till here no problem

But, NAME3 there is no field in LFA1 table I can not use LFA1-NAME3 as a view field because it's picking data on case sensitive.

Please suggest me what are the alternatives I have to comeover this.

If I confused with my poor english please excuse me.

Thanks,

Pratap

Read only

Former Member
0 Likes
860

Other Options

Assign a search help to a field: You can assign a search help to a field with Goto ® Search help ® For field. The search help can be used by all screen fields that refer to this field. See Attaching a Search Help to a Table or Structure Field.

Assign a search help to a table: You can assign a search help to a table with Goto ® Search help ® For table. This search help can be used by all screen fields that are checked against the table. See Attaching a Search Help to a Check Table.

Create documentation: With Goto ® Documentation you can create a text that describes the use of the table and maintenance of the table data more precisely.

Assign activation type: With Extras ® Activation type you can assign the table an activation type. This is only relevant for tables in the runtime environment.

Enter or display data: If you set the Table maintenance allowed flag, you can enter data in the table with Utilities ® Table contents ® Create entries. You can display existing data with Utilities ® Table contents ® Display.

Read only

Former Member
0 Likes
860

Assign a search help to a field:

You can assign a search help to a field with Goto Search help For field. The search help can be used by all screen fields that refer to this field. See Attaching a Search Help to a Table or Structure Field.

Assign a search help to a table:

You can assign a search help to a table with Goto Search help For table. This search help can be used by all screen fields that are checked against the table