<?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: BAPI_ALM_ORDER_MAINTAIN release multiple in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937468#M1692891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try this, display all the orders that you want to release in a ALV grid. Allow user to select a row and then you click the release button. Here you call the BAPI. Commit work and then refersh the ALV grid, remove the released order to avoid confusion. Then allow to release the next order. Need to check if selecting multiple and doing the BAPI call works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2012 19:31:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-08-22T19:31:11Z</dc:date>
    <item>
      <title>BAPI_ALM_ORDER_MAINTAIN release multiple</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937467#M1692890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new here and i hope to learn new things&amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/910/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to release several orders (similar to IW38) using a function that uses the&amp;nbsp; BAPI_ALM_ORDER_MAINTAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it frees one at a time, I am in a loop of a table of orders to be released, and calls with each of the function, filling methods as follows:&lt;/P&gt;&lt;P&gt;* Prepare data to call the BAPI&lt;/P&gt;&lt;P&gt;lw_methods-ObjectType = space.&lt;/P&gt;&lt;P&gt;lw_methods-method = 'SAVE'.&lt;/P&gt;&lt;P&gt;Lw_methods APPEND TO lt_methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR lw_methods.&lt;/P&gt;&lt;P&gt;lw_methods-REFNUMBER = 1.&lt;/P&gt;&lt;P&gt;lw_methods-ObjectType = 'HEADER'.&lt;/P&gt;&lt;P&gt;lw_methods-method = 'RELEASE'.&lt;/P&gt;&lt;P&gt;lw_methods-OBJECTKEY = lv_aufnr.&lt;/P&gt;&lt;P&gt;Lw_methods APPEND TO lt_methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that if i try to&amp;nbsp; release more than one, the first are released ok and the others release strip error (C2 009), as if I release one and release another. I have to exit and re-enter the program to release another order.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I appreciate suggestions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;already thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 19:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937467#M1692890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-22T19:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN release multiple</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937468#M1692891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try this, display all the orders that you want to release in a ALV grid. Allow user to select a row and then you click the release button. Here you call the BAPI. Commit work and then refersh the ALV grid, remove the released order to avoid confusion. Then allow to release the next order. Need to check if selecting multiple and doing the BAPI call works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 19:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937468#M1692891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-22T19:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN release multiple</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937469#M1692892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" href="https://answers.sap.com/people/swanand.lakka" style="font-weight: bold; font-size: 11px; background-color: #ffffff; color: #8b8b8b;"&gt;Swanand &lt;/A&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already&amp;nbsp; displaying an ALV and delete the rows, but the problem is the same. I am debugging the bapi , and I detect that the problem is that in a moment is activated a flag "flag_no_release" in the perform PERM_ISSUE_CHECK.&lt;/P&gt;&lt;P&gt;I think that there are any blocked or not correctly clean, But I didn´t find it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD: sorry about my english , is not very good&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 19:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937469#M1692892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-22T19:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN release multiple</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937470#M1692893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I finally find the problem. There are a flag that is not cleaned after each call to the bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a function which cleans it: &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'PERMIT_INIT_AFTER_POST'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;I now call that function after each loop´s iteration, and it works ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;I hope that it will be util to someone else &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/910/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 20:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937470#M1692893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-23T20:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN release multiple</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937471#M1692894</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 am trying to release already created single process order but I am getting error "No maintenance activity type could be determined".&lt;/P&gt;&lt;P&gt;Please help. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REFRESH : it_methods .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR&lt;/SPAN&gt; wa_methods.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-refnumber = c_000000 .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-objecttype = c_header .&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-method = c_release .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-objectkey = process_order .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND&lt;/SPAN&gt; wa_methods &lt;SPAN class="L0S52"&gt;TO&lt;/SPAN&gt; it_methods . &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR&lt;/SPAN&gt; wa_methods.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-refnumber = c_000000 .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-objecttype = c_order .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-method = c_save .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_methods-objectkey = process_order .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND&lt;/SPAN&gt; wa_methods &lt;SPAN class="L0S52"&gt;TO&lt;/SPAN&gt; it_methods .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L0S33"&gt;'BAPI_ALM_ORDER_MAINTAIN'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TABLES&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_methods&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = it_methods[]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;return&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = it_bapiret2[]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 05:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937471#M1692894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-03T05:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN release multiple</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937472#M1692895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG style="font-size: 11px; background-color: #ffffff; color: #333333;"&gt;Former Member&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that in save line , the object type and should be empty, and the object key too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;lw_methods-ObjectType = space.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;lw_methods-method = 'SAVE'.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Lw_methods APPEND TO lt_methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;I hope it will be helpful &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/952/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 12:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-release-multiple/m-p/8937472#M1692895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-03T12:08:23Z</dc:date>
    </item>
  </channel>
</rss>

