<?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: SAP Build Apps - Set App Variable in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaa-p/14144793#M4919040</link>
    <description>Thank you for your swift response, Eshrinivasan.</description>
    <pubDate>Fri, 04 Jul 2025 16:37:41 GMT</pubDate>
    <dc:creator>praneetha_vissapragada</dc:creator>
    <dc:date>2025-07-04T16:37:41Z</dc:date>
    <item>
      <title>SAP Build Apps - Set App Variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaq-p/14118917</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an app variable called 'Purchase Order Item' that is a list of objects. I have 2 pages ie. Item Details and Item Overview. Item Details page takes user inputs for an item and Item Overview page displays all the items as a list.&lt;/P&gt;&lt;P&gt;I have created a button 'Add Item' on the Item Details page so the item can be added to the Item Overview Page. In the logic canvas of the button, I have used 'Set App Variable' function to update my item list on Overview Page. This function is not appending to the existing items but rather replacing it. For example, if there is item 1 on Overview page and I try to append item 2 to it from Details page, it is replacing item 1 with item 2 rather than appending. Could you please suggest any ideas to resolve this?&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Praneetha&lt;/P&gt;&lt;P&gt;#SAPBuildApps&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaq-p/14118917</guid>
      <dc:creator>praneetha_vissapragada</dc:creator>
      <dc:date>2025-06-04T13:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Build Apps - Set App Variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaa-p/14119998#M4916092</link>
      <description>&lt;P&gt;When you click on the "Set App Variable" logic function, on the right panel, you would see "Variable name" and "Assigned Value". In the "Assigned value", you have to choose "Formula" option. A formula editor pop up shows up. You can use the WITH_ITEM formula for this case since you want to append an item to a list. &lt;EM&gt;The item should be of the same data type as the list elements.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For eg: Lets say you have a list1(list of objects) which contains the items displayed on the overview page and you want to add item2 to list1 on the click of a button, the formula you would use in the formula editor would be:&lt;/P&gt;&lt;P&gt;WITH_ITEM(appVars.list1, item2) -&amp;gt; change the list1, item2 according to your variable names&lt;/P&gt;&lt;P&gt;The Formula editor shows how WITH_ITEM should be used, on the right side with examples.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 10:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaa-p/14119998#M4916092</guid>
      <dc:creator>shrinivasan_neelamegam</dc:creator>
      <dc:date>2025-06-05T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Build Apps - Set App Variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaa-p/14144793#M4919040</link>
      <description>Thank you for your swift response, Eshrinivasan.</description>
      <pubDate>Fri, 04 Jul 2025 16:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-build-apps-set-app-variable/qaa-p/14144793#M4919040</guid>
      <dc:creator>praneetha_vissapragada</dc:creator>
      <dc:date>2025-07-04T16:37:41Z</dc:date>
    </item>
  </channel>
</rss>

