cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign search help for custom cost centre field in SRM 7.0

Former Member
0 Kudos

Hi Experts!!

We are currently working in SRM 7.0.As per our business requirement, in account assignment tab we need to use a custom

cost centre field (ZCOST_CENTRE) instead of standard cost centre field.It is observed that for standard cost centre field there is a standard web-dynpro search-help assigned where it will return the F4 search help values from backend.

Can any one of you please help me how can I assign the search-help for the custom cost centre field. Is there any FM to call the backend cost centre search help for custom field or any other way how can I achieve this?

Thanks in advance.

Regards,

Kalyani

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

kalyani,

i can see your requirement in below way..

as it just reads: you need to assign the standard cost center help to a z cost center field in component /SAPSRM/WDC_UI_DO_ACC.. which actually is fetched though the component /SAPSRM/WDC_UI_BACKEND_SH

so, if you see the component controller of SAPSRM/WDC_UI_DO_ACC you will see the component

USAGE_SH_F4	/SAPSRM/WDC_UI_BACKEND_SH	                    
USAGE_SH_F4	/SAPSRM/WDC_UI_BACKEND_SH	INTERFACECONTROLLER

so you can replicate the same functionality for your z field.

but can you clarify one thing.. why are you going for this z field in place of standard field ?

Former Member
0 Kudos

Hi Sowmya,

Thanks for your reply.

As per our business requirement we need to use the custom cost centre field due to some requirements.

Thanks again!!

Regards,

Kalyani

Former Member
0 Kudos

Hi Kalyani,

If you requirement is to add a search help to your custom field then you can do it in the WD component.

1. Create a custom search help

2. Add the field in the context of your WD View.

3. Go to context properties of your field and then add the custom search help there.

FM to get the cost centers :META_COSTCENTER_GETLIST

Former Member
0 Kudos

Hi Surender,

Thanks for your helpful reply.

The FM 'META_COSTCENTER_GETLIST' which you suggested seems to be helpful to fulfill our requirement.

Working on the same.

Thanks again!!!

Regards,

Kalyani