<?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 DM - how we empty the global variable in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352206#M4938820</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/123673"&gt;@MikeS67&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for response, however the question is once the global variable is defined and it contains the values then how we can empty the global variable without deleting it.&lt;/P&gt;&lt;P&gt;is there any function where we can reset/empty the global variable.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ankit Gupta&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2026 11:22:48 GMT</pubDate>
    <dc:creator>ankit12</dc:creator>
    <dc:date>2026-03-18T11:22:48Z</dc:date>
    <item>
      <title>SAP DM - how we empty the global variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaq-p/14350730</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;we have some questions about global variable as below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;what are possible ways to empty/reset the global variable in SAP DM.&lt;/LI&gt;&lt;LI&gt;if the global variable is defined at production connector, if production connector restarts, will it reset the global variable.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please help us to resolve these doubts regards production connector. quick response will be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ankit Gupta&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 10:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaq-p/14350730</guid>
      <dc:creator>ankit12</dc:creator>
      <dc:date>2026-03-17T10:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAP DM - how we empty the global variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352180#M4938816</link>
      <description>&lt;P&gt;You delete a global variable from within the Production Process Designer (the app where you manage your production process design). Here’s how:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the design header section, click the number under Global Variable to open the global variable list.&lt;/LI&gt;&lt;LI&gt;Locate the global variable you want to remove and initiate its deletion.&lt;/LI&gt;&lt;LI&gt;If the global variable is used elsewhere in your production process, the system will automatically detect this and display a warning message that lists where it’s in use.&lt;/LI&gt;&lt;LI&gt;At that point, you can review the dependencies (by clicking the Dependencies option in the Where-Used column) to see its usage details.&lt;/LI&gt;&lt;LI&gt;Decide whether to cancel or continue with the deletion. If you continue, note that the related read/write global variables service in any production process using that global variable will show an error—and that service will no longer be usable.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352180#M4938816</guid>
      <dc:creator>MikeS67</dc:creator>
      <dc:date>2026-03-18T10:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAP DM - how we empty the global variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352181#M4938817</link>
      <description>&lt;P&gt;You delete a global variable from within the Production Process Designer (the app where you manage your production process design). Here’s how:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the design header section, click the number under Global Variable to open the global variable list.&lt;/LI&gt;&lt;LI&gt;Locate the global variable you want to remove and initiate its deletion.&lt;/LI&gt;&lt;LI&gt;If the global variable is used elsewhere in your production process, the system will automatically detect this and display a warning message that lists where it’s in use.&lt;/LI&gt;&lt;LI&gt;At that point, you can review the Dependencies (by clicking the Dependencies option in the Where-Used column) to see its usage details.&lt;/LI&gt;&lt;LI&gt;Decide whether to cancel or continue with the deletion. If you continue, note that the related read/write global variables service in any production process using that global variable will show an error—and that service will no longer be usable.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352181#M4938817</guid>
      <dc:creator>MikeS67</dc:creator>
      <dc:date>2026-03-18T11:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP DM - how we empty the global variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352206#M4938820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/123673"&gt;@MikeS67&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for response, however the question is once the global variable is defined and it contains the values then how we can empty the global variable without deleting it.&lt;/P&gt;&lt;P&gt;is there any function where we can reset/empty the global variable.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ankit Gupta&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352206#M4938820</guid>
      <dc:creator>ankit12</dc:creator>
      <dc:date>2026-03-18T11:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAP DM - how we empty the global variable</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352271#M4938824</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there are two straightforward ways to empty a Global Variable in SAP Digital Manufacturing:&lt;/P&gt;&lt;P&gt;Option 1: Script Task&lt;/P&gt;&lt;P&gt;Add a Script Task to your production process and assign an empty value matching the variable's data type:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;String: Global.myVariable = "";&lt;/LI&gt;&lt;LI&gt;Number: Global.myVariable = 0;&lt;/LI&gt;&lt;LI&gt;Boolean: Global.myVariable = false;&lt;/LI&gt;&lt;LI&gt;Object / complex type: Global.myVariable = null;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note: Global Variables do not support expressions directly — the reset must be done inside a Script Task, not in a condition expression field.&lt;/P&gt;&lt;P&gt;Option 2: Write Global Variable Service Step&lt;/P&gt;&lt;P&gt;In the Production Process Designer, add a Write Global Variable service step to your automation sequence and set the value to "" (empty string) or 0 depending on the variable's data type. No scripting needed.&lt;/P&gt;&lt;P&gt;A few things to keep in mind:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Global Variables persist across process instances and are not automatically cleared when a process completes — you need to explicitly reset them as shown above.&lt;/LI&gt;&lt;LI&gt;There is no "delete" button in the UI; the approaches above simply overwrite the value with an empty/default state.&lt;/LI&gt;&lt;LI&gt;If you want to avoid stale data, a good practice is to place the reset step as the first step in your process so it always starts clean.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 12:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-dm-how-we-empty-the-global-variable/qaa-p/14352271#M4938824</guid>
      <dc:creator>MarcelWolf</dc:creator>
      <dc:date>2026-03-18T12:39:54Z</dc:date>
    </item>
  </channel>
</rss>

