<?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: Dump while creating tree in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793711#M1122694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont get a dump when I create nodes at 2nd level. But, &lt;STRONG&gt;I get the dump only when I add 3rd level nodes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From the dump I could make out it has got something to do with flush(). But, I am not able to make out the exact root cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the dump I am getting:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text of error message:&lt;/P&gt;&lt;P&gt;Control Framework : Error processing control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long text of error message:&lt;/P&gt;&lt;P&gt; Diagnosis&lt;/P&gt;&lt;P&gt;     An error occurred when the system tried to process the commands&lt;/P&gt;&lt;P&gt;     from the Automation Queue on the presentation server.&lt;/P&gt;&lt;P&gt;     There are several possible reasons for this:&lt;/P&gt;&lt;P&gt;     - The installation of the SAP GUI on the presentation server is&lt;/P&gt;&lt;P&gt;     faulty or obsolete.&lt;/P&gt;&lt;P&gt;     - There is an error in the application program&lt;/P&gt;&lt;P&gt;     - There is an error in the SAPGUI or an integrated control&lt;/P&gt;&lt;P&gt; Procedure&lt;/P&gt;&lt;P&gt;     1. Make sure that you have imported the appropriate Support&lt;/P&gt;&lt;P&gt;     Package, the current kernel, and GUI patch for the release of your&lt;/P&gt;&lt;P&gt;     system&lt;/P&gt;&lt;P&gt;     2. Check whether the error occurs locally on one or a few PCs, or&lt;/P&gt;&lt;P&gt;     generally on all PCs. Note whether the error only occurs for some&lt;/P&gt;&lt;P&gt;     users, for example because of a specific Customizing setting.&lt;/P&gt;&lt;P&gt;     If it only occurs locally, this suggests an installation problem&lt;/P&gt;&lt;P&gt;     with the PC. Check the installation; if necessary, reinstall the&lt;/P&gt;&lt;P&gt;     software. In the dump, search for the SY-MSGLI field, since it may&lt;/P&gt;&lt;P&gt;     point to the cause of the error.&lt;/P&gt;&lt;P&gt;     3. Activate the Automation Trace (in accordance with SAP Note&lt;/P&gt;&lt;P&gt;     158985).&lt;/P&gt;&lt;P&gt;     4.Start the transaction and continue until the screen immediately&lt;/P&gt;&lt;P&gt;     before the dump.&lt;/P&gt;&lt;P&gt;     5. From the System -&amp;gt; Utilities menu, choose Autom. Queue,&lt;/P&gt;&lt;P&gt;     Synchronous Processing.&lt;/P&gt;&lt;P&gt;     The status bar of the GUI displays the text:&lt;/P&gt;&lt;P&gt;        "Automation synchron flush mode on"&lt;/P&gt;&lt;P&gt;        6. If you now proceed with the application, the short dump will&lt;/P&gt;&lt;P&gt;        display the ABAP call that caused the error; the Automation Trace&lt;/P&gt;&lt;P&gt;        will contain the error on the presentation server.&lt;/P&gt;&lt;P&gt;        7. If necessary, load the short dump and trace files on to&lt;/P&gt;&lt;P&gt;        sapservX, so that SAP can analyze them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Technical information about the message:&lt;/P&gt;&lt;P&gt;   Message class....... "CNDP"&lt;/P&gt;&lt;P&gt;   Number.............. 006&lt;/P&gt;&lt;P&gt;   Variable 1.......... " "&lt;/P&gt;&lt;P&gt;   Variable 2.......... " "&lt;/P&gt;&lt;P&gt;   Variable 3.......... " "&lt;/P&gt;&lt;P&gt;   Variable 4.......... " "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2008 04:41:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-26T04:41:57Z</dc:date>
    <item>
      <title>Dump while creating tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793708#M1122691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a dump while creating tree. I have written the following code &lt;STRONG&gt;(the root node has already been created)&lt;/STRONG&gt; :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH lit_node_table.&lt;/P&gt;&lt;P&gt;  CLEAR   : lwa_node, lfd_nodekey.&lt;/P&gt;&lt;P&gt;  lwa_node-node_key   = 'Level2'."Child node - Second level&lt;/P&gt;&lt;P&gt;  lwa_node-relatkey   = 'Level1'.&lt;/P&gt;&lt;P&gt;  lwa_node-relatship  = cl_gui_simple_tree=&amp;gt;relat_last_child.&lt;/P&gt;&lt;P&gt;  lwa_node-text       = 'Assembly group'.&lt;/P&gt;&lt;P&gt;  lwa_node-n_image    = c_icon_l2.&lt;/P&gt;&lt;P&gt;  lwa_node-exp_image  = c_icon_l2.&lt;/P&gt;&lt;P&gt;  APPEND lwa_node TO lit_node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lwa_node-node_key   = 'Level3'."Child node - Third level&lt;/P&gt;&lt;P&gt;  lwa_node-relatkey   = 'Level2'.&lt;/P&gt;&lt;P&gt;  lwa_node-relatship  = cl_gui_simple_tree=&amp;gt;relat_last_child.&lt;/P&gt;&lt;P&gt;  lwa_node-text       = 'Reference Operation Set'.&lt;/P&gt;&lt;P&gt;  lwa_node-n_image    = c_icon_l3.&lt;/P&gt;&lt;P&gt;  lwa_node-exp_image  = c_icon_l3.&lt;/P&gt;&lt;P&gt;  APPEND lwa_node TO lit_node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD grc_tree-&amp;gt;add_nodes&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      table_structure_name = 'ABDEMONODE'&lt;/P&gt;&lt;P&gt;      node_table           = lit_node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where am I going wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 13:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793708#M1122691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T13:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while creating tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793709#M1122692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can you post the dump that you are getting. That can be a bit meaningful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 14:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793709#M1122692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T14:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while creating tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793710#M1122693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the method ADD_NODES I assume that you are using &lt;STRONG&gt;CL_GUI_SIMPLE_TREE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at sample report SAPSIMPLE_TREE_CONTROL_DEMO you will see that this standard program uses structure &lt;STRONG&gt;MTREESNODE&lt;/STRONG&gt;. Thus, I guess you are using the wrong structure to define the nodes itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
  PERFORM BUILD_NODE_TABLE USING NODE_TABLE.

