<?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: BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/3306781#M791949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the documentation of the BADI it says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Use the routines from copy control if you want to transfer data from preceding documents into the delivery header. Because the call of the method FILL_DELIVERY_ITEM follows the repeated call of the copy routine, the system can only overwrite the delivery item data."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you put in your coding in the copy control routine, or else you could use method SAVE_DOCUMENT_PREPARE of the BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 07:29:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-05T07:29:14Z</dc:date>
    <item>
      <title>BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/3306780#M791948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Inbound delivery transaction,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a badi.. LE_SHP_DELIVERY_PROC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am creating a new delivery, the Quantity should automatically come based on some previous deliveries for that particular PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If purchase order qty of a material is 100.&lt;/P&gt;&lt;P&gt;I delivered 60 first.&lt;/P&gt;&lt;P&gt;Now when i am delivering remaining in a new delivery for dat PO it should automatically come 40 ( 100 - 60).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that i used a method FILL_DELIVERY_ITEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that i used the parameter CS_LIPS.&lt;/P&gt;&lt;P&gt;But, when i debug the same i came to know that CS_LIPS is assigned by LIPS dats why the values in CS_LIPS are over write by LISP values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to overcome .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls tell me any one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 07:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/3306780#M791948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T07:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/3306781#M791949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the documentation of the BADI it says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Use the routines from copy control if you want to transfer data from preceding documents into the delivery header. Because the call of the method FILL_DELIVERY_ITEM follows the repeated call of the copy routine, the system can only overwrite the delivery item data."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you put in your coding in the copy control routine, or else you could use method SAVE_DOCUMENT_PREPARE of the BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 07:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi/m-p/3306781#M791949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T07:29:14Z</dc:date>
    </item>
  </channel>
</rss>

