<?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>Question Re: Script logic not generating multple records in Financial Management Q&amp;A</title>
    <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608943#M16607</link>
    <description>&lt;P&gt;Hi Vadin,&lt;/P&gt;
  &lt;P&gt;Thank you for the details.&lt;/P&gt;
  &lt;P&gt;In my script I am trying to copy NO_EMPLOYEE , meritincrease value to all active employees&lt;/P&gt;
  &lt;P&gt; (%EXISTING_INC%) .&lt;/P&gt;
  &lt;P&gt;In debug mode , I am not getting any records generated .And no error msgs.&lt;/P&gt;
  &lt;P&gt;Please let me know if I am missing anything in the logic. I am trying simple copy to all employees.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 14:51:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-02-08T14:51:50Z</dc:date>
    <item>
      <title>Script logic not generating multple records</title>
      <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaq-p/608941</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;*SELECT(%CURR_YR%,[ID],TIME,"[PERIOD] = 'PACYR'")&lt;BR /&gt;*SELECT(%EXISTING_INC%,[ID],EMPLOYEE,"[EMPL_STATUS]='Active' AND [MERIT_ELG]&amp;lt;&amp;gt;''")&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;*XDIM_MEMBERSET TIME=%CURR_YR%&lt;BR /&gt;*XDIM_MEMBERSET ACCOUNT=INCREASEMNTH&lt;BR /&gt;*XDIM_MEMBERSET WBSE= NO_WBSE&lt;BR /&gt;*XDIM_MEMBERSET COMPANY = NO_COMPANY &lt;BR /&gt;*XDIM_MEMBERSET COSTCENTER= NO_COSTCENTER&lt;BR /&gt;*XDIM_MEMBERSET DATASRC= CNB_INPUT&lt;BR /&gt;*XDIM_MEMBERSET EMPLOYEE = %EXISTING_INC%&lt;BR /&gt;*XDIM_MEMBERSET PROFITCTR= NO_PROFITCTR&lt;BR /&gt;*XDIM_MEMBERSET RPTCURRENCY= USD&lt;BR /&gt;*XDIM_MEMBERSET VERSION=2018.PACING01 &lt;BR /&gt;*XDIM_MEMBERSET WAGETYPE=NO_WAGETYPE&lt;BR /&gt;*XDIM_MEMBERSET ROLE=NO_ROLE&lt;BR /&gt;*XDIM_MEMBERSET ROLESTATUS=NO_ROLESTATUS&lt;/P&gt;
  &lt;P&gt;*WHEN EMPLOYEE&lt;BR /&gt; *IS %EXISTING_INC%&lt;BR /&gt; *REC(EXPRESSION=([COSTCENTER].[NO_COSTCENTER],[COMPANY].[NO_COMPANY],[WAGETYPE].[NO_WAGETYPE],[ROLESTATUS].[NO_ROLESTATUS],[ROLE].[NO_ROLE],[EMPLOYEE].[NO_EMPLOYEE],[PROFITCTR].[NO_PROFITCTR],[DATASRC].[CNB_INPUT],[ACCOUNT].[INCREASEMNTH],[TIME].[2018.INPUT]),ACCOUNT=INCREASEMNTH)&lt;BR /&gt;*ENDWHEN&lt;BR /&gt;*COMMIT&lt;/P&gt;
  &lt;STRONG&gt;Result:&lt;/STRONG&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;CALCULATION BEGIN:&lt;/P&gt;
  &lt;P&gt;QUERY PROCESSING DATA&lt;/P&gt;
  &lt;P&gt;QUERY TIME : 0.00 ms. 0 RECORDS QUERIED OUT.&lt;/P&gt;
  &lt;P&gt;QUERY REFERENCE DATA&lt;/P&gt;
  &lt;P&gt;QUERY TIME : 0.00 ms. 1 RECORDS QUERIED OUT.&lt;/P&gt;
  &lt;P&gt;CALCULATION TIME IN TOTAL :0.00 ms.&lt;/P&gt;
  &lt;P&gt;NO RECORDS GENERATED.&lt;/P&gt;
  &lt;P&gt;CALCULATION END.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaq-p/608941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-08T14:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script logic not generating multple records</title>
      <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608942#M16606</link>
      <description>&lt;P&gt;Sorry, but what do you mean by: "Script logic not generating multple records"??? &lt;/P&gt;
  &lt;P&gt;Please read: &lt;A href="https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/" target="test_blank"&gt;https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;And explain everything if you want an answer, including data sample and required calculation logic!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608942#M16606</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2018-02-08T14:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script logic not generating multple records</title>
      <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608943#M16607</link>
      <description>&lt;P&gt;Hi Vadin,&lt;/P&gt;
  &lt;P&gt;Thank you for the details.&lt;/P&gt;
  &lt;P&gt;In my script I am trying to copy NO_EMPLOYEE , meritincrease value to all active employees&lt;/P&gt;
  &lt;P&gt; (%EXISTING_INC%) .&lt;/P&gt;
  &lt;P&gt;In debug mode , I am not getting any records generated .And no error msgs.&lt;/P&gt;
  &lt;P&gt;Please let me know if I am missing anything in the logic. I am trying simple copy to all employees.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608943#M16607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-08T14:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script logic not generating multple records</title>
      <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608944#M16608</link>
      <description>&lt;P&gt;Instead of source you are trying to loop empty destination - no records selected - no result!&lt;/P&gt;
  &lt;P&gt;The best way to copy single value to multiple members is to use *RUNALLOCATION:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT(%CURR_YR%,[ID],TIME,"[PERIOD] = 'PACYR'")
