<?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: Issue while using MB_MIGO_BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574675#M1755852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Venkata Reddy wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;why BADI is not giving any input values?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question, I suspect that the document and item numbers have not yet been determined, since the material document has not yet been posted. The purpose of the "CHECK" methods is to give you a chance to prevent the posting of the Material Document before it happens, and you shouldn't need to make that determination based on the document and item numbers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 19:07:26 GMT</pubDate>
    <dc:creator>alex_campbell</dc:creator>
    <dc:date>2013-07-12T19:07:26Z</dc:date>
    <item>
      <title>Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574672#M1755849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue while using MB_MIGO_BADI for MIGO validations when click on post button(for cancellation of doc).&lt;/P&gt;&lt;P&gt;I set a break point and checked the structure for docno and fyear it's blank for both check_header and check_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why BADI is not giving any input values? any clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while creating implementation have chosen option copy sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 09:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574672#M1755849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-12T09:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574673#M1755850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkata,&lt;/P&gt;&lt;P&gt;Have you put a break point in METHOD if_ex_mb_migo_badi~post_document ?&lt;/P&gt;&lt;P&gt;Check structure - IT_MSEG and IS_MKPF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Debopriya Ghosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 10:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574673#M1755850</guid>
      <dc:creator>reachdebopriya</dc:creator>
      <dc:date>2013-07-12T10:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574674#M1755851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get Material Document No and Year in IS_MKPF structure in IF_EX_MB_MIGO_BADI~POST_DOCUMENT Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields:is_mkpf-mblnr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is_mkpf-mjahr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 12:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574674#M1755851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-12T12:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574675#M1755852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Venkata Reddy wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;why BADI is not giving any input values?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question, I suspect that the document and item numbers have not yet been determined, since the material document has not yet been posted. The purpose of the "CHECK" methods is to give you a chance to prevent the posting of the Material Document before it happens, and you shouldn't need to make that determination based on the document and item numbers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 19:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574675#M1755852</guid>
      <dc:creator>alex_campbell</dc:creator>
      <dc:date>2013-07-12T19:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574676#M1755853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you early response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST_DOCUMENT is last step in posting, by the time reaching method POST_DOCUMENT cancellation document is generated, it should not be the case. any message in POST_DOCUMENT should be type A or X.&lt;/P&gt;&lt;P&gt;In my requirement it's just validations at header level when cancellation document is posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 02:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574676#M1755853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-15T02:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574677#M1755854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write your validation code in this method,IF_EX_MB_MIGO_BADI~PAI_DETAIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the table G_GOITEM will give you all the details include Materials document No. and Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare structure like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;WA_GOITEM &lt;SPAN class="L0S52"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LINE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;G_GOITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to loop the table G_GOITEM. as we have to declare 'work area' explicitly in methods (OOPS Concept).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 06:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574677#M1755854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-15T06:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while using MB_MIGO_BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574678#M1755855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for every one, it is resolved by using badi MB_CHECK_LINE_BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 07:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-using-mb-migo-badi/m-p/9574678#M1755855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-15T07:36:37Z</dc:date>
    </item>
  </channel>
</rss>

