<?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: Calling call stack variables issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830678#M662464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far i tried to get the data from the call stack, but i found the following issue, the variable &amp;lt;b&amp;gt;a_oref_asgn&amp;lt;/b&amp;gt; is available in the call stack in program &amp;lt;b&amp;gt;SAPLFTR_FC&amp;lt;/b&amp;gt; method save, but apparently the call stack only works with forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lprog(100) TYPE c VALUE '(SAPLFTR_FC)A_OREF_ASGN'.
FIELD-SYMBOLS: &amp;lt;asgn2&amp;gt; type ref to vts_tab_asgn_profile.
ASSIGN (lprog) TO &amp;lt;asgn2&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code gets me sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Eric Hernandez Pardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Oct 2007 23:34:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-06T23:34:30Z</dc:date>
    <item>
      <title>Calling call stack variables issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830677#M662463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys i need to create a cashflow at the save time of transaction TM_61 and TM_62, I already have the badi FTR_CUSTOMER_EXTENT activated and i already filled the first two structures of the BAPI_FTR_CFT_CREATE, but i haven't found how to read the information for the third structure (CFTFLOWS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also know that in this class &lt;SPAN __jive_macro_name="O"&gt;&lt;/SPAN&gt; is the information that i need, but the variable a_oref_asgn is not active by that time. All the times that i debug the transaction the class is always the same, it is possible that this values always manteins the same?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Eric Hernandez Pardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 21:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830677#M662463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T21:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calling call stack variables issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830678#M662464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far i tried to get the data from the call stack, but i found the following issue, the variable &amp;lt;b&amp;gt;a_oref_asgn&amp;lt;/b&amp;gt; is available in the call stack in program &amp;lt;b&amp;gt;SAPLFTR_FC&amp;lt;/b&amp;gt; method save, but apparently the call stack only works with forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lprog(100) TYPE c VALUE '(SAPLFTR_FC)A_OREF_ASGN'.
FIELD-SYMBOLS: &amp;lt;asgn2&amp;gt; type ref to vts_tab_asgn_profile.
ASSIGN (lprog) TO &amp;lt;asgn2&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code gets me sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Eric Hernandez Pardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2007 23:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830678#M662464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-06T23:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calling call stack variables issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830679#M662465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday i found an object reference that is available in a form of the call stack that have the profile tab data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lprog(100) TYPE c VALUE '(SAPLFTR_FC)g_oref_fc_appl-&amp;gt;a_oref_asgn'.
FIELD-SYMBOLS: &amp;lt;asgn&amp;gt; TYPE REF TO cl_ftr_assignment_mgr.
ASSIGN (lprog) TO &amp;lt;asgn&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 23:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-call-stack-variables-issue/m-p/2830679#M662465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T23:05:12Z</dc:date>
    </item>
  </channel>
</rss>

