<?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 USEREXIT_BATCH_DETERMINATION  - in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-batch-determination/m-p/7042898#M1500957</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;I need some help in batch determination user-exit in delivery processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing the MCHA-CHARG, into lips-charg. and delivery is created as expected with the selected batch. BUT issue is if the batch is not having sufficeint quanity, then I would like the system to pick the next batch by adding other delivery line item with 90000, 900001, 900003, 900003 etc until .. all open qty become 0. Please help me where should I code this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*... ALLGEMEINE PRüFUNG DER CHARGE
     PERFORM LIPS-CHARG_PRUEFEN_ALLGEMEIN(SAPFV50P) USING LIPS-MATNR
                                                         LIPS-WERKS
                                                         MCHA-CHARG
                                                         LIPS-SOBKZ
                                                         SY-DATUM
                                                         LIKP-LFDAT
                                                         SPACE
                                                         UBD_SUBRC.
      IF UBD_SUBRC = 0.
        LIPS-CHARG = MCHA-CHARG.                "CHARGE üBERNEHMEN
     ENDIF.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case Delivery Qty is more then available batch quantity, it is taking only the available batch qty and creating Delv. remaining qty is left open, Instead I would like to add other line 900002 and take the next batch. please suggest how to acheive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 20:19:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-23T20:19:45Z</dc:date>
    <item>
      <title>USEREXIT_BATCH_DETERMINATION  -</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-batch-determination/m-p/7042898#M1500957</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;I need some help in batch determination user-exit in delivery processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing the MCHA-CHARG, into lips-charg. and delivery is created as expected with the selected batch. BUT issue is if the batch is not having sufficeint quanity, then I would like the system to pick the next batch by adding other delivery line item with 90000, 900001, 900003, 900003 etc until .. all open qty become 0. Please help me where should I code this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*... ALLGEMEINE PRüFUNG DER CHARGE
     PERFORM LIPS-CHARG_PRUEFEN_ALLGEMEIN(SAPFV50P) USING LIPS-MATNR
                                                         LIPS-WERKS
                                                         MCHA-CHARG
                                                         LIPS-SOBKZ
                                                         SY-DATUM
                                                         LIKP-LFDAT
                                                         SPACE
                                                         UBD_SUBRC.
      IF UBD_SUBRC = 0.
        LIPS-CHARG = MCHA-CHARG.                "CHARGE üBERNEHMEN
     ENDIF.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case Delivery Qty is more then available batch quantity, it is taking only the available batch qty and creating Delv. remaining qty is left open, Instead I would like to add other line 900002 and take the next batch. please suggest how to acheive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 20:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-batch-determination/m-p/7042898#M1500957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T20:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXIT_BATCH_DETERMINATION  -</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-batch-determination/m-p/7042899#M1500958</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 am not seeing any response for this question. can someone please reply and show me the path to begin with or at least ask me more questions, if my question is not clear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anitha Reddy Rapole on Jul 26, 2010 6:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 13:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-batch-determination/m-p/7042899#M1500958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-26T13:20:11Z</dc:date>
    </item>
  </channel>
</rss>

