Skip to Content
0

Talent Management - Talent Search - Embedded Search - TREX - Error while indexing - AES elements

Mar 14 at 09:50 PM

50

avatar image
Former Member

Dear masters,

We are setting up Talent Management here - specifically Talent Profile and relative tools. We've been using SAP HCM, including PD, LSO and E-Recruiting for 5 years now. TREX is also being used since 2012 (for DMS search).

After doing the proper setup & customizing, ESS and MSS tools for Talent Profile are working OK.

But we are stuck on preparing Talent Search (for TMS), specifically creating the search indices. When I try to do a talent search (basic or advanced) all I receive is "Search is currently unavailable.".

It seems that the search engine isn't working due to errors during TREX indexing. Using ESH_COCKPIT, I see that all physical indices nodes ELEMENT and ELEMENT_TEXT (technical object type = HRTMC_AES_ELEMENTS) have status "Error while indexing". Thus, all the search connectors that use these two physical indices have the same "Error while indexing" status: HRTMC AES Documents, HRTMC AES Elements, HRTMC AES Templates, HRTMC Central Person, HRTMC Job, HRTMC Job Family, HRTMC Org Unit, HRTMC Position.

All the other physical indices nodes are "Active". The connectors that don't use HRTMC_AES_ELEMENTS indices have status "Active" too (eg HRTCM Person and HRTMC Qualification). Those are the ones that appear (and I can use) at ESH_TEST_SEARCH, but searching for employees on Talent Search is not working rather. 

We have many AES categories/templates/documents for appraisal and evaluation (as I see at PHAP_CATALOG_PA). Don't know if there is some data inconsistency neither how to check it.

For now we are not interested in doing searches on those AES documents, we could disable search for them, if that is the case.

After indexing is finished, I checked at ST22 that exception GETWA_NOT_ASSIGNED is being raised.

What I did to set up the search (thanks, Luke Marson!):
- checking at SICF that the services were active
- checking ERP_ENTERPRISESEARCH was active at SWF5
- checking TREX configuration at TREXADMIN
- creating search connectors at ESH_COCKPIT
- indexing TREX at ESH_ADM_INDEX_ALL_SC program for EA-HRGXX 
- after some 20-30 minutes, checking the status with ESH_COCKPIT

