SAP BEx Variables

Hello Experts,
we want to delete all variables which are not used in any query. Is there an easy way to find out all the variables which are not used? (I cannot use the table RSZGLOBV)
Thanks and Regards,
AK

Have you tried running report ANALYZE_RSZ_TABLES?
Please review Note 792779 for a list of all the things this report is capable of detecting.
One of the outputs for table RSZGLOBV
   Table RSZGLOBV
   No errors found.
   Variables not used in queries or other query components.
Then clicking on the Display icon -
Error description:
Listed variables are not used in the definitions of queries or other
reusable query components.
Variables found: 324
0A_BUYID                       8J6KK1RMVAA2FWLBXIY76UR1X
0BBP_BUYID                     Characterisctic Value Variable
0A_COARE                       4PY9XTWFFND2PTGD26Q6DAPV9
0CO_AREA                       Characterisctic Value Variable
0A_COSTC                       4YH6J5QSX6BRAI6LWTK9QLAID
0COSTCENTER                    Characterisctic Value Variable
0A_PGRP                        F51T7VNF1Y246RSZYDOIU9B3P
0BBP_PURGRP                    Characterisctic Value Variable
0A_PORG                        EJQJQK1HC4NER1ZDTSLAF0VHX
0BBP_PURORG                    Characterisctic Value Variable

