<?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: RAP OData v4 Web-API metadata set nullable option in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13968519#M4896867</link>
    <description>You are welcome, &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1494058"&gt;@jrtr&lt;/a&gt; It's good to see all good!</description>
    <pubDate>Thu, 19 Dec 2024 14:46:30 GMT</pubDate>
    <dc:creator>TuncayKaraca</dc:creator>
    <dc:date>2024-12-19T14:46:30Z</dc:date>
    <item>
      <title>RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaq-p/13965414</link>
      <description>&lt;P&gt;I implemented an OData v4 Web-API and realized that the metadata document contains nullable="false" for almost every property (all but Edm.Date typed properties) of my entities. As far as I recall the metadata document of the RAP implementation (UI service) of the S4D437 course didn't contain that much nullables. I searched for an answer and found Andre Fischers post in &lt;A href="https://community.sap.com/t5/technology-q-a/annotation-sap-nullable-in-abap-rap-odata/qaq-p/12598509" target="_self"&gt;this thread&lt;/A&gt;&amp;nbsp;that says that you can't set it directly but influence it by the implementation.&lt;/P&gt;&lt;P&gt;Sadly there is nothing mentioned "how" you influence it. What do I have to do to make properties nullable?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 08:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaq-p/13965414</guid>
      <dc:creator>jrtr</dc:creator>
      <dc:date>2024-12-17T08:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13965894#M4896561</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1494058"&gt;@jrtr&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It seems&amp;nbsp;&lt;A href="https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/ABENCDS_404676902-_ANNO.html" target="_self"&gt;@Semantics.nullValueIndicatorFor&lt;/A&gt; can be used. Check out similar question&amp;nbsp;&lt;A href="https://community.sap.com/t5/technology-q-a/set-nullable-property-on-sap-rap-based-odata-v4/qaq-p/12784135" target="_self"&gt;Set Nullable Property on SAP RAP based OData V4&lt;/A&gt; and&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/44554"&gt;@tudor_teoteoi&lt;/a&gt;'s&amp;nbsp;response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@Semantics.nullValueIndicatorFor: "OriginalField"&lt;BR /&gt;&lt;/EM&gt;&lt;I&gt;cast ('X' as boole_d) as NullValIndicator&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Thought it must be applicable only in "&lt;FONT color="#808080"&gt;&lt;EM&gt;Only available with the latest&amp;nbsp;&lt;A href="https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/tree/ABAP-platform-cloud" target="_blank"&gt;SAP BTP or SAP S/4HANA Cloud, public edition release&lt;/A&gt;&amp;nbsp;and for SAP S/4HANA, on-premise edition or SAP S/4HANA Cloud, private edition, from&amp;nbsp;&lt;A href="https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/tree/ABAP-platform-2023" target="_blank"&gt;release 2023&lt;/A&gt;&amp;nbsp;onwards.&lt;/EM&gt;&lt;/FONT&gt;" Check out &lt;A href="https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/blob/main/01_general_features.md#quickview-with-non-uuid-key---nullvalueindicator" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Tuncay&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 14:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13965894#M4896561</guid>
      <dc:creator>TuncayKaraca</dc:creator>
      <dc:date>2024-12-17T14:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13968026#M4896803</link>
      <description>Thank you TuncayKaraca, I knew it works in cloud environment, should have tested in our on-premise system...</description>
      <pubDate>Thu, 19 Dec 2024 07:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13968026#M4896803</guid>
      <dc:creator>jrtr</dc:creator>
      <dc:date>2024-12-19T07:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13968519#M4896867</link>
      <description>You are welcome, &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1494058"&gt;@jrtr&lt;/a&gt; It's good to see all good!</description>
      <pubDate>Thu, 19 Dec 2024 14:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13968519#M4896867</guid>
      <dc:creator>TuncayKaraca</dc:creator>
      <dc:date>2024-12-19T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13978999#M4898161</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/137163"&gt;@TuncayKaraca&lt;/a&gt; This works for standard CDS entities. Regarding custom CDS entities I figured out that the annotation and the definition of a NullValueIndicator field of type boole_d is sufficient to remove nullable="false" there. For abstract entities this does not seem to hold true, do you know how i can suppress nullable="false" there?</description>
      <pubDate>Tue, 07 Jan 2025 10:52:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13978999#M4898161</guid>
      <dc:creator>jrtr</dc:creator>
      <dc:date>2025-01-07T10:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13985125#M4899015</link>
      <description>I stumbled across the problem, that the metadata document is correct, but casting X (true) to the NullValueIndicator infuences the response as the property is set to null. Casting a blank (false) yields the correct entry in the metadata document (nullable="false" is gone) and the correct value for the property.</description>
      <pubDate>Tue, 14 Jan 2025 11:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/13985125#M4899015</guid>
      <dc:creator>jrtr</dc:creator>
      <dc:date>2025-01-14T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: RAP OData v4 Web-API metadata set nullable option</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/14149030#M4919559</link>
      <description>For all those reading this later: Use abap_boolean instead of deprecated boole_d type.</description>
      <pubDate>Thu, 10 Jul 2025 06:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-odata-v4-web-api-metadata-set-nullable-option/qaa-p/14149030#M4919559</guid>
      <dc:creator>jrtr</dc:creator>
      <dc:date>2025-07-10T06:23:51Z</dc:date>
    </item>
  </channel>
</rss>

