Skip to Content

error while generating query?

Hall Everyone.

While trying to generate the query in the attachment 08-gdpdu-abfrage-ausgangsrechnungen-hana.txt, I have got the following error message:

[SAP AG][LIBODBCHDB32DLL][HDBOBC32]General error;1287 identifier must be declared: IN_DOCFROMDATE: line 11 col 20 (at pos 288)

I am using SAP Hana 9.3 . What can be the cause or the failure? If anyone could help on this would be appreciated.

Thanks

Biniam

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Feb 06, 2019 at 03:34 PM

    Try adding this line in your query:

    in_docfromdate timestamp;
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 14, 2019 at 01:08 PM

    Hi,

    I have to say that I am not familiar with SQL-Hanna, I believe no need for the quotation mark ... , try to generate this query without "

    CREATE PROCEDURE "A/R Invoices Information"

    Aziz

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 16, 2019 at 04:07 AM

    Hi,

    To fix your issue, you have to troubleshoot running above query in HANA management studio by passing parameter.

    Regards,

    Nagarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2019 at 09:36 PM

    I believe this query is converted from SQL to HANA, isn't it?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2019 at 08:31 AM

    Hi,

    I can able to run the attached query successfully.

    Check the attachment below:

    Things to be noted:

    You should run this query on your intended SAP B1 schema via SAP HANA studio.

    If you are new to HANA studio, please follow the below steps (refer screenshot below)

    1. Login to SAP HANA studio.
    2. At Systems navigation drawer, open the tree of your server (in my case it was just HDB)
    3. Open the tree "Catalog"
    4. Select the particular SAP Business One Schema (which is nothing but the database name of SAP B1).
    5. Click the sql button on the top navigation drawer which will open an empty sql window right side.
    6. Please verify your intended schema is displaying at the Current Schema:
    7. Paste your SQL
    8. Press Fn8 key or click the green execute button.


    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.