Find out queries which contain user-exit variable

Hello.
I want to get a list of BEX queries, which contain my user-exit variable, defined in ZXRSRU01. Could anybody tell me how I can achieve this?

Hello, Konstantin.
You can use differnet methods to do this.
Method №1.
You can open one (any) query, that uses your variable in Metadata repository (active objects). If you don't know such  query - you can create it.
In the description of your query you can find which variable is used by this query.
Open your variable.
There you can find all queries, that uses you variable.
Method №2.
Open SE11.  Choose table RSZELTDIR.
Determine ELTUID of your variable (OBJVERS='A',MAPNAME=Variable ID).
Open SE11.  Choose table RSZELTXREF.
Select ALL SELTUID with OBJVERS='A', TELTUID=ELTUID (see above), LAYTP=VAR
Open SE11.  Choose table RSZELTDIR.
Select all MAPNAME with OBJVERS='A', ELTUID=lists of SELTUID (see above)
You can take texts from table RSZELTTXT.
Best regards,
Alexander Kuzmich

Similar Messages

  • Package name which contain user exit  in standard include name

    hai experts,
    can i know the package name which contain user exit mean standard include which contain forms of the perform. or give some suggestion to find this exit for purticular tcode.
    useful reply will be awarded.
    regards,
    jai.m

    Hai,
    it is not over thare....
    actualy i need to do some work at the time of the save document of mb1b transaction. my need is if any one exit or custmer exit or badi has trigger at the time of save the document in mb1b transaction.
    regards ,
    jai.m

  • Regarding how to find out a program is User Exit/executable

    Hi,
    Can anybody tell me how can we find wether a particular program is used in executable program (or) user exit program?
    One thing we can find out is wether the program type is 'I' or 'R' etc..
    Thanks in advance.
    Thanks,
    Deep.

    Hi...
    See the following links..
    it helps you a lot..
    how can we C the USER_EXITS in Z programs
    how can we find the list of user exits for a transaction
    How to find the active user exits in my client
    How to find user exits for a transaction
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • Map the user exit variables with the queries/cubes using them

    Hello Friends,
    What are the post unicode conversion tests that you can perform on front end/existing queries?
    is there any added advantage for queries due to unicode?
    is testing the working of variable  enough? is there any table to map the user exit variables with the queries/cubes using them?
    Thanks
    Tanya

    Guys, any clue about this? Answer are appreciated.
    Thanks
    Tanya

  • RRI & user exit variable

    Hello RRI specialist!
    I need to implement the following logic: user executes report 1 (sender) which contains characteristic Material (and several other characteristics). With the RRI the user must be abled to jump into report 2 (receiver)displaying the Material Type(s) of the Material selectied in report 1.
    Note: in this case there is a n:m relationship between Material and  Material Type. The relationship between Material and Material Type exists in a Z-table.
    I thought to implement this with 2 alternatives:
    First alternative, under Assignment Details, assigning Material to variable V1 (being a User-Exit variable of type Material Type) used in report 2.  From report 1 I hope to jump into report 2 by "selecting" on a Material (e.g. 4711) and then read the Z-table when i_step = 2 to find the corresponding Material Type. 
    Prolem: when I set a break point for V1 in ZXRSRU01 I see that V1 does not appear in the table I_T_VAR_RANGE (for any i_step), i.e. the values (e.g. 4711) are no passed from the sender selection to V1.
    Second alternative, under Assignment Details, assigning Material to variable V2 (being a User-Entry/Default variable of type Material) used in report 2.  Report 2 will then contain variable V3 (being a User-Entry/Default variable of type Material Type). The user-exit logic will read V2 from I_T_VAR_RANGE when i_step = 2 and the Z-table to find the corresponding Material Type.  
    Problem: exactly the same as above. NOTE: it does not help that V3 is of type replacement type from the sender report.
    When I use the debugger of the RRI in RSRT2 both alternatives seem to work correctly.
    Does the variable defined under Assignment Details have to fulfill certain conditions in order for the values to be passed?
    Is it simply that ZXRSRU01 is called before the values are passed from the sender report?
    Anybody got an idea what I am doing wrong and how I could implement the requirement to read the Z-table in the RRI jump????
    Thanks for any help,
    Martin

    Dear Martin,
    That was a good explanation of issue and approach. It had been quitesome time to work on user exits. I am not sure the following views can help you.. but i am also interested in the solution..
    1) can we include the material group in the sendor ( hidden) and can this me directly assigned to target?
    2) I think i_step = 2, get excuted after user filled the values manually. How about trying i_step = 3, i think this is the loop for reading other than manual entries..
    3) how about the trails of filing the default values at i_step = 1, on the taget query names. Notsure this will give you the solution.. just my thoughts..
    regards,
    hari

  • BPS User Exit Variable based on Planning Package Selection

    Hi,
    I'm implementing a SAP BW-BPS planning layout to be integrated into the CRM we user interface.
    Most of the characteristic selections come from the CRM fields that need to be filled by the user when creates a trade promotion.
    The charcteristic selections work (as standard) just if in the planning level I flag "Selection in Package", then in package these selections are dinamically defined from what the user select in the CRM fields at runtime.
    My problem is that I have to build a BPS User Exit variable to filter, in the planning level, the proper Planning Area based on the CRM Sales Organization value.
    The characteristic CRM Sales Organization belongs to whose chararcteristic the value is determined dinamically in the planning package.
    Is it possible for a BPS user exit variable, set in the planning level, to catch the value of a characteristic selection made at planning package?
    Many thanks for your help.
    Alessandro

    Hi Indu,
    Many thanks for your answer.
    I have already took a look at the document posted by you but I didn't find the solution to my problem.
    This because i have to create a user exit variable that need to get the value of the characteristic selection in package.
    I mean in the planning level I will have the user exit variable that restrict the planning area and, his function module, need to read, at runtime, what is the value of the characteristic CRM Sales Organization restricted in package by CRM.
    So I don't have any idea to which BPS internal table I have referred to in my funcion module to catch the value of the CRM Sales Organization dinamically filtered by CRM.
    Many thanks,
    Alessandro

  • User Exit Variable picking values from InfoProvider

    Hi,
    I've created a User Exit variable (of type Interval, Mandatory) on 0CALMONTH and populating it in exit.
    The problem is at the time of query execution, I get "BRAIN 657" error i.e.  "Value <value> is Invalid for Variable <variable name>".
    After doing some analysis I figured out that once the user-exit code is performed, system validates the entries populated in this Variable against the values in InfoProvider and gives error when it doesn't find those values.
    E.g. lets say InfoProvider has values for 0CALMONTH from 06.2010 till 10.2010 and if I populate my variable with range 03.2009 till 12.2010 then it throws above error. But if I populate the variable with exact values i.e. 06.2010 till 10.2010 then it works.
    Any idea how can I remove this validation and populate with my own value range?
    Regards,
    Vikrant.

    hi remove that default value from the variable.
    and you shd be able to run the query without any problem.
    regards,
    VJ

  • How to find out in which query same restriction on keyfigure is used

    Dear all,
    is there a way to find out in which queries the same restriction for keyfigure structure is used?
    -> e.g. show me all queries that contains restriction on 0TCTIFPROV = cube AAA??
    Unfortunately the keyfigures in the queries don't have technical names, as basic keyfigures are used and only restricted to a cube!
    Thanks for feedback

    Hi;
    I think you cannot have this information but your can have in metadata repository (Transaction RSA1)
    all the queries linked to your infoobject OTCTIFPROV.
    It could be an other solution for you.
    Regards.

  • Find the schema which contains all these tables

    In my DB, only SCOTT has all the three tables EMP,DEPT, BONUS. There are schemas which have either one or two of these tables but only SCOTT has all these 3 tables.
    To find the schema which contains all these *3* tables. I tried the below mentioned queries which gave the wrong answers.
    1.
    select TABLE_NAME, owner from dba_Tables where table_name IN ('EMP','DEPT', 'BONUS')-- will return any schema which has any of these tables. So, wrong result
    2.
    select TABLE_NAME, owner from dba_Tables where table_name = 'EMP' AND TABLE_NAME='DEPT' AND TABLE_NAME= 'BONUS'-- Wrong result because it is mutually contradictory. As AP has mentioned below, A table_name cannot be equal to all the three tables .
    Edited by: GarryB on Dec 22, 2010 7:56 AM

    Hi,
    GarryB wrote:
    Thanks everyone. So, this means that this seemingly simple query cannot be written with just a plain AND , OR . Right?You're right. Every query needs SELECT and FROM, for example.
    What's wrong with Solomon's simple solution?
    Whatever you don't like about it, I'm sure there's another approach that doesn't have the same problem, even if it is slower and more complicated.
    As AP pointed out, no one row has all the information you need to decide if that row will be part of the result set or not.
    You need something that can make a decision based on the data in multiple rows.
    GROUP BY, like Solomon suggested, is the easiest and most efficient way I know of.
    Anything that GROUP BY does can probably be done by analytic functions. In this case, it will be more complicated and slower, but you can get the same results.
    A self-join, as user13524665 demonstrated, is another way.
    You could also get the results you want using EXISTS-, IN-, or scalar sub-queries, all of which would be even more complicated, and scale just as poorly, as a self-join.
    CONNECT BY, recursive sub-queries, MODEL, and XML functions can also look at several rows at the same time. I don't believe you want to read and test soltuions for all of these any more than I want to write all of them. Solomon gave a good solution for your original problem. If you want to add some extra restrictions to your problem (such as "I can't use ... or ...") explain clearly what those restrictions are, and why you need them.

  • How to Broadcast Control Query based on User Exit Variable

    Hi Gurus,
    How to Broadcast dashboard based on Control Query based on User Exit
    Variable to different users via mail in BW 3.5 version. Any document or
    steps to achieve this will be very helpful.
    Regards
    Vishwanath

    Hi Surendra,
    Thanks for the reply and your suggestion. It will be great if you can help me to answer the below:
    1) What exactly we mean by Control Query - Any example will be very helpful
    2) As you mentioned, yes the user exist to be written will be for user-exit variable for dynamic period selection - An Example on how to create this will be helpful
    3) Once the above variable is created, what are the steps to include this variable in the Bex Query?
    4) Once all the queries to be used in dashboard are implemented with the exit variable, how to create a variant to be used in Broadcasting?
    5) How and where to configure the email recipients (to whom this dashboard will be sent via mail)?
    6) How to set up the BW broadcaster in BW 3.5 using the control query ?( My question is though we have to send the dashboard to the users, which has multiple queries, how a single control query with variant will help us).
    Awaiting your reply.
    Thanks and Regards
    Vishwanath

  • User-Exit Variable Scenario

    Hi,
    I have a multiprovider M1 over two cubes C1 and C2. User reports on this Multiprovider M1.
    C1 has keyfigure K1 which holds activity values for each Calendar Year Month.
    C2 has keyfigure K2 which holds only Inception to Date values for each Calendar Year Month.
    User needs a report which displays Activity values for both K1+K2 for each calendar year month(for the range he gives).
    To calculate activity value per month for K2, we need to get Change in the Inception to Date values between current month and the prior month.
    So, as per the user requirement, if for example we need activity for Jan 2006, the value he needs would be
    K1(jan 2006) + K2(jan 2006 - dec 2005).
    I created 2 user-exit variables V1 and V2 based on the characteristic Calendar Year Month having a variable V0(Interval, mandatory).
    V1 takes the "low" value and V2 takes the "low + 1" value of V0.
    In the columns panel of the BeX designer, I created a structure S1 which contains keyfigures K1(V1), K2(V1) and K2(V2). I made a formula, "K1(V1) + (K2(V2) - K2(V1))".
    I put the calendar year month characteristic with variable V0 in the filters panel. Ran the query with a wide range 01/2004 to 12/2006. It gave me results for only first 1 month (01/2004).
    I moved the calendar year month characteristic with variable V0 into the columns panel on the top of the structure S1. Ran the query with a wide range 01/2004 to 12/2006. It gave me results for only first two months (01/2004 and 02/2004). But, unfortunately either of K2(V1) or K2(V2) is blank for each month.
    Anyways, I was able to successfully get what user wants by keeping V0 in filter panel, but could make it just for 1 month. But, I want this to be extended over all the months for the range user gives.
    Can anyone suggest a good way to do this? Hope I did not confuse you with lot of information.
    Thanks,
    Sai.

    Hi,
    1.
    Change V0 to single value (mandat.)
    2.
    Put restriction [V0-1; V012] (value restr. from V0-1 to V012) in filter panel for char Calendar Year Month.
    3.
    Define 13 Customer-Exit Variables:
    V1 for -1 period () of time interval (from char. Calendar Year Month),
    V2 for 1 period of time interval (from char. Calendar Year Month),
    V13 for 12 period of time interval (from char. Calendar Year Month).
    4.
    Create 13 Selections (always hidden):
    Sel1 for V1,
    Sel2 for V2,
    Sel13 for V13.
    5.
    Make 12 formulas. In every formula you can use
    all of these 13 selections.
    Yes, it is not a perfect solution, but hope it helps.
    But Cell editor is a killer for perfomance

  • Need help in creating a user exit variable

    Hi all,
    I have created a query in which a key figure needs to be automated with an user exit variable.I want to derive the value of this key figure 'x' based on calender month.
    This key figure should get the cumulative value from the first month of the fiscal year till the calender year month entered while executing the query.
    I got a basic understanding on the User exits from SDN. But Im not sure how to implement this logic.
    I would really appreciate if you could provide me a detailed explanation of how to do this.
    Thanks in advance,
    Vinoth

    Hi
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2d99121a-0e01-0010-e78c-b1ae566a2413
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/how-can-i-set-bex-variables-in-i_step3-exit_saplrrs0_001-335232

  • How to select several values from a user exit variable in a planning folder

    Hello,
    I have created a user exit variable for limiting the values only to which the user need to access.
    For a simulation part, it is then necessary for him to select several values from these values (not only one, and not all)
    But It seems in this case the user has only two possibilities :
    - keep all the values without any restriction
    - restrain the selection to only one value.
    It seems possible for the user to access to a multiple choice window, but this possibility doesn't seems to work : in all tests we did, only the first value was taken into account by BPS.
    If this method is not good do you know an other manner to permit the user to choice several values amongst a set of pre-selected  (because the original set is too important) values ?
    Thanks for your help.

    Hi Mayank,
    Thanks for your response, but I don't think it corresponds to my problem.
    I my case, I use a user exit variable to filter some data. It seems BPS offers the possibility to the user to select several values amongts the pre-selected values presented by the user exit variable, but it doesn't work. We can use a popup in which we enters the required values, but in final, only the first value is taken into account.
    I don't know if it is due to a BPS bug or if it is not a good solution in regard to BPS philosophy. In this case, the concerned caracteristic isn't in the header but in lead columns.
    I must present a solution to my client next monday, so I have not enough time to open an OSS message.
    An alternate solution should be interesting too.
    My need is to present to a user a selection of values amongst all values from an infoobject (the user exit variable seemed to be a good solution) and the user must have the possibility to select some values amongst these as filter.
    Regards

  • User-Exit Variable

    Hi, I created a simple user-exit variable and for some reason the variable seems to get executed around 16 times and then the query gives me the below error messages.   Any ideas why my variable would have I_STEP = 2 many times before it bombs out? 
    Note: This variable is based on a Virtual Characteristic I just implemented and is probably related.  The query did not fail before trying to implement this user exit based on the Virtual Characteristic.
    Error for variable in customer enhancement ZVRSR_001
    Incorrect call of OLAP layer CL_RSR_OLAP; error in BW-BEX-ET
    *~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
    * Load Variable with NCI Authorized Sales Rep (Sales Group)
    *~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
      WHEN 'ZVRSR_001'.
        IF I_STEP = 2.                         "after the popup
          DATA: LT_REP    TYPE /BIC/AZ_P_O04300.
          DATA: LV_REP    TYPE /BI0/OISALES_GRP.
          SELECT SINGLE * FROM /BIC/AZ_P_O04300 INTO LT_REP
               WHERE USERNAME = SY-UNAME.
          IF SY-SUBRC = 0.
            W_L_S_RANGE-LOW = LT_REP-/BIC/ZSHTO_GRP.
          ELSE.
            W_L_S_RANGE-LOW = '???'.
          ENDIF.
          W_L_S_RANGE-SIGN = 'I'.
          W_L_S_RANGE-OPT  = 'BT'.
          APPEND W_L_S_RANGE TO E_T_RANGE.
        ENDIF.
    ENDCASE.

    OK, It looks like because it is a Virtual Characteristic that the User Exit Variable Code will be called every time the "Virtual Characteristic" code is executed as well.  The real problem seemed to be that I had used a BT in the Variable User Exit Range.  Once I changed that to "EQ' it works fine now.  Thanks

  • Value for user-exit variable  is invalid

    Hi Gurus,
    My Value for a Fiscal Year Prd returns a invalid value for the 12th month of each year( for Example 12/2004, returns the error "Value 200313 for User-exit variable is invalid.
    This is the code that is being used.
    *Rolling 12 months for entered month
    when 'ZCALM12'.
          clear: v_mth, v_yr.
          REFRESH E_T_RANGE.
          CLEAR L_S_RANGE.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                   WHERE VNAM = 'ZCALMON'.
            exit.
          endloop.
          v_yr = LOC_VAR_RANGE-LOW+0(4) - 1.
          v_mth = LOC_VAR_RANGE-LOW+4(2) + 1.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT = 'BT'.
          concatenate v_yr v_mth into L_S_RANGE-LOW.
          L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
          APPEND L_S_RANGE TO E_T_RANGE.
    Thanks in Advance.

    Hi Ravi,
    when 'ZCALM12'.
    clear: v_mth, v_yr.
    REFRESH E_T_RANGE.
    CLEAR L_S_RANGE.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZCALMON'.
    exit.
    endloop.
    <b>-->> Here, you are not checking any thing.</b> <i>On which logic you are reducing year by one and increasing month by 1..?</i>
    v_yr = LOC_VAR_RANGE-LOW+0(4) - 1.
    v_mth = LOC_VAR_RANGE-LOW+4(2) + 1.
    -->><i>IF month is 200512 you will get output from above code is :</i> please check.
    v_yr = 2005 - 1 = 2004
    v_mth = 12 +1 = 13.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    concatenate v_yr v_mth into L_S_RANGE-LOW.
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
    APPEND L_S_RANGE TO E_T_RANGE.
    Try to debug the code by keeping break point after When. and execute the report, you will be debugging mode.
    Hope it Helps
    Srini

Maybe you are looking for

  • Do you need to have the same OS as the version of itunes that you're downloading for it to work

    I'm recieving an error everytime i try to open my recently downloaded version of iTunes. Not sure if i need the most recent OS in order to open the newer iTunes

  • What is the best type of xml storage for max performance in 9i r2

    We have many schema based xml's of 1MB in xdb (9.2.0.5) and our database is getting slower by every new xml delete_resource (300 sec) and create_resource (300 sec ) take a long time and if I ftp a schema based xml out the xdb takes a long time ( 200

  • Duplicate messages in mulitcast test

    We are doing a multicast test on the multicast IP=224.0.0.115 port=61101. But we are getting some duplicate messages as given in the test output. This is done from host sjh75a01,sjh75a02,sjh75a03,sjh75a04,sjh75a05 sjh75a01 neop04 $ java utils.Multica

  • On/Off

    TV keeps turning on and off.....Thought it was the DVR - Just received a new one -  replaced all cables...router works fine.....TV still turns on/off saying no signal with blue screen........HELP

  • CIF Queue naming

    Hi, Can anyone guide me to any link where I could find the naming conventions for CIF queues (Like CFSTK* = Stocks queue, CFSLS* = Sales Orders queue etc..) Ashutosh Kulkarni