<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments for SAP EWM Help	</title>
	<atom:link href="https://www.sapewmhelp.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sapewmhelp.com</link>
	<description>SAP EWM questions answered by experts — ABAP, S/4HANA, warehouse management</description>
	<lastBuildDate>Sat, 01 Aug 2026 15:40:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.3</generator>
	<item>
		<title>
		Comment on Function module/BAPI/Class for Cancel pick in SAP EWM by admin		</title>
		<link>https://www.sapewmhelp.com/question/function-module-bapi-class-for-cancel-pick-in-sap-ewm-2/#comment-309</link>

		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 01 Aug 2026 15:40:14 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/question/function-module-bapi-class-for-cancel-pick-in-sap-ewm-2/#comment-309</guid>

					<description><![CDATA[Try following code, It will work

FUNCTION zewm_f_cancel_pick.
*&quot;----------------------------------------------------------------------
*&quot;*&quot;Local Interface:
*&quot;  IMPORTING
*&quot;     VALUE(IV_LGNUM) TYPE  /SCWM/LGNUM
*&quot;     VALUE(IT_DOCID) TYPE  /SCWM/DLV_DOCID_ITEM_TAB
*&quot;     VALUE(IV_QNAME) TYPE  TRFCQNAM
*&quot;----------------------------------------------------------------------
  WAIT UP TO 2 SECONDS.
  DATA: lo_hu_mon    TYPE REF TO zcl_ewm_cancpick_mon.
  DATA: lv_noexecute TYPE sy-input.
  DATA: lt_ret       TYPE bapirettab.
  DATA: lv_msg       TYPE msgtx.

*--Append message for queue start
  MESSAGE s171 INTO lv_msg.
  PERFORM add_message TABLES lt_ret
                      USING  lv_msg.

*--Get HU List
  TRY.
      DATA(lo_dlv) = /scwm/cl_dlv_management_prd=&#062;get_instance( ).
      DATA(ls_read_options) = VALUE /scwm/dlv_query_contr_str( data_retrival_only = abap_true ). &quot;lock_result = abap_true
      DATA(ls_include)      = VALUE /scwm/dlv_query_incl_str_prd( head_status = abap_true ).
      lo_dlv-&#062;query(
        EXPORTING
          iv_doccat       = /scdl/if_dl_c=&#062;sc_doccat_out_prd
          it_docid        = it_docid
          is_read_options = ls_read_options
          is_include_data = ls_include
        IMPORTING
          et_headers      = DATA(lt_headers)
          et_hu_headers   = DATA(lt_hu_headers)
          et_hu_items     = DATA(lt_hu_items)
          eo_message      = DATA(lo_message) ).

    CATCH /scdl/cx_delivery INTO DATA(lx_dlv).

  ENDTRY.

*--Cancelpick Delivery
  lo_hu_mon = zcl_ewm_cancpick_mon=&#062;get_instance( ).

  lo_hu_mon-&#062;/scwm/if_mon_hu~cancel_hu_pick(
    EXPORTING
      iv_lgnum = iv_lgnum
      it_data  = lt_hu_headers
  ).

  DATA(lt_return) = lo_hu_mon-&#062;get_message( ).

*--Append message for queue ending
  MESSAGE s172 INTO lv_msg.
  PERFORM add_message TABLES lt_ret
                      USING  lv_msg.

*--form return table for the queue
  IF lt_ret[] IS NOT INITIAL.
    APPEND LINES OF lt_ret TO lt_return.
  ENDIF.

  IF VALUE #( lt_return[ type = &#039;E&#039; ]-type OPTIONAL ) = &#039;E&#039;.
    /spe/cl_qrfc_services=&#062;end_queue_processing(
      EXPORTING
        it_message = lt_return                 &quot; Table with BAPI Return Information
    ).
  ENDIF.
  /spe/cl_qrfc_services=&#062;end_queue_processing(
    EXPORTING
      it_message = lt_return                 &quot; Table with BAPI Return Information
  ).

*create Queue FM for update
  CALL FUNCTION &#039;TRFC_SET_QIN_PROPERTIES&#039;
    EXPORTING
      qin_name           = iv_qname
      no_execute         = lv_noexecute
    EXCEPTIONS
      invalid_queue_name = 1
      OTHERS             = 2.

  CALL FUNCTION &#039;ZEWM_F_CANCEL_PICK_MOVE&#039;
    IN BACKGROUND TASK AS SEPARATE UNIT
    DESTINATION &#039;NONE&#039;
    EXPORTING
      iv_lgnum  = iv_lgnum
      it_hu_hdr = lt_hu_headers
      it_hu_itm = lt_hu_items.

  COMMIT WORK AND WAIT.

  /spe/cl_qrfc_services=&#062;end_queue_processing(
    EXPORTING
      it_message = lt_return                 &quot; Table with BAPI Return Information
  ).
