<?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: Trigger proxy when Process Order is released in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275313#M1831537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all there is a workflow forum &lt;A __default_attr="2218" __jive_macro_name="community" class="jive_macro_community jive_macro" data-orig-content="SAP Business Workflow" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you can use a workflow event to call a function module using transaction SWE2 or trigger a workflow and in it used a task to call an object or class method to call the proxy. in both cases calling the proxy in a user exit and not by workflow is more efficient because:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Catching the event is done by an RFC which adds a possibility for errors&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Workflow logs every action which will adds unnecessary date to the DB in this case. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You use workflows for this kind of process when you have no user exit or BADI after the save to the DB. if this is the case you need to check if you have a standard event raised by the release of the production order (turn the event trace on in transaction SWELS, release an order and look at the log in transaction SWEL) if you do not have an event you can raise one by change documents/status changes/user exit etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 10:27:12 GMT</pubDate>
    <dc:creator>ronen_weisz</dc:creator>
    <dc:date>2014-05-05T10:27:12Z</dc:date>
    <item>
      <title>Trigger proxy when Process Order is released</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275312#M1831536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ABAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where in I am supposed to send out a proxy with the details of the Process Order that is being released when the PO is released using COR2 or COHVPI transaction. The same can be achieved by coding in specific User Exits. However, I would like to explore the feasibility of achieving the same using Work flows as I am new to WF's and this is my first attempt at it. Please do share your views if this is something which is do-able using Workflows and also do share the steps to meet my requirement. Hope this marks the beginning of my work in Workflows.. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward to your responses. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 11:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275312#M1831536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-04T11:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger proxy when Process Order is released</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275313#M1831537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all there is a workflow forum &lt;A __default_attr="2218" __jive_macro_name="community" class="jive_macro_community jive_macro" data-orig-content="SAP Business Workflow" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you can use a workflow event to call a function module using transaction SWE2 or trigger a workflow and in it used a task to call an object or class method to call the proxy. in both cases calling the proxy in a user exit and not by workflow is more efficient because:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Catching the event is done by an RFC which adds a possibility for errors&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Workflow logs every action which will adds unnecessary date to the DB in this case. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You use workflows for this kind of process when you have no user exit or BADI after the save to the DB. if this is the case you need to check if you have a standard event raised by the release of the production order (turn the event trace on in transaction SWELS, release an order and look at the log in transaction SWEL) if you do not have an event you can raise one by change documents/status changes/user exit etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 10:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275313#M1831537</guid>
      <dc:creator>ronen_weisz</dc:creator>
      <dc:date>2014-05-05T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger proxy when Process Order is released</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275314#M1831538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking your time and replying to my query. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am considering the option of coding inside a User Exit. However, I am facing an issue when PO release is attempted using COHVPI transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective is to trigger a proxy when a Process Order release is attempted from COHVPI Transaction but the &lt;STRONG&gt;Process Order Release should not happen&lt;/STRONG&gt;. How do I restrict this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request your help in this considering we would be handling more than one process order in COHVPI transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275314#M1831538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-08T14:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger proxy when Process Order is released</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275315#M1831539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; try to use badi "WORKORDER_UPDATE" method "AT_RELEASE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside this method you can trigger the proxy and after that you can raise the exception "FREE_FAILED_ERROR" to invalidade the release of Production Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Att,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ortiz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 14:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275315#M1831539</guid>
      <dc:creator>former_member227638</dc:creator>
      <dc:date>2014-07-09T14:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger proxy when Process Order is released</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275316#M1831540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Ortiz. Your reply has been of a great help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 13:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-proxy-when-process-order-is-released/m-p/10275316#M1831540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-30T13:36:07Z</dc:date>
    </item>
  </channel>
</rss>

