<?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: Exit for MIGO tcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750302#M325311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BADI instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI: MB_DOCUMENT_BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method: MB_DOCUMENT_BEFORE_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here loop at XMSEG for LIFNR field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using LIFNR select on LFA1 get KTOKK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at XMKPF.&lt;/P&gt;&lt;P&gt;if LFA1-KTOKK eq 'KINF' and XMKPF-FBRNR is initial&lt;/P&gt;&lt;P&gt;message e398(00) with 'FBRNR is mandatory'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2006 07:07:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-27T07:07:52Z</dc:date>
    <item>
      <title>Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750301#M325310</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;can you provide me the feasible exit for the following requirement in MIGO tcode.&lt;/P&gt;&lt;P&gt;the  requirement is to enhance goods receipting process through an alteration to transaction MIGO. The business requires that the field GOHEAD-FRBNR is a mandatory entry only under certain circumstances and optional the rest of the time.  The basic details for the requirement are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When posting a goods receipt through transaction MIGO, the user exit should identify the account group of the Purchase Order Vendor by reading GOHEAD-LIFNR for the Vendor number and then finding the account group in LFA1-KTOKK. If LFA1-KTOKK = "KINF" then GOHEAD-FRBNR is mandatory, else, GOHEAD-FRBNR is optional. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exits are as follows.&lt;/P&gt;&lt;P&gt;                                                                                Exit Name           Description                                                                                &lt;/P&gt;&lt;P&gt;MBCF0002            Customer function exit: Segment text in material doc. item        &lt;/P&gt;&lt;P&gt; MBCF0005            Material document item for goods receipt/issue slip               &lt;/P&gt;&lt;P&gt; MBCF0006            Customer function for WBS element                                 &lt;/P&gt;&lt;P&gt; MBCF0007            Customer function exit: Updating a reservation                    &lt;/P&gt;&lt;P&gt; MBCF0009            Filling the storage location field                                &lt;/P&gt;&lt;P&gt; MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1        &lt;/P&gt;&lt;P&gt; MBCF0011            Read from RESB and RKPF for print list in  MB26                   &lt;/P&gt;&lt;P&gt; MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 05:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750301#M325310</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-27T05:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750302#M325311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BADI instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI: MB_DOCUMENT_BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method: MB_DOCUMENT_BEFORE_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here loop at XMSEG for LIFNR field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using LIFNR select on LFA1 get KTOKK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at XMKPF.&lt;/P&gt;&lt;P&gt;if LFA1-KTOKK eq 'KINF' and XMKPF-FBRNR is initial&lt;/P&gt;&lt;P&gt;message e398(00) with 'FBRNR is mandatory'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 07:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750302#M325311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T07:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750303#M325312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply ,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would like to know the badi &lt;/P&gt;&lt;P&gt;MB_DOCUMENT_BADI will be triggered with MIGO tcode execution or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e I want to know at which instance of the MIGO tcode execution this badi wuld be triggered .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any otherway to achieve this ....&lt;/P&gt;&lt;P&gt;I found the following BADI s in MIGO program .&lt;/P&gt;&lt;P&gt;BADI_MB_MIGO   BADI_MB_MIGO_ITEM .&lt;/P&gt;&lt;P&gt;bUT When i tried to see the definitions of the same They are not exist in the system .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the early answers .&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;Message was edited by: &lt;/P&gt;&lt;P&gt;        shishupalreddy ramreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 09:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750303#M325312</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-27T09:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750304#M325313</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;The badi that i mentioned gets triggerred when a SAVE is pressed on MIGO screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another badi: MB_CHECK_LINE_BADI which gets triggerred whenever changes are made to the item of the document. Try this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 10:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750304#M325313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750305#M325314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There no such BADI called in MIGO program but the badi called in this is &lt;/P&gt;&lt;P&gt;MB_MIGO_BADI inthis we have a method post_document .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me whthere that can be applied if so How ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 11:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750305#M325314</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-27T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750306#M325315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the feasible solution to solve this issue asap .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 06:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750306#M325315</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-28T06:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750307#M325316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MB_MIGO_BADI  is used for adding custom screens so you cannot use that for your requirement, I am very suprised that badi's that i mentioned are not getting triggerred at any point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. have you first of all created a dummy implementation and then put a break point there to check whether the badi's are getting triggerred, if not then you should do that first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if MB_MIGO_BADI is getting triggerred then the other badi's will/should get triggerred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Pls award points for helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 06:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750307#M325316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T06:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750308#M325317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the BADI u mentioned with breakpoint and it was not triggering at all ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 08:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750308#M325317</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-28T08:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750309#M325318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried by implemeting the BADI MB_DOCUMENT_SAVE  but the same is not available in MIGO program (SAPLMIGO) .But i find the other BADI in that wht i told you .''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is urgent can you please provide me the correct solution to accomplsih the requirement  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 11:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750309#M325318</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-28T11:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750310#M325319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All I did was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Enter MIGO transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Choose Goods Reciept and then enter a purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. fill all the  mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Click on Button 'CHECK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. At this point i had swithced on debugger, but a break point on method GET_INSTANCE of BADI: CL_EXITHANDLER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. I could clearly see MB_CHECK_LINE_BADI getting triggerred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do the same and let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 12:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750310#M325319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T12:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750311#M325320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks lot for the reply ...and I would be gr8 if U could send me the clear screen shots with debugging to my mail id reddy_abap79@rediffmail.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I could not find whether that was triggered or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 13:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750311#M325320</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-28T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750312#M325321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 14:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750312#M325321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750313#M325322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the reply , but still iam havng a doubt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following method which u said was triggering but here the BADI name is hardcoded in our sap server so i could not foind the BADI s u mentioned .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call method cl_exithandler=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;    EXPORTING exit_name              = 'MB_MIGO_BADI'            "552774&lt;/P&gt;&lt;P&gt;              null_instance_accepted = x                         "552774&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      instance = if_badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even this BADI contains around 10 methods init which one i supposed to use .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IOnemore point when i placed a breakpoint in the above mentioned Method it is triggering In PBO of MIGO tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        shishupalreddy ramreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 05:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750313#M325322</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-29T05:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exit for MIGO tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750314#M325323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sharath ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for the answers ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i used the BADI &lt;/P&gt;&lt;P&gt;MB_MIGO_BADI and POST_DOCUMENT method and the requirement is done ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;awarding the points ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 10:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-for-migo-tcode/m-p/1750314#M325323</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-12-29T10:03:15Z</dc:date>
    </item>
  </channel>
</rss>

