Using Text Variable for Query Description

hi all,
I am currently trying to include this text variable in the query properties of the query.
This text variable should be able to grab the 0CALMONTH as filter to be included into the query properties. but currrently  cannot grab the particular information from the query properties.

Hi
If I got your Question properly , You are trying to use Replacement Path Variable .. If it is so
/people/kamaljeet.kharbanda/blog/2006/12/28/bex-characteristic-variable-with-replacement-path
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
Hope it helps

Similar Messages

  • Name of column using text variable in Query Designer

    Hello!
    I have 3 columns with amounts, 1 characteristic value variable and 1 text variable.
    For example, names of this columns - 2005 year, 2006 year, 2005/2006.
    I fill names using only one text variable and I can call first 2 column. I use set offset of variables for second column.
    How can I call third column ''2005/2006"?

    Hi,
    u need a second Text varaible and u need to correct your existing text variable.
    Prerequisite: u need for your key figures the same KF-variable
    1. Edit your existing text variable  lets say its called &Text1&
    2. Select your Text variable and go to tab "replacement path"
    3. Choose a) InfoObject b) Choose key
    4. In section "use value range" choose from  value
    5. Create a new text variable lets call it &Text2&
    6. make exact the same settings as for your first text variable butchoose for "value range" to value
    Now u use this text variables for your KF:
    KF 1 -> &Text1&
    KF 2 -> &Text1&
    KF 3 -> &Text1& / &Text2&
    This should make it!!
    Regards
    Tobias

  • Can we create range variable for Query Key Date

    Hello Gurus,
    Can we create a range variable for Query Key Date ? when I tried to give a range of values for Query Key Date, I am unable to find Range Values option. I found only Single Values.
    so, Please let me know if we can use Range variables for Query Key Date ??
    Thanks in advance,
    Regards,
    Aarthi

    Hi Aarthi,
    This is relevant for the time dependant master data that is being pulled in thw query. Like if you are using a nav attr in the query and this nav attr is time dependant, then which record (from the char master data) is to be pulled into the report, depends upon the key date that you specify.
    The default key date value is the date on which the query is executed, that is <Today>.
    Hope this helps...

  • Text valriable in Query Description is not working in Bex Broadcaster

    Hello Experts,
    I am using Bex broadcaster setting to displaying Query Description through text variable availabe as <OBJECT_DESCRIPTION> in subject of boradcasted mail.
    In Query Description I have used text variable at the end to display previous month/year i.e "Report &ZPREV&" .
    Text variable with description is working fine in RSRT/ Analyzer, I am able to see description as "Report 201012" but the same description displays "Report &ZPREV&" in the subject line of broadcasted mail i.e. text variable is not getting assigned with desired value and technical name appears.
    Thanks,

    this problem may arise due to non-assignment of text variable to the any of the characteristics you using the  year so, REFER THE TEXT VARIABLE TO THE FISCAL YEAR . WHICH IS IN  TIME CHARACTERISTICS.
    HAVE YOU CREATED ANY OFFSET VARIABLE,  CREATE A VARIABLE FOR THE FISCAL YEAR  AND CREATE OFFSET TO THE VARIABLE AS -1 THEN  YEAR  WILL YEAR-1   ,   THE TEXT VARIABLE YOU CREATED WILL REFER TO THE FISCAL YEAR SO THE  PREVIOUS YEAR VALUE OF THE TEXT VARIABLE WILL THE YEAR = YEAR - 1.

  • Text Variable for a Restricted Key Figure

    Hi,
    I have a version comparison query three Restricted Key figures based on 0QUANTITY each of which are restricted by Version, Value Type and Fiscal Year. All three are in my query columns. The users select 3 sets of version, value type and fiscal year in the selection for comparison.
    They want to see the text of the version they have selected as the description of the column. How can i achieve this with text variables on these 3 Restricted Key Figures which have multiple restrictions. Please advise
    Thanks
    Rashmi.

    Hi Rashimi,
    As u said this can be acheived by text Variable,
    I have adoubt here,are  there THREE columns for Quantity or just ONE column with three Restrictions.
    In case it is three Columns then u can go with Text variables else probably u may have to populate it in three Columns and by using Workbook you can combine them in one Column.....i.e One column with all the restrictions -text.
    And here is how u create a  text variable.....
    Create text Variables,For Example ,say 0FISCALYEAR.
    1)Right Click on the 0FISCALYEAR and Create a input Variable say YFISCYEAR and save.
    2)If ur using 0FISCALYEAR in the RKF,then drag both the 0FISCALYEAR and KF say 0QUANTITY in the new selection.
    3)After the Description of the RKF there is a = sign click on that to VIEW and CREATE Text variable.
    4)Create New Variable ,enter the tech name(say YFYEAR) and dscription and in the same screen choose type Replacement PAth after which u will get a set of infobjects.
    5)choose 0FISCALYEAR
    6)In the Next screen choose the Tech name of the Input variabble(0FISCALYEAR) and save.
    7)In the description of the RKF ,type as 0FISCALYEAR &YFYEAR&.
    Check this too .....
    /people/surendrakumarreddy.koduru/blog/2009/02/26/using-text-variables-with-customer-exits-in-report-headings
    rgds
    SVU123

  • Text Variables in Query Title

    I have a requirement in BI to have the Calenday Day/Month display in the Title of my Query.  I know how to do this with Calendar Year and Calendar Year/Month, using TEXT VARIABLES.  However, I was wondering if this was possible using Calenday Day.  And if so, are there any pre-requisites?
    The problem that I have come across is that when I create a new text variable and reference Calenday Year (after choosing replacement path), when I search for a  Calendar Day Variable to use, I don't see them displaying in my choices.  Any help, would be appreciated.

    Hi Maximina,
    if the element is not in your variable list than please close query designer and than open it again.
    Text variables on calendar day works as other text variables.
    If you still cant see it just enter it "directly" in the description field.
    If the name of your variable is "ZDAYTEXT" than write &ZDAYTEXT& in the description.
    Dont use the F4 help. This must work.
    Regards,
    Adem

  • Show the period value in column header using Text Variable

    We are using Posting Period & Financial Year to calculate YTD & MTD, for current year and previous years. These posting period and financial year characteristics are custom created characteristics we are using due to customer specific requirement.
    Input values are posting period, financial year and numeric value. To calculate previous year, I need to subtract numeric value from the input financial year. Every thing is working fine up to this.
    In the report I need to show the posting period and financial year values dynamically in each column header of the report for MTD, YTD for current year & previous year. I tried to achieve this using Text Variables, but I didn’t succeed. If some one can give me some idea to resolve this, it would be very helpful.
    I am excellent in ABAP coding. If you can specify me to code in User Exit, I can do it.
    Column headers should be 08.1999 Sales Qty, 08.2008 Sales Qty, 1999 Sales Qty, 2008 Sales Qty.

    Hi Abhinav,
    Try using the content text variables 0T_FYEAR and 0T_FPER3, when used in the head these variable should display the year and period specified in the RKF.
    e.g
    &0T_FPER3&. &0T_FYEAR& Sales Qty = 08.1999 Sales Qty
    If that doesnt work, try creating text replacement path variables referencing the variables you created for the year and period input. To do this click on the RKF and click on the dropdown by the yellow box next to the description on the general tab and select New Variable, enter the description, tech name and set processng by to Replacment Path, then select period as the ref. characteristic, then on the replacement path tab change replace variable with to variable and then select the variable you are using for the period input, save then hit ok, this is now a text representation of the variable your are inputing for period and can be used in the column headers, you will need to repeat the process for the fiscal year.
    Hope this helps
    Josh

  • Using Text Variable in BEx Formula

    Hi Everyone,
    I have two columns in BEx query. First column shows the value based on variable ZFISCPER_M(based on fiscal year/period).
    The other column shows the value for period ZFISCPER_M minus 1 (I have used offset in variable).
    So if my user inputs 009.2009, the first column will show values for 009.2009 and 2nd column will show values for 008.2009.
    In the third column I have formula : 2nd column minus 1st column. I want to use text variable to display column heading. The heading in the 3rd column should be 009.2009.
    Can anyone guide me how to achieve this?
    Regards
    Utpal

    Hi Rakesh,
    My first column shows cumulative balance upto 009.2009; My second column shows the cumulative balance upto 008.2009; In the third column I am trying to display balance for the month - not the cumulative figure. So for the third column my heading should be For the month 009.2009
    But when I substract col 2 - col 1in third column; the text variable finds two different values(009.2009 & 008.2009). Hence it is not displaying any text.
    I hope this makes my question clear.
    Regards
    Utpal

  • Error using Text variables

    HI all
    I am trying to create Text variables in query.
    But it is throwing the below error when i use that.
    Error : Source is not permitted variable for target period from variable 0p_fiscper3_2
    Pls let me know what would be the problem and how o debug it
    Thanks

    My user exit retuns a table in a select-option format
    SIGN OPT LOW
    I   |EQ |29 DEC 2003
    I   |EQ |05 JAN 2004  
    My query looks similar to this
    01/2004                     02/2004
    29 Dec 2004
    xxx xx xxxx  xxxxxx xxxx    xxx xx xxxx  xxxxxx xxxx
    I am not sure why this is happening.
    Thanks
    Eric

  • 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

  • How to create a text variable for Calender Yr/Month depending on the prompt for calendar year

    Hi everyone
    Please assist on this issue:
    i have created a Bex report that has an offset for 12 months from the current calender month, i tried to use text variables to replace the calender months but i just learned now text variables from Bex dont work in BO, so I would like to create a prompt in BO to enter Calendar Year and then based on the input(Calender Year) the Webi report must display a 12 months for that Year.
    Please also indicate where exactly  i have to click in order to get that "Helpful icon "  when the my issues have been resolved, because i searched it and havent seen it anywhere on the communications
    Thanks in Advance
    Ole

    Hi Gill
    In BO I recieve my all months for existing data  and when i create a prompt for Calender Year the months in the report still has those text varibale for exampl if i enter 2011 on the prompt the text remains for the year that was already there wen i created my text variable... so its not dynamic.....
    So if i have text variables in Bex it will display like this in Webi in which it wont change if i put in 2011 as input for the prompt...

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • 10 text variables in query ?

    Hello,
    I have to create a query with a structure in in columns. I have to fill a variable on the selection screen (for example 0CALYEAR).
    The query now lists the last 10 years in the other columns as an offset to the variable 0CALYEAR.
    Now I want to see each year as a text in each column header.
    Any ideas to avoid the creating of 10 text variables for each column ?
    Thanks a lot in advance....

    Hi,
    Get the input for Calyear in some dummy key figure and populate the last 10 year value in user exit to calyear variable.
    Drill down the calyear across the column and set the display as text.
    Hope this helps
    Regars
    Akhan

  • Text variable for 0calmonth in the rows possible ?

    Hello BW Experts,
    I have 0calmonth in the rows and restricted key figures in the column. Wondering if we can show the month description in the rows using text variable?
    Please let me know if that is possible and what are the steps.?
    Suggestions appreciated.
    Regards,
    BWer

    Hi,
    Using Text variables you can display the headings in the reports.
    Thanks
    Reddy.

  • How to  use data function using characterstics variable for calculation on

    how to  use data function using characterstics variable for calculation on  attribute as key figure

    Hi Gayatri
    Did you not see my answer for CASE because CASE does indeed offer the use of the BETWEEN clause, but DECODE does not. Let me give you a little synopsis of DECODE.
    In its most simple form it takes 4 values and looks like this: DECODE(A, B, C, D)
    This essentially means, IF A = B THEN C ELSE D
    The trick to solving BETWEEN in a DECODE is to work out algoriths where A = B. Because we don't know how many values are between 00 and 99, although I could guess there were 100 we could of course have 100 parts in the DECODE but that would be awful. How about if we look at it another way and say this:
    IF PART_NUMBER < 'SDK00' THEN pay_amount
    ELSE IF PART_NUMBER > 'SDK99' THEN pay_AMOUNT
    ELSE pay_amount + 100
    This statement only had 2 hard coded values, but how to make DECODE work with less than? Easy, we use the LEAST function. The LEAST function takes 2 values and returns the one with the lowest value. So I use LEAST(PART_NUMBER, 'SDK00') then whenever the PART_NUMBER is lower than SDK00 it will be true. A similar situation exists for the opposite function GREATEST. Putting all of this together then, you can do this:
    DECODE(PART_NUMBER, GREATEST(PART_NUMBER, 'SDK00'), DECODE(PART_NUMBER, LEAST(PART_NUMBER, 'SDK99'), PAY_AMOUNT * 100, PAY_AMOUNT), PAY_AMOUNT)
    In English this can be read as follows:
    IF the PART_NUMBER is greater than or equal to SDK00 and the PART_NUMBER is less than or equal to SDK99 THEN PAY_AMOUNT x 100 ELSE 0
    Best wishes
    Michael

Maybe you are looking for

  • MVC - Organizing models and managing GUI windows

    I'm having difficulty organizing my MVC models and basically controlling the whole application in general. My application works, but all the controlling logic is being dumped into the main class (Main.java). Here's a simple example of the problem I'm

  • Scrolling in xml form

    Hi, we are migrating a jsp based website to portal. There is a web page in which it has a image and a list of "short descriptions of company stories" scrolling on the right hand side. They did it by HTML, JSP and talking to database and storing those

  • Verizon Messages sending random texts

    Hi, I have a Motorola Droid HD and I am using Verizon Messages. (I HAVE disabled the phones native messaging app) I have been experiencing the following issues: 1. Most importantly, I noticed that after I send a message, the messaging app will send a

  • Process Dialog Summary Reports

    We are looking to report on the results of a Dialog; How is your organization currently doing it? Anyone attempted to complete this through SSRS and had success?  Thanks. 

  • Config to email using output determination

    Hi, I'm trying to set up output determination that will email a PDF of the invoice at the time of invoice creation.  I've created a communication strategy with a single entry for communication method "INT" for email.  I added an entry for simple mail