TREX_GET_ENDIAN checking creates short dump when related ABAP is created in SAP

Document ID : KB000085917
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
The uxagtsap program generates in SAP a dump CALL_FUNCTION_NOT_FOUND 
Function module "TREX_GET_ENDIAN" not found. 

# In the RFC trace:
############################
T:140557324076800 Error in program 'uxagtsap': ======> Function module "TREX_GET_ENDIAN" not found.
T:140557324076800 Error in program 'uxagtsap': <* RfcReceive [5] : returns 3:RFC_SYS_EXCEPTION
T:140557324076800 Error in program 'uxagtsap': <* RfcCallReceive [5] : returns 3:RFC_SYS_EXCEPTION
############################

# In universe.log
############################
| 2015-09-08 11:18:22 |ERROR|X|SAP|pid=2281.140557324076800| uxsap_bapi_request_get_en | unable to get the endianness for [*] [*] [X_SAP_QE8-500]
| 2015-09-08 11:18:23 |ERROR|X|SAP|pid=2281.140557324076800| uxsap_trex_get_endian | urfc_RfcCallReceive fails to call TREX_GET_ENDIAN. RFC ERROR [RFC_ERROR_SYSTEM_FAILURE] [Function module "TREX_GET_ENDIAN" not found. ]
| 2015-09-08 11:18:23 |ERROR|X|SAP|pid=2281.140557324076800| uxsap_bapi_request_get_en | unable to get the endianness for [*] [*] [A_SAP_QE8-500]
############################

Patch level detected:Dollar Universe 6.4.00
Product Version: Dollar.Universe 6.4.01

Description :The Dollar Univese SAP Manager generates SAP short dump at startup.
Environment:
OS: All
Cause:
Cause type:
Defect
Root Cause: On recent SAP Systems the TREX_GET_ENDIAN report is no longer implemented, the SAP Manager invokes automatically at startup this ABAP to check if SAP AS is little or big endian and therefore creates short dumps in SAP (transaction ST22) .
Resolution:
Workaroud;

The user can ask his SAP administrator to create and activate the abap TREX_GET_ENDIAN that will execute this kind of code
================================================================================
function trex_get_endian.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" EXPORTING
*" VALUE(ENDIAN) TYPE ABAP_ENDIA
*"----------------------------------------------------------------------

endian = cl_abap_char_utilities=>endian.

endfunction.
================================================================================

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.6.01
Additional Information:
Workaround :
N/A