<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Currency/Quantity Reference in CDS view in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14244372#M4929288</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I found this UoM in the table (puom_wh)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="albertosimeoni_0-1760512321513.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/327740iB16361E609A3CE1F/image-size/medium?v=v2&amp;amp;px=400" alt="albertosimeoni_0-1760512321513.png" title="albertosimeoni_0-1760512321513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know if it is semantically correct.&lt;/P&gt;&lt;P&gt;The workaround I found is to create the association with T006 in the CDS view,&lt;/P&gt;&lt;P&gt;expose the UoM field to have the correct association with the Quantity,&lt;/P&gt;&lt;P&gt;and add&amp;nbsp;@Consumption.hidden:true to the UoM field&lt;/P&gt;&lt;P&gt;in this way no join is generated at runtime during data extraction / analysis / query.&lt;/P&gt;&lt;P&gt;(the association / join forces you to define manually the CDC delta mapping if needed).&lt;/P&gt;</description>
    <pubDate>Wed, 15 Oct 2025 07:16:21 GMT</pubDate>
    <dc:creator>albertosimeoni</dc:creator>
    <dc:date>2025-10-15T07:16:21Z</dc:date>
    <item>
      <title>Currency/Quantity Reference in CDS view</title>
      <link>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaq-p/14241502</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a CDS view on top of the table /SAPAPO/MATLWH.&lt;/P&gt;&lt;P&gt;This table has a field RSQTY with unit reference to T006-MSEHI.&lt;/P&gt;&lt;P&gt;Now my issue is, in DDIC table the reference table needs no join to the main table. But in CDS view I am unable to use the reference Unit in "&lt;EM&gt;@Semantics.quantity.unitOfMeasure&lt;/EM&gt;&amp;nbsp;without bringing it thru an ASSOCIATION first.&lt;/P&gt;&lt;P&gt;And, in this case there's no common field between&amp;nbsp;/SAPAPO/MATLWH and T006 using which I can define an association.&lt;/P&gt;&lt;P&gt;I am no CDS expert. Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/163332"&gt;@AndreaUS&lt;/a&gt;&amp;nbsp;- I went thru your blog but couldn't figure out a solution. Can you please help?&lt;/P&gt;&lt;P&gt;#ABAP #CDS&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 16:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaq-p/14241502</guid>
      <dc:creator>BenedictV</dc:creator>
      <dc:date>2025-10-12T16:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Currency/Quantity Reference in CDS view</title>
      <link>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14244372#M4929288</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I found this UoM in the table (puom_wh)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="albertosimeoni_0-1760512321513.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/327740iB16361E609A3CE1F/image-size/medium?v=v2&amp;amp;px=400" alt="albertosimeoni_0-1760512321513.png" title="albertosimeoni_0-1760512321513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know if it is semantically correct.&lt;/P&gt;&lt;P&gt;The workaround I found is to create the association with T006 in the CDS view,&lt;/P&gt;&lt;P&gt;expose the UoM field to have the correct association with the Quantity,&lt;/P&gt;&lt;P&gt;and add&amp;nbsp;@Consumption.hidden:true to the UoM field&lt;/P&gt;&lt;P&gt;in this way no join is generated at runtime during data extraction / analysis / query.&lt;/P&gt;&lt;P&gt;(the association / join forces you to define manually the CDC delta mapping if needed).&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 07:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14244372#M4929288</guid>
      <dc:creator>albertosimeoni</dc:creator>
      <dc:date>2025-10-15T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Currency/Quantity Reference in CDS view</title>
      <link>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14245451#M4929431</link>
      <description>Thanks a lot &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/829608"&gt;@albertosimeoni&lt;/a&gt;. The issue I have is, there's no common fields between /SAPAPO/MATLWH and T006.</description>
      <pubDate>Thu, 16 Oct 2025 06:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14245451#M4929431</guid>
      <dc:creator>BenedictV</dc:creator>
      <dc:date>2025-10-16T06:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Currency/Quantity Reference in CDS view</title>
      <link>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14245478#M4929433</link>
      <description>/SAPAPO/MATLWH left join T006 on puom_wh = msehi ?</description>
      <pubDate>Thu, 16 Oct 2025 07:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/currency-quantity-reference-in-cds-view/qaa-p/14245478#M4929433</guid>
      <dc:creator>albertosimeoni</dc:creator>
      <dc:date>2025-10-16T07:08:35Z</dc:date>
    </item>
  </channel>
</rss>

