Skip to Content
-1

SQL Error ABAP View on top of a Calculation View with an input parameter

Hello,

we created a ABAP View on top of Calculation View containing an input parameter (keydate). Though the ABAP View gets activated the execution leads to an SQL Error:

SQL-Code 2.048 column store error: search table error: [34051] Error while parsing injection query: invalid column name.

Can we consume Calculation Views with input parameters in ABAP Views? I assume that the input parameter (keydate) in HANA is not populated by the ABAP View and this leads to an error.

Regards
Ertugrul

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 16, 2018 at 04:59 PM

    "ABAP views" (?) can access dictionary objects only. Use AMDP to access calculation views.

    https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenabap_hana.htm?file=abenabap_hana.htm

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2018 at 09:14 AM

    So you speak about external views. As documented, external views cannot pass parameters to calculation views.

    https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenexternal_views.htm

    Anyway, instead of external views, we recommend AMDP. Especially, since XSC will be replaced by XSA.

    https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abensap_hana_access.htm

    (We don't use the Termin "ABAP view" and also it is "ABAP Development Tools" not "ABAP Modeling Tools").

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.