<?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: multiplication of account using script logic in Financial Management Q&amp;A</title>
    <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086574#M187693</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;&lt;/P&gt;&lt;P&gt;Thanks again for your prompt reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1291/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already implemented the solution&amp;nbsp; almost in similar way. But i have one question can we use "AND","OR" condition in the select statement? Because somewhere i read that we can not use AND OR statements in the select statement and tried it but no result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 11:02:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-03T11:02:47Z</dc:date>
    <item>
      <title>multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaq-p/11086567</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;&lt;/P&gt;&lt;P&gt;My requirement is multiply the head count to salary account from specific time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example user will input salary only for one month like 2015.jan now this salary account value should be multiplied with head count account for each time period of that year, and result should be stored on third account say headcount_exp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/712408" height="176" width="852" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*LOOKUP FINANCE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM CATEGORY="ACTUAL"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM DATASRC="INPUT"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM TIME=&lt;STRONG&gt;"2006.JAN"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM DEPARTMENT="NODEPT"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM ENTITY="IND"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM INTCO="I_IND"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM PRODLINE="P0101"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM ACCOUNT="INVESTEQUITY"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*DIM DTTIM:RPTCURRENCY="LC"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*ENDLOOKUP&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET CATEGORY=ACTUAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET DATASRC=INPUT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET DEPARTMENT=NoDept&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET ENTITY=IND&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET INTCO=I_IND&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET PRODLINE=P0101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET RPTCURRENCY=LC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*XDIM_MEMBERSET RPTCURRENCY=LC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*WHEN ACCOUNT &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt; *IS SALESUNITS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;&amp;nbsp;&amp;nbsp; *REC(FACTOR=LOOKUP(DTTIM),ACCOUNT=IICREV)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;*ENDWHEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have hard coded time value in look up but i want time member to be pass from data prompt.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any other solution for above script?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sushant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 11:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaq-p/11086567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-27T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086568#M187687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not&amp;nbsp; understand why you have used LOOKUP function to get the value.....Is it from different model??&lt;/P&gt;&lt;P&gt;But as per your requirement if your running the script through Data manager package and passing the time, then simply use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET TIME = %TIME_SET% and then ur logic with REC statement would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;*WHEN ACCOUNT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;*IS HEADCOUNT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;&amp;nbsp;&amp;nbsp; *REC(EXPRESSION=%VALUE%*[ACCOUNT].[SALARY],ACCOUNT=HEADCOUNT_EXP)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;*ENDWHEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;If not Data manger package use this script in the default logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Verdana; color: #000000; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: verdana, geneva; background: transparent;"&gt;JP&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 12:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086568#M187687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-27T12:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086569#M187688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1273/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is from same model not from different model. But requirement is different. Salary account value will be stored only&amp;nbsp; in Jan of each year and head count will be for each month now i have to calculated head count expenses for each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;salary of Jan * head count of&amp;nbsp; particular month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 12:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086569#M187688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-27T12:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086570#M187689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok...In that case Sushant, you can simply use excel formula like =E1(value of Jan's Salary) for other respective months and copy the value into that months. Then as per my above reply, write the logic with WHEN/ENDWHEN. Call this logic through default logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 13:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086570#M187689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-27T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086571#M187690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can dynamically refer to January like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*REC(EXPRESSION=%VALUE%*GET(ACCOUNT="SALARY",TIME="%YEAR%.JAN"),ACCOUNT=HEADCOUNT_EXP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 15:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086571#M187690</guid>
      <dc:creator>cecilia_petersson2</dc:creator>
      <dc:date>2015-05-27T15:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086572#M187691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cecilia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1273/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution works for me but %year% will take current year of system. I want to pass year value to my script and that should be depend on user selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used allocation script it works fine&amp;nbsp; but only when I hard code the time value. I want to make it dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET CATEGORY=ACTUAL&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET DATASRC=INPUT&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET DEPARTMENT=NoDept&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET ENTITY=IND&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET INTCO=I_IND&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET PRODLINE=P0101&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET RPTCURRENCY=LC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*RUNALLOCATION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *FACTOR=USING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *DIM ACCOUNT WHAT=SALESUNITS; WHERE=IICREV; USING=INVESTEQUITY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *DIM TIME WHAT=BAS(2006.TOTAL); WHERE=&amp;lt;&amp;lt;&amp;lt;; USING=2006.JAN&lt;/P&gt;&lt;P&gt;*ENDALLOCATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am trying to achieve this using &lt;STRONG&gt;SELECT &lt;/STRONG&gt;statement&lt;STRONG&gt; &lt;/STRONG&gt;and using&lt;STRONG&gt; FOR NEXT &lt;/STRONG&gt;statement, It work when hard code the value in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one question.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can we use %TIME_SET% statement in select statement?&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;//*SELECT(%VAR%,"YEAR",TIME,"ID='2006.JAN'")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*SELECT(%VAR%,"YEAR",TIME,"ID='%TIME_SET%'")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;XDIM_MEMBERSET CATEGORY=ACTUAL&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET DATASRC=INPUT&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET DEPARTMENT=NoDept&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET ENTITY=IND&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET INTCO=I_IND&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET PRODLINE=P0101&lt;/P&gt;&lt;P&gt;*XDIM_MEMBERSET RPTCURRENCY=LC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*FOR %VAR1%=%VAR%&lt;/P&gt;&lt;P&gt;*FOR %VAR2%=TOTAL&lt;/P&gt;&lt;P&gt;*RUNALLOCATION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *FACTOR=USING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *DIM ACCOUNT WHAT=SALESUNITS; WHERE=IICREV; USING=INVESTEQUITY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *DIM TIME WHAT=BAS(%VAR1%.%VAR2%); WHERE=&amp;lt;&amp;lt;&amp;lt;; USING=%VAR1%.JAN&lt;/P&gt;&lt;P&gt;*ENDALLOCATION&lt;/P&gt;&lt;P&gt;*NEXT&lt;/P&gt;&lt;P&gt;*NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sushant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 07:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086572#M187691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-28T07:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086573#M187692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay in getting back to you. Try this setup:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/716905" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Note: I'm adding [PERIOD]='JAN' to the *SELECT statement to ensure only one record is selected as the script doesn't seem to be able to handle several hits for *SELECT. It could be any property as long as you only get one hit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 10:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086573#M187692</guid>
      <dc:creator>cecilia_petersson2</dc:creator>
      <dc:date>2015-06-03T10:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086574#M187693</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;&lt;/P&gt;&lt;P&gt;Thanks again for your prompt reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1291/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already implemented the solution&amp;nbsp; almost in similar way. But i have one question can we use "AND","OR" condition in the select statement? Because somewhere i read that we can not use AND OR statements in the select statement and tried it but no result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 11:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086574#M187693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-03T11:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: multiplication of account using script logic</title>
      <link>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086575#M187694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it's solved! Both AND and OR are working fine for me in *SELECT. Maybe it wasn't so in earlier versions. I'm on admin client 10.0.16.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 11:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/multiplication-of-account-using-script-logic/qaa-p/11086575#M187694</guid>
      <dc:creator>cecilia_petersson2</dc:creator>
      <dc:date>2015-06-03T11:21:11Z</dc:date>
    </item>
  </channel>
</rss>

