<?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 Batch Split In Delivery in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-split-in-delivery/m-p/11016272#M1897613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the BAPI BAPI_OUTB_DELIVERY_CHANGE to do the batch split in delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use the BAPI successfully but my concern is to where to use the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Scenario : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A background job is being used to create the delivery for the consignment orders. And a separate job is being used to do the PGI for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that this BAPI should be called as soon as delivery is saved so that the batch split is done. BAPI should be automatically called as delivery is created using a background job and client does not want to use any separate transaction code to execute the program i developed to do the batch splitting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if i can use any User exit where i can write my code to achieve this as it has to be called after the delivery is saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Approach:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am planning to schedule a background job which will trigger this Z program which further picks the delivery created on the current system date and do the batch splitting for them. I am not confident about this as there are already background jobs scheduled for Delivery creation and PGI so I do not want to conflict with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if anyone can help me with this.&lt;/P&gt;&lt;P&gt;&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;Prateek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 22:38:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-04-08T22:38:31Z</dc:date>
    <item>
      <title>Batch Split In Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-split-in-delivery/m-p/11016272#M1897613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the BAPI BAPI_OUTB_DELIVERY_CHANGE to do the batch split in delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use the BAPI successfully but my concern is to where to use the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Scenario : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A background job is being used to create the delivery for the consignment orders. And a separate job is being used to do the PGI for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that this BAPI should be called as soon as delivery is saved so that the batch split is done. BAPI should be automatically called as delivery is created using a background job and client does not want to use any separate transaction code to execute the program i developed to do the batch splitting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if i can use any User exit where i can write my code to achieve this as it has to be called after the delivery is saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Approach:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am planning to schedule a background job which will trigger this Z program which further picks the delivery created on the current system date and do the batch splitting for them. I am not confident about this as there are already background jobs scheduled for Delivery creation and PGI so I do not want to conflict with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if anyone can help me with this.&lt;/P&gt;&lt;P&gt;&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;Prateek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 22:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-split-in-delivery/m-p/11016272#M1897613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-08T22:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Split In Delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-split-in-delivery/m-p/11016273#M1897614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prateek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make your PGI job a two step process. The first step in the job would be perform the batch split and the second step would be to perform the PGI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do note that if the first step fails for some reason, the PGI process will happen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 00:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-split-in-delivery/m-p/11016273#M1897614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-09T00:37:22Z</dc:date>
    </item>
  </channel>
</rss>

