cancel
Showing results for 
Search instead for 
Did you mean: 

How to add custom fields to Embedded Search

Former Member
0 Kudos

Hi Experts,

We have requiement that we need to add few z fields into the existing search which uses the Embedded Search. How to add new z fields into the Embedded search. Please provide me steps to implement. Award points will be given to the answer. Thank you.

With Regards,

Sudheer.

View Entire Topic
Former Member
0 Kudos

Hi Sudheer

Are you trying to add HCM fields? If so, OM/PD or PA fields? I'll assume PA.

Before we start, I'll tell you this. It is not easy.

1. Start the Enterprise Search Administration Cockpit and switch to Modeler

2. Create new own Software Component

3. Include EA-HRGXX Software Component

4. Create new Node in HRTMC_PERSON Template

5. Select related attributes of new Node

6. Create Composition to Parent Node u2018OBJIDu2019

7. Define foreign Keys of child Node

8. Save Template u201AHRTMC_PERSONu2018

9. Change Search Request of u2018HRTMC_CENTRAL_PERSONu2019

10. Save business template u2018HRTMC_CENTRAL_PERSONu2019

11. Go to u2018Define Search Models and Change Pointersu2019 and add your information if necessary

12. Add the new field to the Search Configuration

13. Recreate search connectors and start indexing

14. Test new Searchable objects

If you're doing OM/PA, it's similar, but you'll bee using the HRTMC_CENTRAL_PERSON node instead. Regardless, I struggled mightily with this type of change. I was trying to add an existing standard field (personnel area) from infotype 1 that was not originally included. That was WAY more complex for me than it probably should have been.

Hope you are more successful than I was!

Thanks,

Chris

Former Member
0 Kudos

Hi Chris,

Sorry for the late reply. I am working on PLM area. I followed your instructions like created a new software component ZPLMWUI, include the standard sap PLMWUI software component. I have created a new strucutre ZMM100 in SE11. I have created a new node ZMATERIAL_XXX with datastrucutre of ZMM100. I went to next step i don't know what to do from here do I have to select the compsition or association. Please let me know. Thank you.

With Regards,

Sudheer.

Former Member
0 Kudos

Hi Sudheer:

You're talking about the step, "6. Create Composition to Parent Node u2018OBJIDu2019"?

Definitely choose composition.

Thanks,

Chris

Former Member
0 Kudos

Hi Chris,

Thank you very much for reply. I completed till step 10. But I did not understand the step 11 & 12. Could you please tell me where I need to do this. I have completed the step 13 too. But when I am searching with new fields I am not getting any results back. May be I am missing something. Please advise me.

11. Go to u2018Define Search Models and Change Pointersu2019 and add your information if necessary

12. Add the new field to the Search Configuration

With Regrads,

Sudheer Somisetty.

Former Member
0 Kudos

Hi Sudheer:

Well steps 11 and 12 are specific to the HR IMG steps to add the new field to the 'selection screen'. I'm not sure how that relates to you (sorry), because I'm not familiar with the actual functionality of the search in your area.

One common thing to try might be to go to SA38 and run the program ESH_TEST_SEARCH. That should let you test your work without wondering about any front end logic/configuration.

Also, when you re-ran the indexing, do you now see actual data being indexed by the object you added?

Good luck

Chris

Edited by: Chris McNarney on Jul 29, 2010 4:41 PM