<?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: Make a variable public for all the BADI. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693478#M1870226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do not have the badi in my system, however for a similar purpose i found already implemented by previous developer this trick:&lt;/P&gt;&lt;P&gt;1-&amp;gt;under Attributes in your ZCL... class that implements the badi declare an INSTANCE ATTRIBUTE with the structure/tipe you need&lt;/P&gt;&lt;P&gt;2-&amp;gt;Fill it in method CHECK_BEFORE_RELEASE&lt;/P&gt;&lt;P&gt;3-&amp;gt;You should access your attribute even in SCI_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As i told, i do not have the badi on my system so i do not know which is the sequence of the calls for the methods&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 12:35:46 GMT</pubDate>
    <dc:creator>SimoneMilesi</dc:creator>
    <dc:date>2014-10-17T12:35:46Z</dc:date>
    <item>
      <title>Make a variable public for all the BADI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693477#M1870225</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 new to ABAP and I am working on implementing the following &lt;A __default_attr="93078" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="How to trigger Code Inspector checks during the release of a 'task'?" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now inside the BADI Z_CTS_REQUEST_CHECK - method CHECK_BEFORE_RELEASE I have certain values inside the Request variable.&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp; use the same data inside this variable&amp;nbsp; in the SCI_CHECK method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall the question would be if I can declare a variable at some public section and then use them wherever inside the BADI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693477#M1870225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-17T12:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Make a variable public for all the BADI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693478#M1870226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do not have the badi in my system, however for a similar purpose i found already implemented by previous developer this trick:&lt;/P&gt;&lt;P&gt;1-&amp;gt;under Attributes in your ZCL... class that implements the badi declare an INSTANCE ATTRIBUTE with the structure/tipe you need&lt;/P&gt;&lt;P&gt;2-&amp;gt;Fill it in method CHECK_BEFORE_RELEASE&lt;/P&gt;&lt;P&gt;3-&amp;gt;You should access your attribute even in SCI_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As i told, i do not have the badi on my system so i do not know which is the sequence of the calls for the methods&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693478#M1870226</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2014-10-17T12:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make a variable public for all the BADI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693479#M1870227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind this picture you even can declare an atribute in your ZCL_ class as static attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/565981" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-public-for-all-the-badi/m-p/10693479#M1870227</guid>
      <dc:creator>JuanCarlosDelga</dc:creator>
      <dc:date>2014-10-17T13:02:04Z</dc:date>
    </item>
  </channel>
</rss>

