<?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: Runtime error from null value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415721#M1548643</link>
    <description>&lt;P&gt;I have exactly the same issue so many years after. Could please SAP provide an answer to this? &lt;/P&gt;&lt;P&gt;There is an OSS note (&lt;/P&gt;&lt;H1&gt;2551661 - QM02 - DUMP OBJECTS_OBJREF_NOT_ASSIGNED occurs) &lt;/H1&gt;&lt;P&gt;describing a similar problem with QM02. &lt;/P&gt;&lt;P&gt;According to the OSS Note it is not allowed to use standard FM STATUS_BUFFER_REFRESH. However, this standard function module is used by SAP themselves in for example BAPI_CONTRACT_GETDETAIL .   &lt;/P&gt;&lt;P&gt;So it is not possible to skip the execution of STATUS_BUFFER_REFRESH if it´s called by a (Read) BAPI, which I need. &lt;/P&gt;&lt;P&gt;Any other OSS notes were not found with the key words.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 18:23:09 GMT</pubDate>
    <dc:creator>viveka_schwartz3</dc:creator>
    <dc:date>2023-04-10T18:23:09Z</dc:date>
    <item>
      <title>Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415716#M1548638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a request to create a Function Module that will be assigned to an Action Box, which when executed will copy long text for Quality Notification tasks.  I have the module created and working, but after my code is executed a runtime error happens due to a null value being passed to a method in the SAP program QM07_UPDATE_ACTIONBOX.  It looks to me like it is trying to perform some kind of cleanup tasks, and is trying to delete a node tree that does not exist.  My code did nothing with any kind of node tree, so I am not sure how to avoid this runtime error.  My code works as desired, except for this error that occurs after my code is processed.  Any assistance would be greatly appreciated!  Below are more details from the error received...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", nor was it propagated by a RAISING clause.  Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    You attempted to use a 'NULL' object reference (points to 'nothing') access a component (variable: "TREE_ACTIONBOX").   An object reference must point to an object (an instance of a class) before it can be used to access components.  Either the reference was never set or it was set to 'NULL' using the CLEAR statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information on where terminated&lt;/P&gt;&lt;P&gt;    Termination occurred in the ABAP program "SAPLQM07" - in "QM07_UPDATE_ACTIONBOX".  The main program was "SAPLIQS0 ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In the source code you have the termination point in line 39 of the (Include) program "LQM07U12".  The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", but it was neither handled locally nor declared in the RAISING clause of its signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The procedure is in program "SAPLQM07 "; its source code begins in line 1 of the (Include program "LQM07U12 ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   28 * bei Tree werden Knoten und Items gelöscht bei Table Control wird&lt;/P&gt;&lt;P&gt;   29 * nur g_control_tab neu aufgebaut&lt;/P&gt;&lt;P&gt;   30   if g_tree = c_x.&lt;/P&gt;&lt;P&gt;   31 *---- Löschen der bestehenden Knoten und Items&lt;/P&gt;&lt;P&gt;   32&lt;/P&gt;&lt;P&gt;   33 * Tabelle der Knotenschlüssel erzeugen&lt;/P&gt;&lt;P&gt;   34     loop at g_node_tab into l_node.&lt;/P&gt;&lt;P&gt;   35       append l_node-node_key to l_dnodes_tab.&lt;/P&gt;&lt;P&gt;   36     endloop.&lt;/P&gt;&lt;P&gt;   37&lt;/P&gt;&lt;P&gt;   38 * Items&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     call method tree_actionbox-&amp;gt;delete_all_items_of_nodes&lt;/P&gt;&lt;P&gt;   40       EXPORTING&lt;/P&gt;&lt;P&gt;   41         node_key_table          = l_dnodes_tab&lt;/P&gt;&lt;P&gt;   42       EXCEPTIONS&lt;/P&gt;&lt;P&gt;   43         failed                  = 1&lt;/P&gt;&lt;P&gt;   44         cntl_system_error       = 2&lt;/P&gt;&lt;P&gt;   45         error_in_node_key_table = 3&lt;/P&gt;&lt;P&gt;   46         dp_error                = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 21:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415716#M1548638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T21:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415717#M1548639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be standard code... Have you searched for OSS notes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 02:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415717#M1548639</guid>
      <dc:creator>andrs_sarcevic</dc:creator>
      <dc:date>2010-10-26T02:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415718#M1548640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have searched the notes.  I used the keywords suggested in the dump...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.&lt;/P&gt;&lt;P&gt;If you have access to SAP Notes, carry out a search with the following keywords:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"&lt;/P&gt;&lt;P&gt;"SAPLQM07" or "LQM07U12"&lt;/P&gt;&lt;P&gt;"QM07_UPDATE_ACTIONBOX"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 19:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415718#M1548640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T19:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415719#M1548641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you received an answer yet?&amp;nbsp; How did you resolve.&amp;nbsp; I am having exactly the same issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 23:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415719#M1548641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-06T23:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415720#M1548642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415720#M1548642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-16T18:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415721#M1548643</link>
      <description>&lt;P&gt;I have exactly the same issue so many years after. Could please SAP provide an answer to this? &lt;/P&gt;&lt;P&gt;There is an OSS note (&lt;/P&gt;&lt;H1&gt;2551661 - QM02 - DUMP OBJECTS_OBJREF_NOT_ASSIGNED occurs) &lt;/H1&gt;&lt;P&gt;describing a similar problem with QM02. &lt;/P&gt;&lt;P&gt;According to the OSS Note it is not allowed to use standard FM STATUS_BUFFER_REFRESH. However, this standard function module is used by SAP themselves in for example BAPI_CONTRACT_GETDETAIL .   &lt;/P&gt;&lt;P&gt;So it is not possible to skip the execution of STATUS_BUFFER_REFRESH if it´s called by a (Read) BAPI, which I need. &lt;/P&gt;&lt;P&gt;Any other OSS notes were not found with the key words.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 18:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415721#M1548643</guid>
      <dc:creator>viveka_schwartz3</dc:creator>
      <dc:date>2023-04-10T18:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415722#M1548644</link>
      <description>&lt;P&gt;I tried to deactivate the call to BAPI_CONTRACT_GETDETAIL , but it did not solve the problem. The program still abends.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 18:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415722#M1548644</guid>
      <dc:creator>viveka_schwartz3</dc:creator>
      <dc:date>2023-04-10T18:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error from null value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415723#M1548645</link>
      <description>&lt;P&gt;You need to open an incident at support.sap.com&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 05:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-from-null-value/m-p/7415723#M1548645</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2023-04-11T05:02:45Z</dc:date>
    </item>
  </channel>
</rss>

