<?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 CDS Business Object - Read Only Header &amp; Editable Items &amp; Draft in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801131#M40887</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;My goal is to create Fiori List Report which shows business partners and allows to maintain some custom tax information in object page using table.&lt;/P&gt;
  &lt;P&gt;I have created BO using CDS which has header and items. BO Header node is based on C_BusinessPartner CDS View. I disabled create, delete and update operations. BO Items nodes are based on customer table and all operations are enabled. BO has draft capability&lt;/P&gt;
  &lt;P&gt;I created consumption views for both header and items. To enable edit possibility in list report I had to enable update operation on header in consumption view. In items consumption view all operations remain enabled.&lt;/P&gt;
  &lt;P&gt;The result is app which shows business partners, I can edit the object page and maintain items.Great ...&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;BUT!!!&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;If I switch the object page to edit mode &lt;STRONG&gt;and click Cancel,&lt;/STRONG&gt; &lt;STRONG&gt;I get an error&lt;/STRONG&gt;. I guess the reason is that I disabled the delete operation on header level and BOPF is trying to delete draft state caused by modyfiing the items.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Do you see any way how to develop business object which has read only header (SAP Business Partner) and custom based items which are modifiable while draft status is allowed?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Zdenek&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 13:15:27 GMT</pubDate>
    <dc:creator>ZdenekSmolik</dc:creator>
    <dc:date>2019-03-08T13:15:27Z</dc:date>
    <item>
      <title>CDS Business Object - Read Only Header &amp; Editable Items &amp; Draft</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801131#M40887</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;My goal is to create Fiori List Report which shows business partners and allows to maintain some custom tax information in object page using table.&lt;/P&gt;
  &lt;P&gt;I have created BO using CDS which has header and items. BO Header node is based on C_BusinessPartner CDS View. I disabled create, delete and update operations. BO Items nodes are based on customer table and all operations are enabled. BO has draft capability&lt;/P&gt;
  &lt;P&gt;I created consumption views for both header and items. To enable edit possibility in list report I had to enable update operation on header in consumption view. In items consumption view all operations remain enabled.&lt;/P&gt;
  &lt;P&gt;The result is app which shows business partners, I can edit the object page and maintain items.Great ...&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;BUT!!!&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;If I switch the object page to edit mode &lt;STRONG&gt;and click Cancel,&lt;/STRONG&gt; &lt;STRONG&gt;I get an error&lt;/STRONG&gt;. I guess the reason is that I disabled the delete operation on header level and BOPF is trying to delete draft state caused by modyfiing the items.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Do you see any way how to develop business object which has read only header (SAP Business Partner) and custom based items which are modifiable while draft status is allowed?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Zdenek&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 13:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801131#M40887</guid>
      <dc:creator>ZdenekSmolik</dc:creator>
      <dc:date>2019-03-08T13:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: CDS Business Object - Read Only Header &amp; Editable Items &amp; Draft</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801132#M40888</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;is this really so uncommon requirement? Nobody has faced this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zdenek&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 14:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801132#M40888</guid>
      <dc:creator>ZdenekSmolik</dc:creator>
      <dc:date>2019-05-27T14:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: CDS Business Object - Read Only Header &amp; Editable Items &amp; Draft</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801133#M40889</link>
      <description>&lt;P&gt;Did you try enabling the delete at the bopf(transactional) CDs view and disabling the delete at the consumption view layer? So only at the UI layer u will be disabling the delete..&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 20:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801133#M40889</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2019-05-27T20:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: CDS Business Object - Read Only Header &amp; Editable Items &amp; Draft</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801134#M40890</link>
      <description>&lt;P&gt;I think maybe you didnt say what error is...no information of what CDS beside the name, which i suppose is not standard...or maybe because im not a professional with this technical yet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 00:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-business-object-read-only-header-editable-items-draft/m-p/801134#M40890</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2019-05-28T00:32:01Z</dc:date>
    </item>
  </channel>
</rss>

