Query Designer Issue (Variables)

Hello,
I'm trying to create an input query in BI-IP, with 2 característics in rows (untill here evrything works fine).
I'm having problems in creating the columns the way client want. It's a plan query, so the Client wants to Plan his budget monthly for the next year (I've created a mandatory Interval Variable ready for input based on 0FISCPER) if i run the query at this point, it runs, doesn't give results because there are no values.
The problem is that the Client wants to see the Acumulated Real Amount of the previous year in a column before the monthly ones! This is where the query stucks. I assign another variable i've created for cumulative values, and assigned an offset of -1 to that variable
Does anyone knows how to solve this or has any idea so we can start a conversation over here! I'm quite in a hurry as the project is reaching it's end.
Thanks

"The problem is that the Client wants to see the Acumulated Real Amount of the previous year in a column before the monthly ones! This is where the query stucks."
I didnot get that...
When u want to see the Accumulated Real amount of previous year
y do u need to create a variable for it....
for e.g. if i have to do i will do it following way...
Client wants tos ee the Amount of Last year and Current year
i will insert Amount in Columns
right click and say edit
now bring time chars... ofiscper
now restrict it with interval variable , ready for input...
save and hit okey
i will copy the whole amount and paste it below
now i will go to variable restrict screen and then set offset as -1
is this what you did....
if yes... then how does the data corresponds in BW system
logint to rsa1
goto ur cube
right click and hit display data
see what u are seeing....
go to rsrt
run and execute ur query
it will display how each column value is getting calculated
if there is no relevant data then i t will nt show
if there is then u need to redesign variables...
if u r using mandatory variable in columns of keyfigures
dont use 0fiscper in Free chars/Selection screen

Similar Messages

  • BW 3.5, BEx Query designer issue with text of the characteristics

    Hi All,
    We are currently using BEx 3.5 Query Designer to design the queries. We have one of the ODS on which we are querying for.
    We have 3 different types of Customer in this ODS. 0Customer, 0BBP_CUSTOMER and 0GN_CUSTOMER. The problem is when we open this ODS in Query designer we see their text name on the left hand side column where it shows data fields as the same text name Customer.
    Now the our Power users have raised the issue that it is very confusing even when there are 3 different technical names for these characteristics.
    2 Questions I have.
    1) Why is something like this happening? is it some issue with the Patch or something. We will be migrating to new BI soon but in the mean time if I could resolve it that will be the best. Or does it even get resolved with new BI???
    2) what is the way in which we can resolve it?
    Thanks in advance and points will be given generously.

    HI BI Consul!
    Things like this happen, when it is called customer it could be different customers, 0customer is the standard R/3 customer and 0BBP_customer is objects from CRM and most likely 0GN_Customer might be customer from different system.
    Sure, power users should be told which customer is customer and you could also change the discription of the object, to match the definition on the other system. You could also just create z object and replace the existing confusing object with something meaningful to users.
    thanks.
    Wond

  • See & in query Designer for variable

    Hi guys,
    When i turn the technical name on in the Query designer, sometimes I see & in front and end of a variable. Sometimes, I dont see them. I was wondering why.

    I see & in the query designer for the variables. Sometimes, for the same variable I dont see & sign in front and back.
    This is what I have observed which in no way is a complete assesment.
    When you have multiple variables on Active hierachy char. and you delete one, you see '&' in the other variables.

  • Bex Query designing issue

    Hi,
    Need help for the following scenerio,
    There is data for Year (Numc..2010 we can do this by offset because it is Numc) and Year Quarter(Char..2010 Q1But this char..I think not possible) fields in the cube.But report requirement is last 3 recent Quarters data and previous 6 years of data into report.
    FYI..PFA screen,
    For ex:
    2006
    2007
    2008
    2009
    2010
    2011
    2012 Q1
    2012 Q2
    2012 Q3
    2012 Q4
    2013 Q1
    2013 Q2
    2013 Q3
    2013 Q4
    2014 Q1
    2014 Q2
    2014 Q3
    2014 Q4
    Appreciate your help.
    Thanks,
    Ram

    Dear Ravi,
    Could you please check the behaviour in TX RSRT.
    This could be bug, also check if the below notes are helpful.
    1259625    Query Designer: Texts are not updated or missing
    1246021    Structure member texts are not displayed
    1229140    Column headers not displayed
    1279430    Structure member texts are not displayed
    Regards,
    Arvind

  • Query Designer Issues Post System Copy

    Hi All -
    We have just performed a system copy from our production to our QA systems.  Now, when we trying to view a report from Query Designer in our QA environment, we are being prompted for a username and password - which is trying to log in to our production environment!  (I know this because I locked myself out of production trying to log in via our QA Query Designer).  We've done all the BDLS runs, updated the RSLOGSYSDEST table poer OSS note 524554, and also updated the tRFC port in WE20.  What do we need to do to be able to run a query out of the BW QA system?
    Thanks for the assistance.
    Abby

    Hi Abby,
    Once you execute the query from designer you will get one URL generated in the explorer address bar here you will have to change the name of your production app server with quality app server then report will be executed on quality server.
    But this is temporary solution, you will have to check with your basis team regarding this and they will have to change some setting in system table and next time onward the system will pick proper URL.
    Regards,
    Durgesh.

  • Query Designer&WAD: Variable search help - Display Key/Text button

    Good day.
    Please, can you write me some solution of my problem.
    I have the character with hierarchy.
    In tab "Business Explorer" of character set display as "Text".
    When i run my query on SAP Portal and enter to search help of character, it is displays text of my ZCHARACTER(not key and text). But name of levels(0HIER_BODE) display key and text... (NODENAME and TEXT).
    When i run query in BEx Analyzer, in search help all correct. My ZCHARACTER and 0HIER_NODE displays only text.
    When i press tech button "Display Key/Text", a see marked "Text". I cannot find the same button when run search help in Query Designer, WAD(or Portal).
    How can i display only texts of 0HIER_NODE? But no [Key] Text.
    Thank you for answer.
    Regards
    Update. Can be usefull:
    View table RSDVDPA with key DPNAM='0HIER_NODE' consist field CHAPRSNT with value = '0' (Key and Text).
    When i change value of table
    UPDATE RSDDPA SET CHAPRSNT = '4'
      WHERE DPANM   EQ '0HIER_NODE'
        AND objvers EQ 'A'.
    All works correct!
    Change this value directly not correct. I think, that it is change of value of parent character. But when?

    I have created own 0HIER_NODE character - ZNODENAME.
    Only root node infoobject is 0HIER_NODE. All another - Z.
    Thanks! ^)

  • Query Designer Issue - Bucket

    Hi ,
    I have got a new reuirement, Could you please help me out how can we achieve this.
    The data in the cube looks below:
    Product
    Customer
    Start Date
    End Date
    Amount
    P1
    Cust1
    23-Apr-12
    13-May-12
    20
    P1
    Cust2
    05-May-12
    13-May-12
    40
    P2
    Cust3
    12-Sep-12
    15-Sep-12
    50
    P2
    CUst4
    19-Oct-12
    22-Oct-12
    70
    Initially, the report looks in the following manner.
    Product
    <5 days
    >5 days and <= 10 days
    >10 days
    Amount
    P1
    0
    20
    40
    60
    P2
    120
    0
    0
    120
    When i drill down the Customer, then the report should be like this.
    Product
    Customer
    <5 days
    >5 days and <= 10 days
    >10 days
    Amount
    P1
    Cust1
    0
    0
    20
    20
    P1
    Cust2
    0
    40
    0
    40
    P2
    Cust3
    50
    0
    0
    50
    P2
    CUst4
    70
    0
    0
    70
    In the query desinger, what i have done means. I have add the Prodcut in row and Account as free characteristic.
    1. Create a formula to calculte the difference between start and end date.
    2. Create a formula for all the buckets and if the difference between those days is < 5 days then it will falls into Bucket1 ( < 5 days) and so on.
    When i execute the report the report looks like.
    Product
    <5 days
    >5 days and <= 10 days
    >10 days
    Amount
    P1
    0
    0
    60
    60
    P2
    120
    0
    0
    120
    Instead of 20 comes into bucket2 (>5 days and < 10 days) , all the cummaltive comes in bucket 3 ( > 10 days).
    Could you please help me out how can i solve it.
    TIA

    Are your dates of type KF ?
    IF not then you must have converted them into KF to calculate the difference with the help of formula variable with replacement path.Then it is mandatory to keep the dates in rows otherwise it does not work properly.
    And the formula should be something like this for calculating the amount based on difference of days:
    (Difference>5)AND(Difference<=10)*Amount
    Hope this helps.
    Regards,
    AL

  • Query Designer: Formula Variable

    Would like to check how to use the formula variable for key figures?
    I have created a formula variable and attached in the formula. How this variable be filled? I have given the properites as manual input but system gives exception error when query is executed.
    Error message..
    Variable 46LD342EI7BQ4XB6P1GLYDAL9 (46LD342EI7BQ4XB6P1GLYDAL9) was found in the query but in the meantime it has been deleted, or it has been used incorrectly.
    Formula variable- can be used in all cases. Note: Formula variables can have units or be without them. Incorrect use can also arise here since the system always calculates in accordance with the units. Formula variables can also be used to create the upper and lower limits in exceptions.

    Hi,
    I think your definition of your formula veriable is wrong.
    have you put the variable as input ready?
    gr
    Joke

  • Query design issue urgent

    Hi all,
    In Reporting i am having a require where i need to merge some rows.
    for example:
                                 pen
    Stationary              book
                                 paper
    first column will define the category of the next column.
    and the pen, book, paper r restricted key figures.
    plz let me now how can i designed this format.
    appreciated with points
    Regards

    Hi venkat,
    thanx for the reply, in the first column v r having stationary which consist of the three different rows
    no row here  pen
    stationary        book
    no row here  paper
    from the above 3 rows r merge into a single row.
    thanx

  • Query design issue??

    Hi all,
    Is there anyway that I can design a report for this case: customers's sale values in the past one year and for those customer who don't have any sales in past one year, then I want to their lastest sales data to fill in the past one year. For example:
    If the report run by monthly (001-012/2005) for customers, customer A, B,C have sales data for 001-012/200 and customer D only have sales data for 001-012/2004 , then the sales report is 001-012/2005 and will cover these 4 customers and customer D's sales data (001-012/2004) needs to fill in 001-012/2005 period.
    Thanks
    J.

    Hi,
      I am afraid it is not possible do it BEx. Because there should be some validation for customer 'C' and finding a solution may be a bit complicated in BEx I believe.
    One option is can go for a customer exit and validate using some logic like below:
    If there is no data at all for the given periods getting data from previous periods. Need to brain strom to achieve this...
    Message was edited by: AVR - IGA

  • Bi Query Design Question

    Hi,
                I have a question regarding a query design issue I was faced with today. I was asked to designed a Query, however all the fields required are all defined as characteristics but I would like to display one as a key figure. I would have a characteristic for a row, the column also for a characteristic and have another characteristic displayed instead of the key figured…… Is that possible?
    Thanks for any feedback

    Hi Serge,
    This question would be more appripriate -- and you will get a quicker answer -- in the BI Forums.  Please open your question there.
    Best Regards,
    Matt

  • Providing access to Variables in the Query Designer

    Greetings experts and fellow consultants,
    I have a simple question, did a search and did not come up with much of an answer.  Currently, we have a system with a role for BI Power Users in order for them to create ad-hoc queries.  An issue we found was that these power users were not able to view variables within the query designer:
    Under the "Characteristic Restrictions" pane, the variables show up as (Display Not Allowed) under their associated InfoObjects.  This is presenting an issue (understandably) and I would like to provide access for these power users to see the variables.
    My question is, are there any circumstances where I would want to restrict which variables are shown to the power user?  Right now, I plan to allow display access to all variables (via S_RS_COMP+S_RS_COMP1 for those informed on Security).  Just trying to brainstorm on whether there might be scenerios where I would want to hide certain variables.
    Many thanks to all opinions, as always!

    Suresh, in my above post I knew how to enable this.  I just wanted to know in regards to security whether there were any exposures.  Apparently, I could not find any and the changes went through without issue.  The way you enable display of variables in the Query Designer is the following:
    S_RS_COMP:
    RSINFOAREA '*'
    RSINFOCUBE '*'
    RSZCOMPTP 'VAR'
    ACTVT '03'
    S_RS_COMP1:
    RSZCOMPTP 'VAR'
    RSZCOMPID '*'
    RSZOWNER '*'
    ACTVT '03'
    Hope this helps.  Of course, adjust the field values are you see fit but the minimum requirement is that RSZCOMOPTP 'VAR' (Variables) and ACTVT '03' (Display).

  • Authorization in BEx Query Designer: "read only" for definitions of variables

    Hello,
    I`m developing a concept of authorizations for key user who should be able to maintain certain
    objects in the query designer. For other objects they should have access “read only”.
    The users have authorizations  to  design new queries.  They should be able to use existing variables
    (SAP Business Content ( 0*) and customer variables (z*). On this point, I have a problem: in the selection window of the query designer there are only buttons to create, to delete and to edit a variable.
    The user must have authorizations for changing, although he just wants to look for the definition
    of a variable (if he wants to see their basic or global settings before using the variable).
    I can´t find a possibility to switch from “edit” to “read only”.
    The users should only see and apply variables from others (SAP, collegues), but he mustn´t be able to
    change them.
    The user needs the following authorization objects:  S_RS_COMP , activity =02 (change), also
    authorization object S_RS_COMP1. If I give the users only activity 03 (display),
    the user get the message: “display not allowed”.
    Is there any possibility to give a key user the authorization to display all variables with
    their definitions?
    Best regards
    Ricarda Seyb

    Hi raghukan,
    This is may be due to the authorization but still you can check the consistency check for these queries using RSRV.
    Regards,
    Amit

  • How to create a variable in Bex Query Designer

    Hi guys,
    I am writing a query for a travel management report using the SAP Standard cube. I would like to restrict the query so it only shows me the last two months excluding the current month. I have checked BI content in RSA1, but I canu2019t find a relevant SAP standard variable that I can use.
    Can anyone please tell me if I can create my own? And if so, how I can do this.
    Many Thanks
    Forhad.

    lets say u want to display following picture:
    sept$-----august$
    City
    -chicago123$--
    44$
    so in Query designer go to Default values section.
    Bring in Calendar month
    right click calendar month
    and hit Restrict
    now select variable
    use standard sap variable Current Month.
    hit okey
    now select Variable and hit Red button
    Result u restricted current month.
    in columns bring in keyfigure $
    right click and hit edit
    bring in time field calendar month
    right click and hit restrict
    bring in Current month
    right click and select - SET OFFSET FOR VARIABLE
    select -1
    hit okey
    repeat the above process
    and this time select offset = -2
    this way u restricted current month
    but displayed last 2 months for keyfigure values.

  • Creating Restrictions in BEx query designer for (1-a), where a is variable.

    Dear All,
    >>  Suppose for the variable in the BEx query designer, I've created restriction for 0FISCPER to the variable 0P_PER (as 0P_PER-1) by right clicking 0P_PER3, from that a dialog box appears.  In that I've selected 0P_PER3 and then clicked on offset variable and when I set the offset variable, it works for (0P_PER-1.etc, 0P_PER+1,etc..)
    But if I want to have (1-0P_PER), then plz tell me how to define this restriction?
    Plz explain me the steps to perform (1-0P_PER) restriction in BEx query designer in BW1.
    I'm using SAP BI 7.2 gui.
    Expecting your reply soon,
    with Regards,
    Jerald

    My requirement is that I want to have " 1-fiscal year"., But this I could not define using offset variables, since using offset we can define "fiscal year +1" or "fiscal year -1". 
    So there would be some other way to define "1-fiscalyear".  So Please help me to define "1-fiscalyear"  by giving me the steps.
    Thank you,
    with Regards,
    Jerald

Maybe you are looking for

  • Amazon is selling this SEAGATE external hard drive. Should I buy it?

    *Seagate FreeAgent Desk for Mac 2 TB USB 2.0/FireWire 800 Desktop External Hard Drive ST320005FJA105-RK (Silver) by Seagate* If no one can find a problem with this selection, I will buy it. However, if you do see a problem with it, please do let me k

  • Crystal Viewer not working with Parameterized file

    When I run a classic ASP file without parameter collections, I can see Crystal Viewer with data from the db. This works fine. If, however, I run an ASP file with parameter collections, I get static text only. The viewer is not displaying records from

  • Presentation on Bex

    Hi All, I  hav to give  presentation on Bex for  User's (@ Client Location)..on next couple of days Can anyone provide me PPT or Presentation Docs on End User training material on BEx .. pls send to [email protected] Its very urgent for me .. i  wil

  • Initialized of Database (8.1.7)

    When I install the Oracle 8.1.7 on RedHat Linux 7.0. Everythings seems OK, but when it goes to the part of initialization of Database, it prompts ERROR of ora-03114. I have no any idea.Anyone can help me? THX a lot

  • Compare date with sysdate

    Hello, I have a litlle sproblem that need help. I have a field that is date type that is called "created" from a table called cx_ioi_log I need to guet all the records from the last date of yesterday but if i type select * from siebel.cx_ioi_log wher