Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Can we bypass a variable for a part of a calculation view?

$
0
0

Hi all,

 

I have a calculation view (A) which contains a union of 2 other calculation views (B and C).  These 2 are exactly the same, except for one column (FKDAT).

FKDAT exists only in view B.

 

Now, on view A, we defined 3 variables.  2 of these variables are defined on columns which are present in both views B and C (BUKRS and BUDAT).

A third variable is defined on FKDAT, which is only present in view B.

 

The behavior of view A is as expected in fact: if I do not enter a selection on FKDAT, I get results from view B and view C.

But as soon as I enter a selection on FKDAT, I only get results from view B, as view C does not have FKDAT.

 

Is there a way to change this behavior?: if a selection on FKDAT occurs, display all records from view C anyway?

 

I was thinking about adding a FKDAT-calculated-column in view C, which contains a constant and then always take this constant value in the selection on FKDAT.

But are there other ways?


Viewing all articles
Browse latest Browse all 4343

Trending Articles