<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679945#M619331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks fr ur reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i create subroutine pool and do i need to write above syntax in that method to call that subroutine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what will be the PROGRAM name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 11:59:37 GMT</pubDate>
    <dc:creator>VikasB</dc:creator>
    <dc:date>2007-08-28T11:59:37Z</dc:date>
    <item>
      <title>BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679943#M619329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to write a code in badi associated with transaction MB22, used for deletion of reservations. i need to get this history in SLG1 log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone please tell me how do i solve this.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;also can i write subroutines in the implementation methods?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 11:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679943#M619329</guid>
      <dc:creator>VikasB</dc:creator>
      <dc:date>2007-08-28T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679944#M619330</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;BADI implementations are basically Global classes. So its like a class that you create using the Class builder SE24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not possible to create subroutines in a CLASS or in method of its class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to use Subroutines what you can do is create a Subtoutine pool and create your subroutines there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANd you can call these subrotuines using this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;subroutine_name&amp;gt; IN PROGRAM &amp;lt;program _name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE19 is the transaction used for creating BADI implementations.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 11:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679944#M619330</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-28T11:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679945#M619331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks fr ur reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i create subroutine pool and do i need to write above syntax in that method to call that subroutine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what will be the PROGRAM name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 11:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679945#M619331</guid>
      <dc:creator>VikasB</dc:creator>
      <dc:date>2007-08-28T11:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679946#M619332</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;For creating a Subrotuine pool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Goto Se80&lt;/P&gt;&lt;P&gt;2) Select Program from the DROP DOWN&lt;/P&gt;&lt;P&gt;3) Enter program name&lt;/P&gt;&lt;P&gt;4) Press enter, you will be asked to create if the program already does not exist&lt;/P&gt;&lt;P&gt;5) Unselect the TOP_INCL check box in the next dialog&lt;/P&gt;&lt;P&gt;6) In the next Dialog under "Attributes" from program type drop downselect "subrotuine pool".&lt;/P&gt;&lt;P&gt;7) Then click on save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the program saved and ready for you to create any routines. use FORM ENDFORM to create your routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above syntax you need to pass the program name that you have here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 12:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679946#M619332</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-28T12:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679947#M619333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the possibility of implementing BADI MB_RESERVATION_BADI. &lt;/P&gt;&lt;P&gt;There it seems a possiblity of issuing an message based on data verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am not sure about data could not pass any code to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know in case of any further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 19:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679947#M619333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T19:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679948#M619334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks fr ur reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i am using the BADI MB_RESERVATION_BADI with implementation created ZMA0_MB_RESERVATIONS.&lt;/P&gt;&lt;P&gt;what i need to do is, when one delete the reservation thr' MB22 it should reflect in SLG1 log with some information like reservation number, material..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 04:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679948#M619334</guid>
      <dc:creator>VikasB</dc:creator>
      <dc:date>2007-08-29T04:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679949#M619335</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;You may use code similar to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In this example the content of field recipient is checked depending&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;on the plant and movement type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The checks are only to be performed for movement type 501 in&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;plant 0001.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  check is_resb-bwart = '501' and is_resb-werks = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send a warning in case the user enters a different recipient than&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'Schmidt' and send an error message in case the recipient is left&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;blank.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if is_resb-wempf &amp;lt;&amp;gt; 'SCHMIDT' and not is_resb-wempf is initial.&lt;/P&gt;&lt;P&gt;     message  W666(01) with 'The default recipient is SCHMIDT'&lt;/P&gt;&lt;P&gt;     raising EXTERNAL_MESSAGE.&lt;/P&gt;&lt;P&gt;  elseif is_resb-wempf is initial.&lt;/P&gt;&lt;P&gt;     message  E666(01) with 'Please enter a recipient'&lt;/P&gt;&lt;P&gt;                            'The default recipient is SCHMIDT'&lt;/P&gt;&lt;P&gt;                            raising EXTERNAL_MESSAGE.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 17:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/2679949#M619335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T17:12:55Z</dc:date>
    </item>
  </channel>
</rss>

