<?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>topic Re: Task 1 - Create CDS View Entity ( August Developer Challenge ) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13787046#M2029731</link>
    <description>&lt;P&gt;Task 1, OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 07:27:24 GMT</pubDate>
    <dc:creator>AAncos</dc:creator>
    <dc:date>2024-08-08T07:27:24Z</dc:date>
    <item>
      <title>Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13785912#M2029698</link>
      <description>&lt;P&gt;First of all, thanks for the overwhelming response to the &lt;A href="https://community.sap.com/t5/application-development-blog-posts/sap-developer-challenge-abap-core-data-services/ba-p/13778288" target="_blank" rel="noopener"&gt;ABAP Developer Challenge&lt;/A&gt;. Kudos to everyone who took time out of their busy schedule and finished the pre-requisite – &lt;A href="https://community.sap.com/t5/application-development-discussions/task-0-pre-requisite-for-august-developer-challenge-quot-abap-core-data/td-p/13778243" target="_blank" rel="noopener"&gt;Task 0&lt;/A&gt; last week.&lt;/P&gt;&lt;P&gt;Now let us dive right into the challenge.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Task 1&lt;/STRONG&gt; - In this challenge, we will create a custom table and explore the creation of CDS view entity from it. This also includes writing a simple logic to generate data into this table and to replace the existing values in a specific field.&lt;/P&gt;&lt;P&gt;Follow the instructions carefully and share with us the screenshots of the items mentioned in the ‘Validation’ section of this discussion.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; As suggested in &lt;A href="https://community.sap.com/t5/application-development-discussions/task-0-pre-requisite-for-august-developer-challenge-quot-abap-core-data/td-p/13778243" target="_blank" rel="noopener"&gt;Task 0&lt;/A&gt; , please ensure that you give a unique ID ( something that can relate to your SAP Community ID ) to all your development objects.&lt;/P&gt;&lt;P&gt;Please use this &lt;A href="https://community.sap.com/t5/application-development-discussions/questions-re-quot-abap-core-data-services-quot-developer-challenge/td-p/13778268" target="_blank" rel="noopener"&gt;separate thread to ask your questions and discuss issues&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;So, let’s get started:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a database table with the following fields:&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;Client as Key&lt;/LI&gt;&lt;LI&gt;Travel Id as Key&lt;/LI&gt;&lt;LI&gt;Description&lt;/LI&gt;&lt;LI&gt;Total Price&lt;/LI&gt;&lt;LI&gt;Currency Code&lt;/LI&gt;&lt;LI&gt;Status&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Create an ABAP class which will generate data from the table &lt;STRONG&gt;/dmo/travel&lt;/STRONG&gt;&amp;nbsp; to the newly created database table.&lt;/LI&gt;&lt;LI&gt;Write a logic in the ABAP class to map the below values to replace the existing value in the &lt;STRONG&gt;‘Status’&lt;/STRONG&gt; column.&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;N --&amp;gt; O&lt;/LI&gt;&lt;LI&gt;P --&amp;gt; O&lt;/LI&gt;&lt;LI&gt;B --&amp;gt; A&lt;/LI&gt;&lt;LI&gt;For all other values update --&amp;gt; X&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Check the Data Preview of the table. The ‘&lt;STRONG&gt;Status’&lt;/STRONG&gt; column should have the distinct values specified in&amp;nbsp;&amp;nbsp;Step 3&lt;/LI&gt;&lt;LI&gt;Create a CDS view entity using ADT with reference to the above created table.&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;Help Document for &lt;A href="https://help.sap.com/docs/abap-cloud/abap-cds-tools-user-guide/cds-view-entities?locale=en-US&amp;amp;version=s4_hana" target="_self"&gt;CDS View Entitiy&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Once the CDS View entity is created, check the fields created. Add the 'Currency Code’ annotation for ‘Total Price’ field. Save, Activate and check the Data Preview.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Validation :&lt;/STRONG&gt; Share a screenshot of the following items as a reply to this thread to gain credits:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Data preview of the CDS View Entity&lt;/LI&gt;&lt;LI&gt;Logic in the ABAP class. In specific, the field &lt;STRONG&gt;‘Status’&lt;/STRONG&gt; should only have values ( O, A or X ).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Enjoy!!!! &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 16:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13785912#M2029698</guid>
      <dc:creator>sheenamk</dc:creator>
      <dc:date>2024-08-08T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13785966#M2029699</link>
      <description>&lt;P&gt;My Solution:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomas_jung_0-1723033559002.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147857iA1161536FE227B8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thomas_jung_0-1723033559002.png" alt="thomas_jung_0-1723033559002.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomas_jung_1-1723033568914.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147858i03803D52B277BC63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thomas_jung_1-1723033568914.png" alt="thomas_jung_1-1723033568914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 12:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13785966#M2029699</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2024-08-07T12:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786192#M2029700</link>
      <description>&lt;P&gt;CDS view preview:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mwn_0-1723040860732.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147936i9537528879DB2FC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mwn_0-1723040860732.png" alt="mwn_0-1723040860732.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Class file to copy data after using the code cleaner:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;CLASS zcl_mwn_travel_copy IMPLEMENTATION.


  METHOD if_oo_adt_classrun~main.
  insert zmwn_travel from
  ( select travel_id, description, total_price, currency_code,
  case
    when status = 'N' then 'O'
    when status = 'P' then 'O'
    when status = 'B' then 'A'
    else 'X'
    end
  from
   /dmo/travel ).
  ENDMETHOD.
