SAP Knowledge Base Article - Preview

3592394 - SAPLSXPT Exception condition "X_ERROR" triggered

Symptom

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

The following short dump results from triggering an external command: 

Category               ABAP Programming Error
Runtime Errors         RAISE_EXCEPTION
ABAP Program           SAPLSXPT
Application Component  BC-CCM-BTC
Date and Time          02.04.2025 22:20:13

Short Text:                                                                                      
Exception condition "X_ERROR" triggered      
                                                 
Error analysis:

A RAISE statement in program "SAPLSSXP" has raised exception condition                        
   "X_ERROR".                                                                                   
Since the exception was not caught by a program higher up in the call                         
hierarchy, processing was terminated.                                                         
                                                                                                
Short text for exception condition:                                                           
You can find detailed documentation about the exception condition in                          
transaction SE37 (Function Library). You can find the name of the                             
function module called from the display of active calls.                                      
Last error logged in SAP kernel                                                               
           Component............ SAP-Gateway                                                             
           Location.......... SAP-Gateway on host XXXX/ sapgw00           
           Version.............. 2                                                                       
           Error code............ 242                                                                   
           Error text............ timeout during allocate                                             
           Description............ no connect of TP C:\...\.sapxpg from host * after 20 sec   

If the dump results from a background job, the SM37 job log should contain the external command being called.  Example:

Job started 
Step 001 started (program *, variant 00001, user ID *)  
SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1,007
SXPG_COMMAND_EXECUTE(LONG)
<timestamp> = 2025*
COMMANDNAME = *
ADDITIONAL_PARAMETERS =*
OPERATINGSYSTEM = Windows NT
SY-SUBRC =  902
Internal session terminated with a runtime error RAISE_EXCEPTION (see ST22)


                                       

 


Read more...

Environment

SAP NetWeaver

SAP NetWeaver Application Server for SAP S/4HANA

ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions

Keywords

KBA , BC-CCM-BTC-EXT , External and Logical Commands , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.