ENDFUNCTION.]]></description>
			<content:encoded><![CDATA[<p>Try following code, It will work</p>
<p>FUNCTION zewm_f_cancel_pick.<br />
*&#8221;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
*&#8221;*&#8221;Local Interface:<br />
*&#8221;  IMPORTING<br />
*&#8221;     VALUE(IV_LGNUM) TYPE  /SCWM/LGNUM<br />
*&#8221;     VALUE(IT_DOCID) TYPE  /SCWM/DLV_DOCID_ITEM_TAB<br />
*&#8221;     VALUE(IV_QNAME) TYPE  TRFCQNAM<br />
*&#8221;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
  WAIT UP TO 2 SECONDS.<br />
  DATA: lo_hu_mon    TYPE REF TO zcl_ewm_cancpick_mon.<br />
  DATA: lv_noexecute TYPE sy-input.<br />
  DATA: lt_ret       TYPE bapirettab.<br />
  DATA: lv_msg       TYPE msgtx.</p>
<p>*&#8211;Append message for queue start<br />
  MESSAGE s171 INTO lv_msg.<br />
  PERFORM add_message TABLES lt_ret<br />
                      USING  lv_msg.</p>
<p>*&#8211;Get HU List<br />
  TRY.<br />
      DATA(lo_dlv) = /scwm/cl_dlv_management_prd=&gt;get_instance( ).<br />
      DATA(ls_read_options) = VALUE /scwm/dlv_query_contr_str( data_retrival_only = abap_true ). &#8220;lock_result = abap_true<br />
      DATA(ls_include)      = VALUE /scwm/dlv_query_incl_str_prd( head_status = abap_true ).<br />
      lo_dlv-&gt;query(<br />
        EXPORTING<br />
          iv_doccat       = /scdl/if_dl_c=&gt;sc_doccat_out_prd<br />
          it_docid        = it_docid<br />
          is_read_options = ls_read_options<br />
          is_include_data = ls_include<br />
        IMPORTING<br />
          et_headers      = DATA(lt_headers)<br />
          et_hu_headers   = DATA(lt_hu_headers)<br />
          et_hu_items     = DATA(lt_hu_items)<br />
          eo_message      = DATA(lo_message) ).</p>
<p>    CATCH /scdl/cx_delivery INTO DATA(lx_dlv).</p>
<p>  ENDTRY.</p>
<p>*&#8211;Cancelpick Delivery<br />
  lo_hu_mon = zcl_ewm_cancpick_mon=&gt;get_instance( ).</p>
<p>  lo_hu_mon-&gt;/scwm/if_mon_hu~cancel_hu_pick(<br />
    EXPORTING<br />
      iv_lgnum = iv_lgnum<br />
      it_data  = lt_hu_headers<br />
  ).</p>
<p>  DATA(lt_return) = lo_hu_mon-&gt;get_message( ).</p>
<p>*&#8211;Append message for queue ending<br />
  MESSAGE s172 INTO lv_msg.<br />
  PERFORM add_message TABLES lt_ret<br />
                      USING  lv_msg.</p>
<p>*&#8211;form return table for the queue<br />
  IF lt_ret[] IS NOT INITIAL.<br />
    APPEND LINES OF lt_ret TO lt_return.<br />
  ENDIF.</p>
<p>  IF VALUE #( lt_return[ type = &#8216;E&#8217; ]-type OPTIONAL ) = &#8216;E&#8217;.<br />
    /spe/cl_qrfc_services=&gt;end_queue_processing(<br />
      EXPORTING<br />
        it_message = lt_return                 &#8221; Table with BAPI Return Information<br />
    ).<br />
  ENDIF.<br />
  /spe/cl_qrfc_services=&gt;end_queue_processing(<br />
    EXPORTING<br />
      it_message = lt_return                 &#8221; Table with BAPI Return Information<br />
  ).</p>
<p>*create Queue FM for update<br />
  CALL FUNCTION &#8216;TRFC_SET_QIN_PROPERTIES&#8217;<br />
    EXPORTING<br />
      qin_name           = iv_qname<br />
      no_execute         = lv_noexecute<br />
    EXCEPTIONS<br />
      invalid_queue_name = 1<br />
      OTHERS             = 2.</p>
<p>  CALL FUNCTION &#8216;ZEWM_F_CANCEL_PICK_MOVE&#8217;<br />
    IN BACKGROUND TASK AS SEPARATE UNIT<br />
    DESTINATION &#8216;NONE&#8217;<br />
    EXPORTING<br />
      iv_lgnum  = iv_lgnum<br />
      it_hu_hdr = lt_hu_headers<br />
      it_hu_itm = lt_hu_items.</p>
<p>  COMMIT WORK AND WAIT.</p>
<p>  /spe/cl_qrfc_services=&gt;end_queue_processing(<br />
    EXPORTING<br />
      it_message = lt_return                 &#8221; Table with BAPI Return Information<br />
  ).<br />
ENDFUNCTION.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on What is the use of SAP Cloud Connector in SAP BTP, and how do you set it up step by step? by Joanna Riggs		</title>
		<link>https://www.sapewmhelp.com/question/what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step/#comment-308</link>

		<dc:creator><![CDATA[Joanna Riggs]]></dc:creator>
		<pubDate>Thu, 23 Jul 2026 17:21:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step#comment-308</guid>

					<description><![CDATA[Hi,

I just visited sapewmhelp.com and wondered if you&#039;ve ever considered an impactful video to advertise your business? Our videos can generate impressive results on both your website and across social media.

Our videos cost just $195 (USD) for a 30 second video ($239 for 60 seconds) and include a full script, voice-over and video.

I can show you some previous videos we&#039;ve done if you want me to send some over. Let me know if you&#039;re interested in seeing samples of our previous work.

Regards,
Joanna

Unsubscribe: https://unsubscribe.video/unsubscribe.php?d=sapewmhelp.com]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I just visited sapewmhelp.com and wondered if you&#8217;ve ever considered an impactful video to advertise your business? Our videos can generate impressive results on both your website and across social media.</p>
<p>Our videos cost just $195 (USD) for a 30 second video ($239 for 60 seconds) and include a full script, voice-over and video.</p>
<p>I can show you some previous videos we&#8217;ve done if you want me to send some over. Let me know if you&#8217;re interested in seeing samples of our previous work.</p>
<p>Regards,<br />
Joanna</p>
<p>Unsubscribe: <a href="https://unsubscribe.video/unsubscribe.php?d=sapewmhelp.com" rel="nofollow ugc">https://unsubscribe.video/unsubscribe.php?d=sapewmhelp.com</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to Pallet Packing in SAP ECC by admin		</title>
		<link>https://www.sapewmhelp.com/question/how-to-pallet-packing-in-sap-ecc/#comment-307</link>

		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 18 Jul 2026 18:56:47 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/question/how-to-pallet-packing-in-sap-ecc/#comment-307</guid>

					<description><![CDATA[&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;h2 class=&quot;text-text-100 mt-3 -mb-1 text-[1.375rem] font-bold&quot;&gt;&lt;span&gt;How to &lt;/span&gt;&lt;span&gt;Do Pallet Packing in SAP ECC (Nesting &lt;/span&gt;&lt;span&gt;an Outer Box HU into a Pallet HU)&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;h3 class=&quot;text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold&quot;&gt;&lt;span&gt;Question&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;p class=&quot;font-claude-response-body break-words whitespace-normal&quot;&gt;&lt;span&gt;I need to pack an &lt;/span&gt;&lt;span&gt;already-built &lt;/span&gt;&lt;strong&gt;&lt;span&gt;outer box&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; (a &lt;/span&gt;&lt;span&gt;lower-level Handling Unit) onto a &lt;/span&gt;&lt;strong&gt;&lt;span&gt;pallet&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; HU in SAP ECC using standard &lt;/span&gt;&lt;span&gt;function modules. What&#039;s the correct &lt;/span&gt;&lt;span&gt;sequence, and how do I build the &lt;/span&gt;&lt;span&gt;packing request so the box gets nested &lt;/span&gt;&lt;span&gt;inside the pallet? Below is the &lt;/span&gt;&lt;span&gt;approach I used.&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;h3 class=&quot;text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold&quot;&gt;&lt;span&gt;Answer&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;p class=&quot;font-claude-response-body break-words whitespace-normal&quot;&gt;&lt;span&gt;The &lt;/span&gt;&lt;span&gt;concept here is HU &lt;/span&gt;&lt;strong&gt;&lt;span&gt;nesting&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; — like &lt;/span&gt;&lt;span&gt;Russian nesting dolls: the product sits &lt;/span&gt;&lt;span&gt;in a box, and that box (the &lt;/span&gt;&lt;em&gt;&lt;span&gt;outer box HU&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span&gt;) sits on a pallet (the &lt;/span&gt;&lt;em&gt;&lt;span&gt;pallet HU&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span&gt;). This routine performs one &lt;/span&gt;&lt;span&gt;nesting step: placing the outer box &lt;/span&gt;&lt;strong&gt;&lt;span&gt;into&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; the pallet.&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;p class=&quot;font-claude-response-body break-words whitespace-normal&quot;&gt;&lt;span&gt;The key is to &lt;/span&gt;&lt;span&gt;follow the standard sequence in order — &lt;/span&gt;&lt;strong&gt;&lt;span&gt;Refresh → Get/Lock HUs → Pack → Post&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;. Skipping any step (especially the &lt;/span&gt;&lt;span&gt;refresh or the lock) is the usual cause &lt;/span&gt;&lt;span&gt;of packing that &quot;works once then &lt;/span&gt;&lt;span&gt;silently fails.&quot;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;p class=&quot;font-claude-response-body break-words whitespace-normal&quot;&gt;&lt;strong&gt;&lt;span&gt;Building the packing request (&lt;code&gt;ls_pack_req&lt;/code&gt;):&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ul&gt;
 	&lt;li&gt;&lt;span&gt;&lt;code&gt;venum&lt;/code&gt; / &lt;code&gt;exidv&lt;/code&gt; → the &lt;/span&gt;&lt;strong&gt;&lt;span&gt;target&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; pallet HU (what you pack &lt;/span&gt;&lt;em&gt;&lt;span&gt;into&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span&gt;)&lt;/span&gt;&lt;/li&gt;
 	&lt;li&gt;&lt;span&gt;&lt;code&gt;sub_hu_venum&lt;/code&gt; / &lt;code&gt;sub_hu_exidv&lt;/code&gt;&lt;/span&gt;&lt;span&gt; → the &lt;/span&gt;&lt;strong&gt;&lt;span&gt;content&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; outer &lt;/span&gt;&lt;span&gt;box HU (what gets packed)&lt;/span&gt;&lt;/li&gt;
 	&lt;li&gt;&lt;span&gt;&lt;code&gt;pagew&lt;/code&gt; → &lt;/span&gt;&lt;span&gt;weight, &lt;code&gt;veanz = 1&lt;/code&gt; → one unit, &lt;code&gt;velin = 3&lt;/code&gt;&lt;/span&gt;&lt;span&gt; → item category for &lt;/span&gt;&lt;strong&gt;&lt;span&gt;HU-in-HU&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; (packing a whole HU, not &lt;/span&gt;&lt;span&gt;loose material)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;p class=&quot;font-claude-response-body break-words whitespace-normal&quot;&gt;&lt;strong&gt;&lt;span&gt;The four SAP standard function modules used:&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;_chunkWrapper_yu34g_39&quot;&gt;
&lt;div class=&quot;overflow-x-auto w-full px-2 mb-6&quot;&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;span&gt; Function Module&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/th&gt;
&lt;th&gt;&lt;span&gt;Purpose&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;&lt;code&gt;HU_PACKING_REFRESH&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;Clears the HU work buffer for a &lt;/span&gt;&lt;span&gt;clean start&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;&lt;code&gt;HU_GET_HUS&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;Reads &lt;/span&gt;&lt;strong&gt;&lt;span&gt;and locks&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt; both HUs for exclusive &lt;/span&gt;&lt;span&gt;access&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;&lt;code&gt;HU_PACKING_AND_UNPACKING&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;Performs the actual packing in the &lt;/span&gt;&lt;span&gt;buffer&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span&gt;&lt;code&gt;HU_POST&lt;/code&gt; (&lt;code&gt;if_commit = &#039;X&#039;&lt;/code&gt;)&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span&gt;Saves and commits the result to &lt;/span&gt;&lt;span&gt;the database&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p class=&quot;font-claude-response-body break-words whitespace-normal&quot;&gt;After each call, &lt;code&gt;sy-subrc&lt;/code&gt; is checked. On failure, the SAP message is captured into the status field and the routine exits; on success, the record is stamped with status, date, time, and user.&lt;/p&gt;

&lt;h4 class=&quot;text-text-100 mt-2 -mb-1 text-base font-bold&quot;&gt;Code&lt;/h4&gt;
&lt;blockquote&gt;ls_pack_req-venum = ls_vekp_pal-venum.
ls_pack_req-exidv = ls_vekp_pal-exidv.

*--Fill Outerbox as lower level HU
ls_pack_req-sub_hu_venum = ls_vekp_out-venum.
ls_pack_req-sub_hu_exidv = ls_vekp_out-exidv.

*--Fill quantity
ls_pack_req-pagew = ls_pallet-pallet_wt.
ls_pack_req-veanz = &#039;1&#039;.
ls_pack_req-velin = &#039;3&#039;.

ls_venom-venum = ls_vekp_out-venum.
append ls_venom to lt_venom.
clear ls_venom.
ls_venom-venum = ls_vekp_pal-venum. &quot;gs_pallet-venum.
append ls_venom to lt_venom.
clear ls_venom.
*--Refresh
call function &#039;HU_PACKING_REFRESH&#039;.
*--Get HU headers
call function &#039;HU_GET_HUS&#039;
exporting
if_object = &#039;04&#039;
if_lock_hus = &#039;X&#039;
it_venum = lt_venom
importing
et_header = lt_header
exceptions
hus_locked = 1
no_hu_found = 2
fatal_error = 3
others = 4.
*--Do the packing
if sy-subrc eq 0.
call function &#039;HU_PACKING_AND_UNPACKING&#039;
exporting
is_packing_request = ls_pack_req
exceptions
missing_data = 1
hu_not_changeable = 2
not_possible = 3
customizing = 4
weight = 5
volume = 6
serial_nr = 7
fatal_error = 8
others = 9.

if sy-subrc = 0.
call function &#039;HU_POST&#039;
exporting
if_synchron = &#039;X&#039;
if_commit = &#039;X&#039;.

&#060;lfs_data&#062;-status = text-020.
&#060;lfs_data&#062;-error_msg = text-s01.
&#060;lfs_data&#062;-idate = sy-datum.
&#060;lfs_data&#062;-itime = sy-uzeit.
&#060;lfs_data&#062;-iuser = sy-uname.
else.
&#060;lfs_data&#062;-status = text-019.
message id sy-msgid
type sy-msgty
number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
into &#060;lfs_data&#062;-error_msg.
lv_error = abap_true.
lv_msg = &#060;lfs_data&#062;-error_msg.
exit.
endif.
else.
&#060;lfs_data&#062;-idate = sy-datum.
&#060;lfs_data&#062;-itime = sy-uzeit.
&#060;lfs_data&#062;-iuser = sy-uname.
&#060;lfs_data&#062;-status = text-019.
message id sy-msgid
type sy-msgty
number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
into &#060;lfs_data&#062;-error_msg.
lv_error = abap_true.
lv_msg = &#060;lfs_data&#062;-error_msg.
exit.
endif.&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;]]></description>
			<content:encoded><![CDATA[<div class="_chunkWrapper_yu34g_39">
<h2 class="text-text-100 mt-3 -mb-1 text-[1.375rem] font-bold"><span>How to </span><span>Do Pallet Packing in SAP ECC (Nesting </span><span>an Outer Box HU into a Pallet HU)</span></h2>
</div>
<div class="_chunkWrapper_yu34g_39">
<h3 class="text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold"><span>Question</span><span></span></h3>
</div>
<div class="_chunkWrapper_yu34g_39">
<p class="font-claude-response-body break-words whitespace-normal"><span>I need to pack an </span><span>already-built </span><strong><span>outer box</span><span></span></strong><span> (a </span><span>lower-level Handling Unit) onto a </span><strong><span>pallet</span><span></span></strong><span> HU in SAP ECC using standard </span><span>function modules. What&#8217;s the correct </span><span>sequence, and how do I build the </span><span>packing request so the box gets nested </span><span>inside the pallet? Below is the </span><span>approach I used.</span></p>
</div>
<div class="_chunkWrapper_yu34g_39">
<h3 class="text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold"><span>Answer</span><span></span></h3>
</div>
<div class="_chunkWrapper_yu34g_39">
<p class="font-claude-response-body break-words whitespace-normal"><span>The </span><span>concept here is HU </span><strong><span>nesting</span><span></span></strong><span> — like </span><span>Russian nesting dolls: the product sits </span><span>in a box, and that box (the </span><em><span>outer box HU</span><span></span></em><span>) sits on a pallet (the </span><em><span>pallet HU</span><span></span></em><span>). This routine performs one </span><span>nesting step: placing the outer box </span><strong><span>into</span><span></span></strong><span> the pallet.</span></p>
</div>
<div class="_chunkWrapper_yu34g_39">
<p class="font-claude-response-body break-words whitespace-normal"><span>The key is to </span><span>follow the standard sequence in order — </span><strong><span>Refresh → Get/Lock HUs → Pack → Post</span><span></span></strong><span>. Skipping any step (especially the </span><span>refresh or the lock) is the usual cause </span><span>of packing that &#8220;works once then </span><span>silently fails.&#8221;</span></p>
</div>
<div class="_chunkWrapper_yu34g_39">
<p class="font-claude-response-body break-words whitespace-normal"><strong><span>Building the packing request (<code>ls_pack_req</code>):</span><span></span></strong><span></span></p>
<ul>
<li><span><code>venum</code> / <code>exidv</code> → the </span><strong><span>target</span><span></span></strong><span> pallet HU (what you pack </span><em><span>into</span><span></span></em><span>)</span></li>
<li><span><code>sub_hu_venum</code> / <code>sub_hu_exidv</code></span><span> → the </span><strong><span>content</span><span></span></strong><span> outer </span><span>box HU (what gets packed)</span></li>
<li><span><code>pagew</code> → </span><span>weight, <code>veanz = 1</code> → one unit, <code>velin = 3</code></span><span> → item category for </span><strong><span>HU-in-HU</span><span></span></strong><span> (packing a whole HU, not </span><span>loose material)</span></li>
</ul>
</div>
<div class="_chunkWrapper_yu34g_39">
<p class="font-claude-response-body break-words whitespace-normal"><strong><span>The four SAP standard function modules used:</span><span></span></strong><span></span></p>
</div>
<div class="_chunkWrapper_yu34g_39">
<div class="overflow-x-auto w-full px-2 mb-6">
<table>
<thead>
<tr>
<th><span> Function Module</span><span></span></th>
<th><span>Purpose</span><span></span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span><code>HU_PACKING_REFRESH</code></span><span></span></td>
<td><span>Clears the HU work buffer for a </span><span>clean start</span></td>
</tr>
<tr>
<td><span><code>HU_GET_HUS</code></span><span></span></td>
<td><span>Reads </span><strong><span>and locks</span><span></span></strong><span> both HUs for exclusive </span><span>access</span></td>
</tr>
<tr>
<td><span><code>HU_PACKING_AND_UNPACKING</code></span><span></span></td>
<td><span>Performs the actual packing in the </span><span>buffer</span></td>
</tr>
<tr>
<td><span><code>HU_POST</code> (<code>if_commit = 'X'</code>)</span><span></span></td>
<td><span>Saves and commits the result to </span><span>the database</span></td>
</tr>
</tbody>
</table>
<p class="font-claude-response-body break-words whitespace-normal">After each call, <code>sy-subrc</code> is checked. On failure, the SAP message is captured into the status field and the routine exits; on success, the record is stamped with status, date, time, and user.</p>
<h4 class="text-text-100 mt-2 -mb-1 text-base font-bold">Code</h4>
<blockquote><p>ls_pack_req-venum = ls_vekp_pal-venum.<br />
ls_pack_req-exidv = ls_vekp_pal-exidv.</p>
<p>*&#8211;Fill Outerbox as lower level HU<br />
ls_pack_req-sub_hu_venum = ls_vekp_out-venum.<br />
ls_pack_req-sub_hu_exidv = ls_vekp_out-exidv.</p>
<p>*&#8211;Fill quantity<br />
ls_pack_req-pagew = ls_pallet-pallet_wt.<br />
ls_pack_req-veanz = &#8216;1&#8217;.<br />
ls_pack_req-velin = &#8216;3&#8217;.</p>
<p>ls_venom-venum = ls_vekp_out-venum.<br />
append ls_venom to lt_venom.<br />
clear ls_venom.<br />
ls_venom-venum = ls_vekp_pal-venum. &#8220;gs_pallet-venum.<br />
append ls_venom to lt_venom.<br />
clear ls_venom.<br />
*&#8211;Refresh<br />
call function &#8216;HU_PACKING_REFRESH&#8217;.<br />
*&#8211;Get HU headers<br />
call function &#8216;HU_GET_HUS&#8217;<br />
exporting<br />
if_object = &#8217;04&#8217;<br />
if_lock_hus = &#8216;X&#8217;<br />
it_venum = lt_venom<br />
importing<br />
et_header = lt_header<br />
exceptions<br />
hus_locked = 1<br />
no_hu_found = 2<br />
fatal_error = 3<br />
others = 4.<br />
*&#8211;Do the packing<br />
if sy-subrc eq 0.<br />
call function &#8216;HU_PACKING_AND_UNPACKING&#8217;<br />
exporting<br />
is_packing_request = ls_pack_req<br />
exceptions<br />
missing_data = 1<br />
hu_not_changeable = 2<br />
not_possible = 3<br />
customizing = 4<br />
weight = 5<br />
volume = 6<br />
serial_nr = 7<br />
fatal_error = 8<br />
others = 9.</p>
<p>if sy-subrc = 0.<br />
call function &#8216;HU_POST&#8217;<br />
exporting<br />
if_synchron = &#8216;X&#8217;<br />
if_commit = &#8216;X&#8217;.</p>
<p>&lt;lfs_data&gt;-status = text-020.<br />
&lt;lfs_data&gt;-error_msg = text-s01.<br />
&lt;lfs_data&gt;-idate = sy-datum.<br />
&lt;lfs_data&gt;-itime = sy-uzeit.<br />
&lt;lfs_data&gt;-iuser = sy-uname.<br />
else.<br />
&lt;lfs_data&gt;-status = text-019.<br />
message id sy-msgid<br />
type sy-msgty<br />
number sy-msgno<br />
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4<br />
into &lt;lfs_data&gt;-error_msg.<br />
lv_error = abap_true.<br />
lv_msg = &lt;lfs_data&gt;-error_msg.<br />
exit.<br />
endif.<br />
else.<br />
&lt;lfs_data&gt;-idate = sy-datum.<br />
&lt;lfs_data&gt;-itime = sy-uzeit.<br />
&lt;lfs_data&gt;-iuser = sy-uname.<br />
&lt;lfs_data&gt;-status = text-019.<br />
message id sy-msgid<br />
type sy-msgty<br />
number sy-msgno<br />
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4<br />
into &lt;lfs_data&gt;-error_msg.<br />
lv_error = abap_true.<br />
lv_msg = &lt;lfs_data&gt;-error_msg.<br />
exit.<br />
endif.</p></blockquote>
</div>
</div>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on What is the use of SAP Cloud Connector in SAP BTP, and how do you set it up step by step? by Joanna Riggs		</title>
		<link>https://www.sapewmhelp.com/question/what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step/#comment-296</link>

		<dc:creator><![CDATA[Joanna Riggs]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:54:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step#comment-296</guid>

					<description><![CDATA[Hi,

I just visited sapewmhelp.com and wondered if you&#039;ve ever considered an impactful video to advertise your business? Our videos can generate impressive results on both your website and across social media.

Our prices start from just $195 (USD).

Let me know if you&#039;re interested in seeing samples of our previous work.

Regards,
Joanna]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I just visited sapewmhelp.com and wondered if you&#8217;ve ever considered an impactful video to advertise your business? Our videos can generate impressive results on both your website and across social media.</p>
<p>Our prices start from just $195 (USD).</p>
<p>Let me know if you&#8217;re interested in seeing samples of our previous work.</p>
<p>Regards,<br />
Joanna</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Create TU in SAP Extended Warehouse Management &#8211; EWM by ฝาก ขาย บ้าน ภาษา อังกฤษ		</title>
		<link>https://www.sapewmhelp.com/create-tu-in-sap-extended-warehouse-management-ewm/#comment-299</link>

		<dc:creator><![CDATA[ฝาก ขาย บ้าน ภาษา อังกฤษ]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:54:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?p=7105#comment-299</guid>

					<description><![CDATA[I like what you guys are up too. Such clever work and exposure!
Keep up the amazing works guys I&#039;ve added you guys to my personal blogroll.


Also visit my web page - &lt;a href=&quot;https://hardin-lindhardt-2.hubstack.net/how-to-restore-we-accept-listings-for-houses-for-sale-in-thailand-1778657607&quot; rel=&quot;nofollow ugc&quot;&gt;ฝาก ขาย บ้าน ภาษา อังกฤษ&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>I like what you guys are up too. Such clever work and exposure!<br />
Keep up the amazing works guys I&#8217;ve added you guys to my personal blogroll.</p>
<p>Also visit my web page &#8211; <a href="https://hardin-lindhardt-2.hubstack.net/how-to-restore-we-accept-listings-for-houses-for-sale-in-thailand-1778657607" rel="nofollow ugc">ฝาก ขาย บ้าน ภาษา อังกฤษ</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on What is the use of SAP Cloud Connector in SAP BTP, and how do you set it up step by step? by Jo Holden		</title>
		<link>https://www.sapewmhelp.com/question/what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step/#comment-300</link>

		<dc:creator><![CDATA[Jo Holden]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:53:42 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step#comment-300</guid>

					<description><![CDATA[Hi,

I&#039;m just wondering if you&#039;ve ever considered using sapewmhelp.com on Google Ads?

It&#039;s something we&#039;ve been involved with for over 20 years now (back when it was called Adwords) and is very useful to get a step ahead of your competitors.

Happy to send more information if it&#039;s of interest.

Kind Regards,
Jo]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m just wondering if you&#8217;ve ever considered using sapewmhelp.com on Google Ads?</p>
<p>It&#8217;s something we&#8217;ve been involved with for over 20 years now (back when it was called Adwords) and is very useful to get a step ahead of your competitors.</p>
<p>Happy to send more information if it&#8217;s of interest.</p>
<p>Kind Regards,<br />
Jo</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Create TU in SAP Extended Warehouse Management &#8211; EWM by ธ อ ส รับ ฝาก ขาย บ้าน		</title>
		<link>https://www.sapewmhelp.com/create-tu-in-sap-extended-warehouse-management-ewm/#comment-301</link>

		<dc:creator><![CDATA[ธ อ ส รับ ฝาก ขาย บ้าน]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:53:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?p=7105#comment-301</guid>

					<description><![CDATA[This post is worth everyone&#039;s attention. How can I find out more?



my homepage ... &lt;a href=&quot;https://vusr.net/members/burnnapkin88/activity/93491/&quot; rel=&quot;nofollow ugc&quot;&gt;ธ อ ส รับ ฝาก ขาย บ้าน&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>This post is worth everyone&#8217;s attention. How can I find out more?</p>
<p>my homepage &#8230; <a href="https://vusr.net/members/burnnapkin88/activity/93491/" rel="nofollow ugc">ธ อ ส รับ ฝาก ขาย บ้าน</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Create TU in SAP Extended Warehouse Management &#8211; EWM by ฝากขายบ้านกับใครดี		</title>
		<link>https://www.sapewmhelp.com/create-tu-in-sap-extended-warehouse-management-ewm/#comment-302</link>

		<dc:creator><![CDATA[ฝากขายบ้านกับใครดี]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:53:07 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?p=7105#comment-302</guid>

					<description><![CDATA[It&#039;s the best time to make some plans for the future and it&#039;s time to be happy.
I have read this post and if I could I want to suggest you some interesting things or 
tips. Maybe you can write next articles referring to this article.
I wish to read more things about it!

my web page: &lt;a href=&quot;https://krebs-kendall-3.blogbright.net/are-you-good-at-we-accept-listings-for-houses-for-sale-in-thailand-this-is-a-quick-quiz-to-find-out&quot; rel=&quot;nofollow ugc&quot;&gt;ฝากขายบ้านกับใครดี&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s the best time to make some plans for the future and it&#8217;s time to be happy.<br />
I have read this post and if I could I want to suggest you some interesting things or<br />
tips. Maybe you can write next articles referring to this article.<br />
I wish to read more things about it!</p>
<p>my web page: <a href="https://krebs-kendall-3.blogbright.net/are-you-good-at-we-accept-listings-for-houses-for-sale-in-thailand-this-is-a-quick-quiz-to-find-out" rel="nofollow ugc">ฝากขายบ้านกับใครดี</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on What is the use of SAP Cloud Connector in SAP BTP, and how do you set it up step by step? by Ken Heyer		</title>
		<link>https://www.sapewmhelp.com/question/what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step/#comment-303</link>

		<dc:creator><![CDATA[Ken Heyer]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:52:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-the-use-of-sap-cloud-connector-in-sap-btp-and-how-do-you-set-it-up-step-by-step#comment-303</guid>

					<description><![CDATA[Was just browsing sapewmhelp.com and was impressed the layout. Nicely design and great user experience. Just had to drop a message, have a great day! we7f8sd82]]></description>
			<content:encoded><![CDATA[<p>Was just browsing sapewmhelp.com and was impressed the layout. Nicely design and great user experience. Just had to drop a message, have a great day! we7f8sd82</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Create TU in SAP Extended Warehouse Management &#8211; EWM by รับฝากขายบ้านสระบุรี		</title>
		<link>https://www.sapewmhelp.com/create-tu-in-sap-extended-warehouse-management-ewm/#comment-305</link>

		<dc:creator><![CDATA[รับฝากขายบ้านสระบุรี]]></dc:creator>
		<pubDate>Fri, 17 Jul 2026 14:50:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.sapewmhelp.com/?p=7105#comment-305</guid>

					<description><![CDATA[It&#039;s amazing designed for me to have a website, which 
is helpful in favor of my knowledge. thanks admin

my webpage ... &lt;a href=&quot;https://zenwriting.net/coatway34/what-is-so-fascinating-about-we-accept-listings-for-houses-for-sale-in&quot; rel=&quot;nofollow ugc&quot;&gt;รับฝากขายบ้านสระบุรี&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s amazing designed for me to have a website, which<br />
is helpful in favor of my knowledge. thanks admin</p>
<p>my webpage &#8230; <a href="https://zenwriting.net/coatway34/what-is-so-fascinating-about-we-accept-listings-for-houses-for-sale-in" rel="nofollow ugc">รับฝากขายบ้านสระบุรี</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