ENDCLASS.&lt;/LI-CODE&gt;&lt;P&gt;Distinct values for status (looks like there are no unexpected statuses)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mwn_1-1723041029003.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147941i0EBC3EB8DD8E566A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mwn_1-1723041029003.png" alt="mwn_1-1723041029003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 14:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786192#M2029700</guid>
      <dc:creator>mwn</dc:creator>
      <dc:date>2024-08-07T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786204#M2029701</link>
      <description>&lt;P&gt;Fun!!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichHeilman_0-1723041369105.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147944i97E7ED83F25F4652/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichHeilman_0-1723041369105.png" alt="RichHeilman_0-1723041369105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichHeilman_1-1723041450085.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147945i821B6987270DE8A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichHeilman_1-1723041450085.png" alt="RichHeilman_1-1723041450085.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 14:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786204#M2029701</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2024-08-07T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786239#M2029702</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the screenshots below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szubair_0-1723042809363.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147954iC8817D791A532A1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szubair_0-1723042809363.png" alt="szubair_0-1723042809363.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szubair_0-1723044641765.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147969iA91ABBEC60DDD510/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szubair_0-1723044641765.png" alt="szubair_0-1723044641765.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 15:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786239#M2029702</guid>
      <dc:creator>szubair</dc:creator>
      <dc:date>2024-08-07T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786245#M2029703</link>
      <description>&lt;P&gt;I don't think you want to just copy the top 100 rows to your new table&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 15:09:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786245#M2029703</guid>
      <dc:creator>mwn</dc:creator>
      <dc:date>2024-08-07T15:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786250#M2029704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gphadnis2000_0-1723043398547.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147959i33C5D086A840616B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gphadnis2000_0-1723043398547.png" alt="gphadnis2000_0-1723043398547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gphadnis2000_1-1723043440111.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147961i2858943FAFD1670A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gphadnis2000_1-1723043440111.png" alt="gphadnis2000_1-1723043440111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Gaurav Phadnis&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 15:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786250#M2029704</guid>
      <dc:creator>gphadnis2000</dc:creator>
      <dc:date>2024-08-07T15:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786256#M2029705</link>
      <description>&lt;P&gt;CDS Data Preview:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Silvi__0-1723043374902.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147958i1BA8B4E24BDD95B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Silvi__0-1723043374902.png" alt="Silvi__0-1723043374902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Class logic (still needs improvement &lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Silvi__1-1723043432848.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147960i340391DF98E198F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Silvi__1-1723043432848.png" alt="Silvi__1-1723043432848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 15:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786256#M2029705</guid>
      <dc:creator>Silvi_</dc:creator>
      <dc:date>2024-08-07T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786280#M2029706</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDS view entity&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajesh_munusamy_1-1723045035602.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147971i78638D5BB25016C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh_munusamy_1-1723045035602.png" alt="rajesh_munusamy_1-1723045035602.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajesh_munusamy_4-1723045357953.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147975i9B694F5D70F1C99C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh_munusamy_4-1723045357953.png" alt="rajesh_munusamy_4-1723045357953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ABAP CLASS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajesh_munusamy_2-1723045162436.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147973iC307DF2587637754/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh_munusamy_2-1723045162436.png" alt="rajesh_munusamy_2-1723045162436.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajesh_munusamy_3-1723045218361.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/147974iED0A2DB49CAF49A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh_munusamy_3-1723045218361.png" alt="rajesh_munusamy_3-1723045218361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 15:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786280#M2029706</guid>
      <dc:creator>rajesh_munusamy</dc:creator>
      <dc:date>2024-08-07T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786362#M2029707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Interesting way to start the challenge, had fun!&lt;/P&gt;&lt;P&gt;Logic in the ABAP class:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YogSSohanee_0-1723048006924.png" style="width: 568px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148011i7447C9F725E26C22/image-dimensions/568x333?v=v2" width="568" height="333" role="button" title="YogSSohanee_0-1723048006924.png" alt="YogSSohanee_0-1723048006924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Data preview of the CDS view entity : ZYSS_I_TRAVEL&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YogSSohanee_2-1723048107698.png" style="width: 596px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148013i2D4CF8F26C799C65/image-dimensions/596x590?v=v2" width="596" height="590" role="button" title="YogSSohanee_2-1723048107698.png" alt="YogSSohanee_2-1723048107698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking forward to the next challenge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 16:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786362#M2029707</guid>
      <dc:creator>YogSSohanee</dc:creator>
      <dc:date>2024-08-07T16:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786383#M2029708</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Here is the Data Preview of CDS Entity:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P561888_0-1723048521062.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148023i260E6C5D635F48B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="P561888_0-1723048521062.png" alt="P561888_0-1723048521062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ABAP Class:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P561888_1-1723048618190.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148024i01868A2A7673E680/image-size/medium?v=v2&amp;amp;px=400" role="button" title="P561888_1-1723048618190.png" alt="P561888_1-1723048618190.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Bharani&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 16:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786383#M2029708</guid>
      <dc:creator>BH2408</dc:creator>
      <dc:date>2024-08-07T16:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786421#M2029709</link>
      <description>&lt;P&gt;My Solution -&amp;nbsp;&lt;BR /&gt;Data Preview -&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SachinArtani_0-1723050523668.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148046i73BD98EE901EB13A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SachinArtani_0-1723050523668.png" alt="SachinArtani_0-1723050523668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is no other value in travel table, hence in the custom table, there is no entry for status = 'X'.&lt;/P&gt;&lt;P&gt;Logic:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SachinArtani_1-1723050547519.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148047i48B7AD0717F65589/image-size/large?v=v2&amp;amp;px=999" role="button" title="SachinArtani_1-1723050547519.png" alt="SachinArtani_1-1723050547519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 17:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786421#M2029709</guid>
      <dc:creator>SachinArtani</dc:creator>
      <dc:date>2024-08-07T17:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786492#M2029711</link>
      <description>&lt;P&gt;&lt;STRONG&gt;CB9980002351&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CDS View Preview:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UsamaKhan_0-1723056910133.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148074i34D962C8498903A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UsamaKhan_0-1723056910133.png" alt="UsamaKhan_0-1723056910133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Class Logic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UsamaKhan_1-1723057049806.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148083iB3DBD8D3D0AFBE89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UsamaKhan_1-1723057049806.png" alt="UsamaKhan_1-1723057049806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 18:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786492#M2029711</guid>
      <dc:creator>UsamaKhan</dc:creator>
      <dc:date>2024-08-07T18:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786517#M2029713</link>
      <description>&lt;P&gt;My submission for this task.&lt;/P&gt;&lt;P&gt;ABAP Class:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MK_0-1723057790929.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148097i0BC3785DE03CD16F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MK_0-1723057790929.png" alt="MK_0-1723057790929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;CDS-View Preview:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MK_1-1723057934363.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148098i8126D4D4384D7418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MK_1-1723057934363.png" alt="MK_1-1723057934363.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 19:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786517#M2029713</guid>
      <dc:creator>M-K</dc:creator>
      <dc:date>2024-08-07T19:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786534#M2029714</link>
      <description>&lt;P&gt;Data Preview:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-07 at 3.38.29 PM.png" style="width: 471px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148102i746D7A49E81B1E2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-08-07 at 3.38.29 PM.png" alt="Screenshot 2024-08-07 at 3.38.29 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Logic to fill db table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-07 at 3.40.25 PM.png" style="width: 597px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148103i666CEAF39B0CB3EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-08-07 at 3.40.25 PM.png" alt="Screenshot 2024-08-07 at 3.40.25 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 19:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786534#M2029714</guid>
      <dc:creator>thomasks</dc:creator>
      <dc:date>2024-08-07T19:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786557#M2029715</link>
      <description>&lt;P&gt;CDS data preview&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anu_Nair_0-1723061421669.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148113i7FC462A8F13746A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anu_Nair_0-1723061421669.png" alt="Anu_Nair_0-1723061421669.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Class-method&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anu_Nair_1-1723061458292.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148114i39160A4F2D3F4B92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anu_Nair_1-1723061458292.png" alt="Anu_Nair_1-1723061458292.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 20:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786557#M2029715</guid>
      <dc:creator>Anu_Nair</dc:creator>
      <dc:date>2024-08-07T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786587#M2029716</link>
      <description>&lt;P&gt;CDS view Data Preview :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sivaiah_Bhiragani_0-1723063108452.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148127i44ABADFA5C56E54F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sivaiah_Bhiragani_0-1723063108452.png" alt="Sivaiah_Bhiragani_0-1723063108452.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Data Generating Class:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sivaiah_Bhiragani_1-1723063194140.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148130i1492D99404F1A519/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sivaiah_Bhiragani_1-1723063194140.png" alt="Sivaiah_Bhiragani_1-1723063194140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 20:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786587#M2029716</guid>
      <dc:creator>Sivaiah_Bhiragani</dc:creator>
      <dc:date>2024-08-07T20:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786588#M2029717</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for the week 1 challenge. Below are my screenshots:&lt;/P&gt;&lt;P&gt;Data Preview of CDS view entity&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aaruljothi_0-1723063133842.png" style="width: 543px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148128i59D777B00BF2B921/image-dimensions/543x636?v=v2" width="543" height="636" role="button" title="aaruljothi_0-1723063133842.png" alt="aaruljothi_0-1723063133842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Class Logic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aaruljothi_1-1723063171954.png" style="width: 647px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148129i6130E99C8ED89FFC/image-dimensions/647x558?v=v2" width="647" height="558" role="button" title="aaruljothi_1-1723063171954.png" alt="aaruljothi_1-1723063171954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 20:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786588#M2029717</guid>
      <dc:creator>aaruljothi</dc:creator>
      <dc:date>2024-08-07T20:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786598#M2029718</link>
      <description>&lt;P&gt;My Solution:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="AVG_0-1723063730683.png" style="width: 366px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148134i1DA2FB7C6125A13F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AVG_0-1723063730683.png" alt="AVG_0-1723063730683.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AVG_1-1723063847533.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148135i18BEE2217004E5F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AVG_1-1723063847533.png" alt="AVG_1-1723063847533.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 20:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786598#M2029718</guid>
      <dc:creator>AVG</dc:creator>
      <dc:date>2024-08-07T20:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Task 1 - Create CDS View Entity ( August Developer Challenge )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786603#M2029719</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Here is my solution for the task!&lt;/P&gt;&lt;P&gt;Data Preview of the CDS View Entity:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kaschcode_1-1723064118495.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/148137iD0A5E09F6C1722D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kaschcode_1-1723064118495.png" alt="kaschcode_1-1723064118495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Code of the generator class:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;CLASS zcl_p350812_generate_data DEFINITION PUBLIC FINAL CREATE PUBLIC.
  PUBLIC SECTION.
    INTERFACES if_oo_adt_classrun.

  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.

CLASS zcl_p350812_generate_data IMPLEMENTATION.
  METHOD if_oo_adt_classrun~main.
    DATA travels TYPE STANDARD TABLE OF zp350812_travel.

    " Delete existing data in travel table
    DELETE FROM zp350812_travel.

    " Select data from demo table and apply mapping for status
    SELECT travel_id,
           description,
           total_price,
           currency_code,
           CASE status
               WHEN 'N' THEN 'O'
               WHEN 'P' THEN 'O'
               WHEN 'B' THEN 'A'
               ELSE 'X' END      AS status
      FROM /dmo/travel
      INTO CORRESPONDING FIELDS OF TABLE @travels.

    " Insert modified data into travel table
    INSERT zp350812_travel FROM TABLE @travels.
    out-&amp;gt;write( |{ sy-dbcnt } records inserted into travel table.| ).
  ENDMETHOD.
ENDCLASS.&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 07 Aug 2024 20:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/task-1-create-cds-view-entity-august-developer-challenge/m-p/13786603#M2029719</guid>
      <dc:creator>kasch-code</dc:creator>
      <dc:date>2024-08-07T20:56:53Z</dc:date>
    </item>
  </channel>
</rss>

