<?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: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201808#M1203461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Problem solved! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Had to add &lt;SPAN class="L0S52" style="font-size: 13.3333px;"&gt;"FREE &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 13.3333px;"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 13.3333px;"&gt;ID &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 13.3333px;"&gt;'LOIAUFNRTAB' &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 13.3333px;"&gt;" &lt;/SPAN&gt;before doing the submit.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2016 05:37:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-05-02T05:37:38Z</dc:date>
    <item>
      <title>Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201800#M1203453</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;I'm just trying to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. First of all I've decided to do it via user-exit but I've seen that the order number (AUFNR) is not determinated yet, so finally I'm doing it with the BADI WORKORDER_UPDATE (method BEFORE_SAVE) where there is all the data ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until this point all goes fine. To send the standard idoc there is the program RCCLORD but as the order is not saved on the system tables I cannot do a submit, so I'm doing a call to the function where the idoc is send of the program ( CLOI_MASTERIDOC_CREATE_LOIPRO ). All seems to be ok, but finally it goes allways to a short dump because at the end of the function there is a commit instruction ( and it seems it is not possible into a BADI ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a easy way to do it or am I on the correct way? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying a lot of possibilities ( and it doesn't work for distinct causes ) but allways the start point is the avobe process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Legoles_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201800#M1203453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T09:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201801#M1203454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bump This Thread Up!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same requirement!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to immediately trigger the outbound LOIPRO IDOC when someone creates/changes a PP Order in the CORn transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one know how to do this without resorting to batchjobs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 03:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201801#M1203454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T03:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201802#M1203455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I believe I have this solved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CORn &lt;/P&gt;&lt;P&gt;--&amp;gt; Create or change a PP order, release and save&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI WORKORDER_UPDATE~BEFORE_UPDATE &lt;/P&gt;&lt;P&gt;--&amp;gt; Do your checks and call a custom function module (ZZ_SEND_IDOC) sending the aufnr, matnr, and werks. Cal this FM starting new task destination 'none'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZZ_SEND_IDOC (RFC-enabled)&lt;/P&gt;&lt;P&gt;--&amp;gt; wait up to 60 seconds (so update finishes)&lt;/P&gt;&lt;P&gt;--&amp;gt; add code to see if the record is no longer locked&lt;/P&gt;&lt;P&gt;--&amp;gt; Fill parameter table rsparams with aufnr, matnr, werks, logical system, and mess type&lt;/P&gt;&lt;P&gt;--&amp;gt; submit RCCLORD and return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parallel processing rules say you should not use a submit in the FM but it is working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this I can avoid using batch jobs to send these out. Yay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 03:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201802#M1203455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T03:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201803#M1203456</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 this program which is a modification of the SAP Standard Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;A href="https://wiki.sdn.sap.com/wiki/display/Snippets/Production" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/Snippets/Production&lt;/A&gt;&lt;EM&gt;Order&lt;/EM&gt;Idoc+Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 08:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201803#M1203456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201804#M1203457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers, this is an old problem finally resolved as it says on the last one, we had created a Z FM which process the idoc outbound. This is because the submit to the RCLORD program was not a good way because our client wants an inmmediatly information between R3 and PI without the wait of 60 seconds nor the possible wait to a blocking status...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, I will close de thread but for future readers say that we still don't know if it is really possible to do what we want without the standard code modification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 06:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201804#M1203457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T06:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201805#M1203458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have exactly the same requirement and I am strill not able to find the solution, Can you please let me know, How you did it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 22:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201805#M1203458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-28T22:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201806#M1203459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Do you remember how you solve this problem? We are facing the same problem and I can't find an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2011 18:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201806#M1203459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-18T18:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201807#M1203460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i have done the same thing( Submit program RCCLORD with parameters) but it does not work.&lt;/P&gt;&lt;P&gt;Could you please help?Do you think it has anything to do with&amp;nbsp; authorization on the program RCCLORD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 10:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201807#M1203460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-27T10:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201808#M1203461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Problem solved! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Had to add &lt;SPAN class="L0S52" style="font-size: 13.3333px;"&gt;"FREE &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 13.3333px;"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 13.3333px;"&gt;ID &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 13.3333px;"&gt;'LOIAUFNRTAB' &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 13.3333px;"&gt;" &lt;/SPAN&gt;before doing the submit.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 05:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-orders-send-idoc-loipro-while-creation-modification-cor1-badi/m-p/5201808#M1203461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-02T05:37:38Z</dc:date>
    </item>
  </channel>
</rss>

