SAP Knowledge Base Article - Preview

2125445 - SCM Shipping Cockpit fails with SQL325 – no legal query plan found - SAP ASE for Business Suite


You are running SAP Business Suite SCM application (Shipping Cockpit)  on SAP ASE database.

  • The system encounters ST22 short dumps while running a generic search in Shipping Cockpit:

SQL code: 325" occurred while accessing table "/SCDL/DB_PROCI_O"

  • On the application (SM21) and database-end (ASE errorlog), the corresponding query has several DISTINCT aggregates as predicates and fails:

Msg 325, Level 18, State 1: Server 'XXXX', Line 1: Adaptive Server finds no legal query plan for this statement. If an Abstract Plan is forcing the query plan, check its correspondence to the query. If not, please contact SAP Technical Support.



  • SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP NetWeaver (NW) - All versions


SAP Supply Chain Management 7.0


325, legal, query, plan, 778143, Shipping Cockpit, CR#778143, CR778143, 778143 , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Bug Filed

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.