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

Elementary Search help problem ??

Former Member
0 Likes
600

Hi guys,

I have a elementary search help on one of partner bank field on the selection screen.

Search help is based on the vendor value P_vendor parameter entered by the user.

How can i pass value of p_vendor to search help exit (FM) and do processing and return only the required value to F4?

Please help at the earliest.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563
3 REPLIES 3
Read only

Former Member
0 Likes
564
Read only

Former Member
0 Likes
563

Hi

You can create an elementary search help based on the table LFBK (if you need search help for Bank based on vendor) and use it.

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 if useful

Regards

Anji

Read only

Former Member
0 Likes
563

You can use a Parameter ID to pass the value to the search help. However, the user will need to hit the enter key so that you can populate the parameter ID 'LIF'.

Then on the search help you specify this parameter ID for the LIFNR field. This will then be available in your search help user exit. It will be in one of the input paramters.