* node_table_structure_name     = 'MTREESNODE'
*   A programmer using the tree control must create a structure in the
*   dictionary. This structure must include the structure TREEV_NODE
*   and must contain a character field with the name 'TEXT'.

  CALL METHOD G_TREE-&amp;gt;ADD_NODES
    EXPORTING
      TABLE_STRUCTURE_NAME = 'MTREESNODE'
      NODE_TABLE           = NODE_TABLE
    EXCEPTIONS
      FAILED                         = 1
      ERROR_IN_NODE_TABLE            = 2
      DP_ERROR                       = 3
      TABLE_STRUCTURE_NAME_NOT_FOUND = 4
      OTHERS                         = 5.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE A000.
  ENDIF.

ENDFORM.                    " CREATE_AND_INIT_TREE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 19:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793710#M1122693</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-11-25T19:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while creating tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793711#M1122694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont get a dump when I create nodes at 2nd level. But, &lt;STRONG&gt;I get the dump only when I add 3rd level nodes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From the dump I could make out it has got something to do with flush(). But, I am not able to make out the exact root cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the dump I am getting:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text of error message:&lt;/P&gt;&lt;P&gt;Control Framework : Error processing control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long text of error message:&lt;/P&gt;&lt;P&gt; Diagnosis&lt;/P&gt;&lt;P&gt;     An error occurred when the system tried to process the commands&lt;/P&gt;&lt;P&gt;     from the Automation Queue on the presentation server.&lt;/P&gt;&lt;P&gt;     There are several possible reasons for this:&lt;/P&gt;&lt;P&gt;     - The installation of the SAP GUI on the presentation server is&lt;/P&gt;&lt;P&gt;     faulty or obsolete.&lt;/P&gt;&lt;P&gt;     - There is an error in the application program&lt;/P&gt;&lt;P&gt;     - There is an error in the SAPGUI or an integrated control&lt;/P&gt;&lt;P&gt; Procedure&lt;/P&gt;&lt;P&gt;     1. Make sure that you have imported the appropriate Support&lt;/P&gt;&lt;P&gt;     Package, the current kernel, and GUI patch for the release of your&lt;/P&gt;&lt;P&gt;     system&lt;/P&gt;&lt;P&gt;     2. Check whether the error occurs locally on one or a few PCs, or&lt;/P&gt;&lt;P&gt;     generally on all PCs. Note whether the error only occurs for some&lt;/P&gt;&lt;P&gt;     users, for example because of a specific Customizing setting.&lt;/P&gt;&lt;P&gt;     If it only occurs locally, this suggests an installation problem&lt;/P&gt;&lt;P&gt;     with the PC. Check the installation; if necessary, reinstall the&lt;/P&gt;&lt;P&gt;     software. In the dump, search for the SY-MSGLI field, since it may&lt;/P&gt;&lt;P&gt;     point to the cause of the error.&lt;/P&gt;&lt;P&gt;     3. Activate the Automation Trace (in accordance with SAP Note&lt;/P&gt;&lt;P&gt;     158985).&lt;/P&gt;&lt;P&gt;     4.Start the transaction and continue until the screen immediately&lt;/P&gt;&lt;P&gt;     before the dump.&lt;/P&gt;&lt;P&gt;     5. From the System -&amp;gt; Utilities menu, choose Autom. Queue,&lt;/P&gt;&lt;P&gt;     Synchronous Processing.&lt;/P&gt;&lt;P&gt;     The status bar of the GUI displays the text:&lt;/P&gt;&lt;P&gt;        "Automation synchron flush mode on"&lt;/P&gt;&lt;P&gt;        6. If you now proceed with the application, the short dump will&lt;/P&gt;&lt;P&gt;        display the ABAP call that caused the error; the Automation Trace&lt;/P&gt;&lt;P&gt;        will contain the error on the presentation server.&lt;/P&gt;&lt;P&gt;        7. If necessary, load the short dump and trace files on to&lt;/P&gt;&lt;P&gt;        sapservX, so that SAP can analyze them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Technical information about the message:&lt;/P&gt;&lt;P&gt;   Message class....... "CNDP"&lt;/P&gt;&lt;P&gt;   Number.............. 006&lt;/P&gt;&lt;P&gt;   Variable 1.......... " "&lt;/P&gt;&lt;P&gt;   Variable 2.......... " "&lt;/P&gt;&lt;P&gt;   Variable 3.......... " "&lt;/P&gt;&lt;P&gt;   Variable 4.......... " "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 04:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793711#M1122694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T04:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while creating tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793712#M1122695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try the procedure suggested by the dump?&lt;/P&gt;&lt;P&gt;"Automation trace" and "Automation synchron flush mode on"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace can be long and is not easy to read, but when you search for "Error" you find messages like:&lt;/P&gt;&lt;P&gt;&amp;lt;234=Error: AssignProperty2: COleDispatchException 0x800A1459() Relative node for insert not found&lt;/P&gt;&lt;P&gt;when e.g. the parent node does not exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 14:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-creating-tree/m-p/4793712#M1122695</guid>
      <dc:creator>karsten_korte</dc:creator>
      <dc:date>2008-11-28T14:47:01Z</dc:date>
    </item>
  </channel>
</rss>