*SELECT(%EXISTING_INC%,[ID],EMPLOYEE,"[EMPL_STATUS]='Active' AND [MERIT_ELG]&amp;lt;&amp;gt;''")

*XDIM_MEMBERSET ACCOUNT=INCREASEMNTH
*XDIM_MEMBERSET WBSE= NO_WBSE
*XDIM_MEMBERSET COMPANY = NO_COMPANY
*XDIM_MEMBERSET COSTCENTER= NO_COSTCENTER
*XDIM_MEMBERSET DATASRC= CNB_INPUT
*XDIM_MEMBERSET EMPLOYEE = %EXISTING_INC%
*XDIM_MEMBERSET PROFITCTR= NO_PROFITCTR
*XDIM_MEMBERSET RPTCURRENCY= USD
*XDIM_MEMBERSET VERSION=2018.PACING01
*XDIM_MEMBERSET WAGETYPE=NO_WAGETYPE
*XDIM_MEMBERSET ROLE=NO_ROLE
*XDIM_MEMBERSET ROLESTATUS=NO_ROLESTATUS

*RUNALLOCATION
*FACTOR=1
*DIM TIME WHAT=2018.INPUT; WHERE=%CURR_YR%; USING=&amp;lt;&amp;lt;&amp;lt;; TOTAL=&amp;lt;&amp;lt;&amp;lt;
*DIM EMPLOYEE WHAT=NO_EMPLOYEE; WHERE=%EXISTING_INC%; USING=&amp;lt;&amp;lt;&amp;lt; TOTAL=&amp;lt;&amp;lt;&amp;lt;
*ENDALLOCATION&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608944#M16608</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2018-02-08T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script logic not generating multple records</title>
      <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608945#M16609</link>
      <description>&lt;P&gt;Hi Valdir,&lt;/P&gt;
  &lt;P&gt;Thank you so much for your help.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Venu&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608945#M16609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-08T20:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script logic not generating multple records</title>
      <link>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608946#M16610</link>
      <description>&lt;P&gt;Please accept the correct answer!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/script-logic-not-generating-multple-records/qaa-p/608946#M16610</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2018-02-08T20:51:01Z</dc:date>
    </item>
  </channel>
</rss>

