<?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 How to use WS_DELIVERY_UPDATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436806#M545162</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;can anyone show me how to use the Function Module WS_DELIVERY_UPDATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the packing of the delivery. How do I have to fill the tabels so that the FM creats the HUs and does the packing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2007 10:45:06 GMT</pubDate>
    <dc:creator>stefan_wagner4</dc:creator>
    <dc:date>2007-06-28T10:45:06Z</dc:date>
    <item>
      <title>How to use WS_DELIVERY_UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436806#M545162</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;can anyone show me how to use the Function Module WS_DELIVERY_UPDATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the packing of the delivery. How do I have to fill the tabels so that the FM creats the HUs and does the packing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 10:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436806#M545162</guid>
      <dc:creator>stefan_wagner4</dc:creator>
      <dc:date>2007-06-28T10:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use WS_DELIVERY_UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436807#M545163</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;May be this might help with some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM UPDATE_VEKP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA: LIN        LIKE    SY-TABIX.&lt;/P&gt;&lt;P&gt;  DATA: HLP_VBELN  LIKE    LTAK-VBELN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA:  IVERKO  LIKE VERKO OCCURS 10 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA:  IVBKOK  LIKE VBKOK.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*......check if sth. needs to be done at all..............&lt;/P&gt;&lt;P&gt;  CHECK SY-TCODE = CON_LM45.&lt;/P&gt;&lt;P&gt;  CLEAR:    IVERKO, HLP_VBELN.&lt;/P&gt;&lt;P&gt;  REFRESH:  IVERKO.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE TO_HEADER_TABLE LINES LIN.&lt;/P&gt;&lt;P&gt;  CHECK LIN &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT TO_HEADER_TABLE.&lt;/P&gt;&lt;P&gt;    MOVE:    TO_HEADER_TABLE-VBELN TO IVBKOK-VBELN_VL.&lt;/P&gt;&lt;P&gt;    MOVE:    TO_HEADER_TABLE-VBELN TO HLP_VBELN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*......prepare ivekp tables .............................&lt;/P&gt;&lt;P&gt;  MOVE:    SAV_VHILM TO IVERKO-VHILM,&lt;/P&gt;&lt;P&gt;           SAV_CLENUM TO IVERKO-EXIDV,&lt;/P&gt;&lt;P&gt;           '01'      TO IVERKO-OBJECT,&lt;/P&gt;&lt;P&gt;           HLP_VBELN TO IVERKO-OBJKEY.&lt;/P&gt;&lt;P&gt;  APPEND IVERKO.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*......update per delivery item...................................&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DELIVERY_UPDATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            VBKOK_WA      = IVBKOK&lt;/P&gt;&lt;P&gt;            COMMIT        = 'X'&lt;/P&gt;&lt;P&gt;            DELIVERY      = HLP_VBELN&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            VERKO_TAB     = IVERKO&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ERROR_MESSAGE = 99.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 99.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Shipm. or deliv. is locked, status of shipping unit &amp;amp;1 was not chang&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE_NUMBER = '270'.&lt;/P&gt;&lt;P&gt;    PERFORM ERROR_MESSAGE.&lt;/P&gt;&lt;P&gt;    LEAVE TO TRANSACTION SY-TCODE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                               " UPDATE_VEKP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward points if it is helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Omkaram Yanamala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 10:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436807#M545163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T10:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use WS_DELIVERY_UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436808#M545164</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;May be this might help with some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM UPDATE_VEKP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA: LIN        LIKE    SY-TABIX.&lt;/P&gt;&lt;P&gt;  DATA: HLP_VBELN  LIKE    LTAK-VBELN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA:  IVERKO  LIKE VERKO OCCURS 10 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA:  IVBKOK  LIKE VBKOK.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*......check if sth. needs to be done at all..............&lt;/P&gt;&lt;P&gt;  CHECK SY-TCODE = CON_LM45.&lt;/P&gt;&lt;P&gt;  CLEAR:    IVERKO, HLP_VBELN.&lt;/P&gt;&lt;P&gt;  REFRESH:  IVERKO.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE TO_HEADER_TABLE LINES LIN.&lt;/P&gt;&lt;P&gt;  CHECK LIN &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT TO_HEADER_TABLE.&lt;/P&gt;&lt;P&gt;    MOVE:    TO_HEADER_TABLE-VBELN TO IVBKOK-VBELN_VL.&lt;/P&gt;&lt;P&gt;    MOVE:    TO_HEADER_TABLE-VBELN TO HLP_VBELN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*......prepare ivekp tables .............................&lt;/P&gt;&lt;P&gt;  MOVE:    SAV_VHILM TO IVERKO-VHILM,&lt;/P&gt;&lt;P&gt;           SAV_CLENUM TO IVERKO-EXIDV,&lt;/P&gt;&lt;P&gt;           '01'      TO IVERKO-OBJECT,&lt;/P&gt;&lt;P&gt;           HLP_VBELN TO IVERKO-OBJKEY.&lt;/P&gt;&lt;P&gt;  APPEND IVERKO.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*......update per delivery item...................................&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DELIVERY_UPDATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            VBKOK_WA      = IVBKOK&lt;/P&gt;&lt;P&gt;            COMMIT        = 'X'&lt;/P&gt;&lt;P&gt;            DELIVERY      = HLP_VBELN&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            VERKO_TAB     = IVERKO&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ERROR_MESSAGE = 99.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 99.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Shipm. or deliv. is locked, status of shipping unit &amp;amp;1 was not chang&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE_NUMBER = '270'.&lt;/P&gt;&lt;P&gt;    PERFORM ERROR_MESSAGE.&lt;/P&gt;&lt;P&gt;    LEAVE TO TRANSACTION SY-TCODE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                               " UPDATE_VEKP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 10:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-ws-delivery-update/m-p/2436808#M545164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T10:59:01Z</dc:date>
    </item>
  </channel>
</rss>

