<?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: Text variable replacement not working in Web-Intelligence report? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106835#M2566646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Montz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need a variable (manual user entry) built on 0calquarter that will be run when the report starts. You can set the variable to mandatory input so the user always has to fill out this variable when the report is executed. Did you already create this variable??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you create a structure in your query. Make 5 selections and in each selection you drag the infoobject 0calquarter into the selection. Restrict the 0calquarter infoobject in your selection by choosing the variable on 0calquarter you just created. On the first selection you do not make an offset. On the second selection you make an offset on the variable that is "-1". On the third selection you make an offset that is "-2" and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you should have the correct data in your structure. Now you will need a text variable that can be dynamically updated depending on the user input. Create a new text variable on the 0calquarter infobjects that uses "replacement path". Set the text to "label" and check the "from value" box. Now this text variable will show the correct quarter text dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more details, then just ask:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jul 2010 13:34:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-19T13:34:34Z</dc:date>
    <item>
      <title>Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaq-p/7106827</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 have created a bex query where i provide cal . yr/quarter as input and in return i get past four quarter revenue along with present quarter revenue.&lt;/P&gt;&lt;P&gt;Now i have created a text variable(zcalquat) which replaces cal yr./quarter with its text for 5 quarter dynamically at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have created a universe and webi report on top of that query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my webi report shows heading for all five  quarters as &amp;amp;zcalquat&amp;amp; instead of its quarter text .&lt;/P&gt;&lt;P&gt;I mean to say that my text variable is not getting replaced  dynamically  in web -intelligence report .though its working in bi.&lt;/P&gt;&lt;P&gt;please provide  a solution that i need to do in universe designer so that i get dynamic variable replacement according to inputs entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help from you all.&lt;/P&gt;&lt;P&gt;Hope my issue get solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PRIORITY !!!!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Montz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 12:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaq-p/7106827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T12:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106828#M2566639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My experience is that text variables in the descriptions for the calculated/restricted key figures does not work. This is because this is considered as metadata for the CKF/RKF and this is not loaded when running the Webi query. I am not happy with this - I consider it an SAP BI to BO integration defect - so if you find a solution I would be very interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 12:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106828#M2566639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T12:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106829#M2566640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Functionalities that can be done in BW and BO WEBI in different ways, but cannot be transferred from BW to BO in current BO version (BO 3.0/3.1) like Text Variables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are steps to help you create one in WebI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a prompt variable in BO based on which you want to change column name. In this example letu2019s assume it is Calendar Month. &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;Select Prompt. Define text for the prompt. In this case it is u2018Calendar Monthu2019 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh the report. Enter the desired selected month. Define the properties of the prompt like single, range, in between, etc., as required. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define USERRESPONSE function for column whose label has to be dynamically replaced by selected month. Define the text of the prompt inside the USERRESPONSE function.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use some advanced functionalities for USERRESPONSE functions. Please click InfoView Help for more details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column label will be replaced by Dec 2009, the selected month in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 13:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106829#M2566640</guid>
      <dc:creator>former_member793810</dc:creator>
      <dc:date>2010-07-13T13:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106830#M2566641</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 expect some more  reply friends!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 04:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106830#M2566641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T04:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106831#M2566642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text variable replacement does not currently work. You must use WEBI functionality instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 11:25:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106831#M2566642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T11:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106832#M2566643</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;i want to know then if user enters a single quarter value then he should get data of current quarter in addition to previous four quarter.If i design this in bex that den i cant use text variable via replacement path in webi. So plz provide me a solution via which i can achieve my query in webi by just entering single quarter value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Montz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 04:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106832#M2566643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T04:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106833#M2566644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Montz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just heard from SAP support that replacement path text variables in restricted key figures does not work in XI3.1 SP3. This is logged as a bug and is to be fixed in XI3.1 SP4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, replacement path text variables work in selections in structures. You could make a structure with 5 selections in it. Each selection should filter on the specified quarter. You can use the basic offset function in BEx Query designer on the 0calquarter infoobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the BEx structure becomes a dimension in your universe and you will be able to drag this dimension into your webi report and you will see the 5 selections representing the quarters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 11:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106833#M2566644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T11:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106834#M2566645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain with a example in detail on how will i get previous quarter text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Montz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 13:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106834#M2566645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106835#M2566646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Montz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need a variable (manual user entry) built on 0calquarter that will be run when the report starts. You can set the variable to mandatory input so the user always has to fill out this variable when the report is executed. Did you already create this variable??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you create a structure in your query. Make 5 selections and in each selection you drag the infoobject 0calquarter into the selection. Restrict the 0calquarter infoobject in your selection by choosing the variable on 0calquarter you just created. On the first selection you do not make an offset. On the second selection you make an offset on the variable that is "-1". On the third selection you make an offset that is "-2" and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you should have the correct data in your structure. Now you will need a text variable that can be dynamically updated depending on the user input. Create a new text variable on the 0calquarter infobjects that uses "replacement path". Set the text to "label" and check the "from value" box. Now this text variable will show the correct quarter text dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more details, then just ask:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 13:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106835#M2566646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T13:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106836#M2566647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since Text Variable cannot be imported into WebI from Bex yo uneed to create in WebI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow following syntax pattern to achieve this task...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(UserResponse("Quarter"))="0calQuarter" Then "XYZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bashir Awan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 13:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106836#M2566647</guid>
      <dc:creator>former_member793810</dc:creator>
      <dc:date>2010-07-19T13:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106837#M2566648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bashir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The userrepsonse function is also an okay solution. However, text variables do indeed work when using them in structures in BEx. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text variables will not work when used in restricted key figures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 13:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106837#M2566648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106838#M2566649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bashir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i give cal/quat = 20101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then what formula i should write to get text for current quarter in addition to past four quarters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Montz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 14:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106838#M2566649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T14:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Text variable replacement not working in Web-Intelligence report?</title>
      <link>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106839#M2566650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Montz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula to get the user input could be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=UserResponse("Calendar year / quarter")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to change the "Calendar year / quarter" text. This text should be the same as the text you see in the top of the prompt window when you have to enter the quarter prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use different formulas for the other quarters. The formulas will be long and you probably have to split the result from the UserResponse function and concatenate it with other strings to get your desired text. Be aware that the result from the UserResponse formula is a string and you may need to turn it into a date before changing the format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have problems making the quarter texts, then write back and tell us the exact format you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 20:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/text-variable-replacement-not-working-in-web-intelligence-report/qaa-p/7106839#M2566650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-20T20:48:50Z</dc:date>
    </item>
  </channel>
</rss>

