<?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: Customer BadI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571583#M1432928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working for me ......check all the steps once again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja Ainala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2010 14:05:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-04T14:05:26Z</dc:date>
    <item>
      <title>Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571574#M1432919</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;hobe anybody can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a customer enhancement spot and in there a badi definition. This badi has a interface which inherits the interface IF_BADI_INTERFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of the enhancement spot: ZTEST_EH&lt;/P&gt;&lt;P&gt;Name of the badi definition: ZTEST_BADI_D&lt;/P&gt;&lt;P&gt;Interfacename : ZIF_TEST_BADI_D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Badi is defined as single use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interface has one methode called change_address with importing parameter iv_partner and changing parameter cv_address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment i want no implementation of the badi. I only want to insert the badi call in my class and implement the badi when i need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my class i insert following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: obj_badi type ref to ZTEST_BADI_D.

get badi obj_badi.

call badi-&amp;gt;change_address
  exporting
    iv_partner = lv_partner
  changing
    cv_address = lv_address.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i try to activate my coding, i get the message that the method CHANGE_ADDRESS ist unknokn or private.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 12:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571574#M1432919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571575#M1432920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Check  the Change_address method is declare prive inVisibilit se24.change as public&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 12:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571575#M1432920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T12:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571576#M1432921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the moment there are no badi implementation. Only a body definition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment i will only create the BadI definition and place the BadI call in my class. Therefore i set a try and catch arround the body call to catch the exeption if the badi is not implemented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 12:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571576#M1432921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T12:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571577#M1432922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the method level of the interface to Instance Method .......and try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja Ainala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 13:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571577#M1432922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T13:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571578#M1432923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check your syntax.. its CALL BADI obj_badi ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: obj_badi type ref to ZTEST_BADI_D.
 
get badi obj_badi.
 
call BADI obj_badi-&amp;gt;change_address
  exporting
    iv_partner = lv_partner
  changing
    cv_address = lv_address.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pawan Kesari on Feb 4, 2010 6:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 13:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571578#M1432923</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2010-02-04T13:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571579#M1432924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shailaja Ainala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its a instance method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 13:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571579#M1432924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T13:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571580#M1432925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan Kesari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used pretty print in my code. So there it is CALL BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that is not the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 13:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571580#M1432925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T13:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571581#M1432926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Pawan Kesari,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; i used pretty print in my code. So there it is CALL BADI.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; But that is not the problem. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Anton&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Anton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What message you get with call BADI obj_badi-&amp;gt;change_address ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
call BADI obj_badi-&amp;gt;change_address
  exporting
    iv_partner = lv_partner
  changing
    cv_address = lv_address.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 13:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571581#M1432926</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2010-02-04T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571582#M1432927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that the method not exist....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 14:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571582#M1432927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571583#M1432928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working for me ......check all the steps once again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja Ainala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 14:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571583#M1432928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T14:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Customer BadI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571584#M1432929</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;thanks for your help but i resolved my problem. But i didn`t know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I deleted my enhancement spot and my badi definition and created them new. And now it works......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 14:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-badi/m-p/6571584#M1432929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T14:07:10Z</dc:date>
    </item>
  </channel>
</rss>

