<?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 implementation execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316508#M508049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Peter!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very useful blog, but it unfortunately does not resolve my problem.&lt;/P&gt;&lt;P&gt;I need to implement the check in the code. I found a table - "SXC_ATTR", that contains a list of all implementations of all the BAdIs. There is a flag weather the implementations are active or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to know also weather any code is executed inside the method (excluding the statements METHOD.. and ENDMETHOD.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am not sure that it is possible &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 09:06:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T09:06:59Z</dc:date>
    <item>
      <title>BAdI implementation execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316506#M508047</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;I need to know weather any code of an active BAdI implementation is executed.&lt;/P&gt;&lt;P&gt;Does SAP system handle such an information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;I have 2 user exits in the code and only one of them should be used at runtime.&lt;/P&gt;&lt;P&gt;If the first one has an active implementation AND its methods are NOT FILLED IN with executable code, the second one should be called.&lt;/P&gt;&lt;P&gt;I do not want to use additional parameter as a flag in the first BAdI's methods, because this may lead to errors if the user forget to set it when creating new implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 07:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316506#M508047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T07:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI implementation execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316507#M508048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this great weblog about how to trace the activate badis:&lt;/P&gt;&lt;P&gt;/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 08:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316507#M508048</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2007-05-22T08:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI implementation execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316508#M508049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Peter!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very useful blog, but it unfortunately does not resolve my problem.&lt;/P&gt;&lt;P&gt;I need to implement the check in the code. I found a table - "SXC_ATTR", that contains a list of all implementations of all the BAdIs. There is a flag weather the implementations are active or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to know also weather any code is executed inside the method (excluding the statements METHOD.. and ENDMETHOD.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am not sure that it is possible &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 09:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316508#M508049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T09:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI implementation execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316509#M508050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best is to put a break-point inside the method and check if it's executed or not.&lt;/P&gt;&lt;P&gt;If you have a long list of Badis, it's quite time-consuming....also you have to make sure you have the combination of all the cases, where the method might be executed.&lt;/P&gt;&lt;P&gt;I'm not aware of any other way....might be that the Coverage Analyzer help you, but I'm not sure about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 09:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316509#M508050</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2007-05-22T09:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI implementation execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316510#M508051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry, but this is not the solution I search for, although the information about Coverage Analyzer is interesting!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be I was not clear enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I develop a program that has two user exits that should not be executed in the same time.&lt;/P&gt;&lt;P&gt;So I should check anyway two things:&lt;/P&gt;&lt;P&gt;1. weather the BAdI I defined has an active implementation.&lt;/P&gt;&lt;P&gt;2. weather its methods have executable code that is different from the statements METHOD and ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way is to define an output parameter that will be filled in the body of the implementation when it is executed and to check this parameter before calling the next BAdI method in the program.&lt;/P&gt;&lt;P&gt;BUT if the user that implements the BAdI forget to set this parameter the right way, both of the alternative methods will be executed (and I want to avoid this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 09:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-execution/m-p/2316510#M508051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T09:41:39Z</dc:date>
    </item>
  </channel>
</rss>

