Changing a customer exit variable in Step 2 which was already set in Step 1

Hello,
i have the following problem.
There are 2 BEx customer exit variables A and B.
Variable A is filled in Step 1 before the user dialog appears.
Variable B is determined in Step 2 in dependence of variable A.
Now i want to change variable A in dependence of user entry althoug it was already filled in step 1. Can i somehow force the variable manipulation in step 2 for a single variable wich has already been set in step 1?
Or is there a way to change all variables at once after they have been set e.g. in step 3?
Regards,
Alexander

Hello Alexander!
It's true: You cannot change values that were entered in step 1. It's a feature This is supposed to make sure that a value that was entered (or confirmed) by the user can never be changed by any piece of coding - customer or SAP. If that possibility existed, then that would create some real issues for reliability and also support.
What is your scenario that you are trying to solve? Maybe there's another way to do it?
Regards,
Christian!

Similar Messages

  • How to change a customer exit variable in columns

    Hallo Experts,
    i have a query with two columns. In the first column is a customer exit variable, who get filled with the actual calyear. In the second column is the same variable with an offset -1.
    When i execute the query, in the first column i can see the year 2007 and in the second column i can see 2006. That´s ok.
    Now i want to change the year (dynamically) in a filter 2007 in 2005. The result should be in the first column 2005 and in the second column 2004.
    What can i do?

    Hi Jens,
    As I understand the scenario, you have two RKF or selections in column 1 and 2, one is restricted with variable ZYear, the other with the same variable, offset - 1 and variable ZYear provides current year.
    I think there is no way to change years dynamically in a filter, but you could solve the issue by refreshing the query and overwrite default value provided by customer exit.
    To achieve this, please change variable and check 'Ready for input' in change dialog..
    If this shouldn't work, please let me know details a variable definition and customer exit.
    Have a nice w/e
    Joe

  • How to identify what customer exit variables are used in which query?

    Hi all,
    When i happened to check the CMOD transaction code i can find a list of customer exits are used. But i want to know what are those customer exist are used in which query? can anyone let me know the procedure of identifying it.
    Thanks a lot
    Pooja

    hii pooja
    check the foll links
    Very Urgent: Customer Exit Variable
    customer exit variable
    MIssing Authorisation for customer exit variable query
    Authorization variable or customer exit variables
    if it is helpful assign points
    thanks.

  • Change customer exit variable in selections over Dropdownbox

    Hello Experts,
    we are on NW2004s, SP12.
    I have a customer exit variable (0CALYEAR) in two columns. In the first column the customer exit variable and in the second column the customer exit variable with an offset -1.
    Now I want to change the year in a dropdownbox. Under <=BW3.5 that was not possible, only over a how to paper.
    I can fill the dropdownbox in the web template but when I change the year, it jumps back to the year selected by the customer exit. How can I change the variable in the new web application designer (2004s) during the navigation? Has any one experience with such a problem?

    Hallo Frank,
    how can I change the variable values in the WAD?
    The parameters of the variable: mandatory, customer exit, reference characteristic: 0calyear, single value, not ready for input.
    My coding:
    DATA: l_s_range TYPE rsr_s_rangesid.
      DATA: i_s_var_range   TYPE  rrs0_s_var_range.
      DATA: i_calyear(4) TYPE c,
            i_duedate(4) TYPE c.
      IF i_step = 1.   " Variable nach Selektionsbild bearbeiten
        READ TABLE i_t_var_range
        WITH KEY vnam = 'CALYEAR_X01'
        INTO i_s_var_range.
        i_calyear = i_s_var_range-low.
        i_duedate = '0210'.
        IF sy-datum+4(4) GE i_duedate.
          i_calyear = sy-datum(4).
        ELSE.
          i_calyear = sy-datum(4) - 1.
        ENDIF.
    Rückgabetabelle füllen
        CLEAR l_s_range.            " Range-Tabelle füllen
        l_s_range-low  = i_calyear.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        APPEND l_s_range TO e_t_range.
      ENDIF.
    Thank you for your fast reply!
    Regards
    Jens

  • Check user entry in Customer Exit Variable in i_step2

    Hi Folks,
    at the moment I'm facing a challenging problem. In an BW Query i have a Customer Exit defined as "not ready for Input" to catch the Variable in I_Step = 2 and fill by a certain algorithm. When i change the CE Variable to "Inputready", the user can enter values, but i have no chance to react on these values as i_step = 2 will not b reached during execution- And this behaviour is correct. BUT is there any chance to Check user entries in an Customer Exit variable and change this somehow in des code?
    Thanks for all replies.
    BR,
    Maik

    Hi there,
    It is possibel depending on what you wish to accomplish.
    You can create two variables for the same characteristic.
    The first is an input ready variable for the user to enter the data and the second is a not input ready variable CE where you can in step 2 process the data entered from the variable ready for input.
    You can than fill the CE variable with any data, but you will have the variable restricted by the two variables (the ready for input and the CE).
    But for validating you could throw an error message based on the variable input ready.
    Diogo.

  • Custom Exit variable

    Hi ,
    I need to support a Bex report and need to understand the existing custome exit they have for a variable.
    Eg : in the BEx Query, i see they have created a custom variable and used that to automatically get the current month and populate the query.
    I went to BEx change mode and variable Display/change mode but that just gives the details that it is the custome exit and technical n
    Can you please tel me the steps to get to the code level behind it to understand the logic ?
    Thanks.

    Hi Chris,
    to get the what they have written,
    goto T-code   SE38 >>>> Give program name ZXRSRU01  click enter
    It will open a new window which has all the customer exit codes
    For ex:
    case i_vnam.
    when 'VAR1'.
    SOME LOGIC
    WHEN 'VAR2'.
    SOME LOGIC
    WHEN 'VARN'.
    SOME LOGIC.
    END CASE.
    Here var1 var2  and .. varn are the  customer exit variables {techical names].
    When ever user run the query which contains the customer exit it will trigger the above include program and it will trigger respected when logic.
    Do debugging through T-code RSRT  [  give query name [execute + debug } }  in order to understand the logic step by step.
    Note : you can also use the
    T-code CMOD> project >> enhancement RSR00001>>> EXIT_SAPLRRS0_001>>>ZXRSRU01
    to check / to change the customer exit program.
    Regards,
    Ranganath

  • Sequence of Customer exit variables executed by a Query?

    Hi All,
    Can some one please answer my query!
    We have 2 queries
    1. First query speaks about sales Actual vs Planned
    and in this query we have the KF restricted by time period(Customer exit var) & 0INFOPROV(Customer exit var).
    2.Second speaks about Profits for Actuals Vs Planned
    and in this query also we have the KF restricted by time period(Customer exit var) & 0INFOPROV(Customer exit var).
    when we execute query 1(In Debug mode in CMOD under the Processing step 2 I can find that the CASE I_VARNAM catches first the Time period and then for 0INFOPROV but when I run query 2 exactly the vice versa happens i.e the varname first catches for 0INFOPROV n then for Time period(due to which we have an incorrect result). So I just want to know how is the sequence of this customer exit variables defined/cached in CMOD under Processing step 2 maintained.
    How can I change the 2nd query to fetch first the Time Period n then 0INFOPROV
    Regards

    Hi Udo,
    This is meant for the sequence of the input variables in the d selection screen, but I'd like to know the sequence of customer exit variables captured in CMOD and how can we change this.
    Regards

  • Default value of BeX customer Exit variable not Displayed in WeBI??

    Hello Experts,
    We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
    1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
    2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
    3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
    So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
    Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
    and we are on SAP BW 7.1 and BOXI 3.1 SP4.
    Regards,
    Vipul
    Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PM

    Hi,
    See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
    WebI will prompt when executed, but the default values calculated by the user exit  - do not appear.
    Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
    Cause
    This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
    Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
    Characteristic variable > processing type > Customer Exit  is "Supported, without user entry"                                                                               
    -->  This should be understood as meaning "User will not be shown a prompt"
    regards,
    H

  • Display Error Message in BW Report based on Customer Exit Variable

    Hi
    I need to display an error message in the BW report based on the value of a customer exit variable - i was able to do this successfully in BW3.5 using the below code.
      WHEN 'ZUPN'. "Here ZUPN is the customer exit variable
        IF i_step = 1.
          <check for condition -- if successful, variable flag = 1, else variable flag = 0>
          IF flag = 0.
            MESSAGE e157(00). "Error Message
          ENDIF.
        ENDIF.
    I have upgraded my system to BI 7.0 now. Whenever the variable check is not successful, it displays a blank screen instead of the error message in the report. Please advice if we need to change the code and how ??

    Bhanu,
      Thanks for u r reply.This warning message appears every time i execute the report through portal.
    Any idea ?
    Regards
    Mano

  • Customer Exit variable of Query not working in View

    Hi,
    I have a customer exit variable in my query to calculate the last 6 month period on Calendar month. I have used 0CMONTH for the same and then using offset of 6 on its value range to get it.
    Now, I have many views based on this query, which should ideally be having the same filter condition for the calendar month, but it is not happening. Although, it is working fine for the query! The views do not seem to be catching the selection correct.

    Hi there,
    As far as I Know, yes they exist. The only difference here, is that you build a query with a selection screen, and  you execute the query with some selection parameters, and therefore all customer exit variables, offsets, etc, will be read and changed at the runtime execution of the query, and you can rearrange your query visualization drilling down free char., making filters, etc. and storing that visualization in a view.
    If you save your view and execute it afterwards, you'll get the same selection parameters to input, the same offsets, etc, that you have with the query, but with a visualization stored by you.
    So that should have been working.
    Diogo.

  • Concatination of Two dates in customer exit Variable

    HI Expert ,
    I am writting customer Exit Variable to get Records from user entered Dates .
    Eg. In Variable Screen of Bex report i have 2 Variable LYDate & TY Date both of them are As "Mutiple Single Value" & "Mendetory".
    If we give LYDATE and TYDATE Date range as,
    LYDate - 01/2013 - 06/2013
    TYDate - 01/2014 - 12/2014
    So I need ABAP Code which will get Value Range from 01/2013 from LYDATE and 12/2014 From TY DATE . So Query will Get data for 01/2013 TO 12/2014 (2 Years Data).
    ZCALYEAR (Cusomer Exit)  = LYDATE (01/2013)  TO TY DATE(12/2104).
    Please provide step by step ABAP Code to Achiev above issue. Points for Sure...
    Thanks,
    GB

    Hi,
    Some code like this will solve your issue:
    CASE I_VNAM.
       WHEN 'NEWVARIABLE'.
       IF I_STEP = 2.
          READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE WITH KEY VNAM = 'LYDate'.
          If sy-subrc =0.
              CONCATENATE LOC_VAR_RANGE-LOW(4) INTO L_S_RANGE-LOW.
              READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE WITH KEY VNAM = 'TYDate'.
              If sy-subrc =0.
                   CONCATENATE LOC_VAR_RANGE-HIGH(4) INTO L_S_RANGE-HIGH.
                   L_S_RANGE-SIGN = 'I'.
                   L_S_RANGE-OPT = 'EQ'.
              APPEND L_S_RANGE TO E_T_RANGE.
            endif.
          endif.
        endif.
    endcase.
    Regards
    Yasemin...
    Just realized that you need the year. Message was edited by: Yasemin ULUTURK

  • Help needed in Customer exit variable

    Hi Experts,
    We have a scenario as below.
    User enters fiscal year period.Based on the fiscal year period,entire year will be selected.
    Row would contains
    0fiscper3(Fiscal months from Jan to Dec)
    Column contains Amount(Actual or Forecast)--There is a restricted keyfigure on amount.If value type=60 then forecast
    and value type=10 then actual amount
    If the user enters 002.2010 then it should give Actual values ie value type=10 for 001.2010 and 002.2010.For all values greater than 002.2010, it should give forecast values(value type=60)
    Report Format.
    Jan----
    Actual Value(value type=10 in the column for amount)
    Feb----
    Actual Value(value type=10 in the column for amount)
    Mar----
    Forecast Value(value type=60 in the column for amount)
    Apr----
    Forecast Value(value type=60 in the column for amount)
    May----
    Forecast Value(value type=60 in the column for amount)
    Jun----
    Forecast Value(value type=60 in the column for amount)
    Jul----
    Forecast Value(value type=60 in the column for amount)
    Aug----
    Forecast Value(value type=60 in the column for amount)
    Sep----
    Forecast Value(value type=60 in the column for amount)
    Oct----
    Forecast Value(value type=60 in the column for amount)
    Nov----
    Forecast Value(value type=60 in the column for amount)
    Dec----
    Forecast Value(value type=60 in the column for amount)
    I know that i have to create a customer exit variable for value type
    But in this scenario.the value for value type may change in each row based on fisper3(month).
    How can i obtain such a scenario in the customer exit
    Your help will be appreciated.
    Thanks,
    Senoy
    Edited by: senoy laxman on Feb 15, 2010 6:42 AM

    Hi Senoy,
    you have to create two customer exit variables for fiscal year period(0fiscper) as given below.
    1. for actual values (value type=10), coding in cmod such that showing values less than and equal to user input values.
    2. for forecasting values(value type=60,)coding such that showing values greating than user input values.
    use the first varible in the first selction and the second varible in the second selection in the given below structure(use the structure in rows)
    use the fiscal period user input varible in the third selection in the given structure below.
    structure
    selection - (Actual)-restrict with value 20 and first customer exit variable .
    selection -(Forecast)-restrict with value type 60 and second customer exit variable.
    Selection - 0fiscper
    Add the key figure 0Amount in the columns or in rows(in the selection of second structure) as per your requirment.
    hope this helps you.

  • Error Message : " No value could be determined for Customer Exit Variable "

    Hello BI Experts ,
    I have created a "ZYTD_PERIOD" Customer Exit Variable  Interval  Mandatory and ready for input check mark removed.
    The reference character is '0FISCPER' .
    I want to have YTD figures when the user enter single Fiscal Year Period for variable 0P_FPER.
    So I have written below code in SE37 : EXIT_SAPLRRS0_001 and include program : ZXRSRU01
    ==================================================================
      case i_vnam.
                  WHEN 'ZYTD_PERIOD'.
                  IF I_STEP = 2.
                  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FPER'.
                  CLEAR L_S_RANGE.
                  L_S_RANGE-LOW0(4) = LOC_VAR_RANGE-LOW0(4).
                  L_S_RANGE-LOW+4(3) = '001'.
                  L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
                  L_S_RANGE-SIGN = 'I'.
                  L_S_RANGE-OPT = 'BT'.
                  APPEND L_S_RANGE TO E_T_RANGE.
                  EXIT.
                  ENDLOOP.
                  ENDIF.
    ===================================================================
    After that I use this 'ZYTD_PERIOD' variable in the query .
    Also I have used the variable 0P_FPER in another structure.
    When I execute the query by entering the value of 0P_FPER as 010.2009 or any other value ,
    I am getting below error message ,
    *No value could be determined for variable ZYTDPERIOD*_
    Below is details of this Error message ,
    Note that I have proper Master and Text data for 0CO_AREA and 0COMP_CODE loaded into BI.
    =======================================================================
    Diagnosis
    This error diagnosis is specific only to the variables 0P_FVAEX or 0P_CTPCA !
    Termination message BRAIN 632 appears:
    Could not determine value for variable 0P_FVAEX (or 0P_CTPCA).
    System Response
    1. Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
    With queries from the CO application, both SAP-Exit-Variables look for an entry for 'controlling area'. With this controlling area from the selection screen, the SAP-Exit-Variables program reads the attributes for InfoObject 0CO_AREA (controlling area).
    With queries from the FI application, the SAP Exit Variable 0P_FVAEX looks for an entry for 'company code'. With this company code from the selection screen, the SAP Exit Variables program reads the attributes for InfoObject 0COMP_CODE (Company Code).
    0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries). 0P_CTPCA determines the currency type of the profit center local currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.
    2. Cause of Error
    The attributes for the controlling area (InfoObject 0CO_AREA) or company code (InfoObject 0COMP_CODE) were not loaded into the BW system, or the attributes for the controlling area are not active in the BW system.
    Check whether this is the cause of the error in your BW system. Display the contents of table /bi0/mco_area or /bi0/mcomp_code using transaction se16.
    Application CO:
    Check whether the attributes 'fiscal year variant' (field FISCVARNT) and 'profit center local currency currency type' (field CURTP_PCA) are filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant in the OBJVERS = 'A' is empty, then the error is with variable 0P_FVAEX. If the currency type of the profit center's local currency in OBJVERS = 'A' is empty, then the error is with variable 0P_CTPCA.
    Application FI:
    Check whether or not the attribute 'fiscal year variant' (field FISCVARNT) is filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant is empty in OBJVERS= 'A', then the error is with variable 0P_FVAEX.
    Procedure
    Using InfoSource 0CO_AREA, load the attributes for the controlling area or company code into your BW system.
    Afterwards, activate the attribute changes in your BW system. To do this, use transaction rsa1, path 'Tools > Hierarchy/Attribute changes', functions button 'InfoObject list'. Choose InfoObject 0CO_AREA or 0COMP_CODE from this list, and activate the attribute changes.
    =====================================================================================
    Is there any special settings needed before writing BEx Customer Exit ?
    I have already created a project in CMOD and assinged a proper RSR00001
    and EXIT_SAPLRRS0_001 and project is active.
    Any help please ....
    Regards ,
    Amol

    My Code is as below ,
              case i_vnam.
                  WHEN 'ZYTD_PERIOD'.
                  IF I_STEP = 2.
                  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FPER'.
                  CLEAR L_S_RANGE.
                  L_S_RANGE-LOW0(4) = LOC_VAR_RANGE-LOW0(4).
                  L_S_RANGE-LOW+4(3) = '001'.
                  L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
                  L_S_RANGE-SIGN = 'I'.
                  L_S_RANGE-OPT = 'BT'.
                  APPEND L_S_RANGE TO E_T_RANGE.
                  EXIT.
                  ENDLOOP.
                  ENDIF.
                  ENDCASE.

  • Population of Customer Exit Variables in Web Template Queries

    Hello,
    Desired Scenario:
    I have three Queries: Q1, Q2, Q3, attached to one Web Template in the same order. Queries Q2 and Q3 have exit variables which are populated from the Input Variable of Query Q1 (these customer Exit variables are mandatory,  not available for user input and are populated in STEP=2).
    Problem:
    Sometimes on execution of the template, Q1 is executed first and then the exit variables are populted (which is OK) BUT  sometimes Query Q2 or Q3 is executed first and exit variables don't get populated.
    As such, I am not sure of the order these three queries are executed. Please suggest how do I ensure that Q1 is always executed first, followed by Q2 or Q3.
    Thanks for your suggestions.
    Best Regards,
    Sumita

    Hi,
    The Infoobjects are different in all the three queries. In Q1, the variable is on 0CALWEEK. In Q2, the variable is on XWEEKD (which is reference to 0CALWEEK). IN Q3, it is on XFORWEEK (which is again reference to 0CALWEEK). So, I can't use the same variable in all three queries. But all these variables have to have the Week from to Week To as the input and that input remains same for all three variables.
    To prevent the user from entering this week from & to thrice, we populate the other two in customer exit depending on the value input by the user.
    So, now I want to know the order in which the queries attached to a Web Template are executed.
    Best Regards,
    Sumita

  • WAD Variable screen not displaying when using a customer exit variable

    Hello,
    I have a query which has 3 variables, one of which is of type customer exit and gets populated with a default value.
    When I run this query on the web from within BEX it works fine, however when I run it within any BI7 web template the variable screen does not pop up. Of course if I remove or change the offending customer exit variable the variable screen pops up.
    I have switched the display variable check-box to on, and it still doesn't work.
    Is this a 'feature' of BI7?
    Many thanks
    Sarah

    Fixed it myself by tweaking the URL....
    Added &VARIABLE_SCREEN=X to the end of the url and the variable screen now pops up. Its not an ideal solution but it works.
    Anyone have any better ideas?

Maybe you are looking for

  • Iphone 4s earphone voice problem

    i have iphone 4s it has problem with earphone. the earphone voice of of other caller is very less. i can hardly head the other person but the speakers are working perfectly alrights. someone told me that the earphone speakers are burst. but some othe

  • How do I delete documents and data on the iPhone 5?

    I've been seeing responses such as turning it off, so I did. However I didnt change my memory at all and when I found out whats using it up it was message with (saved) next to it. So i deleted some conversations from other contacts, but it barely dro

  • ORA-01403 No Data Found error on Update

    I am having difficulty troubleshooting a form (6i) where the data can not be updated. This form was recently modified by another developer (who is no longer w/ us) and we removed a unique key from the items list in the data block, however the particu

  • Calendar portlet - bad zip file

    Please replace the zip file for the calendar portlet. CRC error - premature end of file reached. Thanks.

  • Review time management workflow for ESS Time management

    Hi gurus!!     We have a user, who submitted his time and this did not go to his manager. How do I go and verify the workflow? Do you think, this could be an issue with the workflow or it could be something else? please help me gurus!! Thanks.MariaKu