<?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/8204282#M1626655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had refered this link  only to write my code. This only works for displaying data in me23n. But the tab doesnt appear in me21n or me22n(in editable mode). So i implemented the "process" badi, through which i got the tab in me21n. But after that the main issue comes into picture i.e saving the data s from the fields of the custom tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Debrath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: debrath1212 on Nov 9, 2011 9:45 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hi Madhu,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am able to save the values. I have created a different structure and used my PBO to save the values. Now it is working fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for your help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks and Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debrath.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2011 15:18:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-31T15:18:56Z</dc:date>
    <item>
      <title>badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204274#M1626647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expets,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 I have added a new tab in me21n,me22n and me23n using Badi( &lt;STRONG&gt;ME_GUI_PO_CUST&lt;/STRONG&gt; and &lt;STRONG&gt;ME_PROCESS_PO_CUST&lt;/STRONG&gt; ) at item level.&lt;/P&gt;&lt;P&gt;I have written the code in SUBSCRIBE , MAP_DYNPRO_FIELDS methods in 1st badi ). I want to save the data from the four fields from my tab while creating the po number. All my four fields are added to the structure CI_ekpodb. Please help me with the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Debrath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 09:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204274#M1626647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-24T09:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204275#M1626648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debrath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to scn. Did you check the available threads and wiki on this topic.There are no of threads available threads on this. Please check with that and post if there is any issue. If moderators consider this as a basic question they may lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 09:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204275#M1626648</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-10-24T09:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204276#M1626649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. I did check for related threads. So I guess I better post my question in some of the related threads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Debrath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 10:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204276#M1626649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-24T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204277#M1626650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debrath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread there is a good discussion about adding a custom tab at item level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Custom Tab at item level|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="58427"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 10:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204277#M1626650</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-10-24T10:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204278#M1626651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the link that you have suggested me. The discussion did help me up to a certain level. But my major problem was regarding the save in me21n. I did post my query there too.&lt;/P&gt;&lt;P&gt;Anyways thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debrath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 06:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204278#M1626651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-31T06:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204279#M1626652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debrath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post the code you kept and where you struck in that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 06:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204279#M1626652</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-10-31T06:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204280#M1626653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the badi &lt;STRONG&gt;'ME_PROCESS_PO_CUST&lt;/STRONG&gt;' and added code in method '&lt;STRONG&gt;FIELDSELECTION_ITEM&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_persistent TYPE mmpur_bool.&lt;/P&gt;&lt;P&gt;type-pools : mmmfd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs&amp;gt; LIKE LINE OF ch_fieldselection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ch_fieldselection ASSIGNING &amp;lt;fs&amp;gt; WITH TABLE KEY metafield = mmmfd_cust_08.&lt;/P&gt;&lt;P&gt;IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;&amp;lt;fs&amp;gt;-fieldstatus = '+'. " editable&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;I have also implemented the badi 'ME_GUI_PO_CUST'.&lt;/P&gt;&lt;P&gt;In '&lt;STRONG&gt;SUBSCRIBE&lt;/STRONG&gt;' method...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ls_subscriber LIKE LINE OF re_subscribers.&lt;/P&gt;&lt;P&gt;*--FIRST SCREEN POPULATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--we want to add a customer subscreen on the item detail tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK im_application = 'PO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK im_element = &lt;STRONG&gt;'ITEM&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;*--each line in re_subscribers generates a subscreen. We add one subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--in this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR re_subscribers[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--the name is a unique identifier for the subscreen and defined in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--class definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-name = SUBSCREEN1.&lt;/P&gt;&lt;P&gt;*--the dynpro number to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-dynpro = '&lt;STRONG&gt;9003&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;*--the program where the dynpro can be found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-program = &lt;STRONG&gt;'SAPLZFN_BADI&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;*--each subscreen needs itsown DDIC-Structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-struct_name = &lt;STRONG&gt;'CI_EKPODB&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;*--a label can be defined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-label = text-001.&lt;/P&gt;&lt;P&gt;*--the position within the tabstrib can be defined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-position = 13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--the height of the screen can be defined here. Currently we suport two&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--screen sizes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--value &amp;lt;= 7 a sevel line subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--value &amp;gt; 7 a 16 line subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_subscriber-height = 7.&lt;/P&gt;&lt;P&gt;APPEND ls_subscriber TO re_subscribers.&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;'MAP_DYNPRO_FIELDS&lt;/STRONG&gt;' method.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;mapping&amp;gt; LIKE LINE OF ch_mapping.&lt;/P&gt;&lt;P&gt;LOOP AT ch_mapping ASSIGNING &amp;lt;mapping&amp;gt;.&lt;/P&gt;&lt;P&gt;CASE &amp;lt;mapping&amp;gt;-fieldname.&lt;/P&gt;&lt;P&gt;WHEN 'COLOR'. &amp;lt;mapping&amp;gt;-metafield = mmmfd_cust_08. " Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'TEMPB'. &amp;lt;mapping&amp;gt;-metafield = mmmfd_cust_09. " Heating Temperature&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'MHDHB'. &amp;lt;mapping&amp;gt;-metafield = mmmfd_cust_10. " shelf life&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'GROES'. &amp;lt;mapping&amp;gt;-metafield = mmmfd_cust_07. "size&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also created a function group zfn_badi, where i created the subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this i have got the tab with the required fields in me21n me22n me23n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to save the datas from my custom fields it is not saving. &lt;/P&gt;&lt;P&gt;If i put break-point in any of the methods in this two badi s ,no one is getting triggered when i click save in me21n, except post check and close. How should i proceed. I want to save my data from ITEM level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debrath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 08:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204280#M1626653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-31T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204281#M1626654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debrath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this wiki by kiran which is helpful.&lt;/P&gt;&lt;P&gt;[Custom Tab At Item Level|http://wiki.sdn.sap.com/wiki/display/ABAP/Detailed&lt;EM&gt;explanation&lt;/EM&gt;about&lt;EM&gt;BADI&lt;/EM&gt;and&lt;EM&gt;the&lt;/EM&gt;ways&lt;EM&gt;to&lt;/EM&gt;find&lt;EM&gt;the&lt;/EM&gt;BADI&lt;EM&gt;with&lt;/EM&gt;an&lt;EM&gt;example&lt;/EM&gt;%28ME23n+transaction%29]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 14:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204281#M1626654</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-10-31T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: badi implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204282#M1626655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had refered this link  only to write my code. This only works for displaying data in me23n. But the tab doesnt appear in me21n or me22n(in editable mode). So i implemented the "process" badi, through which i got the tab in me21n. But after that the main issue comes into picture i.e saving the data s from the fields of the custom tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Debrath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: debrath1212 on Nov 9, 2011 9:45 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hi Madhu,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am able to save the values. I have created a different structure and used my PBO to save the values. Now it is working fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for your help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks and Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debrath.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 15:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/8204282#M1626655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-31T15:18:56Z</dc:date>
    </item>
  </channel>
</rss>

