<?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: FM for partial GR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844155#M1957670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhukar&lt;/P&gt;&lt;P&gt;For a direct report check the T code and in that choose Purchasing view ME80FN&lt;/P&gt;&lt;P&gt;If you are trying to use in your code then you have to probably create a custom logic using below tables &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For GR use the tables MSEG and MKPF .For invoice&amp;nbsp; BSEG ,&amp;nbsp; RBKP - Document header: incoming invoice and RSEG - Document item, incoming invoice&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Also try some standard reports via T codes&amp;nbsp; :ME2N,ME2L,ME2M &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1033726" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Sep 2016 23:55:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-09-11T23:55:08Z</dc:date>
    <item>
      <title>FM for partial GR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844154#M1957669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Hello,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;I have Multiple line item PO, and for every PO line item i can have multiple GR.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;eg.PO no. 41000000&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;In PO there are 2 line items&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;1. Material A - 100 Qty&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;2. Materail B - 100 Qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Now for Material A and Material B I have done Partial GR.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;GR for Material&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;1.Materail A&amp;nbsp; -&amp;nbsp; 50 Qty (GR No 1)&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&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; 50 Qty (GR No. 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;2.Material B -&amp;nbsp; 25 Qty (GR No. 3)&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&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; - 75&amp;nbsp; Qty (GR No. 4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;I need to identify which of the above 4 GRs have reached MIRO stage and which haven't.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;How to use BAPI PO GET DETAILS to achieve the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Madhukar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2016 16:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844154#M1957669</guid>
      <dc:creator>rangerlet_mesee</dc:creator>
      <dc:date>2016-09-11T16:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: FM for partial GR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844155#M1957670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhukar&lt;/P&gt;&lt;P&gt;For a direct report check the T code and in that choose Purchasing view ME80FN&lt;/P&gt;&lt;P&gt;If you are trying to use in your code then you have to probably create a custom logic using below tables &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For GR use the tables MSEG and MKPF .For invoice&amp;nbsp; BSEG ,&amp;nbsp; RBKP - Document header: incoming invoice and RSEG - Document item, incoming invoice&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Also try some standard reports via T codes&amp;nbsp; :ME2N,ME2L,ME2M &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1033726" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2016 23:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844155#M1957670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-11T23:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: FM for partial GR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844156#M1957671</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;I have used BAPI PO GET DETAIL and from each of the structures that are filled after passing EBELN, I am able to see the required fields data. &lt;/P&gt;&lt;P&gt;But for each PO item, partial GRs might happen.&lt;/P&gt;&lt;P&gt;So, do I need to loop PO history structure of the BAPI ?&lt;/P&gt;&lt;P&gt;The required fields as per requirement are available for me across the various structures of the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhukar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844156#M1957671</guid>
      <dc:creator>rangerlet_mesee</dc:creator>
      <dc:date>2016-09-12T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: FM for partial GR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844157#M1957672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you have stated is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you pass the PO # to the BAPI, you need to loop thru the "PO_ITEM_HISTORY" and sum up the GR qty for every line. So even if there are multiple GRs against the same line, you will have the summed up qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-partial-gr/m-p/11844157#M1957672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-12T17:24:40Z</dc:date>
    </item>
  </channel>
</rss>

