<?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 Problem in BAPI GOODSMVT CREATE OIL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169246#M1371359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abapers,&lt;/P&gt;&lt;P&gt;I have developed an ZFunction Module for to do posting 102 Movt type.An ABAP Dump is encountered when doing the negative subsequent adjustment via the Z function module. The dump only happens when BAPI_GOODSMVT_CREATE_OIL is called&lt;/P&gt;&lt;P&gt;After get into several functions and subroutines When I debug the BAPI_GOODSMVT_CREATE_OIL.Finally I got the error encountered place which is from select query on the line no: 204 in the function "OIB2_HPM_MAT_CHECK_COMPLETE"&lt;/P&gt;&lt;P&gt;         IF i_mseg-bpmng NE i_ms2int-adqntp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          we skip this error mess in case an invoice had already&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          been posted where the quantity is greater than the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          goods issue qty.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            data: ls_ekbe type ekbe.&lt;/P&gt;&lt;P&gt;            select single * from ekbe&lt;/P&gt;&lt;P&gt;                            into ls_ekbe&lt;/P&gt;&lt;P&gt;                            where ebeln = i_mseg-ebeln&lt;/P&gt;&lt;P&gt;                            and   ebelp = i_mseg-ebelp&lt;/P&gt;&lt;P&gt;                            and   vgabe = '2'&lt;/P&gt;&lt;P&gt;                            and   bewtp = 'Q'.&lt;/P&gt;&lt;P&gt;            if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;       MESSAGE a359 WITH i_mseg-matnr i_mseg-werks i_mseg-zeile 'BPMNG'&lt;/P&gt;&lt;P&gt;                                            RAISING bpmng_not_found.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know,if you need more details for the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2009 12:52:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-22T12:52:38Z</dc:date>
    <item>
      <title>Problem in BAPI GOODSMVT CREATE OIL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169246#M1371359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abapers,&lt;/P&gt;&lt;P&gt;I have developed an ZFunction Module for to do posting 102 Movt type.An ABAP Dump is encountered when doing the negative subsequent adjustment via the Z function module. The dump only happens when BAPI_GOODSMVT_CREATE_OIL is called&lt;/P&gt;&lt;P&gt;After get into several functions and subroutines When I debug the BAPI_GOODSMVT_CREATE_OIL.Finally I got the error encountered place which is from select query on the line no: 204 in the function "OIB2_HPM_MAT_CHECK_COMPLETE"&lt;/P&gt;&lt;P&gt;         IF i_mseg-bpmng NE i_ms2int-adqntp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          we skip this error mess in case an invoice had already&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          been posted where the quantity is greater than the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          goods issue qty.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            data: ls_ekbe type ekbe.&lt;/P&gt;&lt;P&gt;            select single * from ekbe&lt;/P&gt;&lt;P&gt;                            into ls_ekbe&lt;/P&gt;&lt;P&gt;                            where ebeln = i_mseg-ebeln&lt;/P&gt;&lt;P&gt;                            and   ebelp = i_mseg-ebelp&lt;/P&gt;&lt;P&gt;                            and   vgabe = '2'&lt;/P&gt;&lt;P&gt;                            and   bewtp = 'Q'.&lt;/P&gt;&lt;P&gt;            if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;       MESSAGE a359 WITH i_mseg-matnr i_mseg-werks i_mseg-zeile 'BPMNG'&lt;/P&gt;&lt;P&gt;                                            RAISING bpmng_not_found.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know,if you need more details for the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 12:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169246#M1371359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in BAPI GOODSMVT CREATE OIL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169247#M1371360</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;Such error will be encountered when the their is any issue with material quantity . please check the quanity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the thread, if solved&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 13:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169247#M1371360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T13:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in BAPI GOODSMVT CREATE OIL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169248#M1371361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aditya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to check the materail  quantity?    is you are talking about Input material quantity ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there is some problem in additional quantity field(ADQNTP)  in table MSE02 .Because dump is encountered after checking the below "IF" condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; *&lt;STRONG&gt;IF i_mseg-bpmng NE i_ms2int-adqntp.&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m very new to this MM area thats why i can't perdict the usage of additional quantity things(ADQNTP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to tell you some more information.This ABAP is encountered for certain materials that too for some scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anything we need to takecare in master tables or some other tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 14:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-goodsmvt-create-oil/m-p/6169248#M1371361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T14:47:12Z</dc:date>
    </item>
  </channel>
</rss>

