<?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: PFAC simulation crash in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047912#M1968509</link>
    <description>&lt;P&gt;No idea why you can't test your rule (did you trace and debug the execution? Did you make sure your function module has the right interface?)&lt;/P&gt;&lt;P&gt;You may debug the function module RH_GET_ACTORS which calls the function module of the rule.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 21:54:33 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-10-29T21:54:33Z</dc:date>
    <item>
      <title>PFAC simulation crash</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047911#M1968508</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;P&gt; in PFAC i have created rule with FM, which collects the users based on role (rule container &lt;EM&gt;RULE_ROLE&lt;/EM&gt;) and i bind this container to workflow container to pass the value. Than in FM i use command &lt;EM&gt;SWC_GET_ELEMENT &lt;/EM&gt;AC_CONTAINER&lt;EM&gt; 'RULE_ROLE' lv_role&lt;/EM&gt;. Than i use variable &lt;EM&gt;lv_role &lt;/EM&gt;as exporting paramter in function &lt;EM&gt;PRGN_READ_USERS_FOR_ONE_AGR. &lt;/EM&gt;The result of this function (list of users) i save in itable and than append rows of this table to the table &lt;EM&gt;ACTOR_TAB. &lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;There are 2 main problems i am facing: First is i cant test the rule because whenever i try to simulate rule through PFAC - simulate, the main window pops up, i put some role to RULE_ROLE conatiner and when i click to execute F8 the window just close, without any crash message or message at all.. And second problem is i am not sure wheather the rule works or not, i just tried to test it in workflow and i doesnt work.&lt;/P&gt;
  &lt;P&gt;Would appreciate atleast some suggestions to solving my first problem so i can just figure out wheather my rule is working or not. &lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 20:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047911#M1968508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-10-29T20:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: PFAC simulation crash</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047912#M1968509</link>
      <description>&lt;P&gt;No idea why you can't test your rule (did you trace and debug the execution? Did you make sure your function module has the right interface?)&lt;/P&gt;&lt;P&gt;You may debug the function module RH_GET_ACTORS which calls the function module of the rule.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 21:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047912#M1968509</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-10-29T21:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: PFAC simulation crash</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047913#M1968510</link>
      <description>&lt;P&gt;I think because you selected the checkbox: Terminate If Rule Resolution Without Result so it closed without any message. Did you try to debug the Rule's function module (you have to put external debug when simulate ) or simple just run the fm SWC_ELEMENT_GET directly. &lt;/P&gt;&lt;P&gt;I can see you are trying to determine agent for a task, I think you should check the object type in actor_tab is correct or not...also try to define your task as general task...&lt;/P&gt;&lt;P&gt;one more advise is copy some standard workflow which closed to your business.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 00:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pfac-simulation-crash/m-p/12047913#M1968510</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2019-10-30T00:36:29Z</dc:date>
    </item>
  </channel>
</rss>

