SAP Knowledge Base Article - Preview

2911487 - 0FI_AA_12: SAPSQL_PARSE_ERROR occurs during the extraction

Symptom

The following runtime error occurs when extracting data using 0FI_AA_12 (probably it happens after installing Note 2408988):

Runtime Errors SAPSQL_PARSE_ERROR
Except. CX_SY_DYNAMIC_OSQL_SEMANTICS
ABAP Program CL_BWFIAA_GET_DEPR============CP
Application Component FI-AA
|Short Text |
| An error has occurred while parsing a dynamic entry.
|Error analysis |
| "Unknown column name "KDPOS". until runtime, you cannot specify a field list." <-- Here, KDPOS might be other column name in different cases.

The problematic SQL statement is as below:

|>>>>>| SELECT (ms_accobj-t_anlz_fields[]) FROM anlz | <-- the issued unknown field exists in ms_accobj-t_anlz_fields but not in table ANLZ
| 33| INTO CORRESPONDING FIELDS OF TABLE lt_anlz[] |
...


Read more...

Environment

  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA

Product

SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

KBA , BW-BCT-FI-AA , BW only - Asset Accounting , 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.