<?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: GET Parameter ID in Update-Function-Module in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430501#M4944982</link>
    <description>&lt;P&gt;You can't GET that parameter in a background session. Either store it in a custom table &amp;amp; SESLECT form it or EXPORT to database in the&amp;nbsp; report and IMPORT form database in the batch job.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2026 12:18:32 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2026-06-30T12:18:32Z</dc:date>
    <item>
      <title>GET Parameter ID in Update-Function-Module</title>
      <link>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaq-p/14430458</link>
      <description>&lt;P&gt;I have written a Report in which i I set a parameter ID (= SET PARAMETER-ID Z....).&lt;BR /&gt;After this i do an Batch Input (Call Transaction MODE "E") on Transaction CO02 (Change Production Order) and just presses "PRINT" and then "SAVE". Within UPDATE-TASK (CO_VB_ORDER_PRINT).&lt;BR /&gt;a Smartform is called. In this Smartform i GET the parameter ID which is unfortunately always empty.&lt;/P&gt;&lt;P&gt;Why is the Parameter ID empty and what would be the best solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 11:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaq-p/14430458</guid>
      <dc:creator>master1980</dc:creator>
      <dc:date>2026-06-30T11:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: GET Parameter ID in Update-Function-Module</title>
      <link>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430501#M4944982</link>
      <description>&lt;P&gt;You can't GET that parameter in a background session. Either store it in a custom table &amp;amp; SESLECT form it or EXPORT to database in the&amp;nbsp; report and IMPORT form database in the batch job.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 12:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430501#M4944982</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2026-06-30T12:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: GET Parameter ID in Update-Function-Module</title>
      <link>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430579#M4944986</link>
      <description>&lt;P&gt;If you have your Z report like this:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;REPORT zreport.
SET PARAMETER ID 'ZZ' FIELD 'VALUE'.
CALL TRANSACTION 'CO02' MODE 'E'...&lt;/LI-CODE&gt;&lt;P&gt;and CO02 does:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;CALL FUNCTION 'CO_VB_ORDER_PRINT' IN UPDATE TASK...
...
COMMIT WORK. " triggers all CALL FUNCTION IN UPDATE TASK asynchronously by default&lt;/LI-CODE&gt;&lt;P&gt;an update task is created by default (unless &lt;A href="https://help.sap.com/doc/abapdocu_756_index_htm/7.56/en-US/index.htm?file=abapset_update_task_local.htm" target="_self"&gt;SET UPDATE TASK LOCAL&lt;/A&gt;&amp;nbsp; runs). It corresponds to a brand new User Session which doesn't access the same memory context. Ref:&amp;nbsp;&lt;A href="https://help.sap.com/doc/abapdocu_756_index_htm/7.56/en-US/index.htm?file=abenmemory_organization.htm" target="_self"&gt;ABAP Keyword Documentation - Sessions and Memory Areas&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Several solutions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Force the update task to run in the same User Session via &lt;STRONG&gt;CALL TRANSACTION 'CO02' UPDMODE 'L'&lt;/STRONG&gt; (it's equivalent to run SET UPDATE TASK LOCAL at the start of the new user session).&lt;/LI&gt;&lt;LI&gt;If you need to keep the synchronous or local execution of the update task, you may also pass anything to the memory of the update task by creating a Z update function module which does &lt;STRONG&gt;SET PARAMETER ID 'ZZ' FIELD 'VALUE'&lt;/STRONG&gt;, calling this function module via&amp;nbsp;&lt;STRONG&gt;CALL FUNCTION 'ZYOURFM' IN UPDATE TASK EXPORTING zz = value&lt;/STRONG&gt; before CALL FUNCTION 'CO_VB_ORDER_PRINT' IN UPDATE TASK&lt;/LI&gt;&lt;LI&gt;As already said, you may use any other solution which stores data in a persistent storage, but the solution is more complex if you want to handle several users running the program at the same time.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 30 Jun 2026 13:20:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430579#M4944986</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2026-06-30T13:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: GET Parameter ID in Update-Function-Module</title>
      <link>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430588#M4944988</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/831516"&gt;@master1980&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameter ID is empty because SET/GET parameters don’t work across update tasks.&lt;BR /&gt;Your SmartForm runs in an update task (different LUW/session), so it cannot access the GET parameter set earlier&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sravan&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 13:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-parameter-id-in-update-function-module/qaa-p/14430588#M4944988</guid>
      <dc:creator>sravan_aleshwaram</dc:creator>
      <dc:date>2026-06-30T13:27:13Z</dc:date>
    </item>
  </channel>
</rss>

