<?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: Clarification on TMVL in Financial Management Q&amp;A</title>
    <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206897#M228106</link>
    <description>&lt;P&gt;Sorry, but the issue is here: "when i pass the variable in the TMVL"&lt;/P&gt;&lt;P&gt;Please provide advanced DM script of the package.&lt;/P&gt;&lt;P&gt;Also provide detailed version info!&lt;/P&gt;&lt;P&gt;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;</description>
    <pubDate>Mon, 16 Mar 2020 18:02:53 GMT</pubDate>
    <dc:creator>former_member186338</dc:creator>
    <dc:date>2020-03-16T18:02:53Z</dc:date>
    <item>
      <title>Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaq-p/12206896</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;
  &lt;P&gt;I am getting error while executing the below logic script code.&lt;/P&gt;
  &lt;P&gt;Input : TIME = 2008.01&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;*XDIM_MEMBERSET  ENTITY      =     BAS(AsiaPac)
*XDIM_MEMBERSET  TIME        =     %TIME_SET%
*XDIM_MEMBERSET  CATEGORY    =     Actual, Plan
*XDIM_MEMBERSET  ACCOUNT     =     RENT
*WHEN ACCOUNT
*IS   RENT
*REC(EXPRESSION = 100000 , CATEGORY = Plan, TIME = TMVL(12,%TIME_SET%))
*ENDWHEN &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Below is the error screenshot.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1789613-tmvl-error-screenshot.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;But while executing the same code in UJKT, the script is executing correctly. Please find the below UJKT log:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;LGX:
*XDIM_MEMBERSET ENTITY = BAS(AsiaPac)
*XDIM_MEMBERSET TIME = 2008.01
*XDIM_MEMBERSET CATEGORY = Actual, Plan
*XDIM_MEMBERSET ACCOUNT = RENT
*WHEN ACCOUNT
*IS RENT
*REC(EXPRESSION = 100000 , CATEGORY = Plan, TIME = 2009.01 )
*ENDWHEN


-------------------------------------------------------------------------------------------------------------------------------------
LOG:


FILE:\ROOT\WEBFOLDERS\AT1 \ADMINAPP\Sales1\TEST.LGF
USER:WUSER32
APPSET:AT1
APPLICATION:Sales1
[INFO] GET_DIM_LIST(): I_APPL_ID="Sales1", #dimensions=8 
ACCOUNT,CATEGORY,ENTITY,MEASURES,PRODUCT,RPTCURRENCY,TIME,ZKEYFIG


#dim_memberset=4 
ENTITY:ASA,ASAREST,CN,IND,JPN,5 in total.
TIME:2008.01,1 in total.
CATEGORY:Actual,Plan,2 in total.
ACCOUNT:RENT,1 in total.


REC :100000


CALCULATION BEGIN:
QUERY PROCESSING DATA
QUERY TIME : 0.00 ms. 5  RECORDS QUERIED OUT.
QUERY REFERENCE DATA
CALCULATION TIME IN TOTAL :0.00 ms.
5  RECORDS ARE GENERATED.
CALCULATION END.


SCRIPT RUNNING TIME IN TOTAL:0.00 s.


&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But when i hardcode the value in TMVL parameter like TMVL(12, 2008.01) , the script is working correctly. I am getting the issue only when i pass the variable in the TMVL. Please advise on how to fix this issue. &lt;/P&gt;
  &lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
  &lt;P&gt;Praveen.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 17:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaq-p/12206896</guid>
      <dc:creator>praveen_kumar334</dc:creator>
      <dc:date>2020-03-16T17:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206897#M228106</link>
      <description>&lt;P&gt;Sorry, but the issue is here: "when i pass the variable in the TMVL"&lt;/P&gt;&lt;P&gt;Please provide advanced DM script of the package.&lt;/P&gt;&lt;P&gt;Also provide detailed version info!&lt;/P&gt;&lt;P&gt;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;</description>
      <pubDate>Mon, 16 Mar 2020 18:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206897#M228106</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2020-03-16T18:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206898#M228107</link>
      <description>&lt;P&gt;P.S. sorry, but&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1789613-tmvl-error-screenshot.jpg" /&gt;&lt;/P&gt;&lt;P&gt;looks like validation error&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 18:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206898#M228107</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2020-03-16T18:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206899#M228108</link>
      <description>&lt;P&gt;Hi Vadim,&lt;/P&gt;&lt;P&gt;Thanks for the quick response. &lt;/P&gt;&lt;P&gt;BW Version is 7.53.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1789618-sap-bpc-bw-version.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Advanced DM Script : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROMPT(SELECTINPUT,,,,"%TIME_DIM%")
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,CALC_RENT_ALLOC.LGF)
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Source Data : &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1789616-source-data-1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Target Data : &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1789617-target-data.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Below is the DM Package Log : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOG BEGIN TIME:2020-03-17 00:23:54
FILE:\ROOT\WEBFOLDERS\AT1\ADMINAPP\Sales1\CALC_RENT_ALLOC.LGF
USER:WUSER32
APPSET:AT1
APPLICATION:Sales1
[INFO] GET_DIM_LIST(): I_APPL_ID="Sales1", #dimensions=8
ACCOUNT,CATEGORY,ENTITY,MEASURES,PRODUCT,RPTCURRENCY,TIME,ZKEYFIG