Similar Messages

  • BEx SAP-Exit Variables

    Where do I find documentation on BEx SAP-Exit Variables. What the Exit does and so on?

    Try this link.
    http://help.sap.com/saphelp_nw70/helpdata/en/36/df22419e2ab167e10000000a155106/frameset.htm
    The variables are documented as per BI Content.
    -Saket

  • Subject: Where are SAP Exit Variables and how to use them in Bex Query

    I have seen references to variables:  0cyear (Current Year), 0CALYEAR (current year), oCALMONTH (Current month/year).
    Under 0CALMONTH characteristic or 0CALYEAR I do not see any of the variables, so how does
    one use these variable in the query. For example I want to create a restricted key figure:  Duration restricted by Current calendar year (e.g.  2009 if I am in 2009, 2010 if I am in 2010..).

    Thanks a lot. Actally, I was looking in my production system and under varaiables I did not find any SAP Exit variables,
    but in development envrionment I do see some.
    Why will it not show me these variables in production? Is it because:
    1. Some special premssion is required to view this type of variable
    or
    2. THese varaiables were not installed from Business Content
    It is hard for me to beleive, it is permission issue.

  • Prompt List of Values in WebI - SAP BI Variable - SAP BI Query -BI Infoset

    Hi,
    We have a Multiprovider built on an Infoset. SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    Multiple-Single Values type Optional Variables are created for some of the Objects of this SAP BI Query.
    Universe is created on top of this SAP BI Query, using SAP Integration kit.
    WebI is created on top of this Universe.
    Prompts are created on some of the Universe Objects, for the WebI report.
    We are facing a typical problem.
    When a WebI prompt is created on one particular object, (which also has a Multiple Single Value type Optional Variable in SAP BI Query), its List of Values is showing up only first three values in WebI. The SAP BI Variable in BEX Analyzer shows up all the 8 values for the List of Values, for the same object.
    The Output WebI report has more values for the object than shown up in the List of Values & this is the problem.
    We tried to keep the settings in Info-object, DSO, Infoset, Multiprovider = Values in Master Data (for the List of Values).
    Similar objects and similar variables for the same query / webi show all the List of Values.
    Any guidance on aspects to be checked would be helpful.
    regards,
    Rajesh K Sarin

    Problem :
    If an SAP BI Infoset is used in data modelling, and a restricted key
    figure is created in the SAP BI Query; the resultant WebI Object Prompt
    for the Info-object, only shows up LOVs which have been used for the
    restricted Key Figure. Both the things are not related except for the
    fact that some of the values for the same object are used for the
    restricted key figure.
    Details :
    We have a Multiprovider built on an SAP BI Infoset.
    SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    There is a restricted key figure in the sap bi query. KeyFigure "Number
    of Records" is restricted for 3 of the relevant Info-object "Meter
    Reading Status" values.
    Universe is created on top of this SAP BI Query, using SAP Integration
    kit. WebI is created on top of this Universe.
    Prompt is created on the Universe Object for Meter Reading Status, in
    the WebI report.
    List of Values is showing up only the three values in WebI (which were
    used in the Restricted Key Figure calculation).
    SAP BI Variable in BEX Analyzer for the same Info-object Meter Reading
    Status shows up all the 8 values for the List of Values.
    The Output WebI report has more values for the object than shown up in
    the List of Values & this is the problem.
    We have kept the settings in Info-object, DSO, Infoset,
    Multiprovider, Query = Values in Master Data (for the List of Values).
    When we delete the "Restricted Key Figure" from the SAP BI Query, the
    refreshed Universe and Webi have a complete set of List of Values
    applicable.   
    Steps for Reconstruction    
    1. Create Infoset
    2. Create SAP BI Query on Infoset
    3. Create Restricted Key Figure for Number of Records and few of the
    values for a characteristic info-object "X".
    4. Create BO Universe on SAP BI Query
    5. Create Webi on BO Universe
    6. Create a Prompt on the characteristic info-object "X".
    7. Check List of Values for the characteristic info-object "X" in SAP
    BI Query and WebI.
    8. LOVs in WebI are equal to the values used for restriction in the
    restricted key figure.
    9. Delete the restricted key figure from SAP BI Query.
    10. Refresh Universe
    11. Webi prompt shows all the values for the prompt on "X".

  • WebI report based on Universe upon SAP BEx Queries:Prompt issue

    Hi,
      I am creating Web Intelligence report using Universe based on SAP Bex Queries. In WebI report I created a filter condition as I need to run report based on two specidc dates. I need to schedule report to run 2nd of every month to show data for last month. At present I have the following filter : date between 'Start Date' and 'End Date'. 'Start Date' should always be 'first date of previous month' and End Date be always must be 'Last date of previous Month'. How to do this. The solution I thought would be to create  variables at report/universe level ('first date of previous month' and 'Last date of previous Month') and use in the filter using 'Object from this Query' option.But this 'Object from this Query' option is missing in the prompt.Is there any work around to achieve this.? Could you please help me.
    Nanda Kishore

    Hi all,
    I have a related question too.
    I have 2 queries and need a Combined BEx query written on this for reporting. (WebI)
    In the 2 queries, there is a Field which needs to be restricted.
    But this field should not be restricted in the Combined BEx query.
    So I thought of restricting the Field at the report level. But in this case, the user gets a prompt to enter a value for the field.
    And this is not desirable as per the requirement.
    COuld you please tell me if there is another way of handling this without the user being prompted to enter a value while the report is being run, but still I need selection at the Field level.
    Thanks and Regards,
    Srilakshmi B

  • 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

  • How to create/use SAP Exit variable of Query designer

    Hello experts,
    Can you please guide me on how to create/use SAP Exit variables ?
    Is there any way we can transport customer exit include in which we write all codes related to customer exit variables?
    Kindly provide your valuable inputs on this.
    Thanks,
    Mitesh

    Hello Gautam,
    I think you should first implement the user-exit via the transaction SMOD/CMOD and the SAP-Enhancement RSR00001 User-Exit ( BW Reporting )
    For the concrete implementation I would suggest to encapsulate the variables, as it is described here
    Easy implementation of BEx-Userexit-Variables
    and here: BEx-Userexits reloaded
    Kind regards,
    Hendrik

  • Dynamic filter on time characteristics on OLAP SAP BEX query based universe

    Dear all,
    I'm currently working on the integration between SAP NetWeaver BI 7.0 and SAP BusinessObjects XI 3.1 FP 1.5 via integration kit.
    I've built an OLAP universe on the top of a BW query based on a multiprovider that contains 10 infocubes.
    Everything works fine but I need to create a filter in the OLAP universe that allows to restrict data by current date (e.g. using TIME characteristic of Infocube such as 0CALDAY or 0CALMONTH). From that filter we could start creating other conditions to compare data to different time periods.
    I've already tried to use a SAP exit variable in  a BW query but this kind of object would restrict query data only by current date and for example it would be impossible to browse data by previous years (to bypass this problem we could use restricted key figures with different offsets but we have too many key figures in the query and the number of restrictions
    would rise exponentially). 
    In a relational DataBase we can do that using a "where condition" based on 'CURRENTDATE' (SQL DB2 syntax).
    Now, we need to apply the same logic but translated in MDX syntax. 
    Is it possible to enter a dynamic filter in the OLAP universe or just fixed or promt values ?
    Any advise?
    Thanks in advance.
    Best Regards.
    M.

    Hi Ingo,
    1) My question is: "How can I have to manage variable in BEX queries and in the UNIVERSE in order to obtain the maximum flexibility to create reports with measures on actual day (for example) without asking the user to promt a value ?"
    I want to use an unique BEX query to define an unique UNIVERSE. On this UNIVERSE I want to create many reports (actual day, previous day, and so on).
    If I restrict 0CALDAY with an EXIT variable then shall I be able to create a different restrictions on the same Universe based on 0CALDAY ?
    2) Another question is:
    Is it possible to insert an XML / MDX filter on the OLAP Universe with dynamic derivation of the system date ?
    For example:
    Instead of this:
    <FILTER KEY="[0FISCYEAR].[LEVEL01].[NAME]">
        <CONDITION OPERATORCONDITION="Equal">
            <CONSTANT CAPTION="Z12008"></CONSTANT>
        </CONDITION>
    </FILTER>
    Is it possible to insert a tag with a dynamic function to derive the system date ?
    Thanks in advance.
    Best Regards.

  • Urgent!!! How to give a value to a BEx variable in the planning fuction?

    Hi all,
    does anybody know how can set variable's value in the palnning fuction (type exit) in IP?
    The two function modules in BPS which make this job don't work in the IP.
    thanks very much for any proposal.
    hongwei

    Hi,
    Reg the first part of the question, can you please explain how do you want to capture the variable for the custom planning function? Because, when I look at standard functions delivered by SAP, in the FROM CHANGE and TO CHANGE(for example copy function), we can select the BI variables or create new variables also.
    To pass the values to this variable from BEx Analyzer, we need to use the command range in BEx Analyzer and capture the values.
    I have used this approach to capture the BEx variable values into a FOX function using VARV function, but Im not pretty sure how to pass it to a custom planning function.
    Regarding the second part of the question can you pls look at FM :   RSPLSSE_PLSEQ_EXECUTE. I think you need to embedd your planning function into a sequence and call it with the above FM.
    You can also have a look at the ABAP program that is used to trigger a planning sequence by placing a breakpoint in any of the planning functions : "RSPLS_PLSEQ_EXECUTE" wherein you can pass the sequence name in the variant.
    Rgds
    Shyam

  • Create a BEx variable which should by default contain current date, etc

    Hi,
    I need to create 2 variables: ZDATE01 and ZDATE02.
    They will be used in the following situation:
    0DATETO >= ZDATE01
    and
    0DATEFROM <= ZDATE02
    to only display records on a current "key" date.
    ZDATE01 should be a variable that has current date pre-populated in it on the variable entry screen in BEx Web Analyzer, so that users do not have to type in the date themselves.
    ZDATE02 should be a replacement path variable to be replaced by whatever is the value of ZDATE01.
    How would I accomplish ZDATE01 variable having current date pre-populated in it on the variable entry screen?
    I tried creating ZDATE01 variable with having SAP exit variable as replacement path, but it did not let me.
    Thanks

    Sorry, the previous link was wrong...
    Here you go...
    Current System date in report
    WHEN 'XXXX'.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'YYYY'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = sy_datum.
    clear L_S_RANGE-HIGH.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND L_S_RANGE TO E_T_RANGE.

  • SAP Delivered Variable "0DAT" issue

    Hi Experts,
      I am not able to use the SAP Delivered Variable "0DAT - Current Date" on 2 different objects. One is a standard characteristic and other one is a RKF. I am receiving an error mesaage stating that I cannot use the variable on 2 different characteristics. Can anyone please explain why is this happening?
    Thanks,
    SB

    Hi Frederic,
       I tried using a Custom variable i created on 2 different objects in the same query and it still says that I cannot use the custom variable. You mentioned that I may be missing some functionality in BEx? Can you please elaborate on that? I would definitely like to apply any OSS notes if available because most of my reports use the same variable on different objects like the "Key Date" variable is supposed be used on Posting Date, Billing Date, Move in Date,...
    Thanks,
    SB.

  • Replacing Bex variables

    We are on BI 3.5
    Is there a way to replace an existing Bex variable with another one via program (custom or SAP), function module etc ...Is this feature available in BI 7.0 ?
    We have quite a few queries which uses variables of processing type '6' and we would like to replace it with another type.
    Of course hard way is change it manually.
    Thanks in advance .
    Hitesh Mehta

    Dear Hitesh,
    As I understand your question, you want to fill one variable by using another. You can do this using a customer exit variable. Lets say you have a variable (V1) created on 0CALDAY and this is displayed to the user for manual entry. Uing this you can fill another variable (V2) created on say 0PSTNG_DATE.
    You can try creating a replacement path variable V2 on 0PSTNG_DATE and try filling it with V1. However, I am not sure whether this will work in 3.5.
    Alterntively you can create a customer exit variable V2 on 0PSTNG_DATE and fill it using V1. You can use the following code in CMOD:
    DATA: LOC_VAR_RANGE TYPE RRRANGEEXIT.
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    WHEN 'V2'.
    IF I_STEP = 2.
      LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'V1'.
        CLEAR L_S_RANGE.
        L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPT = 'EQ'.
        APPEND L_S_RANGE TO E_T_RANGE.
        EXIT.
      ENDLOOP.
    ENDIF.
    Regards,
    Prem.

  • SAP BEX 3.0B Patch 17

    Hi
    Sorry I have already open a topic for my problem but i haven't found the solution.
    My problem is :
    a user want to print multiple queries editing only one time the parameters.
    So I have thinked to use OLAP connection for the queries, but I have to use the format sheets for each one like in SAP BEX 3.0B Patch 17.
    Someone has told me to read Re: supress variable-entry-window (SAP-Exit) but in my SAP BEX I can't find the sheet like SAPBEXFILTERS, SAPBEXQUERIES etc etc.
    And then I can upgrade the SAPBEX if I wil make some changes to it.
    Please help me
    Thank you

    Sorry but I don't undestand how can I do?
    You can make an example..... are you sure that the SAP GUI form for the parameters don't appear?

  • SAP Bex Bi4.0 Integration - Data delegation

    Hi Experts,
    SAP Bex Bi4.0 Integration
    The Key Figures which uses Standard Aggregation or exception aggregation in SAP Bex appear as Data Delegated in Webi.
    Thus we are unable to add any conditions on such variables which lead to "#Unavailable" error.
    Is there any solution or work around for the same??
    Many Thanks
    Akshay

    What is your BO version? If you are above SP4, this issue should not be a problem with SUM aggregation type Key Figures.
    If you are still having problem, you can create variables and set it as Detail object to related dimension. In your report block, you can put both the dimension and your detailed variable. After that, hide the dimension.

