Dinamyc Text Variable

Hi guys,
I´d appreciate if some of you could help me.
I need to use a text variable for some columns in my report, this variable needs to show to correct time characteristic. The report allows the user to filter by fiscal year, quarter, half year and period. The content shown in the column are the same for bought of then, but I can't use the text variable because it is linked with the corresponding characteristic and the characteristic varies according to the filter used by the user. Following the example of my layout:
(Year or Halyear or Quarter or Period ) Actual.........Variance.............(Year or Halyear or Quarter or Period ) Plan
.........................1000 ...........................................  100  ..................................................1100
The text variable must display the correct time characteristic in the column name. Or if thereu2019s any way to hide the text variable when it is empty, I could create one variable for any time characteristic and put it in the column name. But doing this, is showed the technical name of the variable when it is empty.
Thanks for your attention.
Sandro Sousa
Edited by: Sandro Ferreira Sousa on Jan 28, 2011 6:09 PM

I tested this scenario again, I have nailed down to on particular work flow.
The voyager report which I created has prompts like fiscal year and posting period. If I select the values for this prompt using list of values by clicking the button in right side of text box. And then if i try to run the report, i will be able to see the text variable values displayed in report.
Instead in the prompt if I enter value manually without selecting the value and try to run that report, I get text variable name returned in report rather than text variable value.
Thanks
Raghu

