<?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: problem in post goods movement using BAPI_GOODSMVT_CREATE. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-post-goods-movement-using-bapi-goodsmvt-create/m-p/6425949#M1410060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;PL Stock in transit exceeded by 200 UNT : 10000000125 3065 0005"&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code does not matter, it is the process and the stock situation that does not allow the creation of the movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot receive e.g. 200 from in-transit stock  if you only have nothing in transit.&lt;/P&gt;&lt;P&gt;First the goods issue has to be  performed in the shipping plant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2009 08:10:49 GMT</pubDate>
    <dc:creator>JL23</dc:creator>
    <dc:date>2009-12-08T08:10:49Z</dc:date>
    <item>
      <title>problem in post goods movement using BAPI_GOODSMVT_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-post-goods-movement-using-bapi-goodsmvt-create/m-p/6425948#M1410059</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;       when i am posting goods movement using BAPI_GOODSMVT_CREATE bapi i am getting error "PL Stock in transit exceeded by 200 UNT : 10000000125 3065 0005"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code :&lt;/P&gt;&lt;P&gt;gs_gmhead-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;gs_gmhead-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;gs_gmhead-pr_uname = sy-uname.&lt;/P&gt;&lt;P&gt;gs_gmcode-gm_code = '01'.                "01 - MB01 - Goods Receipts for Purchase Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gt_bapiitab-move_type  = 101.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-mvt_ind    = 'B'.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-entry_qnt  = gs_header-qty.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; GT_BAPIITAB-MOVE_STLOC =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gt_bapiitab-stge_loc   = gs_header-LGORT.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-po_number  = gs_header-ebeln.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-po_item    = gs_header-ebelp.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-VENDRBATCH = gs_header-licha.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-PLANT   = gs_header-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     input         = gs_header-matnr&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     OUTPUT        = gt_bapiitab-material&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-material   = gs_header-matnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gt_bapiitab-ENTRY_UOM =  gs_header-meins.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-ENTRY_UOM_ISO = 'EA'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-PO_PR_QNT = gs_header-qty.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-ORDERPR_UN = gs_header-meins.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-ORDERPR_UN_ISO = 'EA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-ST_UN_QTYY_1 = gs_header-qty.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-ST_UN_QTYY_1_ISO = 'EA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-ST_UN_QTYY_2 = gs_header-qty.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-ST_UN_QTYY_2_ISO = 'EA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-QUANTITY = gs_header-qty.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gt_bapiitab-BASE_UOM = 'EA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gt_bapiitab-LINE_ID = '000001'.&lt;/P&gt;&lt;P&gt;  gt_bapiitab-PARENT_ID = '000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append gt_bapiitab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_GOODSMVT_CREATE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    goodsmvt_header               = gs_gmhead&lt;/P&gt;&lt;P&gt;    goodsmvt_code                 = gs_gmcode&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_REF_EWM              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    GOODSMVT_HEADRET              = gs_mthead&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATERIALDOCUMENT              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATDOCUMENTYEAR               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    goodsmvt_item                 = gt_bapiitab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_SERIALNUMBER         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    return                        = gt_errmsg&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_SERV_PART_DATA       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 05:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-post-goods-movement-using-bapi-goodsmvt-create/m-p/6425948#M1410059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-08T05:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem in post goods movement using BAPI_GOODSMVT_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-post-goods-movement-using-bapi-goodsmvt-create/m-p/6425949#M1410060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;PL Stock in transit exceeded by 200 UNT : 10000000125 3065 0005"&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code does not matter, it is the process and the stock situation that does not allow the creation of the movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot receive e.g. 200 from in-transit stock  if you only have nothing in transit.&lt;/P&gt;&lt;P&gt;First the goods issue has to be  performed in the shipping plant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 08:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-post-goods-movement-using-bapi-goodsmvt-create/m-p/6425949#M1410060</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2009-12-08T08:10:49Z</dc:date>
    </item>
  </channel>
</rss>

