<?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 How to use a BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085358#M432987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am given a condition as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   For each of the SO/SO item no, the billing plan no is taken from VBKD table. The billing plan no is validated for the status as "C" , billilng block as "SPACE" , bliing type as "ZFAZ" from FPLT table.  If all the conditons are successful, then BAPI_SALESORDER_CHANGE should be called to change the sales order and remove the billing block corresponding to the line item with billing rule as 3(FPLT-FAREG = 3) adn delete the records from the ZBBR table(Customised table created by me)  corresponding to the SO/SO item combination if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one have gone through this condition, can you please give me some sample codes to go through&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2007 11:39:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-17T11:39:06Z</dc:date>
    <item>
      <title>How to use a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085358#M432987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am given a condition as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   For each of the SO/SO item no, the billing plan no is taken from VBKD table. The billing plan no is validated for the status as "C" , billilng block as "SPACE" , bliing type as "ZFAZ" from FPLT table.  If all the conditons are successful, then BAPI_SALESORDER_CHANGE should be called to change the sales order and remove the billing block corresponding to the line item with billing rule as 3(FPLT-FAREG = 3) adn delete the records from the ZBBR table(Customised table created by me)  corresponding to the SO/SO item combination if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one have gone through this condition, can you please give me some sample codes to go through&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 11:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085358#M432987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T11:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085359#M432988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at i_vbap.&lt;/P&gt;&lt;P&gt;read table vbkd with vbeln = i_vbap - vbeln&lt;/P&gt;&lt;P&gt;                              posnr = posnr.&lt;/P&gt;&lt;P&gt;check one more table for the contions.&lt;/P&gt;&lt;P&gt;if sy-subrc eq0.&lt;/P&gt;&lt;P&gt;perform bapi.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 11:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085359#M432988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T11:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085360#M432989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Actually i have done the validations part. I dont know how to do with the BAPI. Can you please guide me in that regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Buvana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 11:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085360#M432989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T11:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085361#M432990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this  BAPI_SALESORDER_PROXY_UPLOAD  how the  BAPI_SALESORDER_CHANGE was used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 11:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085361#M432990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T11:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085362#M432991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;first u have to know what are the fields u have to pass to this BAPI---&amp;gt; for this u have to see the documentation of this BAPI in se37 or search for sample program in SDN ( dont raise one more post )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Here in this BAPI u will have 2 tables one for OLD and One for NEW , just check.&lt;/P&gt;&lt;P&gt;in the new table u have to pass all changes which u want to do ?---&amp;gt;I am not sure of this 2 tables , so please check the same in docuementations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.after this u have to COMMIT the work based on the RETURN tables i.e error log&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 11:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-a-bapi/m-p/2085362#M432991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T11:55:04Z</dc:date>
    </item>
  </channel>
</rss>