Similar Messages

  • Error in creating Text Variable

    Hi  Gurus,
    I have one requirement to create a text variable for the user & the user wants to put the description as input to the variable.
    But when i am creating the variable,the variable type "characteristic Value"  is by default selected and i am also unable to change the variable type to text variable.
    Please any body have the solution to resolve the error.
    Regards
    Debasish

    Hi,
    Just select a particular key figure and on the right side you will see its properties..
    Now just besides the description of the key figure you will find a symbol for create variables, just click on that.. It will create a text variable...
    Edited by: mansi dandavate on Aug 31, 2009 11:12 AM

  • 0FISCPER text variable "External Characteristic Value Key" has changed

    Hello!
    Could somebody help and tell, why in BI7.0 version (but 3.x RRMX version) the format of the 0FISCPER text variable (also other time characteristics) has changed from 001.2007 (version 3.x) to 0/1  .0700 (version 7.0)?
    I cannot understand the logic of the new Exterternal characteristic calue key. What can I do about it?
    Thanks for your help, gurus!
    BR, Auli Peltola

    I figured out myself the reason for the problem: in the new version the fiscal year variant has to be defined in report so that the 0FISCPER would work.

  • How to create Text Variables in BEx Query Designer

    How  can i create Text Variables in Bex Q.D.
    I am able to create characteristic variables
    but i can't find option to create text variables.
    What's the requirement to create Text variables in Bex Q.D.
    When i try to create Text variable for 0calDay.. the variable type is characteristic by Default and disabled.
    How can i create text variables related to 0CalDay with which i need to work in Customer Exit.

    Hi,
    You have to create characteristic variable processing by Customer Exit by considering 0CalDay as a Reference Characteristic
    After creation of the above variable, you restrict your KF with the above created variable.
    Now you can create a Text variable for the description of your KF. This way it works...........
    Regards,
    Suman

  • Text Variables are not being Displayed in the Output of the Query

    Hi All ,
    We have some column headings , which are populated through the Text Vaiables , But in the Query Ouptput only the tech names of the Text variables are being displayed . can anyone tell me why its happening like this . I want to debug the Query , please guide me in this regard
    Thanks in Advance.. Pls reply me as soon as possible

    Hi Nagarjuna reddy,
    Click on the properties of the infoobject enter the name of the description and next to that you can see the X/? buttion click on the this button and select the field/if the proper field is not there then create a field descriton and select. i hope this is works and correct me if i am wrong. for debuggin the query use a transaction code- RSRT.
    regs,
    Vachan

  • Why do text variables using Running Header character style translate forced returns as a word space in the running head on the first page but close up the space on subsequent pages?

    In an InDesign document that requires 3 different Chapter head paragraph styles (to cope with differrent length headings) I've set up the running heads on the master page with a text variable using the Running header (character style) option. The character style I've assigned to this is an empty character style that is applied to all 3 chapter head paragraph styles.
    Some chapter heads require a forced line break, so that the line breaks are aethesically pleasing. On the first page the text variable translates this forced line break as a word space in the running head, but on subsequent pages it ignores the forced line break. This means that if you have a word space before the forced line break, on the first page you get a double word space and on subsequent pages the running head sets correctly with a single word space. But if you remove the word space before the forced line break in the chapter head text, the first running head sets correctly with forced line break interpreted as a single word space, but on subsequest pages the space is closed up.
    This only seems to be a problem when the character style option is used for header text variables. If a paragraph style is used the forrced line break is interpreted as a a single word space in all instances, both on the foirst page and subsequent pages.
    This would appear to be a bug in how text variables are applied when using the Running header (character style) option. I can't see any other reason why the text variable would beheave differently on the first page and on subsequent pages. There is only one master page, so it isn't a case of their being an error between a main master page and a chapter opener master page.
    Does anyone have any solutionss, or know if this problem has been fixed in subsequent releases of InDesign (I'm using CS6 ID version 8.0)
    Thanks

    Ask in the ID forum...
    Mylenium

  • Text Variable not showing headers in Formula

    I have text variable in my report when I use in Formula its not working.Its a replacement path and if I used in normal col its showing header correctly.
    Any ideas guru's
    Thanks in Advance!
    Andy

    As I mentioned when I use in Formula to add up these text variables header is not showing.
    EG: &ZP_FPTA&  &ZP_FPTB&  &ZP_IPVERS& this is in one col and there is another Variable like this I am adding up in Formula ,Addition is working but header is not showing correct
    It shows as Tech name of variable only not picking up description from Variables..
    hope this is clear..
    Andy

  • Text Variable Not Refreshed

    Hello,
    I created a data text variable user exit.
    everyting works fine, but,
    1) Selection options:
    Year: 2010
    Month: 1 to 11
    The query and text variable return right values
    Year 2010
    Month: Jan to Nov
    but, if i want to make new selection
    2) Year : 2011
    month : 1 to 11
    the query results are fine, but, the variable text return its old : return:
    year: 2010
    month: Jan to nov
    3) when I do it again
    year: 2011
    month: 1 to 11
    The query and text variable return right values
    Year 2011
    Month: Jan to Nov
    Why this happen? why they string doesnt work it 1rst..?
    Thx
    Reg

    I assume , variable 'ZP_CALY2' , which you are reading is created on calyear/ month which stores data as '2011.001' for e.g.
    and you are extracting year from the same and writing the same in a variable for calyear .
    In that case correct the code as
    WHEN 'ZP_AN2'.
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZP_CALY2'.
    zt_dt1 = loc_var_range-low +0(4).
    l_s_range-low = zt_dt1.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDLOOP.
    Otherwise you can try this option ,
    You are entering year in the selection screen , so create a text variable with replacement path and give the replacement characteristic as fiscalyear info-object used in the report .also restrict fiscal year variable in the keyfigure . use this variable along with the keyfigure .
    It will give you the correct year .

  • Text variable is not displaying in the query result

    Hi All
    I am having problem here i have cteated a text variable on 0company with replacement, its not showing the name or key on the output when i run the qury it showing &ztxtvatc& so what might be the problem........pls can anybody tell me the solution for this and iam working on BI7.0, New version.
    Thanks in advance
    Srinivas

    Hello ,
              You can try this code, sorry if i am wrong,
    DATA: l_value(10)   TYPE c,
          l_s_comp     LIKE /BI0/TCOMPANY,
          l_t_comp     LIKE /BI0/TCOMPANY OCCURS 0.
    WHEN 'ZTXTCOMP'
    IF i_step = 2.
    LOOP AT i_t_var_range INTO loc_var_range
               WHERE vnam = ZCOMPANY'.
    SELECT * FROM  /BI0/TCOMPANY
                     INTO  l_t_comp
                 WHERE  /BI0/OICOMPANY = i_vnam.
    LOOP AT l_t_comp INTO  l_s_comp    
            CLEAR l_s_range.
            l_s_range-low  = l_s_comp-RSTXTMD.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE
    END LOOP.
    EXIT.
    END LOOP.
    END IF.
    hope it helps,
    assign points if useful

  • Issue with text variable by replacement path

    Hello All
    I have a date field called ZDATE1 (it is based on 0DATE). I have used this this IO in a query and have create variables on it (ZSTARTDT and ZENDDT), Start and End date. And my KFs are based on these 2 dates: Quantity - Start Date & Quantity - End Date  / Product Value - Start Date & Product Value - End Date. Those are my descriptions for my KFs.
    Now, I want the replace the descriptions "Start Date and End Date" with the actual values that I am entering like 09/01/2010 and 09/10/2010. Ex: Quantity - 9/01/2010 & Quantity - 9/10/2010.
    Therefore, I create 2 Text Variables,
         1. ZSTART, Replacement Path, Ref Char (ZDATE1), Replace by Variable ZSTARTDT, with KEY, offset - blank
         2. ZEND, Replacement Path, Ref Char (ZDATE1), Replace by Variable ZENDDT,      with KEY, offset - blank
    And I put these text variables in the descriptions. But when I run the query, I still see: Quantity - &ZSTART& and Quantity - &ZEND&.
    Note that my ZDATE1 which is based on 0DATE does not have a master data table or text table; it is purely transaction data. Does that mean, my text replacement path variables wont work.
    Any suggestions??

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • How can I get an ampersand to show up when between two other letters, in a text variable?

    Using Indesign CC 2014, on Windows 7.
    Creating a catalog.
    The company name is used throughout.
    Since this catalog will be re-branded for distributors at random, the company name will change all the time.
    So, here's a text variable I'm defining:
    The issue is that when I attempt to use an ampersand (&) between two letter with no spaces, the ampersand disappears.

    Yes!! You got it!
    Works. Thank you!
    Wish I'd thought of that . . .

  • Complex Sap text variable in WEBI with replacement path

    Hi Gurus,
    Variables in Bex
    Present Fiscal Qtr : 2012Q4
    Fiscal Qtr-8    :        2010Q4
    My Output header(TEXT)  in Bex as follows.
    2010Q4_ ACT     2011Q1_ ACT     2011Q2_ ACT     2011Q3_ ACT     2011Q4_ ACT     
    2012Q1_ ACT     2012Q2_ ACT     2012Q3_ ACT     2012Q4 BOQ     2012Q4CONS     
    2012Q4_ACT      2013Q1 BOQ     2013Q1CONS
    It's Completly working in Bex. I have used text variable and used replacement path to calculate the above texts.
    WEBI : Even though the document from SAP says that the variables will work when it's derived through replacement path,
    it's not working.
    Question1 :
    How can i achive this in webi . I saw some of the posts in SDN . They suggested to use 'USER RESPONSE' command.
    Question 2 :
    Assume we are using USER RESPONCE , when the current QTR = 2013Q1 . How can we  derive the previous 8 Qtr 's , because
    every Qtr the values are changing .

    Hi,
    In which way is it not working?  What's your SP and Patch level ?
    the webi pre-defined cell you are enquiring about is  either =PromptSummary()   or =UserResponse()
    Regards,
    H

  • Used of Sap text variable with replacement path in Bo designer

    Dear experts,
    I created a univers based on a SAp BW query. In this query I used a text variable in order to get dynamic header columns.
    The text variable is done by using "replacement path" that is the text is derived automatically from the user input triggered by a sap bw variable.
    example :
    the query contains a restricted key figure which shows net values for a selected year based on variable PYEAR.
    The name of this restricted keyfigure is &ZYEAR& where ZYEAR is the text variable with replacement path from the variable PYEAR.
    When generated the univers based on this query I get component &YEAR&.
    When I use this unvers in WebI my result containts header with &YEAR& althougth I selected for example the year 2006.
    According to several how to and white papers on SDN , it seems that text variables with replacement path are supported. So I am disapointed by this result.
    Can you give me advise to get a rigth result ?
    thanks a lot
    Olivier Doubroff

    Hi Rishit,
    I am trying to achieve the same as you, but it seems like text variables in restricted key figures do not work. I am using BO XI3.1 SP3 and SAP BW 7.01 SP6.
    A work-around for me has been to use the "user response" function in webi to create a webi variable that holds the dynamic text title. If the user inputs Jan 2010, I change the input to a date using the "user response" and "ToDate" functions in the webi variable editor. After changing the input to a date I use the RelativeDate to extract 1 month (e.g. 25 days) from the user input. Then I have both Jan 2010 and Dec 2010 as webi variables to use as headers for my restricted key figures.
    The formulas can easily become a little long, but by tweaking the user response string, you should be able to get dynamic headings by using webi functionality. But be aware that you need one webi variable for each dynamic heading if you use this method.
    Let me know if it works or if I can help more:-)
    Best regards,
    Morten

  • Time Format using text variable with replacement path

    Hi Friends,
                                 I've used "Text variable with replacement path" to make the column heading dynamic by replacing the values referring from "0calday"...
    everything is working fine, but here it is displaying the time format like
    YYYYMMDD (20030101), i want it to be displayed DDMMYYYY (01012003) in the column heading... how to make it possible?
    pls waiting for ur inputs, it's an urgent...
    Regards,
    Pattnaik

    Hi Satyakam,
    In the text variable properties make sure that in the replacment path you have chosen "Text" to appear date as per user setting . Other wise as in your case it must be set to "Key" which always shows in the format YYYYMMDD.
    Hope that helps.
    Regards
    Mr Kapadia

  • Text Variable With Replacement Path : supported in Webi 4.0 or Not.??

    Hello to All WebI Gurus,
    We are on BO 4.0
    We are building WebI report on top of Bex query using the BICS connection from IDT.
    Our BW query is having some Text Variable with processing type "Replacement Path".
    Also its having fiscal year period in filter with user input variable.
    the text variables references Fiscal year period and are used in Key figure description,
    hence whatever value the input variable will capture the description of Key figure changes accordingly/dynamically.
    But when I try to use it in BO it throws me an error msg saying :
    Unknown error occured in SL Services
    I am Aware that text variable in this fashion were not supported in BO XI3.1
    Used of Sap text variable with replacement path in Bo designer
    So are Text variable Supported in BO 4.0 in this fashion.
    Any response will be highly appreciable.
    Thanks & Regards
    Neeraj

    Hi,
    Here's a great SDN article, which includes several slides covering u201CWhich BEx features are supported using BICS connectivityu201D : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d056e1bc-2794-2e10-959e-8779c5623cc5
    Pages 8 -> 12 cover these topics.
    If your design choices are compliant (supported) then i'd avise opening a support case if this issue persist after checking again on Patch2.11 (release recently)
    Regards,
    H

