Issue in query transport ( formula variable)

Hi Experts,
I have issue while transporting a query.
I have created two formaula variables, with them created a calculated keyfigure.
The transport of this query was failed with return code 8 with Error message 'Element 4XDRFT... is missing in version M'.
Diagnosis:
Element &1 in version &2 referenced but is not active
System Response:
The action had to be terminated
Procedure:
Please supply the missing elements to the system by a transport
The two newly created formula variables are giving error with above message.It is showing these variables are missing in version M
Can you please help me where i am missing and how to resolve this issue,
Regards,
Mohd.

Hi,
You did not collect all elements while transporting.
Try to collect the missing elements in a new transport request and move.
You can identify the missing Elements description from table RSZELTTXT.
go to SE16 > RSZELTTXT > give ID as "4XDRFT..."  > hit execute to see the missing query element description
Hope this helps u...
Regards,
KK.

Similar Messages

  • Zero Suppression Not working in Bex Query with Formula Variable

    Hi Friends,
    I have a peculiar issue here. We upgraded from 3.5 to 7.0 recently. Some of our Bex queries have been behaving abnormally after this. In these queeries,
    we have some key figures which use formula variables (ready for input and mandatory) in 3.5. User can enter either 1 or 0. The actual key figure is multiplied to the formula variable so, the entire column gets the actual key figure value if the user enters a value '1' and the gets the value 0 if the user enters '0' in the formula variables. Zero suppression is activated on the rows and columns and this report. This technique was used successfully to show/hide a column.
    After upgrade, the same query works but, the zero suppression is not working. When the user enters a value of '0' in these formula variables, all the entries in the column for the key figure are displayed as 0 but the column is still displayed. It is like the zero suppression setting is not active at all.
    I created one of those queries in Bex 7.0 to see if that works but, the issue still exits. Have anyone come across this kind of a scenario? Please get back to me if anyone has any idea on this situation.
    Thanks and Regards
    Subray Hegde

    Which SP level are you at in BI 7? There is an OSS Note that would need to be applied if you're on lower than SP10. That note is:
    [OSS Note 964756 - Formula variables with replacement from difference in BI 7.0|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=964756]

  • 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

  • Issue in query transport

    Hi All,
    I am facing an issue with transporting changed query as below:
    I made some changes to existing query by adding that query in new transport. Now when i transport that request to production newly added changes/columns are not getting reflected in prod.
    Transport is getting released successfully and also getting imported in prod successfully. Newly added columns are CKF and RKF. I tried all possible solutions a could.
    Please help.
    Thanks,
    Vishal

    Please check New CKF and RKF is collected in request if not then collect it.
    You also can check in RSA1--> Trasport connection, By draging Query. There you can check new CKF and RKF in which Package. It's might be in $Temp package. Chage it and trasport
    Regards,
    Sushant

  • Formula Variables in Query Designer

    Hello All-
    I'm using a formula variable in my report which is of type user exit.  In my FM, I am calculation some Sales Growth Analysis based on some rates from the TCURR table.  In short, I am calulating "FX Rate" for each currency (USD, EUR etc) I have in my cube.
    In the end, my e_t_range table will contain an "FX Rate" for each currency...in many cases the table will hold more than one value.  The problem is that my query dumps if I have more than one value in the e_t_range table.  I've used regular user exits before on Chars and I was allowed to have multiple entried in the e_t_range table.  What is the nature of formula variables?  Is it the case that I can only pass one value to my query with formula variables?

    Hi,
    Once Bex 3.5 query is opened in Bex 7.0, you can't open the same query in Bex 3.5. If you are still able to open the query in Bex 3.5 means you have not opened it in Bex 7.0.
    Please check it while opening a query in Bex 7.0. It would ask you question " Do you want open bex 3.5 query in Bex 7.0?
    Hope it is useful.
    Thanks,
    Ashok

  • Customer Exit for Formula Variable

    Hi all, and thanks in advance for your help on this one.
    I'm trying to run a function module to convert the value of a characteristic in my ODS to a formula variable. To do this, I've created a replacement path variable to hold the value of the characteristic, and then I'm passing this value to another module to convert it to factory date.
    Here is my code ZTSTGIDT is the name of the replacement path variable that is set to equal the characteristic key value.
    DATA: CONVERTDATE  TYPE SYDATUM. " Date
    DATA: FAC_DATE     TYPE FACDATE. " Factory Date
    DATA: ZE_T_RANGE TYPE RSR_T_RANGESID WITH HEADER LINE.
        WHEN 'ZFACDY01'.
            CLEAR: ZE_T_RANGE, E_T_RANGE.
    *  Get the Goods Issue date from the formula variable.
        IF I_STEP = 2.
          READ TABLE I_T_VAR_RANGE
          WITH KEY VNAM = 'ZTSTGIDT'
          INTO CONVERTDATE.
          CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
          EXPORTING
          CORRECT_OPTION = '+'
          DATE = CONVERTDATE
          FACTORY_CALENDAR_ID = 'ZB'
          IMPORTING
          FACTORYDATE = FAC_DATE
          EXCEPTIONS
          CALENDAR_BUFFER_NOT_LOADABLE = 1
          CORRECT_OPTION_INVALID = 2
          DATE_AFTER_RANGE = 3
          DATE_BEFORE_RANGE = 4
          DATE_INVALID = 5
          FACTORY_CALENDAR_NOT_FOUND = 6
          OTHERS = 7.
          IF SY-SUBRC = 0.
              ZE_T_RANGE-LOW = FAC_DATE.
              ZE_T_RANGE-SIGN = 'I'.
              ZE_T_RANGE-OPT = 'EQ'.
              APPEND ZE_T_RANGE to E_T_RANGE.
          ENDIF.
        ENDIF.
    The variable ZFACDY01 does not receive a value from this code, and it seems as if the variable CONVERTDATE never receives a value from the replacement path variable.
    1.) Is it even possible to read the characteristic value in this way?
    2.) Is there another way to read the characteristic value directly from my ODS at runtime for the record in question?
    The much easier solution is to create new key figures for each date that we need to convert to factory days and to do the conversion in the update rules, but doing so would require extensive reloads of many years worth of data. Even though performance will be impacted, we're trying to find a workaround (queries will be batch-run at night, anyway).
    Many thanks (and points!) for the person who can figure this out

    I tried using different I_STEP stages, but the replacement path variable still doesn't seem to be populated when it passes the value to the function module to convert to factory days.

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Formula Variable issue

    Hi,
    Can someone help me with the following issue as my client wants it quick.
    I have created a formula variable called "Enter number for formula" for number and used this formula variable  in a calculated key figure. When I run the query, it will ask me to enter a number in the formula variable and this number will be used in the calculated key figure to get the results for the calculated key figure in the report.
    Now the point here is that customer has to enter either 5 or 6 or 7 only in this formula variable and should not allow other numbers in the formula variable and more over we should have a selection option with only these 3 values and when customer pressses F4, he should get an option of selecting any one from these 3 values.
    Is this requirement feasible? If So can any one help me with an example.
    Advance Thanks for your help.
    Kishore

    Hi Aby,
    I have a quick question. My first priority is that, is selection option can be enabled for formula variable i,e when ever customer executes a query and presses F4 he should get 5 or 6 or 7 and has to select any one out of three.
    I can give the formula variable description "Enter either 5 or 6 or 7" but this can be worked out only if I have less values but if I have to select some numbers from 1 to 100 then definitely I need a selection option,
    and is the reason we are looking for selection option with the required values.
    Can you please help me with this.
    Thanks,
    Kishore

  • Formula Variable Error in BI7.0 Query Designer

    Dear All,
    I am getting the following error when using a formula variable with replacement path. Please help me on this.
    we are using BI7.0 SP level 13
    ABEND: Variable D30TEST0UIF40OXY0A5JZFO40 (D30TEST0UIF40OXY0A5JZFO40) does not exist or is incorrectly used 5OTGNQ295YVYORGW5NOBJ9NUP
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: Query ZFIGL_O02_Q002_7 could not be opened.
    Error when generating dataProvider
    Best Regards,
    SGK

    Hi Vikram
    It didn't seem relevant to my case but I downloaded it and it solved my issue.
    Thank you very much
    Shlomi

  • Formula Variable - Key of Cost Element (Query crashing)

    Hi everyone,
    I have created a formula variable which returns the Key of the Cost Element (0costelmnt) which resides in a Key figure structure. I have used this in a number of formula (If Cost Element = 50000 * (A * B) and its working fine.
    Formula Variable
    Formula Variable Properties
    My issue is that this query crashes constantlywhen you are in the Query Designer in both our Dev and Production environments, yet the query runs fine in the Analyser.
    The only thing I note is the icons in the key figure structure, some squares which are standard key figures / formulas and formula variables but my Cost Element Form Vari and the Bonus and Salary Increase Formula variables are represented by a triangle which normally means characteristics!!
    Any suggestions?
    With thanks
    Gill

    They query runs perfectly,  there are no null values in the output.
    I have already regenerated it and no change.  I do not have an issue with the output so RSRT is going to give me the same results as I get in the Analyser.
    The issue I have is that any changes I make in Query Designer, the programs shuts down.

  • Get value of formula variable during query runtime into a text variable

    Hi all,
    I wanna get the value of the formula variables during the query runtime into a text variable.
    My scenario is like this: First I defined a formula variable Z_DATE_3 which is processing by replacement. It will get the day of a characteristcs(Startdate).
    Then I defined a text variable and in the function module related to this text variable, I used the parameter I_T_VAR_RANGE which can store the value of formula variable during the query runtime.So I can read the value from this table in my function module.
    But I have a issue, when I run the query which used the defined text variable, it seems that it doesn't call the corresponding function module. Because I set a breadpoint in hte code and it never reach this breakpoint.
    If I removed the parameter I_T_VAR_RANGE , it can enter the function module.
    So could you please give some advice?
    Is my solution correct or not?
    And what's wrong with the parameter I_T_VAR_RANGE? Did I use it correctly?
    And My code is:
    DATA:  l_s_range_v TYPE rrrangeexit,
                 l_day type sy-datum.
    if i_step <> 2.
    raise no_processing.
    endif.
      READ TABLE i_t_var_range INTO l_s_range_v
         WITH KEY  vnam = 'Z_DATE_3'.
    if sy-subrc = 0.
         l_day = l_s_range_v-low.
    endif.
    Thanks in advance!
    Best regards
    Fanchest

    Hi, Fanchest,
    I'm having just the same issue.  Did you find a solution?
    I wrote a short routine in CMOD to derive the value of a formula variable to a text variable, but it's not working (I don't get any value).  Can you share your solution?
    Thanks in advance,
    LL

  • Prompts issue and Formula variables.

    Hi,
    1. I have a variable in Bex report as Creation date, but when it comes to webi the default prompts comes as creation date(From) and Creation Date(To). Is there anyway to modify or delete these default prompts.
    2. In one Bex report , i have a formula variable purchase order, based on this only the report output(as a condition) is displayed.I think that the conditions are not transferred from bex to webi, because the webi output is standard for all values of the purchase order. Is there any way to delete the default purchase order prompt

    Hi
    Answer to Q1.
    There would be a Filters specified to prompts DATA as creation date(From) and Creation Date(To). You have to change the filter condition as REQIRED.
    Answer to Q2
    FORMULA variable is not transfer to WEBI. You have to define a NEW FORMULA in the WEBI Query Designer.
    Hope its a use ful info..
    Regards

  • Issue - Formula Variable with Replacement Path

    Hi,
    Is it mandatory to include the base characteristics in the rows on which the formula variable(replacement path) is based on. As long as the base char is in the rows the variable works fine. The moment I take that off, the variable doesn't produce any result. I know the char can be put in the rows and can be hidden, but then in that case I don't get the desired aggregation level.
    Has anybody come across this probelm and managed to sort this out? Kindly suggest any solution.
    Thanks,
    Anurag.

    Hi,
    a formula variable with replacement path only works if the replacement object is in the query in either the rows or colums. The data can never be aggregated on a higher level then the infoObject in the replacement path. If you want a higher aggregation you can add a new key figure as an attribute to your infoObject and fill it with the value you want in the loading process. You can use that key figure in your queries every way you want.
    Kind regards,
    Alex

  • How to assign current date/time to a formula variable in Query Designer

    How do I assign the current date to a formula variable in Query Designer? I need to use current data in a calculation and just need the date the report was run.
    Thanks

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • Can I use formula variable in description of a query

    Hello, I created a query to list top N of vendors by the number of PRs created using condition in the query. N will be entered by users according to what they like (could be, top 10, top 5...). My query works reasonable, but I want to use variable to have the query description changes to reflect the top number user wants to see. For example, currently my report name is "Top N Vendor of PRs". Is there any way I can let "N" dynamically changes everytime when user enter different N? "Top 5 Vendor of PRs", "Top 10 Vendor of PRs", .....
    Please help.
    Thanks.

    I am still struggling and need your help. Here is what I did:
    1. Created a formula variable, let's call "ZFM_VAR" from BEx. Processing by: Manually Input/Default Value. Choose YES for ready for input.
    2. Created a text variable called "ZTX_VAR" from BEx. Processing by: customer exit. Variable entry is Mandatory. Choose NO for ready for input.
    3. Wrote following code from enhancement EXIT_SAPLRRSO_001 include ZXRSRU01:
    data: w_i_t_var_range like rrrangeexit,
             l_s_range type rsr_s_rangesid.
    CASE i_vnam.
        WHEN 'ZTX_VAR'.
           IF i_step = 2. "after the popup
              CLEAR: w_i_t_var_range,l_s_range.
              READ TABLE i_t_var_range WITH KEY vnam = 'ZFM_VAR'.
                 l_s_range-opt = 'EQ'.
                 l_s_range-sign = 'I'.
                 l_s_range-low = w_i_t_var_range-low.
                APPEND l_s_range TO e_t_range.
          ENDIF.
    ENDCASE.
    After I am done the above 3 steps, I still didn't get the same value for ZTX_VAR as I entered in ZFM_VAR. When I run the function moduel in debugging mode, there is nothing in table i_t_var_range. Any ideas for what I missed or did wrong? If somebody can provide detailed instruction, that would be greatly appreciated.
    Thanks.
    Yingping

Maybe you are looking for