<?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 with Goods Issue..... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996720#M707871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the value that you are passing in move: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_mov_type2 to GOODSMVT_ITEM-move_type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP IMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check whether this movement type is assigned to Settings for Goods Movements (MIGO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Materials Management -&amp;gt;Inventory Management and Physical Inventory-&amp;gt;&lt;/P&gt;&lt;P&gt;Settings for Transactions and Reference Documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with your functional team.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2007 06:01:37 GMT</pubDate>
    <dc:creator>JoffyJohn</dc:creator>
    <dc:date>2007-11-07T06:01:37Z</dc:date>
    <item>
      <title>Issue with Goods Issue.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996718#M707869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on an interface where I need to do goods Issue and for this I have written the following code, but my return statement is returning this error" Goods movement not possible with mvmt type 201"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_input_file occurs 0,&lt;/P&gt;&lt;P&gt;matnr(18),&lt;/P&gt;&lt;P&gt;werks(4),&lt;/P&gt;&lt;P&gt;uoe_qty(13), &lt;/P&gt;&lt;P&gt;amount(13),&lt;/P&gt;&lt;P&gt;st_loc(4),&lt;/P&gt;&lt;P&gt;batch(10),&lt;/P&gt;&lt;P&gt;account(10),&lt;/P&gt;&lt;P&gt;uoe_uom(3), &lt;/P&gt;&lt;P&gt;end of it_input_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_semfile = p_ifname.&lt;/P&gt;&lt;P&gt;refresh it_input_file.&lt;/P&gt;&lt;P&gt;call function 'WS_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = v_semfile&lt;/P&gt;&lt;P&gt;filetype = 'DAT'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = it_input_file&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;conversion_error = 1&lt;/P&gt;&lt;P&gt;file_open_error = 2&lt;/P&gt;&lt;P&gt;file_read_error = 3&lt;/P&gt;&lt;P&gt;invalid_type = 4&lt;/P&gt;&lt;P&gt;no_batch = 5&lt;/P&gt;&lt;P&gt;unknown_error = 6&lt;/P&gt;&lt;P&gt;invalid_table_width = 7&lt;/P&gt;&lt;P&gt;gui_refuse_filetransfer = 8&lt;/P&gt;&lt;P&gt;customer_error = 9&lt;/P&gt;&lt;P&gt;others = 10.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: syst-datum to v_doc_date,&lt;/P&gt;&lt;P&gt;syst-datum to v_pos_date.&lt;/P&gt;&lt;P&gt;loop at it_input_file.&lt;/P&gt;&lt;P&gt;move: v_doc_date to GOODSMVT_HEADER-DOC_DATE,&lt;/P&gt;&lt;P&gt;v_pos_date to GOODSMVT_HEADER-pstng_date,&lt;/P&gt;&lt;P&gt;syst-uname to GOODSMVT_HEADER-pr_uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: '05' to GOODSMVT_CODE-GM_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: it_input_file-matnr to GOODSMVT_ITEM-material,&lt;/P&gt;&lt;P&gt;it_input_file-werks to GOODSMVT_ITEM-plant,&lt;/P&gt;&lt;P&gt;it_input_file-st_loc to GOODSMVT_ITEM-stge_loc,&lt;/P&gt;&lt;P&gt;it_input_file-batch to GOODSMVT_ITEM-batch,&lt;/P&gt;&lt;P&gt;it_input_file-uoe_qty to GOODSMVT_ITEM-entry_qnt,&lt;/P&gt;&lt;P&gt;it_input_file-uoe_uom to GOODSMVT_ITEM-entry_uom,&lt;/P&gt;&lt;P&gt;it_input_file-amount to GOODSMVT_ITEM-AMOUNT_LC,&lt;/P&gt;&lt;P&gt;' ' to GOODSMVT_ITEM-MVT_IND,&lt;/P&gt;&lt;P&gt;'X' to GOODSMVT_ITEM-NO_MORE_GR, &lt;/P&gt;&lt;P&gt;move: '201' to GOODSMVT_ITEM-move_type,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append goodsmvt_item.&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 = GOODSMVT_HEADER&lt;/P&gt;&lt;P&gt;GOODSMVT_CODE = GOODSMVT_CODE&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;GOODSMVT_HEADRET = GOODSMVT_HEADRET&lt;/P&gt;&lt;P&gt;MATERIALDOCUMENT = MATERIALDOCUMENT&lt;/P&gt;&lt;P&gt;MATDOCUMENTYEAR = MATDOCUMENTYEAR&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;GOODSMVT_ITEM = GOODSMVT_ITEM&lt;/P&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = return2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;Rajeev Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;Rajeev Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rajeev  Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 05:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996718#M707869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T05:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Goods Issue.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996719#M707870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the table T156 and use the some other movement type other than 201&lt;/P&gt;&lt;P&gt;and see.&lt;/P&gt;&lt;P&gt;Movement type(Bwart) 201, is not accepted for the GI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 05:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996719#M707870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T05:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Goods Issue.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996720#M707871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the value that you are passing in move: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_mov_type2 to GOODSMVT_ITEM-move_type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP IMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check whether this movement type is assigned to Settings for Goods Movements (MIGO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Materials Management -&amp;gt;Inventory Management and Physical Inventory-&amp;gt;&lt;/P&gt;&lt;P&gt;Settings for Transactions and Reference Documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with your functional team.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 06:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996720#M707871</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2007-11-07T06:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Goods Issue.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996721#M707872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for your replies, well I tried passing 201, 202 and it shows me thw same error. althogh when I used the same code for GR and passes a GR movement type it worked perfectly. So I am not sure what is the error. CAn you please guide me through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 13:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-goods-issue/m-p/2996721#M707872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T13:35:16Z</dc:date>
    </item>
  </channel>
</rss>

