<?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: BAPI_GOODSMVT_CREATE from MB21 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316110#M507902</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;check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : w_resb_header like bapirkpfc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab_resb occurs 0.&lt;/P&gt;&lt;P&gt;        include structure bapiresbc.&lt;/P&gt;&lt;P&gt;data: end of itab_resb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab_bapi_return occurs 0.&lt;/P&gt;&lt;P&gt;        include structure bapireturn.&lt;/P&gt;&lt;P&gt;data: end of itab_bapi_return.&lt;/P&gt;&lt;P&gt;data : w_resb_no like  bapirkpfc-res_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; w_resb_header-plant      =  p_werks.&lt;/P&gt;&lt;P&gt;  w_resb_header-res_date   = sy-datum.&lt;/P&gt;&lt;P&gt;  w_resb_header-created_by = sy-uname.&lt;/P&gt;&lt;P&gt;  w_resb_header-cost_ctr   = '0000010001'.&lt;/P&gt;&lt;P&gt;  w_resb_header-move_type  = '201'.&lt;/P&gt;&lt;P&gt;  w_resb_header-gr_rcpt    = w_room_time.&lt;/P&gt;&lt;P&gt;  w_resb_header-part_acct    = 'OR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;*ITEM DATA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  loop at i_details.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;        itab_resb-material   = i_details-matnr.&lt;/P&gt;&lt;P&gt;    itab_resb-plant      = i_details-werks.&lt;/P&gt;&lt;P&gt;    itab_resb-store_loc  = i_details-lgort.&lt;/P&gt;&lt;P&gt;    itab_resb-quantity   =  i_details-qty.&lt;/P&gt;&lt;P&gt;    itab_resb-unit       = i_details-meins.&lt;/P&gt;&lt;P&gt;    append itab_resb.&lt;/P&gt;&lt;P&gt;    clear itab_resb.&lt;/P&gt;&lt;P&gt;    clear i_details.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'BAPI_RESERVATION_CREATE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      reservation_header       = w_resb_header&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_COMMIT                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MOVEMENT_AUTO            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   importing&lt;/P&gt;&lt;P&gt;     reservation               = w_resb_no&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      reservation_items        = itab_resb&lt;/P&gt;&lt;P&gt;     return                    = itab_bapi_return&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;     wait          = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  wait up to 5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_resb_no contains your reservations numnber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award pints if helpful&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 17:18:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T17:18:41Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE from MB21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316107#M507899</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 was told that I could use BAPI_GOODSMVT_CREATE to create a Reservation (TX MB21).  Has anyone done this before? There is no gm_code in the table T158G. Any one has an example for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316107#M507899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE from MB21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316108#M507900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to use the function BAPI_RESERVATION_CREATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 17:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316108#M507900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T17:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE from MB21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316109#M507901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to use the function BAPI_RESERVATION_CREATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 17:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316109#M507901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T17:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE from MB21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316110#M507902</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;check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : w_resb_header like bapirkpfc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab_resb occurs 0.&lt;/P&gt;&lt;P&gt;        include structure bapiresbc.&lt;/P&gt;&lt;P&gt;data: end of itab_resb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab_bapi_return occurs 0.&lt;/P&gt;&lt;P&gt;        include structure bapireturn.&lt;/P&gt;&lt;P&gt;data: end of itab_bapi_return.&lt;/P&gt;&lt;P&gt;data : w_resb_no like  bapirkpfc-res_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; w_resb_header-plant      =  p_werks.&lt;/P&gt;&lt;P&gt;  w_resb_header-res_date   = sy-datum.&lt;/P&gt;&lt;P&gt;  w_resb_header-created_by = sy-uname.&lt;/P&gt;&lt;P&gt;  w_resb_header-cost_ctr   = '0000010001'.&lt;/P&gt;&lt;P&gt;  w_resb_header-move_type  = '201'.&lt;/P&gt;&lt;P&gt;  w_resb_header-gr_rcpt    = w_room_time.&lt;/P&gt;&lt;P&gt;  w_resb_header-part_acct    = 'OR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;*ITEM DATA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  loop at i_details.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;        itab_resb-material   = i_details-matnr.&lt;/P&gt;&lt;P&gt;    itab_resb-plant      = i_details-werks.&lt;/P&gt;&lt;P&gt;    itab_resb-store_loc  = i_details-lgort.&lt;/P&gt;&lt;P&gt;    itab_resb-quantity   =  i_details-qty.&lt;/P&gt;&lt;P&gt;    itab_resb-unit       = i_details-meins.&lt;/P&gt;&lt;P&gt;    append itab_resb.&lt;/P&gt;&lt;P&gt;    clear itab_resb.&lt;/P&gt;&lt;P&gt;    clear i_details.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'BAPI_RESERVATION_CREATE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      reservation_header       = w_resb_header&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_COMMIT                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MOVEMENT_AUTO            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   importing&lt;/P&gt;&lt;P&gt;     reservation               = w_resb_no&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      reservation_items        = itab_resb&lt;/P&gt;&lt;P&gt;     return                    = itab_bapi_return&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;     wait          = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  wait up to 5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_resb_no contains your reservations numnber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award pints if helpful&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 17:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-from-mb21/m-p/2316110#M507902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T17:18:41Z</dc:date>
    </item>
  </channel>
</rss>

