Bex variable issue

Hi Experts,
cmod project was created 
Current Qtr variable is include ZXX_XX_XXX u2013 in XX_QTR
Based on Multiprovider i have copied a query
These are the key figures with Current qtr and we need to have similar ones for same qtr last year.
Example we are currently in Quarter 3 2008 we need to calculate the variable for Quarter 3 2007.
Current Qtr variable is calculated where the user typically enters the current month.
So, if the user enters 08/2008 u2013 current quarter is calculated as quarter 3.
Now we need to calculate Quarter 3 2008.
Regards
Prasad

Prasad,
are you asking how to determine what quarter you are in based on your period, or how to get data from prior year (same quarter) based on current year selection?
if it is #1 - let me know - I have an exit variable that takes input from the posting period and gives quarter info.  If it is #2, then for last year's data, select the same fiscal year variable-1.  You will only have to enter period/year variables once, but if you put the mentioned restriction in a different key figure column, it will give you prior year

Similar Messages

  • BEx  Variable input Issue

    Hi everyone,
                       I have an issue with Input Parameters in BEx Variable Screen. For Example, I have included Customer Name in the Variable Screen. Then , the user says, he does not remember the complete customer name. There will be thousands of names. Instead he remembers only a few Initial Characters. For example, if the  customer Name is ZSAMSUNG. He only remembers ZS out of the whole name.
    In that case, he wants to enter ZS* in the Variable Selection Screen for Customer Name. But this is not working in BEx. It says invalid Parameters. I have created a Characteristic variable with Manual Entry.
    Currently, I am working on BI7.0, Support Package 11.
    Please provide your valuable inputs.
    1) Is it possible create a Customer Exit Variable for the same with some logic.
    Regards,
    Samiir

    Hi Samir
    Sry, but I think that this functionallity is allredy usable in Bex.
    When the variable-screen appears, the customer has to press F4 for help.
    Another screen pos up.
    -> in that screen, in the FIRST ROW, the customer can seach by therms:
       in the first column:  KEYS
       secound column:  Text
       other columns:  attributes if available
    he also has the possibility to search with *
      like  ZS*  for ZSAMSUNG
    try out, it works 
    reagrds
    Tom

  • Crystal Report not Adopting all possible Dropdown Values from BEx Variable

    Hi all,
    I am having an issue in a Crystal report where the drop down parameter that is sourced from a BEx query variable does not include all the possible values in the cube (or in master data). After learning my lesson the first time of not changing the name of the variable or changing it to dynamic (this causes it to break), I had the understanding that the value list may not be complete when running the report in the Crystal client or in the viewer, however, I thought it should be correct when published to the BOE and run in infoview. I am getting the same incomplete list in infoview. I published the report into infoview using the Crystal 2008 desktop client, not the /CRYSTAL/RPTADMIN transaction.
    I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
    Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
    Here's some info:
    Crystal version: CR2008, version 12.2.4.507
    BOE version 3.1
    SAP BW 7.01 EhP 6
    Thanks,
    Chad

    Hi,
    - in the Crystal Reports designer the list of values is not online and there is a maximum number of values - configured by a registry setting:
    (windows 7)
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite 12.0\SAP\BWQueryReportWrapper
    Key: MaxPickListSize
    and correct you can not change the name of the variable or set it to dynamic as the definition is based on the BEx query.
    I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
    The checkbox on the Multi Structure is not for the option to combine 2 Bex queries - it is for Bex queries with 2 structures and the BW query driver has been deprecated already and you have to use the MDX Driver.
    Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
    in Crystal Reports Designer the list is static and when you publish the report using the BW Publishing to your SAP BusinessObjects Enterprise system the list becomes dynamic in InfoView.
    regards
    Ingo Hilgefort

  • How to get data using BEx variable

    I've build a universe upon a Bex query with a variable.
    When refreshing a WeBi report upon this universe with the filter (BEx variable) it works fine and returns data. The same does the QaaWS.
    But when I use this QaaWS as a source for Xcelsius dashbord it doesn't return any data. The input value for the variable is the same in all cases, e.g.  K4/2009.
    What should be done to fix the issue?

    What Xcelsius patch version you use?
    If I recall correct, this is known issue that was suppose to be fixed in Xcelsius 2008 SP2
    [SP2 direct download URL|https://websmp230.sap-ag.de/sap/bc/bsp/spn/download_basket/download.htm?objid=012002523100009338662009D&userid=I055661&action=DL_DIRECT]
    Thanks
    Subhodeep

  • BEx Variable in Webi Report questions

    Hi Gurus,
    Here is my issue.
    I created a BEx Query 0SD_C03 Cube with following fields
    Two Columns
    One Key Figure:                   Subtotal1
    One Restricted Key Figure:  Subtotal with restriction " Sales Organization 1000"
    Two Rows                             Plant, Sales Organization
    One Variable with Sales Organization.
    When I ran this query in BEx Analyzer I can see all Sales Organization values in prompt list, How ever when I created a Universe and ran a webi query I can see 1000 in the Sales Organization list.
    Is this because I have restricted Key Figure with Sales Organization 1000 in the query?
    I removed my Restricted Key Figure from my query and tried again this time I see some 10 Sales Oraganizations but I didn't see all available Sales Organizations. Does BO Universe LOVs restricte the list?
    Thanks
    Sasi

    Identical entry so this is being closed:
    duplicate:
    BEx Variable in Webi Report questions
    Ingo

  • BEx variable 0FPER could not be evaluated

    Hi,
    I am using BW ver 3.1, For one of the infopackage which uses OLAP variable in selection  gives the error message for Fiscal period.
    "BEx variable 0FPER could not be evaluated - No error message."
    one way for this problem is using 0P_PRFP1 instead of 0FPER. 
    Does anybody have come across this error anytime?
    Early response appreciated.
    Thanks
    Ganesh

    hi Ganesh,
    I faced the same issue, I could not install variable 0FPER from BI Content. Could you tell me how to fix ur issue?
    Thank you!

  • Hyperlink Webi Report with BEX variable

    I have a bex query with a selection variable.
    It becomes a yellow filter in my BO Universe which I can use as a query prompt.
    Question is, can I pass the value of that Bex Variable/ BO yellow filter from my parent report to my child report using OpenDoc.
    When I try, the child report bombs and I receive an error message.
    FYI, I am able to pass the values of BO Query Prompts from my parent report to my child report.   The issue is with BEX variables?
    Is there a solution?  Can this be done??
    Thanks
    Using BO XIR3.1
    Edited by: Tom Sidor on Aug 31, 2009 7:49 PM

    Stratos,
    Thanks for your reply.
    My BO Webi report is based off a BEX Query, which generates the Universe used for my BO Report.
    The Bex Query has a Variable Prompt that becomes a Filter/Prompt in my BO Universe & Report.
    Here is the OpenDoc URL for this
    "<a href=\"/OpenDocument/opendoc/openDocument.jsp?sDocName=MFD1-OrderHeader&sType=wid&sPath=%5BMarketingAnalysis%5D&lsSReporting Start Date:="[DT CMB]"&lsSReporting End Date:="[DT CME]"&lsSSKU:="([L01 Material Key])[CHP][CCP][UTP][MSP*][PRDP][CTP][PTP][DIVP][REGP][STSP][STZP][ATP][OPP][ORP][STCCP][ONP]"\" title=\"Order Header Drill Down\" target=\"_blank\" nav=\"web\">"[Orders Placed CM]"</a>"
    The embedded  variable, in the URL above,  for the Bex Query Filter is below
    Variable - [PRDP]
    =If(IsPromptAnswered("Product:");"&lsMProduct:="URLEncode(UserResponse("Product:"))"")
    This is the Where Clause from the Condition properites of  Bex Query Varible in the Universe (yellow filter)
    <OPTIONAL><FILTER KEY="[!V000002]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="@Prompt('Product:','A','Material2 with updash\LovHierNodeL03 MaterialBase',multi,primary_key)"/></CONDITION></FILTER></OPTIONAL>
    All my other WEBI Query prompts pass just fine.  The problem again, is trying to pass a SAP BW Variable that is contain in the Bex Query.
    I receive an error (WIS 10901)on my child report when I try to execute the drill down from the Parent report when I populate the Bex Variable Prompt on My BO Webi Parent Report.  (again this only happens with the BEX variable, all other prompts work fine and pass the values with no issues).
    Thanks for any help you may provide.
    Tom

  • F4 help for BEx variables

    Hi!
    Could anyone help me in implementation the following scenario:
    I have the BEx variable available for input. Then users press F4 to view possible values for this variable, I need to output the certan list of values (the list is defined by quite complex logic - user algorithm).
    So, Do I have the possibility to catch the SAP processing of F4 help and program my logic for the output list (some kind of exit)?
    Please suggest any decision or the source of information according this issue.

    Hello Marina Dolgopolova,
                                         Are you able to find the solution for this requirement. If so pl let me know.
    Thanks & Regards ::
    Balaji T

  • Restriction of f4 help of a bex variable based on another variable input

    Hi,
    Could you please let me know if there is any possibility to restriction of f4 help of a bex variable based on another variable input.
    eg: when i select particular company code in one variable, i need to restrict the f4 help for another variables eg: pur. group based on selected company code.
    Regards
    Kasi

    Hi,
    Try using replacement path option in bex with replace variable with variable selction.
    Thanks.

  • Sort F4 values in BEX variable screen

    Hi ,
    Does anyone know how to sort F4 value help in BEX variable selection screen. This query has come up time and again in SDn and there seems to be no proper reply to this. If anyone has worked on this do let me know.
    Thanks,
    Vaishnavi

    Hi Nara,
    Kindly have a look at below thread,
    Sort the values in Bex query variable screen
    Hope this helps.
    Regards,
    Mani

  • BEx Variable Key/Name swap when used as Prompt in WebI report

    Hi,
    We are using Bex Variables in a Query used as a base for a BOBJ Universe and Query.
    When refreshing the report the Prompt box displays the Name and Key of the infoobject (Dimension), but when selecting one of those values - moving it to the right, it brings across the Name not Key.
    Our requirement is that the Key is selected value rather than the name - is this possible? And if so how?
    Netweaver 2004S & Business Objects XI 3.0.
    Regards,
    Laurence

    Ingo,
    Thanks, I understand this in the background the Key is used, but is there any way to "swap" the Key and Name in the Prompt box, specifically my users want the Key to display in the right hand side of the Prompt bax when selecting, (or in the dropdown box, in the Prompt tab in WebI)
    Best Regards,
    Laurence

  • Cascading LOV in BEx Query OLAP Universe + BEx variable

    Hi gurus,
    we have an universe where a Cascading LOV has been defined based on a BO Hierarchy ( based on a BW hierarchy), the OLAP universe is based on a BEx query.
    Now, when the users create a WebI report selecting a value from the value list, the Cascading LOV appears and the user selects the value, descending by the nodes.
    We are analyzing the universe performance and we are testing to add some time BEx variables in the query ( in the current version no variables are used).
    Everything works properly but when we try to select a value from the Cascading LOV and try to select a lower level the webI returns a mdx error indicanting that the time variable is not informed. (WIS 10901: A database error ocurred; MDX query can not be executed: specify a value for the variable Z... )
    We thought that the mdx for the LOV get values from the MD table because in the infoobject definition, it has the Business Explorer Settings:
       Query Def. Filter Value Selection = Value in Master Data Table
       Query Execution Filter Val. Selectn  = Value in Master Data Table
    The Query Execution Filter Val. Selectn  can be defined at the infoprovider also (with the provider specific Properties of the infoobject) and also at the query, whe have not modify none of them.
    My first question is which settings has efect at OLAP Universes, the infoobject settings; the infocube settings or the query settings ?
    Are the Cascading LOV integrated with BEx Query OLAP Universe?
    Is it an application error?
    Many Thanks in advanced.
    Best Regards,
    Nuria

    Hi Ingo,
    many thanks for your quick answer.
    That was one of the possibilities we have analized but the problem is that the user has to inform the hierarchy level for all the reports, that kind of variables is translated in the universe as a prompt
    Now we have only one universe and some business analists users create reports themselves for the business area based on that universe.
    The users create WebI filters without prompts,just filtering the hierarchy node. If we add the BEx variable then the user sould inform the prompt for all the reports based on that universe.
    We want to avoid that prompt, we have several hierarchies in the query for different infoobjects.
    Thanks again.
    Best Regards,
    Nuria

  • Need clarification on BEX variable usage in customer exit.

    hi,
    i am an ABAP guy,i dont have any idea about BW,But here i got one problem,
    1)Variable has been craeted in BEX Report (processed by Customer exit).
    2)i am trying to write ABAP code in CMOD customer exit(ZXRSRU01),but when i am calling BEX variable it is not taking it is giving error(it should defined by data statment)so how to call the bex varible in Customer exit,if any body have sample code or any idea kindly let me know.

    Hi and welcome to SDN!
    there are a lot of examples and clarifications in these forums. For instance:
    Re: steps for a customer exit.
    Re: Regarding the Code for the Customer Exit
    Best regards,
    Eugene

  • XI 3.0 Open Document and BEx variables (prompts)

    Can open document in Web Intelligence 3.0  be used to pass values to BEx variable/prompt (where the BEx variable is part of a query which populates the universe)?
    Thanks

    We were actually able to get this to work, but the we have discovered we cannot pass values that have two words.
    For example, the value "Batteries" is accepted successfully.  But the value "Fuel and Gases" is not passed successfully. 
    Here is the open document syntax (as generated by the wizard):
    ="< a href=\"https://stld9862.hydroone.com:8081/OpenDocument/opendoc/openDocument.jsp?iDocID=M0jqGzEABdqBABTwlgAAQ.IAAo4KDH8AAAA&sIDType=CUID&sType=wid&sRefresh=Y&lsMMaterial%20Group%20Mandatory="URLEncode(""URLEncode([L01 Material Group]))"&sWindow=New\" title=\"\" target=\"_self\" nav=\"doc\">"[L01 Material Group]+"</ a>"
    Please note, I changed the tags <a to < a so to keep the formula in BOBJ syntax.
    Edited by: Steve Bickerton on Oct 7, 2008 3:13 PM
    Edited by: Steve Bickerton on Oct 7, 2008 3:14 PM

  • Connection between 2 variables in bex variables screen

    Hi all,
    Can anyone help me please with the following scenario?
    I need to create a connection between 2 variables in BEx variables screen.
    Example:
    2 variables in the selection screen:
    Prod Hier. 1
    Prod Hier. 2
    When a user make a selection in the first var. (Prod Hier. 1) in the var screen, i need that the F4 help in the second variable will show only the Prod Hier. 2 that is under Prod Hier. 1.
    Any help will be gratitude,
    Y.B

    Hi,
    your question:
    When creating a replacementpath variable you don't have the option to make it depends on other variable entry (i didn't find the option) I'm using BEx 7
    Answer:
    In BI7.0 Query designer, replacement path with other variable entry is possbile.
    your requirement:
    When a user make a selection in the first var. (Prod Hier. 1) in the var screen, i need that the F4 help in the second variable will show only the Prod Hier. 2 that is under Prod Hier. 1.
    my answer:
    replacement path with variable  will not suit your requirement as far as i know.. any way let us wait for other experts reply...might be someonw knowing.
    if it is useful assign points.
    Regards,
    Senthil

Maybe you are looking for