<?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: Regarding BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674506#M1575424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Raymond.&lt;/P&gt;&lt;P&gt;When you go to SE19  you can see Edit Implementation and Create Implementaion.&lt;/P&gt;&lt;P&gt;In the Create Imp. which is in 2nd box click on Classical BADI provide the name ME_Process_PO_cust&lt;/P&gt;&lt;P&gt; and than click on Create Implementation and hence you provide the Zname and create it and save and activate it.&lt;/P&gt;&lt;P&gt;For change see the 1st box Edit impl. and click on Classical BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note down that this particular BADI cannot be use multiple times.&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;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2011 12:14:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-11T12:14:04Z</dc:date>
    <item>
      <title>Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674500#M1575418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new in abap&lt;/P&gt;&lt;P&gt;I have used se24 and put cl_exithandeler in object name and set a breakpoint in get instance method , and starts a transaction me21n&lt;/P&gt;&lt;P&gt;I am getting the Badi names from the parameter value exit_name but i could not undersatnd  &lt;/P&gt;&lt;P&gt;which badi should be use for the  for the vendor field in me21n?&lt;/P&gt;&lt;P&gt;(I know iit is me_process_po_cust but dont know how to identify it is their any way to know from debuging )&lt;/P&gt;&lt;P&gt;And after that which method should be use to access the field?&lt;/P&gt;&lt;P&gt;(I knows that is im_header and get data but is their any specific way to find it out?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all of thhis I went to tcode se19&lt;/P&gt;&lt;P&gt;when I m trying to  create implementation after fullfill  the requirements i got an error &lt;/P&gt;&lt;P&gt;"THE ENHANCEMENT OBJECT EHNS ME_PROCESS_PO_CUST CAN NOT BE READ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 4, 2011 2:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 03:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674500#M1575418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T03:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674501#M1575419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My experience says that you are using the right method to find out the BADi while denugging .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is set a break at EXIT_HANDLER and then GET_INSTANCE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seconldy if you are talking of where to write then there are many things one has to understand .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Read the documentation of the BADi and find out what is the purpose for which it is provided .&lt;/P&gt;&lt;P&gt;2- Look at the parameters in Method i.e import and export are they having the fields that you are looking for .&lt;/P&gt;&lt;P&gt;3- Method itself should be selected judiciously for doing the development .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a newbie i would advice , do a lot of R&amp;amp;D in sandbox client with diffrent scenarios to understand the subject better .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dewang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 04:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674501#M1575419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T04:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674502#M1575420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, do a lot of RD in sand box.Let us know what you want to do, whether your BADI should execute after saving the ME21N.&lt;/P&gt;&lt;P&gt;e.g. If you want your enhancement should trigger after saving the BADI then 1st go to ME21N fill all your data THEN set ur break at GET_INSTANCE.Now Check out which BADI from the list will suit your need, that means check the BADI parameters if your need can be done by those parameters then that will be the suit BADi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to se19 as you have followed.At first put a break point over Method AND ACTIVATE that method then press back and in the implimentation object screen again press activate.I think your problem might be for this reasos.&lt;/P&gt;&lt;P&gt;Do it and let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 12:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674502#M1575420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674503#M1575421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Somabap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since BADI's are meant to be used by SAP customer's they are pretty well documented in general and even sometimes sample code is delivered with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your requirement go to SE18 and display ME_PROCESS_PO_CUST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under the GOTO menu you will find SAMPLE CODE and DOCUMENTATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documenation will explain to you at which point the various methods are invoked and based on this you determine which method will be most suited for the task at hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 00:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674503#M1575421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-05T00:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674504#M1575422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i go to tcode se19 crete an implementation over me21n&lt;/P&gt;&lt;P&gt;create an implementation me_process_po_cust over crete implemetation in classical badi&lt;/P&gt;&lt;P&gt;than i made a zme_process_po_cust implemetation name&lt;/P&gt;&lt;P&gt;now when i am trying to save it it shows me an error&lt;/P&gt;&lt;P&gt;"THE ENHANCEMENT OBJECT EHNS ME_PROCESS_PO_CUST CAN NOT BE READ"&lt;/P&gt;&lt;P&gt;could u help me about this.....?????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 10:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674504#M1575422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T10:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674505#M1575423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two kinds of BAdI in SE19: Classic and New BAdI&lt;/P&gt;&lt;P&gt;- By using the break-point in cl_exithandler method you get a classical BAdI (old) ME_PROCESS_PO_CUST.&lt;/P&gt;&lt;P&gt;- By default SE19 waits for a Enhancement Spot, check on the second line Classic BAdI and fill the BAdI Name field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674505#M1575423</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-03-11T11:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674506#M1575424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Raymond.&lt;/P&gt;&lt;P&gt;When you go to SE19  you can see Edit Implementation and Create Implementaion.&lt;/P&gt;&lt;P&gt;In the Create Imp. which is in 2nd box click on Classical BADI provide the name ME_Process_PO_cust&lt;/P&gt;&lt;P&gt; and than click on Create Implementation and hence you provide the Zname and create it and save and activate it.&lt;/P&gt;&lt;P&gt;For change see the 1st box Edit impl. and click on Classical BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note down that this particular BADI cannot be use multiple times.&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;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 12:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/7674506#M1575424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T12:14:04Z</dc:date>
    </item>
  </channel>
</rss>

