<?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_REQUISITION-DELETE LFDAT delivery date problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027693#M1498907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jackie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: 
wa_eban LIKE eban,
i_delete           LIKE bapieband  OCCURS 0 WITH HEADER LINE,
i_eban2        LIKE STANDARD TABLE OF wa_eban,
va_rda           TYPE bapieban-preq_no,
wa_delete   LIKE i_delete.
 
 
  LOOP AT i_eban2 INTO wa_eban
                 WHERE banfn = wa_file-banfn.
    wa_delete-preq_item  = wa_eban-bnfpo.
    wa_delete-delete_ind = 'X'.
    APPEND wa_delete TO i_delete.
  ENDLOOP.
  CALL FUNCTION 'BAPI_REQUISITION_DELETE'
    EXPORTING
      number                      = va_rda
    TABLES
      requisition_items_to_delete = i_delete
      return                      = i_return.
 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer thi slink also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapnet.ru/viewtopic.php?p=451" target="test_blank"&gt;http://www.sapnet.ru/viewtopic.php?p=451&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: pravin s. on Jun 7, 2010 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jun 2010 08:19:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-07T08:19:00Z</dc:date>
    <item>
      <title>BAPI_REQUISITION-DELETE LFDAT delivery date problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027691#M1498905</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;We have a problem with BAPI_REQUISITION_DELETE. The BAPI does not proceed with saving whenever the delivery is left blank. In our configuration, delivery date is not a required field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 02:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027691#M1498905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T02:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_REQUISITION-DELETE LFDAT delivery date problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027692#M1498906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try passing sy-datum and delete &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have never tried this FM though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 03:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027692#M1498906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T03:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_REQUISITION-DELETE LFDAT delivery date problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027693#M1498907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jackie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: 
wa_eban LIKE eban,
i_delete           LIKE bapieband  OCCURS 0 WITH HEADER LINE,
i_eban2        LIKE STANDARD TABLE OF wa_eban,
va_rda           TYPE bapieban-preq_no,
wa_delete   LIKE i_delete.
 
 
  LOOP AT i_eban2 INTO wa_eban
                 WHERE banfn = wa_file-banfn.
    wa_delete-preq_item  = wa_eban-bnfpo.
    wa_delete-delete_ind = 'X'.
    APPEND wa_delete TO i_delete.
  ENDLOOP.
  CALL FUNCTION 'BAPI_REQUISITION_DELETE'
    EXPORTING
      number                      = va_rda
    TABLES
      requisition_items_to_delete = i_delete
      return                      = i_return.
 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer thi slink also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapnet.ru/viewtopic.php?p=451" target="test_blank"&gt;http://www.sapnet.ru/viewtopic.php?p=451&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: pravin s. on Jun 7, 2010 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 08:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027693#M1498907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_REQUISITION-DELETE LFDAT delivery date problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027694#M1498908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If delivery date is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delivery date = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delivery date = actual delivery date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 08:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-lfdat-delivery-date-problem/m-p/7027694#M1498908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T08:29:11Z</dc:date>
    </item>
  </channel>
</rss>

