<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508370#M567162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this badi - u need to activate the zbadi implementation and then go to method CHECK_DATA put some break point and check whether it goes to debugging pt and remove the breakpoint - activate it, then go this method CHECK_CHANGE_MARA_MEINS  - write the logic and then check it should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked this badi its working kindly revert back if any issues &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NEW_MEINS NE OLD_MEINS .&lt;/P&gt;&lt;P&gt;CALL METHOD c_oi_errors=&amp;gt;raise_message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING type   = 'E'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward pts if found usefull :)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 14:22:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-16T14:22:27Z</dc:date>
    <item>
      <title>BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508367#M567159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  I CREATED ON BADI FOR BADI_MATERIAL_CHECK WHICH CHECK UNIT SAME OR CHANGED . IF IT IS CHANGED THEN IT WILL GIVE SOME MESSAGE . I HAVE GIVEN CODING FOR IT. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; method IF_EX_BADI_MATERIAL_CHECK~CHECK_CHANGE_MARA_MEINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NEW_MEINS NE OLD_MEINS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'IT IS NOT POSSIBLE CHANGE THE UNIT '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endmethod&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WHEN I GO TO MM02 AND I AM ENTERING ALLREADY EXIT MATERIAL .BUT IT IS NOT ALLOW TO CHANGE THE MATERIAL .HOW CAN GET OUTPUT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASHOK KUMAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 13:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508367#M567159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T13:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508368#M567160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          you can use FM POPUP_DISPLAY_MESSAGE instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;TITEL = 'Error Message'&lt;/P&gt;&lt;P&gt;MSGID = 'BD'&lt;/P&gt;&lt;P&gt;MSGTY = 'E'&lt;/P&gt;&lt;P&gt;MSGNO = '899'&lt;/P&gt;&lt;P&gt;MSGV1 = 'Data input error'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'OKAY'. *Continue button&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ELSEIF SY-UCOMM = 'RW'. *Cancel button&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 13:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508368#M567160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508369#M567161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you have to fill the attribute ERROR_TEXT of the method&lt;/P&gt;&lt;P&gt;CHANGE_MARA_MEINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thinks the system manage the error text if there is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 13:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508369#M567161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508370#M567162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this badi - u need to activate the zbadi implementation and then go to method CHECK_DATA put some break point and check whether it goes to debugging pt and remove the breakpoint - activate it, then go this method CHECK_CHANGE_MARA_MEINS  - write the logic and then check it should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked this badi its working kindly revert back if any issues &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NEW_MEINS NE OLD_MEINS .&lt;/P&gt;&lt;P&gt;CALL METHOD c_oi_errors=&amp;gt;raise_message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING type   = 'E'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward pts if found usefull :)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 14:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/2508370#M567162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T14:22:27Z</dc:date>
    </item>
  </channel>
</rss>

