<?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: Function Module RV_DELIVERY_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204731#M763974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to create an outbound delivery using that FM. So could u post the sample code to call the FM  &lt;STRONG&gt;RV_DELIVERY_CREATE&lt;/STRONG&gt;. I wanna know how to populate the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vindika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2010 04:24:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-22T04:24:26Z</dc:date>
    <item>
      <title>Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204718#M763961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Zprogram, in which initially using BAPI - BAPI_SALESORDER_CHANGE I will be updating the sale order. After this I have given COMMIT WORK and Wait statement for updates to be done. Later after updating the sale order, next step in my program is to create a delivery. For creating delivery I am using FM RV_DELIVERY_CREATE. Here it is erroring out with Message Id VI with Message Number 200. If I execute after some time the program, it is working fine and creating delivery. Only for the first time it is giving error. Please can anyone give me some ideas to rectify the error. Your answers will be awarded &amp;amp; appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 20:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204718#M763961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T20:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204719#M763962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the code for your commit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 20:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204719#M763962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T20:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204720#M763963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after first BAPI, call BAPI FM: BAPI_TRANSACTION_COMMIT , instead of just commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete the wait statement , check it, if it is ok then  no problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other wise put a wait statement with 2 seconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 20:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204720#M763963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T20:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204721#M763964</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 beleive when using BAPI_SALESORDER_CHANGE, it is locking the Sale Order. After the execution of the FM BAPI_SALESORDER_CHANGE, I can still see the the sale order &amp;amp; item in SM12 tcode with Lock mode "E". So I need to unlock the Sale Order after the execution of FM BAPI_SALESORDER_CHANGE and Commit work and wait statement. Please can anyone give ideas to unlock the Sale Order after the execution of FM BAPI_SALESORDER_CHANGE &amp;amp; commit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 20:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204721#M763964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T20:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204722#M763965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not unlock the enqueue objects, you will run into bigger issues, use BAPI_TRANSACITON_COMMIT with WAIT = 'X'. Alternatively, you can introduce a DO loop around your delivery create call and exit the DO loop as soon as the creation is successful. Make sure that you check for only the lock error message to determine if you should continue in the DO loop or exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;CALL create delivery function module.&lt;/P&gt;&lt;P&gt;IF sy-index = 10.&lt;/P&gt;&lt;P&gt;*-- get out of this loop if even after 10 loops, the lock still exists&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ELSEIF sy-msgid = '??' AND sy-msgno = '???'.&lt;/P&gt;&lt;P&gt;*-- there is a lock on this sales order&lt;/P&gt;&lt;P&gt;CONTINUE.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 20:55:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204722#M763965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T20:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204723#M763966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I use to dequeue_all for unlocking&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 21:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204723#M763966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T21:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204724#M763967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No you should not. It will create unwanted results. Please do as I suggested, it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 22:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204724#M763967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T22:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204725#M763968</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 did used BAPI - BAPI_TRANSACTION_COMMIT &amp;amp; WAIT = 'x'. but still after that statement, SO is still locked. I need SO to be unlocked before creating the delivery.&lt;/P&gt;&lt;P&gt;Please suggest ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 22:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204725#M763968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204726#M763969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anything in the return table after the commit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 22:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204726#M763969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T22:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204727#M763970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not passing return table, here is the code how I am passing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        wait = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 22:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204727#M763970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T22:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204728#M763971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement is once after executing BAPI,BAPI_SALESORDER_CHANGE &amp;amp; &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT. I should not see my Sale Order in lock enteries SM12 Tcode. But I am doing so. So please suggest me some ideas to unlock the Sale Order immediatly after executing BAPI,BAPI_SALESORDER_CHANGE &amp;amp; &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 22:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204728#M763971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T22:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204729#M763972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to DEQUEUE.  But make sure you call calling the BAPI_TRANSACTION_COMMIT with wait = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 00:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204729#M763972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T00:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204730#M763973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass the return parameter and check it. There may be nothing there, but until you check it, you won't know for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 03:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204730#M763973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T03:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module RV_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204731#M763974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to create an outbound delivery using that FM. So could u post the sample code to call the FM  &lt;STRONG&gt;RV_DELIVERY_CREATE&lt;/STRONG&gt;. I wanna know how to populate the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vindika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 04:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-rv-delivery-create/m-p/3204731#M763974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T04:24:26Z</dc:date>
    </item>
  </channel>
</rss>

