title: How to create an association to a parameterized CDS view?
body: <p>I'm struggling to find the syntax to create an association between an extension of a parameterized CDS view and a parameterized CDS view. Their input parameters have the same names.</p>
  <p>I've tried this:</p>
  <pre><code>extend view I_AAA with ZZ_AAA
      association [0..1] to ZZ_BBB(P_param1 : $parameters.P_param1) as _ZZ_BBB
  </code></pre>
  <p>This gives the error: &quot;<strong>unexpected keyword '(' (ON was expected)</strong>&quot;.</p>
  <p>Or this:</p>
  <pre><code>extend view I_AAA with ZZ_AAA
      association [0..1] to ZZ_BBB as _ZZ_BBB on $parameters.P_param1 = _ZZ_BBB.P_param1
  </code></pre>
  <p>This gives the error: &quot;<strong>The entity ZZ_BBB requires parameter P_X</strong>&quot;.</p>
  <p>The documentation states:</p>
  <blockquote>
  <p>If the data source <code>target</code> of a specified CDS association is a CDS
  entity with input parameters, parameters must be used after the name
  <code>_assoc</code> to pass actual parameters to them. No parameters can be specified for a CDS association published as an element of a SELECT
  list.</p>
  </blockquote>
  <p>Putting parameters after _assoc is what I tried in the first example.</p>