<?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 not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866024#M929151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Return messages are positive(PR correctly changed).&lt;/P&gt;&lt;P&gt;Here's the code&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2008 10:25:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-26T10:25:40Z</dc:date>
    <item>
      <title>BAPI_REQUISITION_DELETE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866022#M929149</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'm using this bapi to cancel a purchase requisition.&lt;/P&gt;&lt;P&gt;sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i go on eban i don't see the field LOEKZ = X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tony De Vivo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 09:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866022#M929149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_REQUISITION_DELETE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866023#M929150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are using the BAPI in worng way . Kindly tell what parameters you are passing to the BAPI . Also tell wht message u are getting after executing the BAPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 09:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866023#M929150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_REQUISITION_DELETE not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866024#M929151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Return messages are positive(PR correctly changed).&lt;/P&gt;&lt;P&gt;Here's the code&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 10:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-requisition-delete-not-working/m-p/3866024#M929151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T10:25:40Z</dc:date>
    </item>
  </channel>
</rss>