#dim_memberset=4
ENTITY:ASA,ASAREST,CN,IND,JPN,5 in total.
TIME:2008.01,1 in total.
CATEGORY:Actual,Plan,2 in total.
ACCOUNT:RENT,1 in total.


REC :100000


CALCULATION BEGIN:
QUERY PROCESSING DATA
QUERY TIME : 0.00 ms. 5  RECORDS QUERIED OUT.
QUERY REFERENCE DATA
CALCULATION TIME IN TOTAL :0.00 ms.
5  RECORDS ARE GENERATED.
CALCULATION END.


ENDWHEN ACCUMULATION: 5  RECORDS ARE GENERATED.


DATA TO WRITE BACK:
ACCOUNT	CATEGORY	ENTITY	PRODUCT	RPTCURRENCY	TIME	ZKEYFIG	SIGNEDDATA
RENT	Plan	ASA	ProductB	LC	2009.01	SAQTY	100000.00
RENT	Plan	ASAREST	ProductB	LC	2009.01	SAQTY	100000.00
RENT	Plan	CN	ProductB	LC	2009.01	SAQTY	100000.00
RENT	Plan	IND	ProductB	LC	2009.01	SAQTY	100000.00
RENT	Plan	JPN	ProductB	LC	2009.01	SAQTY	100000.00
5  RECORDS HAVE BEEN WRITTEN BACK.
WRITING TIME :0.00  ms.


SCRIPT RUNNING TIME IN TOTAL:0.00 s.
LOG END TIME:2020-03-17 00:23:54
File path: \ROOT\WEBFOLDERS\AT1\Sales1\PRIVATEPUBLICATIONS\WUSER32\tempfiles\20200317002354\003N7CYC8WCF6MZMG4131D5MX_CALC_RENT_ALLOC.LOG
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When running the DM, I am not getting any errors and the records are getting updated in the infocube. &lt;/P&gt;&lt;P&gt;The issue is only with the Logic script syntax error : I am not sure how to fix it . &lt;/P&gt;&lt;P&gt;Please let us know if you need any more info. Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 18:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206899#M228108</guid>
      <dc:creator>praveen_kumar334</dc:creator>
      <dc:date>2020-03-16T18:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206900#M228109</link>
      <description>&lt;P&gt;First of all: BW 753 SP00 is outdated. Upgrade to SP04 is a good idea. Or at least to SP01:&lt;/P&gt;&lt;P&gt;&lt;A href="https://launchpad.support.sap.com/#/notes/0002646731" target="test_blank"&gt;https://launchpad.support.sap.com/#/notes/0002646731&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 19:13:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206900#M228109</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2020-03-16T19:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206901#M228110</link>
      <description>&lt;P&gt;Hi vadim, &lt;/P&gt;&lt;P&gt;This is test environment. Any idea on how to fix the error. &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 19:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206901#M228110</guid>
      <dc:creator>praveen_kumar334</dc:creator>
      <dc:date>2020-03-16T19:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206902#M228111</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;praveen.kumar334&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sorry, but I have provided you with the exact SAP note for your particular case!&lt;/P&gt;&lt;P&gt;Have you read it?&lt;/P&gt;&lt;P&gt;What else do you want?&lt;/P&gt;&lt;P&gt;You can implement only this note, not the whole SP...&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 19:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206902#M228111</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2020-03-16T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on TMVL</title>
      <link>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206903#M228112</link>
      <description>&lt;P&gt;As an alternative you can simply ignore this validation error! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 19:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/clarification-on-tmvl/qaa-p/12206903#M228112</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2020-03-16T19:35:08Z</dc:date>
    </item>
  </channel>
</rss>

