<?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: BAdI - passing data between methods using an attribute in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-passing-data-between-methods-using-an-attribute/m-p/7483391#M1556560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 14:42:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-22T14:42:12Z</dc:date>
    <item>
      <title>BAdI - passing data between methods using an attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-passing-data-between-methods-using-an-attribute/m-p/7483390#M1556559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a BAdI named ZHRWPC_RQ, which displays a form for entry in MSS.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has an Init method, and a check attribute.  In the event a user changes the position number, I want to use the original position number before the change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under class interface ZCL_IM_HRWPC_RQ i created TMP_POS_NUM under attributes.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the init method, I copy the position number to TMP_POS_NUM.  In debug I can see the value in the field after the move.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the Check method, I want to move the value from TMP_POS_NUM if the position number is invalid.  However there is no value in TMP_POS_NUM.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume I am missing a step along the way, but am not sure what.  i am referencing the attribute with me-&amp;gt;tmp_pos_num.  Is this the right way to access the attribute?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues on how I can get the position number from the init method so I can use it in the check method would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 14:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-passing-data-between-methods-using-an-attribute/m-p/7483390#M1556559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-19T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI - passing data between methods using an attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-passing-data-between-methods-using-an-attribute/m-p/7483391#M1556560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-passing-data-between-methods-using-an-attribute/m-p/7483391#M1556560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T14:42:12Z</dc:date>
    </item>
  </channel>
</rss>