Maybe you are looking for

  • How to load multiple swfs to my main flash file??

    I am using the following code In actions for Frame 1: var myrequest:URLRequest=new URLRequest("A.swf");      var myloader:Loader=new Loader(); myloader.load(myrequest); img1.addEventListener(MouseEvent.CLICK, clickButton); function clickButton(event:

  • Syncing problems

    When I try to sync my iphone a message comes up "could not sync iphone to computer cannot read or write to disk". I have tried uninstalling itunes and reinstalling itunes. I also tried to wipe out iphone and restore to backup.

  • Disc Drive wont Load Leopard DVD

    Got round to buying Leopard this week and inserted the disc only for my Macbook to make some rumbling noises and eject the disc. I was wondering if there are any solutions to my problem or if anyone else with a Macbook is suffering from this problem.

  • Exception while installing TREX

    I create a local user as per the documentation ie. 'trex_01' and I don't see sapsys group on my machine so I assigned the user to IIS_WPG group. I'm trying to install 6.1.12. I didn't select the option 'Install HTTP Server' and rest are basic. ERROR

  • Why are my photos not as sharp and clear in online album

    I've been struggling thru this make-an-album thing and will not given up. I have continued to work thru this first album to be posted on line. I'm almost there. I've sorted thru the templates and only found one that shows my photos large enough to se