<?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 Transfer order - confirmation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-order-confirmation/m-p/6617751#M1439992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is related with WM - Change of ownership from plant A to plant B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a Z program which picks all STO Purchase order &lt;/P&gt;&lt;P&gt;Create Transfer order based on outbound delivery - L_TO_CREATE_DN&lt;/P&gt;&lt;P&gt;Confirm Transfer order for outboun delivery- L_TO_Confirm&lt;/P&gt;&lt;P&gt;GI is done&lt;/P&gt;&lt;P&gt;Inbound delivery is created&lt;/P&gt;&lt;P&gt;Create Transfer order for inbound deliver - L_TO_CREATE_DN&lt;/P&gt;&lt;P&gt;Confirm Transfer order inbound deliver- L_TO_Confirm&lt;/P&gt;&lt;P&gt;GR is done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the issue here is, some times while creating Transfer order itself, item in TO is confirmed(LTAP-PQUIT = 'X') - so when it goes to next FM : L_TO_CONFIRM -&amp;gt; it thows error like items are already confirmed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'L_TO_CONFIRM'
      EXPORTING
        i_lgnum                        = wa_ltap_vb-lgnum
        i_tanum                        = wa_ltap_vb-tanum
        i_squit                        = c_x
        i_qname                        = sy-uname
        i_ename                        = sy-uname
        i_komim                        = '2' " Post GI
        i_update_task                  = c_x
        i_commit_work                  = c_x
      TABLES
        t_ltap_conf                    = i_conf_items
      EXCEPTIONS
        to_confirmed                   = 1 to 53&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here sy-subrc is 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Feb 2010 15:02:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-20T15:02:43Z</dc:date>
    <item>
      <title>Transfer order - confirmation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-order-confirmation/m-p/6617751#M1439992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is related with WM - Change of ownership from plant A to plant B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a Z program which picks all STO Purchase order &lt;/P&gt;&lt;P&gt;Create Transfer order based on outbound delivery - L_TO_CREATE_DN&lt;/P&gt;&lt;P&gt;Confirm Transfer order for outboun delivery- L_TO_Confirm&lt;/P&gt;&lt;P&gt;GI is done&lt;/P&gt;&lt;P&gt;Inbound delivery is created&lt;/P&gt;&lt;P&gt;Create Transfer order for inbound deliver - L_TO_CREATE_DN&lt;/P&gt;&lt;P&gt;Confirm Transfer order inbound deliver- L_TO_Confirm&lt;/P&gt;&lt;P&gt;GR is done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the issue here is, some times while creating Transfer order itself, item in TO is confirmed(LTAP-PQUIT = 'X') - so when it goes to next FM : L_TO_CONFIRM -&amp;gt; it thows error like items are already confirmed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'L_TO_CONFIRM'
      EXPORTING
        i_lgnum                        = wa_ltap_vb-lgnum
        i_tanum                        = wa_ltap_vb-tanum
        i_squit                        = c_x
        i_qname                        = sy-uname
        i_ename                        = sy-uname
        i_komim                        = '2' " Post GI
        i_update_task                  = c_x
        i_commit_work                  = c_x
      TABLES
        t_ltap_conf                    = i_conf_items
      EXCEPTIONS
        to_confirmed                   = 1 to 53&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here sy-subrc is 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 15:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-order-confirmation/m-p/6617751#M1439992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T15:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer order - confirmation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-order-confirmation/m-p/6617752#M1439993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check with your functional person.&lt;/P&gt;&lt;P&gt;For some movement type the transfer order items can be confirmed immediately at the time of TO creation.&lt;/P&gt;&lt;P&gt;There is a checkbox for the same.&lt;/P&gt;&lt;P&gt;Check in SPRO&lt;DEL&gt;&amp;gt;Warehouse Management&lt;/DEL&gt;&amp;gt;Activities&lt;DEL&gt;&amp;gt;Transfers&lt;/DEL&gt;&amp;gt;Define Movement Types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check in FM L_TO_CREATE_DN if you are passing the parameter I_SQUIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 15:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-order-confirmation/m-p/6617752#M1439993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T15:44:20Z</dc:date>
    </item>
  </channel>
</rss>

