<?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: Function BAPI_WHSE_STOCK_GET_LIST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-whse-stock-get-list/m-p/1532305#M243151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to commit ur work:    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = 'X'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  LOOP AT t_return.
   WRITE: / t_return-message_v1.
   WRITE: / t_return-message_v2.
   WRITE: / t_return-message.
  ENDLOOP.

 READ TABLE t_return with KEY type = 'E'.
  if sy-subrc NE 0 AND cb_test EQ ''.
   CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = 'X'.
  else.
   CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 07:16:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-07T07:16:09Z</dc:date>
    <item>
      <title>Function BAPI_WHSE_STOCK_GET_LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-whse-stock-get-list/m-p/1532304#M243150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not getting any result from this function. I supplied the material number and the storage location. I'm not supplying any warehouse number because we have only one warehouse.&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 07:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-whse-stock-get-list/m-p/1532304#M243150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T07:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_WHSE_STOCK_GET_LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-whse-stock-get-list/m-p/1532305#M243151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to commit ur work:    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = 'X'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  LOOP AT t_return.
   WRITE: / t_return-message_v1.
   WRITE: / t_return-message_v2.
   WRITE: / t_return-message.
  ENDLOOP.

 READ TABLE t_return with KEY type = 'E'.
  if sy-subrc NE 0 AND cb_test EQ ''.
   CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = 'X'.
  else.
   CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 07:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-whse-stock-get-list/m-p/1532305#M243151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T07:16:09Z</dc:date>
    </item>
  </channel>
</rss>