What I already tried for solving, but didn't work:
- linked (A741 S-O) at HRTMC_PPOM the position (S object) to which my employee (P object) is linked [to which my user is linked (PA0105 SUBTY 0001)] to the organizational unit (O object) I belong to; also linked A741 my S to the root O object; checked the A741 relationships are active at HRP1001 table
- deleted/created/reindexed with ESH_ADM_INDEX_ALL_SC
- rechecked I have SAP_ALL
- tested basic search at SE37->ESH_TEST_SEARCH: working OK for HRTMC_PERSON and other object that appear there (the ones that doesn't use AES elements)
- deleted all connectors with ESH_ADM_INDEX_ALL_SC, created just the ones that have no indexing errors and reindexed.

Our ECC setup is:
ECC 6.0 EHP4 (planned upgrade to EHP8) 
SAP BASIS 7.01 Level 18
SAP_HRC*  6.04 Level 0107
EA-HR* 	  6.04 Level 0107

I've tried to "do my homework" reading the articles and notes I could found, they helped me to understand the search engine, but still I could find no way out.

So... any help is truly welcome!
Thank you very much.

I attached ESH_COCKPIT screens. Part of the dump is below.
DUMP:

Erro tempo execução GETWA_NOT_ASSIGNED
Data e hora 14.03.2018 15:47:13
Texto breve
Field symbol has not yet been assigned.
O que aconteceu ?
Error in the ABAP Application Program
The current ABAP program "SAPLRH_STRUCTURE_GET" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
O que pode ser feito?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Análise do erro
You attempted to access an unassigned field symbol
(data segment "-1").
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
Notas p/eliminação de erros
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"GETWA_NOT_ASSIGNED" " "
"SAPLRH_STRUCTURE_GET" or "LRH_STRUCTURE_GETU01"
"RH_STRUC_GET"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
Erro tempo execução GETWA_NOT_ASSIGNED
Data e hora 14.03.2018 15:47:13
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Ambiente de sistema
SAP-Release 701
Application server... "vrt0143"
Network address...... "10.3.2.2"
Operating system..... "Linux"
Release.............. "2.6.18-419.el5"
Hardware type........ "x86_64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 32
Shortdump setting.... "full"
Database server... "vrt0655"
Database type..... "ORACLE"
Database name..... "ED1"
Database user ID.. "SAPSR3"
Terminal.......... " "
Char.set.... "C"
SAP kernel....... 721
created (date)... "Jun 1 2016 13:50:02"
create on........ "Linux GNU SLES-9 x86_64 cc4.1.2 use-pr160421"
Database version. "OCI_102, 10.2.0.4.0, V3 "
Patch level. 700
Patch text.. " "
Database............. "ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*, ORACLE 12.*.*.*.*"
SAP database version. 721
Operating system..... "Linux 2.6, Linux 3, Linux"
Memory consumption
Roll.... 5788928
EM...... 0
Heap.... 13910352
Erro tempo execução GETWA_NOT_ASSIGNED
Data e hora 14.03.2018 15:47:13
Page.... 49152
MM Used. 15408192
MM Free. 4230608
Usuário e transação
Client.............. 300
User................ "ESTOL"
Language key........ "P"
Transaction......... " "
Transactions ID..... "5AA724C436DD0BFFE10000000A030202"
Program............. "SAPLRH_STRUCTURE_GET"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Infos p/ponto de cancelamento
Termination occurred in the ABAP program "SAPLRH_STRUCTURE_GET" - in
"RH_STRUC_GET".
The main program was "ESH_IX_CRT_INDEX_OBJECT_TYPE ".
In the source code you have the termination point in line 1
of the (Include) program "LRH_STRUCTURE_GETU01".
The program "SAPLRH_STRUCTURE_GET" was started as a background job.
Job Name....... "ESH_IX_ED1300_42FD7594523F8FD2BD"
Job Initiator.. "ESTOL"
Job Number..... 15464400
Segmento texto fonte
Linha Txt.fonte
>>>>> FUNCTION rh_struc_get.
2 *"----------------------------------------------------------------------
3 *"*"Lokale Schnittstelle:
4 *" IMPORTING
5 *" VALUE(ACT_OTYPE) LIKE OBJEC-OTYPE
6 *" VALUE(ACT_OBJID)
7 *" VALUE(ACT_WEGID) LIKE GDSTR-WEGID
8 *" VALUE(ACT_INT_FLAG) LIKE HRRHAS-77AW_INT OPTIONAL
9 *" VALUE(ACT_PLVAR) LIKE OBJEC-PLVAR DEFAULT SPACE
10 *" VALUE(ACT_BEGDA) LIKE OBJEC-BEGDA DEFAULT SY-DATUM
11 *" VALUE(ACT_ENDDA) LIKE OBJEC-ENDDA DEFAULT SY-DATUM
12 *" VALUE(ACT_TDEPTH) LIKE HRRHAS-TDEPTH DEFAULT 0
13 *" VALUE(ACT_TFLAG) LIKE HRRHAS-TFLAG DEFAULT 'X'
14 *" VALUE(ACT_VFLAG) LIKE HRRHAS-VFLAG DEFAULT 'X'
15 *" VALUE(AUTHORITY_CHECK) LIKE HRRHAS-AUTHY DEFAULT 'X'
16 *" VALUE(TEXT_BUFFER_FILL) LIKE HRPP0C-TEST OPTIONAL
17 *" VALUE(BUFFER_MODE) TYPE FLAG OPTIONAL
18 *" EXPORTING
19 *" VALUE(ACT_PLVAR) LIKE OBJEC-PLVAR
20 *" TABLES


screen1.jpg (285.7 kB)
screen2.jpg (282.2 kB)
screen3.jpg (283.8 kB)
screen4.jpg (328.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers