<?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: Split Batch Validation on VL31N/VL32N in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13741908#M2028732</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/825467"&gt;@jackyhjj_sn28&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can implement any delivery validations with delivery user-exits as documented with the note&amp;nbsp;&lt;A href="https://me.sap.com/notes/415716" target="_blank" rel="noopener"&gt;415716 - User exits in delivery processing&lt;/A&gt;&amp;nbsp;Alternatively you can use the BAdI enhancement&amp;nbsp;LE_SHP_DELIVERY_PROC.&lt;/P&gt;&lt;P&gt;The message "Specified quantity is greater than the open quantity" is VL287. It is always sent as an information message and can't be customized - include&amp;nbsp;FV50PF0P_POS_GEN_AENDERN_2, form routine&amp;nbsp;position_generiert_aendern_2, line 411:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;    IF lo_menge &amp;lt; 0 AND v50agl-chargenfindung IS INITIAL.
*******************************************
*     ARun handling in Delivery document  *
*******************************************
      PERFORM arun_batch_split_validation IN PROGRAM arun_routines_obd IF FOUND
              USING go_arun_obd_process xlips xlips[] lips lo_menge v50agl-chargenfindung
                    v50agl-dialog t180-trtyp xlikp.
*----ARun handling in Delivery documents---*
      save_287_menge = save_287_menge + lo_menge.
      save_287_menge_flo = save_287_menge_flo + local_float.
      lo_menge = 0.
      local_float = 0.
      IF gs_lips_batch-called_by = char2.                   "v_n_1236368
        gs_lips_batch-lgmng = 0.
        gs_lips_batch-lgmng_flo = 0.
      ENDIF.                                                "^_n_1236368
      MESSAGE i287.
    ENDIF.&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 08:18:24 GMT</pubDate>
    <dc:creator>Dominik_Tylczynski</dc:creator>
    <dc:date>2024-06-25T08:18:24Z</dc:date>
    <item>
      <title>Split Batch Validation on VL31N/VL32N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13740110#M2028702</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;My team has a requirement to validate user entering split batch quantity that is greater than initial quantity on tcode VL31N/VL32N.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;Initial Quantity : 38 pcs -&amp;gt; Split batch into 3 batches,&lt;BR /&gt;- TEST01 - 15 pcs,&amp;nbsp;&lt;BR /&gt;- TEST02 - 15 pcs,&amp;nbsp;&lt;BR /&gt;- TEST03 - 15 pcs&lt;BR /&gt;&lt;BR /&gt;Since the total is 45 pcs -&amp;gt; we need to validate and don't let user save the documents until it change the split batch total to 38 pcs.&lt;BR /&gt;&lt;BR /&gt;Currently there is a warning/information dialog pop up from standard SAP, but it is just a warning, user still can save the document, and SAP update the initial quantity from 38pcs to 45pcs (which we don't want this scenario to happen).&lt;BR /&gt;&lt;BR /&gt;Have been trying a several enhancement point but there is no solutions for this validation, any help is appreciated. &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏🏻&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 02:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13740110#M2028702</guid>
      <dc:creator>jackyhjj_sn28</dc:creator>
      <dc:date>2024-06-24T02:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Split Batch Validation on VL31N/VL32N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13740725#M2028707</link>
      <description>&lt;P&gt;Questions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is an overdelivery tolerance or underdelivery tolerance maintained in the order item for the delivery item with a batch split.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;Did you check Customizing overdelivery or underdelivery (&lt;SPAN&gt;TVLP-UEBPR)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 24 Jun 2024 09:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13740725#M2028707</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2024-06-24T09:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Split Batch Validation on VL31N/VL32N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13741908#M2028732</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/825467"&gt;@jackyhjj_sn28&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can implement any delivery validations with delivery user-exits as documented with the note&amp;nbsp;&lt;A href="https://me.sap.com/notes/415716" target="_blank" rel="noopener"&gt;415716 - User exits in delivery processing&lt;/A&gt;&amp;nbsp;Alternatively you can use the BAdI enhancement&amp;nbsp;LE_SHP_DELIVERY_PROC.&lt;/P&gt;&lt;P&gt;The message "Specified quantity is greater than the open quantity" is VL287. It is always sent as an information message and can't be customized - include&amp;nbsp;FV50PF0P_POS_GEN_AENDERN_2, form routine&amp;nbsp;position_generiert_aendern_2, line 411:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;    IF lo_menge &amp;lt; 0 AND v50agl-chargenfindung IS INITIAL.
*******************************************
*     ARun handling in Delivery document  *
*******************************************
      PERFORM arun_batch_split_validation IN PROGRAM arun_routines_obd IF FOUND
              USING go_arun_obd_process xlips xlips[] lips lo_menge v50agl-chargenfindung
                    v50agl-dialog t180-trtyp xlikp.
*----ARun handling in Delivery documents---*
      save_287_menge = save_287_menge + lo_menge.
      save_287_menge_flo = save_287_menge_flo + local_float.
      lo_menge = 0.
      local_float = 0.
      IF gs_lips_batch-called_by = char2.                   "v_n_1236368
        gs_lips_batch-lgmng = 0.
        gs_lips_batch-lgmng_flo = 0.
      ENDIF.                                                "^_n_1236368
      MESSAGE i287.
    ENDIF.&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 08:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13741908#M2028732</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2024-06-25T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Split Batch Validation on VL31N/VL32N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13741940#M2028735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/185148"&gt;@RaymondGiuseppi&lt;/a&gt;&amp;nbsp;, thanks for your prompt reply.&lt;BR /&gt;we are not using those config, as per our understanding, those configs is the tolerance for PO Qty with Delivery Qty.&lt;BR /&gt;But in my case, we want to validate the amount of initial delivery quantity with the total of the split batch quantity.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 08:52:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13741940#M2028735</guid>
      <dc:creator>jackyhjj_sn28</dc:creator>
      <dc:date>2024-06-25T08:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split Batch Validation on VL31N/VL32N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13742873#M2028751</link>
      <description>&lt;P&gt;HI, that is the code that I want to change, can you please help to point me to the right directions to which one user exit ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 06:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13742873#M2028751</guid>
      <dc:creator>jackyhjj_sn28</dc:creator>
      <dc:date>2024-06-26T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Split Batch Validation on VL31N/VL32N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13742893#M2028753</link>
      <description>&lt;P&gt;As you can see there is no user-exit or any other enhancment around VL287 message. It is always issued as an information message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can either change the SAP standard code and make the message an error one (be aware of possible side effects and test throughly) or use one of the enhancement I've mentioned previousely to implement your own validation.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 07:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-batch-validation-on-vl31n-vl32n/m-p/13742893#M2028753</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2024-06-26T07:20:38Z</dc:date>
    </item>
  </channel>
</rss>

