SAP Knowledge Base Article - Preview

3738134 - LCA: SQL error with /SAPAPO/CL_OM_CLIENT_DELETE during post processing of client deletion

Symptom

  • During client deletion, postprocessing exit /SAPAPO/CL_OM_CLIENT_DELETE fails with following error:

    Postprocessing    /SAPAPO/CL_OM_CLIENT_DELETE    SCM-APO-LCA    Resumed Remote Exception
    Postprocessing    /SAPAPO/CL_OM_CLIENT_DELETE    SCM-APO-LCA    An exception with the type CX_SY_NATIVE_SQL_ERROR was raised, but was not handled locally or declared in a RAISING clause.
    Postprocessing    /SAPAPO/CL_OM_CLIENT_DELETE    SCM-APO-LCA    An SQL error has occurred:

  • No detailed information available for the SQL error.

  • Transaction code LCA04 gives same short dump CX_SY_NATIVE_SQL_ERROR. 

    Category               Installation error
    Runtime Errors         DBIF_DSQL2_SQL_ERROR
    Except.                CX_SY_NATIVE_SQL_ERROR
    Date and Time          16.03.2026 18:58:10  

     Short Text
         SQL error 258 occurred while executing Native SQL.
         
     What happened?
         Error 258 has occurred on the current database connection "DEFAULT".
         Database error text: insufficient privilege:
         
    C  SQLCODE    : 258
    C  SQLERRTEXT : insufficient privilege: Detailed info for this error can be found with guid '9F7C8830FDD6B64AA1575AE\
    C               4FB2A09E1'
    C  sc_p=7f274c5a77b8,no=775,idc_p=(nil),con=0,act=1,slen=56,smax=256,#vars=9,stmt=7f1a771470a0,table="APS_COM_VERSION_GET"
    C  statementHash=c0854d51cf952c350946512b72636a84
    C  CALL "APS_COM_VERSION_GET" ( ?, ?, ?, ?, ?, ?, ?, ?, ? );
    B  ***LOG BY2=> sql error 258 performing EXE [dbds         329]


Read more...

Environment

  • SAP S/4 HANA
  • LiveCache Applications

Product

SAP S/4HANA 2022 ; SAP S/4HANA 2023

Keywords

/sapapo/cl_om_client_delete, client deletion, postprocessing exit, cx_sy_native_sql_error, dbif_dsql2_sql_error, sql error 258, insufficient privilege, aps_com_version_get, lca04, , KBA , BC-DB-LCA , liveCache Applications , BC-CTS-CCO , Client Copy (For ByD issues select BC-TLM-CP) , 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.