<?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: VENDOR_ADD_DATA_CS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187315#M1374085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use one of the many implicit enhancements available in the PAI of Screen 0111 in program SAPMF02K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any Module (which will be most likely called in any situation) calls a subroutine, in the subroutine you will find enhancement spots with structure RF02K filled with checkbox values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, use FORM OKCODE_BEARBEITEN in include MF02KFO0 and create an implement the enhancement at Line 693&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This form is called from MODULE OKCODE_BEARBEITEN in the PAI of Screen 0111.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Aabhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 03:24:27 GMT</pubDate>
    <dc:creator>aabhas_wilmar</dc:creator>
    <dc:date>2009-10-01T03:24:27Z</dc:date>
    <item>
      <title>VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187310#M1374080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the BADIs VENDOR_ADD_DATA_CS  and VENDOR_ADD_DATA.&lt;/P&gt;&lt;P&gt;Everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to see the &lt;STRONG&gt;add on button only when certain checkboxes are selected&lt;/STRONG&gt; in the Initial screen.&lt;/P&gt;&lt;P&gt;Can someone tell me how to do that? All the help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneha Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 22:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187310#M1374080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T22:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187311#M1374081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have done the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open include &lt;SPAN __default_attr="Courier" __jive_macro_name="font"&gt;MF02K_ADD_ON_FS0&lt;/SPAN&gt;  of program &lt;U&gt;SAPMF02K&lt;/U&gt; in &lt;STRONG&gt;SE38&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There you will find a subroutine &lt;SPAN __default_attr="Courier" __jive_macro_name="font"&gt;FORM SINGLE_ADD_ON_ACTIVE_CHECK&lt;/SPAN&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the spiral icon (Enhance--Shift+F4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to Edit-&amp;gt;Enhancement Operations-&amp;gt;Show implicit enhancement options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At line 380, right click and select Enhancements-&amp;gt;Create from the context menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export structure *RF02K* to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This form is called just before your BAdI and contains the initial screen data (checkboxes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will use this to check if the check box you are interested in is Checked or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, in you BAdI implementation of &lt;SPAN __default_attr="Courier" __jive_macro_name="font"&gt;VENDOR_ADD_DATA&lt;/SPAN&gt;  you are using method &lt;SPAN __default_attr="Courier" __jive_macro_name="font"&gt;CHECK_ADD_ON_ACTIVE&lt;/SPAN&gt;  to enable the button, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import from memory the RF02K structure and use fields--&lt;/P&gt;&lt;P&gt;D0110&lt;/P&gt;&lt;P&gt;D0120&lt;/P&gt;&lt;P&gt;D0130&lt;/P&gt;&lt;P&gt;D0210&lt;/P&gt;&lt;P&gt;D0215&lt;/P&gt;&lt;P&gt;D0220&lt;/P&gt;&lt;P&gt;D0310&lt;/P&gt;&lt;P&gt;D0600&lt;/P&gt;&lt;P&gt;D0610&lt;/P&gt;&lt;P&gt;which are the names of the checkboxes on initial screen--to check and activate your screen group conditionally based on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aabhas...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 23:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187311#M1374081</guid>
      <dc:creator>aabhas_wilmar</dc:creator>
      <dc:date>2009-09-22T23:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187312#M1374082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: When you generate the memory ID to export use vendor number itself as memory ID, and export only when you are in change mode (check ACTIVITY). This will ensure a unique memory id if many users are working togather (regenerate the same when importing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change mode will allow only one user to enter in for a vendor... this way we can ensure we grab the right bit from the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aabhas...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 01:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187312#M1374082</guid>
      <dc:creator>aabhas_wilmar</dc:creator>
      <dc:date>2009-09-23T01:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187313#M1374083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aabhas, thanks for the response. But there is no data in the structure before the BADI.&lt;/P&gt;&lt;P&gt;And the enhancement spot is triggered before the user interaction. Can we do something after the checkboxes are checked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneha Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 12:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187313#M1374083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-24T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187314#M1374084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha/Abhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one requirement to add a new field in Vendor master control tab, Please suggest how to go ahead.&lt;/P&gt;&lt;P&gt;1. Do i need to create a field in LFA1?&lt;/P&gt;&lt;P&gt;2. Do i need to implement BADI-VENDOR_ADD_DATA_CS and VENDOR_ADD_DATA or enhancements, if so what is the procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest, thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 17:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187314#M1374084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T17:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187315#M1374085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use one of the many implicit enhancements available in the PAI of Screen 0111 in program SAPMF02K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any Module (which will be most likely called in any situation) calls a subroutine, in the subroutine you will find enhancement spots with structure RF02K filled with checkbox values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, use FORM OKCODE_BEARBEITEN in include MF02KFO0 and create an implement the enhancement at Line 693&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This form is called from MODULE OKCODE_BEARBEITEN in the PAI of Screen 0111.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Aabhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 03:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187315#M1374085</guid>
      <dc:creator>aabhas_wilmar</dc:creator>
      <dc:date>2009-10-01T03:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187316#M1374086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending upon your requirement, you can add fields of tables LFA1 /  LFM1 etc... or even use ztables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might need to do export import to shared buffer to have your data in the BAdI for saving it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to implement both the BADI's, one activates the customer tab / button. The other one let's your program it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I had done it was creating a function group which had all the screen programming and calling that function group program/screen from the BAdI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SPRO, goto &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;Logistics-General-&amp;gt;Business Partner&lt;/P&gt;&lt;P&gt;---&amp;gt;Vendors&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;Control&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;Adoption of Cusomter's Own Master Data Fields&lt;/P&gt;&lt;P&gt;and read the documentation provided next to each node, it explains how you can proceed to implement it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aabhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 03:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187316#M1374086</guid>
      <dc:creator>aabhas_wilmar</dc:creator>
      <dc:date>2009-10-01T03:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187317#M1374087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aabhas,&lt;/P&gt;&lt;P&gt;Thanks for the info, its very useful.&lt;/P&gt;&lt;P&gt;I understood that i have to implement the BADI to add new fields, the following are my questions.&lt;/P&gt;&lt;P&gt;1. Do i need to add the new append field in LFA1 or LFM1 ?&lt;/P&gt;&lt;P&gt;2. How the data will come to new screens in Vendor and also how to save the data which is entered in Vendor Master&lt;/P&gt;&lt;P&gt;If you have implemented could you please share the complete information&lt;/P&gt;&lt;P&gt;You can update in my message so that i will award full points.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1490325"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Sneha,&lt;/P&gt;&lt;P&gt;Please provide your guidence as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Raveendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187317#M1374087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T13:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA_CS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187318#M1374088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;You didnt send me the details, also i want to disable this button(the one we created by using BADI) based on the purchase org will that be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Raveendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 20:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data-cs/m-p/6187318#M1374088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T20:33:35Z</dc:date>
    </item>
  </channel>
</rss>

