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

Vendor Search Help

aaron_morden2
Contributor
0 Likes
4,107

I have a user that is requesting that Vendor PO Box and PO Box ZIP Code be added to the Vendors by Address Attributes tab in the Vendor search help screen.

Any ideas with where to start?

Thanks!

I have a user that is requesting that Vendor PO Box and PO Box ZIP Code be added to the Vendors by Address Attributes tab in the Vendor search help screen.

Any ideas with where to start?

Thanks!

21 REPLIES 21
Read only

Former Member
0 Likes
2,854

hi

goto se11

create searchhelp by selecting the fields pfach , pstl2 , adrnr from table LFA1

now after activating the search help assign that object to ur required field

for further help on creating search helps plz refer

<b>

</b>

plz reward useful posts

Read only

0 Likes
2,854

hi,

Look for the same in <b>LFA1</b> table.

Regards,

Santosh

Read only

0 Likes
2,854

Sorry for the delay. This project was put on hold.

Ganesh - Thank you for your help, but I am unclear on what you are suggesting. You want me to create a brand new elementary search help and then what? How do I tie this back to search help KREDX (Vendors by Address Attributes)?

I attempted to just add the two fields (PFACH & PSTL2) to KREDX, but they do not show up in the search help. Am I missing a step or can this not be done.

Thanks!

Read only

0 Likes
2,854

Can anyone help with this?

Read only

Manohar2u
Active Contributor
0 Likes
2,854

Aaron,

For example from XK03 tcode the main search help is KRED and an elementary search for address is KREDA.

Here you need to copy KREDA search into ZKREDA

and view M_KREDA to ZM_KREDA and include PO BOX etc fields as required.

Regds

Manohar

Read only

0 Likes
2,854

I copied KREDX into ZKREDX then added the additional fields as Search Help Parameters. KREDX contains no view.

I then included ZKREDX in KRED. Still not working. Am I doing something wrong?

Read only

bruno_esperanca
Contributor
0 Likes
2,854

If this was answered, where's the answer? I have exactly the same problem

Read only

0 Likes
2,854

Create you own search help, append it to KRED and hide the original one.

(Transactions SE11 and OB50)

Regards,

Raymond

Read only

0 Likes
2,854

This search help calls screen SAPLSZA1 0201, which has an enormous amount of fields, one of them is the field I want to display, so this seems to be a configuration issue... I still don't know how exactly it works... but I will

Read only

0 Likes
2,854

And voilà... to the original poster, if you had to go through making a Z search help and replacing the original with the Z one to add a field in the tab Vendors by address attributes, I'm affraid you solved the "hard" way. There is a structure called VENDOR_FIND where you can add the fields you want to use to search for vendors.

Regards!

Read only

0 Likes
2,854

Ok, you performed (well) some analysis of F4IF_SHLP_EXIT_VENDOR_FUZZY

Read only

0 Likes
2,854

I did, didn't I?

Actually, the search help uses FM VENDOR_SEARCH_DIALOG, which bypasses completely the search help itself... that's why the Original Poster complained about changing the search help and nothing happening!

Regards!

Read only

0 Likes
2,854

I guess he had too well copied the search help, with the exit, no luck. Had he created a search help from scratch, he would not have get any problem...

Ok this question has now been actually Answered .

Regards,

Raymond

Read only

0 Likes
2,854

My solution was creating an Append Search Help in KRED.  From there I simply included custom elementary search helps inside the Append Search Help.

Read only

0 Likes
2,854

Read only

0 Likes
2,854

Bruno,

appended name3 to Vendor_find and the field appears on the screen and hit list.

But the search doesn't work and returns nothing.

Appended name3 to addr1_find and the search returns everything not just selected.

What's the secret I'm missing to making this thing work.

Thanks

Read only

0 Likes
2,854

Hi Barth,

That was over an year ago. I hardly can remember what I had for lunch yesterday. Well, actually yesterday is easy because I have Mexican every Sunday.

Anyways, try setting a break point in the FM I mentioned. It shouldn't be too hard to debug. And it will answer two questions, if it is actually where the vendor is being fetched, and what is going on.

If all else fails, open a new thread explaining what you've done and what the results are, as this topic has been closed.

Good luck.

Best,

Bruno

Read only

0 Likes
2,854

Ok I had a few minutes so I debugged it for you.

Apparently you also need to add "NAME3" to structure ADDR1_FIND.

Give it a try and let me know.

Best,

Bruno

Read only

0 Likes
2,854

And to complete my answer a little further, I think you're having some bad luck...

As usual with SAP, there's some really poor coding around here...

And if you look into function module ADDR_SEARCH_V2, it seems that the fields which you can use are hardcoded.

Best,

Bruno

Read only

0 Likes
2,854

Bruno,

Thanks so much for your quick and complete reply.

Set a breakpoint in ADDR_SEARCH_V2 and see the hard coding.

I'm new to this and had been working on it for some time.

Already have a Name3 tab working with a View.

Will negotiate with customer to use that search.

Have a great day!

Barth   

Read only

0 Likes
2,854

No problem,

Welcome to SCN

Best,

Bruno