SAP Knowledge Base Article - Preview

2247718 - Error 1013 "Abstract Plan (AP): syntax error; line %, occurring near %." - SAP ASE

Symptom

Queries with a large number of UNIONs raises Error 1013 and then runs to completion:

Msg 1013, Level 16, State 1: 
Server '<server_name>', Line 2: 
Abstract Plan (AP): syntax error; line %, occurring near '%'. Check the AP syntax. 


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.5
  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 15.5

Keywords

parser, 748049,  CR748049, traceflag, 15363, -T15363, CR#748049 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

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

Search for additional results

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