Maybe you are looking for

  • Non-static method rff() cannot be referenced from a static context

    I get the above error when compiling my program, can anybody see what the problem is and how to fix it? its at the readstr = rff(); part after the if (i==2) import java.io.*; import java.util.Vector; public class PropertyRental     public static Vect

  • Dealing with inherited xml facts in business rules

    Hello Everyone, I encountered a problem while writing business rules for an xml input message which is of abstract type. The schema follows the xml inheritance and the structure is somewhat like - Document (abstract) *|* Message (abstract) *|* Notifi

  • Mappings_user.sca - Seeburger BIC Mapping Designer

    Hello experts, I have read SAP note 1353318 about how to start the BIC adapter on PI 7.1. Question: where do I get the file "mappings_user.sca" from? It says it is on the BIC Mapping Designer-CD, but the installation files I received via the Internet

  • Oracle Developer Suite 32 Bit Version 10.1.2.0.2  Configuration issues

    Hi, I have installed Oracle Developer Suite 32 Bit Version 10.1.2.0.2 (Production) on windows xp sp-2 in a standalone machine. The following Steps i have followed: 1.Oracle Developer Suite Installed 2.FORMS_PATH ,REPORTS_PATH and UI_ICON has been set

  • Datasource overwritten in Planning applications

    Hello, When I create more than one Classic Planning application under the same DB user (even the same TableSpace), the datasource of the last app. overwrites the previous one. That means I see the same outline and dataforms on every application under