Application Development 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: 

Search help based on a pattern

Former Member
0 Kudos

Hi,

I have a requirement like this:

There is a select-option for a field called manufacturer (equal to vendor lfa1--name1) .The user enters the manufacturer name as pattern like man ,there will be many vendors with same search patter.Can you help me how to do this ?

Regards,

Aruna

3 REPLIES 3

Former Member
0 Kudos

Hi.

Very interesting requirement.

I think it is possible in the way that u write a word suppose T and when u press enter then the persons

staring from word' T will appear in search help.is it ur rquirement? or u want that as u write T then it shows

name starting from T and then u write TA then name staring from TA appears. u will have to press enter after writing a word. if enter is acceptable then search help can be attache don value request for.

Former Member
0 Kudos

Hi,

Use the MCOD1 in place of NAME1 field from LFA1..both store the same value but MCOD1 stores in uppercase and this field is used as the search help field.

This will solve your problem.

SELECT-OPTIONS : S_NAME FOR LFA1-MCOD1.

faisal_altaf2
Active Contributor
0 Kudos

Hi,

Please Follow the Steps Bellow.

--> T-Code: SE11

--> Select the Radio Button Search help

--> Write name of search help I am using here ZFSL_SH_LFA1_NAME1

--> Click Button Create

--> Now from the appearing window Select Elementary search help and Click Ok Button.

--> Fill the Field as in the

Selection method = lfa1

In search help parameter Name1

Check the Both Check Boxes of IMP and EXP

LPos = 1

SPos = 1

Save and Active and now Define Select-Option in the following way,

SELECT-OPTIONS: pname1 FOR lfa1-name1 MATCHCODE OBJECT zfsl_sh_lfa1_name1.

now in you select-option write man* and press f4 you will find all the name in the search help starting from man

i did in the same way and it is working fine from me, Please Reply if any Issue,

Best Regards,

Faisal