27.1.11

SAP Note 19280 - Hierarchy: Looped through XCRHS more than 100 times

Symptom:

In the hierarchy structure display transaction (transactions CR01, CR02, CR03 oder CR21, CR22, CR23), error CR138 occurs:
"System error: Looped through table XCRHS more than 100 times".

Cause and prerequisites

More than 100 work centers have been allocated to the hierarchy.

Solution
Increase the number of work centers in a hierarchy to an arbitrary but not unneccessary high number.
Replace the number 200 twice in the source code with "your" number.

Change in the following program (lines are marked with <---)

LCR06F00 Form 'SEL_NEXT_LEVEL'

* IF SY-TABIX > 100. <--- deactivate
* MESSAGE I138 WITH 'XCRHS' 100. <--- deactivate
* ENDIF. <---- deactivate

IF SY-TABIX > 200. <--- insert
MESSAGE I138 WITH 'XCRHS' 200. <--- insert
ENDIF. <--- insert

No comments:

Post a Comment