<?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: Dear Abapers, in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926955#M1795808</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;We maintain the materials using Vistex system as well. So, if a material is maintained in vistex and for the same material the document data is tried to change and save in mm02, then a error message should be given saying that changes cannot be made for vistex controlled materials. We shouldn't be allowed to delete the document data for this material as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am checking with the badi which you mentioned. Will revert if it helps out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, could you please tell me how to use SE24 to find the required badi. Like how did you find this badi? I usually find through the class cl_exithandler and this badi was not shown there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Dec 2013 08:49:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-31T08:49:07Z</dc:date>
    <item>
      <title>Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926952#M1795805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;In transaction MM02, under additional data, I want to disable the fields in the document data tab without affecting other tabs.There is a table control in that tab and I want to disable it making it only to display. Also, if I try to change the document and save, an error should be displayed saying this document cannot be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to find the badi's to do this and was helpless. Please suggest me some alternatives.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 07:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926952#M1795805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T07:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926953#M1795806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tharun,&lt;/P&gt;&lt;P&gt;if you wants to do before save you can use this badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt; &lt;/SPAN&gt;IF_EX_BADI_MATERIAL_CHECK&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;&lt;STRONG&gt;CHECK_DATA.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please elaborate your queries , that which type of data you wants to check in MM02.&lt;/P&gt;&lt;P&gt;And why not you are using SE24 , to know which BADI you need, if you don't know&lt;/P&gt;&lt;P&gt;the use of SE24 to find required badi, then please read the document first, then revert me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 07:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926953#M1795806</guid>
      <dc:creator>former_member187748</dc:creator>
      <dc:date>2013-12-31T07:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926954#M1795807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess this can be achieved using configuration of field selection in material master check with the functional people...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 07:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926954#M1795807</guid>
      <dc:creator>sivaprasad_paruchuri</dc:creator>
      <dc:date>2013-12-31T07:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926955#M1795808</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;We maintain the materials using Vistex system as well. So, if a material is maintained in vistex and for the same material the document data is tried to change and save in mm02, then a error message should be given saying that changes cannot be made for vistex controlled materials. We shouldn't be allowed to delete the document data for this material as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am checking with the badi which you mentioned. Will revert if it helps out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, could you please tell me how to use SE24 to find the required badi. Like how did you find this badi? I usually find through the class cl_exithandler and this badi was not shown there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 08:49:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926955#M1795808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T08:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926956#M1795809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tharun,&lt;/P&gt;&lt;P&gt;for Finding a required BADI, we use SE24 (Class Builder).&lt;/P&gt;&lt;P&gt;Follow these steps for finding required BADI for your use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to SE24, put &lt;STRONG&gt;CL_EXITHANDLER in&amp;nbsp; &lt;/STRONG&gt;object type filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Press Display button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. A new screen will get opened, in this screen you will find a method named as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; GET_INSTANCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. Double click the method, you will be on next screen, there is a method named as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;cl_exithandler&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_class_name_by_interface&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put a &lt;STRONG&gt;BREAK POINT&lt;/STRONG&gt; on it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Run the standard transaction for which you have a requirement for finding BADI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Double click on right hand side of exit_name, on successive &lt;/STRONG&gt;pressing F8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you will get different BADI name for different screen for a standard transaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do as mentioned, and find the required BADI for your use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (While debugging you will get all BADI details)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;cl_exithandler&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_class_name_by_interface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; instance&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;class_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHANGING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;exit_name.&amp;nbsp; (double click here)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 09:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926956#M1795809</guid>
      <dc:creator>former_member187748</dc:creator>
      <dc:date>2013-12-31T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926957#M1795810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can achieve this one by field selection for master data and we can do by using the Transaction variant by SHDB here we can restrict the fields what and all not require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 09:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926957#M1795810</guid>
      <dc:creator>krishna_k19</dc:creator>
      <dc:date>2013-12-31T09:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926958#M1795811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use method CHECK_DATA of BAdI BADI_MATERIAL_CHECK, but the error message may be raised a little late, and &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;user&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will not be very&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;happy to have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;wasted his time on this material reference&lt;/SPAN&gt;&lt;/SPAN&gt;. Nevertheless use this method which will always been called (e.g. from BAPI)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you could also add your own implementation in an implicit ES of one of the PAI module of initial screen of transaction (like module IS_ENHANCEMENT_02&amp;nbsp; in include LMGMMIIS) so user would immediately be informed. (Don't forget to check t130m&lt;SPAN class="L0S70"&gt;-aktyp and ok_code to not raise unecessary messages, e.g. MM03 transaction or function code not relative to maintaining data)&lt;BR /&gt;&lt;/SPAN&gt;&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>Tue, 31 Dec 2013 09:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926958#M1795811</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-12-31T09:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926959#M1795812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not aware of the implicit enhancements. Could you please elaborate how that is done. I have never worked with implicit enhancements before and so don't have idea about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 12:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926959#M1795812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T12:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926960#M1795813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tharun,&lt;/P&gt;&lt;P&gt;for implicit enhancement i will sujjest you to read these threads, in which it is shown that&lt;/P&gt;&lt;P&gt;how to do enhancements, please read it carefully and then use it, it will boost you if you will work&lt;/P&gt;&lt;P&gt;yourself. So please do yourself, if finds any trouble, we at SCN will guide you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/How+To+Do+Implicit+Enhancement" title="http://wiki.scn.sap.com/wiki/display/ABAP/How+To+Do+Implicit+Enhancement"&gt;How To Do Implicit Enhancement - ABAP Development - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/640613"&gt;http://scn.sap.com/thread/640613&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 12:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926960#M1795813</guid>
      <dc:creator>former_member187748</dc:creator>
      <dc:date>2013-12-31T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Abapers,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926961#M1795814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read a document like &lt;A class="title meta_afterTitle" href="http://wiki.scn.sap.com/wiki/display/ABAP/How+To+Do+Implicit+Enhancement" target="_blank"&gt;How To Do Implicit Enhancement&amp;nbsp; &lt;/A&gt;by &lt;A href="http://wiki.scn.sap.com/wiki/display/%7Enc0euof"&gt;Krishna Chauhan&lt;/A&gt;&amp;nbsp; in wiki section of forum.&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>Tue, 31 Dec 2013 12:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dear-abapers/m-p/9926961#M1795814</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-12-31T12:55:10Z</dc:date>
    </item>
  </channel>
</rss>

