Skip to Content

How to use a projection node as a source for a table function in a calculation view?

Hi all,

I need the output of projection node Source_for_TableFunction as source (FROM) of a table function Test_TableFunction:

Is there a way to connect the output of the Source_for_TableFunction node directly to the TableFunction node?

It is not an option to query directly on top of the column view of the calculaion view TECH_IOBJ like this:

SELECT "IOBJNM"
FROM "_SYS_BIC"."XXXXXX/TEST_TABLE_FUNCTION";<br>

The tablefunction needs to have its data from another node.

Somebody with a solution? :-)

Kind regards,

Laurens

calc-view.png (13.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Feb 28, 2019 at 11:23 PM

    As Florian correctly pointed out, this feature is only available with the XSA WEB IDE with HANA 2.

    For XSC modelling, the only option I see here is to wrap the two table functions in yet another table function that then serves as a data source for your graphical model.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 28, 2019 at 03:32 PM

    With XS Classic table functions used as view nodes cannot have tabular input parameters. This is only possible with XS Advanced starting with HANA 2.0 SPS01 (documentation).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 28, 2019 at 03:36 PM
    -2

    If "connect" means to join both data sources, you can just simply add the join node where you link both Table Function and Calculation View and specify columns for joining both datasets. Something like here:


    join.png (14.7 kB)
    join.png (31.1 kB)
    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.