<?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: Create CDS-View including domain with conversion exit in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337132#M4620937</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;marcelhippchen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You could check the &lt;A href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.04/en-US/e4887a42a3eb4d5d88bf84da66c07668.html"&gt;ABAP_ALPHANUM&lt;/A&gt; or &lt;A href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.04/en-US/20e40bdb75191014bc66f14fa7a3d769.html"&gt;LPAD&lt;/A&gt; functions.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 21:44:35 GMT</pubDate>
    <dc:creator>MateuszAdamus</dc:creator>
    <dc:date>2020-12-22T21:44:35Z</dc:date>
    <item>
      <title>Create CDS-View including domain with conversion exit</title>
      <link>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaq-p/12337129</link>
      <description>&lt;P&gt;I created a CDS-View:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1873507-2020-12-18-12-22-17.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;When i create an OData-Service based on this view, i get the following error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1873508-2020-12-18-12-23-49.png" /&gt;&lt;/P&gt;
  &lt;P&gt;It seems to be due to the field "PosNr" which has an underlying domain with a conversion exit:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1873505-2020-12-18-11-42-02.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;It is resolved if i cast this field in the CDS-View like this:&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1873509-2020-12-18-12-25-42.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Is this the correct solution or can i solve this in the SAP GUI system. I think it should not be the solution to convert those field in the CDS-View. Any solutions?&lt;/P&gt;
  &lt;P&gt;Best Regards&lt;/P&gt;
  &lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 10:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaq-p/12337129</guid>
      <dc:creator>marcelhippchen</dc:creator>
      <dc:date>2020-12-18T10:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create CDS-View including domain with conversion exit</title>
      <link>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337130#M4620935</link>
      <description>&lt;P&gt;Hi Marcel,&lt;BR /&gt;you wrote "Is this the correct solution or can i solve this in the SAP GUI system.?".&lt;/P&gt;&lt;P&gt;So I assume we are talking about two systems, one where you have developed your CDS view and another system from which you call the OData Service programmatically?&lt;/P&gt;&lt;P&gt;Can you please share on which release you are working on in the system(s)?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 11:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337130#M4620935</guid>
      <dc:creator>Andre_Fischer</dc:creator>
      <dc:date>2020-12-18T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create CDS-View including domain with conversion exit</title>
      <link>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337131#M4620936</link>
      <description>&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;thanks for your fast response. It is a &lt;STRONG&gt;S/4 HANA 1909 Backend System&lt;/STRONG&gt; and both the CDS-View and the OData-Service run on this system. Excuse my misleading wording.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 11:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337131#M4620936</guid>
      <dc:creator>marcelhippchen</dc:creator>
      <dc:date>2020-12-18T11:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create CDS-View including domain with conversion exit</title>
      <link>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337132#M4620937</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;marcelhippchen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You could check the &lt;A href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.04/en-US/e4887a42a3eb4d5d88bf84da66c07668.html"&gt;ABAP_ALPHANUM&lt;/A&gt; or &lt;A href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.04/en-US/20e40bdb75191014bc66f14fa7a3d769.html"&gt;LPAD&lt;/A&gt; functions.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 21:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-cds-view-including-domain-with-conversion-exit/qaa-p/12337132#M4620937</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-12-22T21:44:35Z</dc:date>
    </item>
  </channel>
</rss>

