<?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: Read variables from higher-level stack programs or use them! Dirty Assign? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505106#M17619</link>
    <description>&lt;P&gt;the stack looks like that:&lt;/P&gt;
  &lt;P&gt;18 METHOD IF_EX_FB_RC_PRESENTATION~PROCESS_CUSTOMER_UI_FUNCTIONS ZCL_IM_FB_RC_PRESENTATION=====CP ZCL_IM_FB_RC_PRESENTATION=====CM00E&lt;BR /&gt;17 METHOD IF_EX_FB_RC_PRESENTATION~PROCESS_CUSTOMER_UI_FUNCTIONS CL_EX_FB_RC_PRESENTATION======CP CL_EX_FB_RC_PRESENTATION======CM006&lt;BR /&gt;16 METHOD BADI_PROCESS_CUST_UI_FUNCTIONS CL_FBRC_PRESENTATION==========CP CL_FBRC_PRESENTATION==========CM00T&lt;BR /&gt;15 METHOD HANDLE_FUNC_GUI_TOOLBAR CL_FBRC_PRESENTATION==========CP CL_FBRC_PRESENTATION==========CM007&lt;BR /&gt;14 METHOD DISPATCH CL_GUI_TOOLBAR================CP CL_GUI_TOOLBAR================CM007&lt;BR /&gt;13 METHOD DISPATCH CL_GUI_CFW====================CP CL_GUI_CFW====================CM001&lt;BR /&gt;12 FORM CONTROL_END SAPFGUICNTL_CFW SAPFGUICNTL_CFW&lt;BR /&gt;11 FORM CONTROL_END SAPFGUICNTL SAPFGUICNTL&lt;BR /&gt;10 FORM %_CTL_END SAPMSSYD SAPMSSYD&lt;BR /&gt;9 MODULE (PAI) %_CTL_END SAPLFB_RC_SERVICES &amp;lt;SYSINI&amp;gt;&lt;BR /&gt;8 PAI MODULE %_CTL_END &lt;BR /&gt;7 PAI SCREEN 0300 SAPLFB_RC_SERVICES &lt;BR /&gt;6 FUNCTION FB_RC_START_UI SAPLFB_RC_SERVICES LFB_RC_SERVICESU15&lt;BR /&gt;5 FORM MAIN FBICRC003_DATA_REC FBICRC003_DATA_REC_F04&lt;BR /&gt;4 EVENT START-OF-SELECTION FBICRC003_DATA_REC FBICRC003_DATA_REC&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 11:48:40 GMT</pubDate>
    <dc:creator>former_member284704</dc:creator>
    <dc:date>2017-11-27T11:48:40Z</dc:date>
    <item>
      <title>Read variables from higher-level stack programs or use them! Dirty Assign?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505105#M17618</link>
      <description>&lt;H1&gt;&lt;/H1&gt;
  &lt;PRE&gt;&lt;CODE&gt;data: it_abap_callstack type abap_callstack.
data: it_syst_callstack type sys_callst.

    call function 'SYSTEM_CALLSTACK'

      exporting

        max_level    = 20

      importing

        callstack    = it_abap_callstack

        et_callstack = it_syst_callstack.



I try to get the data from the local table like this:

       field-symbols: &amp;lt;fs_table&amp;gt; type any table.

       assign ('(FBICRC003_DATA_REC)LT_SEL[]') to &amp;lt;fs_table&amp;gt;.


But the table is not assigned, could anyone help me out?&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;H1&gt;&lt;/H1&gt;</description>
      <pubDate>Mon, 27 Nov 2017 11:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505105#M17618</guid>
      <dc:creator>former_member284704</dc:creator>
      <dc:date>2017-11-27T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read variables from higher-level stack programs or use them! Dirty Assign?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505106#M17619</link>
      <description>&lt;P&gt;the stack looks like that:&lt;/P&gt;
  &lt;P&gt;18 METHOD IF_EX_FB_RC_PRESENTATION~PROCESS_CUSTOMER_UI_FUNCTIONS ZCL_IM_FB_RC_PRESENTATION=====CP ZCL_IM_FB_RC_PRESENTATION=====CM00E&lt;BR /&gt;17 METHOD IF_EX_FB_RC_PRESENTATION~PROCESS_CUSTOMER_UI_FUNCTIONS CL_EX_FB_RC_PRESENTATION======CP CL_EX_FB_RC_PRESENTATION======CM006&lt;BR /&gt;16 METHOD BADI_PROCESS_CUST_UI_FUNCTIONS CL_FBRC_PRESENTATION==========CP CL_FBRC_PRESENTATION==========CM00T&lt;BR /&gt;15 METHOD HANDLE_FUNC_GUI_TOOLBAR CL_FBRC_PRESENTATION==========CP CL_FBRC_PRESENTATION==========CM007&lt;BR /&gt;14 METHOD DISPATCH CL_GUI_TOOLBAR================CP CL_GUI_TOOLBAR================CM007&lt;BR /&gt;13 METHOD DISPATCH CL_GUI_CFW====================CP CL_GUI_CFW====================CM001&lt;BR /&gt;12 FORM CONTROL_END SAPFGUICNTL_CFW SAPFGUICNTL_CFW&lt;BR /&gt;11 FORM CONTROL_END SAPFGUICNTL SAPFGUICNTL&lt;BR /&gt;10 FORM %_CTL_END SAPMSSYD SAPMSSYD&lt;BR /&gt;9 MODULE (PAI) %_CTL_END SAPLFB_RC_SERVICES &amp;lt;SYSINI&amp;gt;&lt;BR /&gt;8 PAI MODULE %_CTL_END &lt;BR /&gt;7 PAI SCREEN 0300 SAPLFB_RC_SERVICES &lt;BR /&gt;6 FUNCTION FB_RC_START_UI SAPLFB_RC_SERVICES LFB_RC_SERVICESU15&lt;BR /&gt;5 FORM MAIN FBICRC003_DATA_REC FBICRC003_DATA_REC_F04&lt;BR /&gt;4 EVENT START-OF-SELECTION FBICRC003_DATA_REC FBICRC003_DATA_REC&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 11:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505106#M17619</guid>
      <dc:creator>former_member284704</dc:creator>
      <dc:date>2017-11-27T11:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read variables from higher-level stack programs or use them! Dirty Assign?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505107#M17620</link>
      <description>&lt;P&gt;You can't access local data only by using this methodology (only global data). A workaround is to use the Enhancement Framework, by defining a global field symbol (for instance named &amp;lt;ZZ_GT_SEL&amp;gt; in program FBICRC003_DATA_REC, and assign LT_SEL to it at the beginning of the procedure where LT_SEL is defined, then use assign ('(FBICRC003_DATA_REC)&amp;lt;ZZ_GT_SEL&amp;gt;') to &amp;lt;fs_table&amp;gt;.&lt;/P&gt;
  &lt;P&gt;PS: of course, before doing the latter assign, you have made sure that the procedure declaring the local data object (MAIN of FBICRC003_DATA_REC) exists in the call stack, otherwise a short dump would occur.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 12:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-variables-from-higher-level-stack-programs-or-use-them-dirty-assign/m-p/505107#M17620</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-11-27T12:32:03Z</dc:date>
    </item>
  </channel>
</rss>

