<?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: Reservation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338068#M515013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I just check in RESB table for KZEAR = space, it is giving a list of open reservation. But if check for that reservation in MB23, for few reservations it says "Reservation 0000000522 does not exist". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to check for open reservations? I tried using "BAPI_RESERVATION_GETITEMS" to get any open reservations, but even this is giving similar result as looking for in table RESB for KZEAR = space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there are any other way to find open reservations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;Uma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 14:44:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T14:44:56Z</dc:date>
    <item>
      <title>Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338063#M515008</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;In my program, I have to check whether a material has any open reservation. Could anyone please tell me how should I check that in a program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 17:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338063#M515008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T17:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338064#M515009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you could look at the reservation table RESB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 17:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338064#M515009</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-06T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338065#M515010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How should I get the open reservations from that table?&lt;/P&gt;&lt;P&gt;how will i check whether it is open or closed? I can only see the Deleted field in that table, which says whether the reservation is deleted or not.&lt;/P&gt;&lt;P&gt;Please let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 17:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338065#M515010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338066#M515011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Main table is : RESB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM : HRCA_MAT_RESITEM_GET&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 17:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338066#M515011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T17:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338067#M515012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KZEAR = space&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 17:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338067#M515012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T17:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338068#M515013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I just check in RESB table for KZEAR = space, it is giving a list of open reservation. But if check for that reservation in MB23, for few reservations it says "Reservation 0000000522 does not exist". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to check for open reservations? I tried using "BAPI_RESERVATION_GETITEMS" to get any open reservations, but even this is giving similar result as looking for in table RESB for KZEAR = space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there are any other way to find open reservations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;Uma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 14:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338068#M515013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T14:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reservation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338069#M515014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SELECT *
         FROM  RESB
         APPENDING TABLE PET_RESB
         WHERE MATNR IN S_MATNR
         AND   WERKS IN S_WERKS
         AND   BDTER IN S_BDTER
         AND   SCHGT =  SP_SCHGT         "OPL993 nur/kein Schüttgut
         AND   XLOEK = SPACE.
* Filtern lt. Selektion

* Filtern lt. Selektion
  PERFORM FILTER_BEDARFE CHANGING IT_RESB[].
FORM FILTER_BEDARFE CHANGING PIET_RESB TYPE RESB_TAB.

  CHECK ALLES IS INITIAL.

  LOOP AT PIET_RESB INTO WA_RESB.
    IF WA_RESB-RESB-ENMNG &amp;gt;= WA_RESB-RESB-BDMNG
    OR WA_RESB-RESB-KZEAR &amp;lt;&amp;gt; SPACE.
      DELETE PIET_RESB.
    ENDIF.
  ENDLOOP.

ENDFORM.                    " filter_bedarfe
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 14:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reservation/m-p/2338069#M515014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T14:48:33Z</dc:date>
    </item>
  </channel>
</rss>

