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

How to set up on searching customized infotype

Former Member
0 Likes
306

Dear All,

I got requirement to add new information on External candidate my profile.

1. I created new customized infotype 9XXX

2. I adjusted my profile screen to maintain data on this infotype

3. I configure Candidate Search application for Recruiter to have criteria on subtype and value field of infotype 9XXX

4. I customized class to read data from infotype 9XXX and set it in table T77RCF_SPT_INFTY (I am sure on this step, is it required?)

5. I check my criteria on RCF_CHECK_SEARCH_SETTINGS, I found customized field I set on configuration.

6. I check index from COM_SE_SEARCH_IIF_TEST, I cannot found Assignment ID of customized infotype 9XXX

7. I set standard class CL_HRRCF_CEC_INFOTYPE into table T77RCF_SPT_IC. Do I need to customize new class for it?

The Search Result cannot find my customized infotype 9XXX.

Do you have any suggestion? What do I need to do to trigger TREX to read my customized infotype?

Regards,

Soracha T.

Accepted Solutions (1)

Accepted Solutions (1)

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sorcha,

How have you configured the entry in V77RCF_SPT_IC? Is it the correct object type, do you have an own ID for the TREX? Is the field assigned in V_T77RCF_SPT_AF to the search profile?

Have you run a full indexing of this search profile afterwards?

Regards,

Nicole

Former Member
0 Likes

Hi Nicole,

Yes on both table, Nicole and I run full indexing after that also.

For V77RCF_SPT_IC

I set with this value.

Information Category: ZCANDIDATE_IDENTIFICATION

Object Type: NA

Content Extract Cl.: CL_HRRCF_CEC_INFOTYPE --> Do I need to use customized class?

Structure Name: P9502

Assignment ID: CD_IDEN

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sorcha,

Well, CL_HRRCF_CEC_INFOTYPE alone doesn't work. This method just gets the extractor/handling method for the infotypes from table T77RCF_SPT_INFTY.

So you need a class for your infotype (like CL_HRRCF_CANDIDATE_INFO) where it handles the getting of the data. Then you have to add your custom infotype to table T77RCF_SPT_INFTY with this one.

Just if you have done that, CL_HRRCF_CEC_INFOTYPE can do something with your custom infotype.

Regards,

Nicole

Answers (2)

Answers (2)

Former Member
0 Likes

At last I changed design to add customized field in standard infotype.

It's work on search.

0 Likes

Hi Nicole,

     As check with class CL_HRRCF_CANDIDATE_INFO. this class is extract data from object list. this class is trigger after call TREX.


     But we want to know how do we search customize infotype 9xxx by TREX? I mean when click search on portal.

          Webdynpro : ERC_C_SEARCH_UI
          View             : V_SEARCH_CRITERIA
          Method        : ONACTIONSEARCH
          line              : 66

* Call the Search Method
   call method wd_assist->search
     exporting
       iv_gen_sett_search_language = wd_assist->gv_gen_sett_search_language
       iv_gen_sett_max_hits        = wd_assist->gs_search_attributes-max_hits
       iv_gen_sett_threshold_icon  = wd_assist->gs_search_attributes-threshold_no_of_icons
       iv_gen_sett_operator        = wd_assist->gs_search_attributes-operator
       iv_search_method            = wd_assist->gv_search_method
       it_attribute_values         = lt_attribute_values
       iv_freetext_row             = lv_freetext_criteria
       is_requisition              = wd_assist->gs_req_hrobject
       is_cand_cdcy_object         = wd_assist->gs_cand_cdcy_hrobject
       is_talent_group             = wd_assist->gs_tg_hrobject
     importing
       et_generic_hitlist          = lt_generic_hitlist
       et_messages                 = lt_messages
       et_query_display_tab        = lt_query_display_tab
       ev_guid_log_entry           = lv_guid_log_entry.

     After pass this line Internal table name : lt_generic_hitlist is should be have object result from customize infotype.

     PS. I check with program : COM_SE_SEARCH_IIF_TEST. I found result search "cd_thai.zzvorna.value" (this is customize field in standard infotype HRP5102-ZZVORNA). but not found "cd_iden" (this is customize field in customize infotype HRP9XXX-ICNUM). you can see picture as below.

Thanks&Regards,
Suthichai Pat