cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Add field into standard search help in SRM Supplier List search criteria

Former Member
0 Kudos
588

Hi Experts,

In the standard SRM supplier list, the search help for field "Purchase Organization" will only show two columns - Purch. Org. ID and Purch. Organization. I would like to add a third field which is "Purch. Organization Code" in between these two.

Questions:

1. Is this possible? Is there configuration for this? Or should it be implemented through ABAP code?

2. How do I know which search help is assigned to this field? Should I create a custom search help and replace the standard one, how do I do this?

Thanks in advanced,

Jack

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jack

Not sure of the best practice .You could try one of these

1. You could create a enh spot  /sapsrm/bd_cll_powl_feeder  in BADI

/SAPSRM/BD_POWL_CHNG_SELCRIT

So at the beginning you can specify the Query ID thus it will only work for your case ..

IF IV_FLT_POWL_TYPE = 'SAPSRM_FEEDER_BUPA_SUP' .

2. Or you can add an entry in Custom field tab Pur org of your own and then copy everything and copy the search help as well and edit it . Hide the original field from the POWL config section .. in

/SAPSRM/POWL_cust ..

3. I am assuming you want the search help to change everywhere so making changes in SAP std as an implicit enhancement is also not a bad idea .,.

Regards

Vinita

Former Member
0 Kudos

Hi Jack

You have not shown the entire screen so slightly difficult to understand ..

But check this if it works for you?

Go to /SAPSRM/POWl_cust ..

and then select ..SAPSRM_FEEDER_BUPA_SUP and Click on Field catalog after you select which shows the entries in field column ..

You may want to enhance the class /SAPSRM/CL_CLL_POWLT_BUPA_SUP

if you need some custom columns to be added .. after you add a Z column in the field catalog section of POWL ..

From what I could check in my system by default it does not show only those 2 columns but there must be some customization done in your system which shows only 2 columns .. some sap std columns seems to have been hidden ..

You may refer to this link to check if the above is not the correct POWL feeder for you ..

https://scn.sap.com/docs/DOC-51966

Let me know if that helps .. !

Regards

Vinita

Former Member
0 Kudos

Hi Vinita,

Thank you for your reply, but I think that you're talking about adding fields into the search criteria or result list. I only need to add fields into the "Search Help" (F4 button) for the criterion "Purchase Organization". The reason for this is, users are more familiar with the Purch. Org code rather than the Purch. Org. Name/Description. So I need to add the Purch. Org code when a user searches for possible Purch. Orgs.

Former Member
0 Kudos

Hey Jack ..

For   Feeder type SAPSRM_FEEDER_BUPA_SUP you got to know the feeder class which is /SAPSRM/CL_CLL_POWLT_BUPA_SUP ( t code POWL_TYPE).

In this class there is a method called IF_POWL_FEEDER~GET_SEL_CRITERIA. We can modify the attribute mt_selcriteria in order to change the value help used...

You may have to debug to be able to figure out ..

Regards

Vinita

Former Member
0 Kudos

Thanks Vinita,

Through a quick debug, I found out that the reference used is in

table: /SAPSRM/S_SEARCH_FIELDS_R_ASL-PURCH_ORG

Search help: BBP_PURCHORG_VALUE

Search help exit: BBP_F4IF_SHLP_EXIT_PURCHORG

What do you think is best practice for this requirement?

1. Should I enhance the search help exit in order to add the field? The problem with this approach is all screens using the search help will be affected.

2. Should I change the reference  /SAPSRM/S_SEARCH_FIELDS_R_ASL-PURCH_ORG in MT_SELCRITERIA and change it to a custom reference (a structure that I will create containing a custom search help that I will also create)? Will this have any negative impact on the standard code since the structures for all fields are not the same anymore?

Thanks.