<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SAP Flow &#187; BADI</title>
	<atom:link href="http://www.sapflow.cz/archives/tag/badi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sapflow.cz</link>
	<description>Anything can be done, it&#039;s just a matter of time and money...</description>
	<lastBuildDate>Thu, 02 Feb 2012 01:18:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The most effective way to find a BADI</title>
		<link>http://www.sapflow.cz/archives/234</link>
		<comments>http://www.sapflow.cz/archives/234#comments</comments>
		<pubDate>Sat, 20 Feb 2010 09:24:38 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[BADI]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=234</guid>
		<description><![CDATA[Business Add-Ins are SAP enhancement technique, based on ABAP Objects. They can be inserted to accommodate user requirements, too specific for a standard delivery. All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sapflow.cz/wp-content/uploads/2010/02/SAP.jpg"><img class="alignleft size-full wp-image-239" title="SAP" src="http://www.sapflow.cz/wp-content/uploads/2010/02/SAP.jpg" alt="SAP" width="141" height="73" /></a>Business Add-Ins are SAP enhancement technique, based on ABAP Objects. They can be inserted to accommodate user requirements, too specific for a standard delivery. All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task. </p>
<p><strong>Pros:</strong><br />
BADIs can be used any number of times, whereas USER-EXITS can be used only one time.<br />
BADIs are based on Object-Oriented-Programming with fixed structure -&gt; Therefore SAP guarantees<br />
the upward compatibility of all Business Add-In interfaces.</p>
<p><strong>Cons:</strong><br />
It&#8217;s difficult to say, when using a transaction, whether BADI is used or not.</p>
<p><strong>Solution:</strong></p>
<p>1, Go to transaction SE37 and put a breakpoint on function SXV_GET_CLIF_BY_NAME.<br />
2, Set a breakpoint on a call of the only function included.<br />
3, Open another session and set YOUR transaction. The debugging mode opens with info<br />
on BADIs. Name = BADI, Clif = implementation of a BADI.</p>
<p><code><br />
FUNCTION sxv_get_clif_by_name .<br />
*"----------------------------------------------------------------------<br />
*"*"Lokale Schnittstelle:<br />
*" IMPORTING<br />
*" VALUE(NAME)<br />
*" VALUE(PREFIX) TYPE SEEX_CLIF_PREFIX<br />
*" EXPORTING<br />
*" VALUE(CLIF) TYPE SEOCLSNAME<br />
*"----------------------------------------------------------------------<br />
<a href="http://www.sapflow.cz/wp-content/uploads/2010/02/breakpoint.PNG"><img class="alignleft size-full wp-image-235" title="breakpoint" src="http://www.sapflow.cz/wp-content/uploads/2010/02/breakpoint.PNG" alt="breakpoint" width="27" height="27" /></a>CALL FUNCTION 'SXV_ADD_PREFIX'<br />
EXPORTING<br />
name = name<br />
prefix = prefix<br />
IMPORTING<br />
new_name = clif.<br />
ENDFUNCTION.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/234/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

