How to change a Manual Input variable into a customer exit variable?

Hello,
I need to change the "processing by" option of an used BEx variable from "Manual Input" to "Customer Exit" but this field is not available (= in grey) in modification.
Does it exist a tip or a standard program to modify this no-accessible field of an existing BEx variable?
Thanks in advance for your answers,
Samuel

Hi,
I don't think it's possible (unless tweaking some parameters directly in some tables, as stated in the previous post) so you would have to create a new one and replace it.
Hope it helps,

Similar Messages

  • How to insert a code for a function module into a Customer Exit Variable?

    I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
    I need to get data in the column LW (Last Week) for both the key figures.
    In function module EXIT_SAPLRRS0_001 one of the functions I have is:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.
    Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
    In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
    Thank you.
    TR.

    Hi Wond,
    Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                EXPORTING
                  i_date         = ld_date
                  i_periv        = lc_periv
                IMPORTING
                  e_buper        = ln_poper
                  e_gjahr        = ln_bdatj
                EXCEPTIONS
                  input_false    = 1
                  t009_notfound  = 2
                  t009b_notfound = 3
                  OTHERS         = 4.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ELSE.
                lc_poper = ln_poper.
                CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
                wa_e_t_range-sign = 'I'.
                wa_e_t_range-opt = 'EQ'.
                APPEND wa_e_t_range TO e_t_range.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
    I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
    Thank you.
    Regards,
    TR.

  • How to get the current month value for a customer exit variable?

    How to get the current month value for a customer exit variable? 
    And also if we have an InfoObject with date value (including date, month, year), then how to derive the month value from this date type of Char.?
    Thanks!

    Hi Kevin,
    Check here........
    Re: Customer Exist for "From Current Date To Month End"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
    Cal month
    Regards,
    Vijay.

  • Text Variable replace with Customer Exit Variable

    Dear Experts,
    I created a text variable based on replacementh path (instead of customer exit). The reference characteristic is same that as my customer exit Variable and replace it by Key.
    I want to replace it with already Existing Customer Exit Variable but it is not displaying in the List Box even though existing variable option is mandatory.
    Can any one Suggest me the answer for this.
    Regards
    Supraja.K

    I do not think you can select Customer Exit variable, if you see the type is selected to Char Value Variables and it is not editable.
    It would be suggested to go for Customer Exit procesing type for your text variable.
    Cheers,
    Neel.

  • Customer exit Variable to split single date value into a range

    Hi All,
    we have a requirment where user will enter a date(01/21/2010) value in the variable input screen, it should be single value and mandatory, and the query output should have data for the Preceding 24 months for all 6 Key figures.  (e.g. user chooses 12/15/2009, result set is 12/01/2007 - to - 11/30/2009) summarized by month,
    Our query design is as given below -
    since we only have DATE value in the cube, we have added FISCAL YEAR/PERIOD in the cube and mapped DATE with time chars. Now the cube has the data stored in monthly buckets using FISCAL YEAR/PERIOD . Now we have used the variables  FISCAL YEAR/PERIOD  to restrict Key figures and have an offset on that to get the prior 24 periods.
    Since in our requirement user wants to enter Date variable asmandatory input, we create 1 customer exit variables as a mandatory & single value variable for Date Variable, and using that exit variable we thought of passing the period of user entered date to FISCAL YEAR/PERIOD  which we are using to restrict Key figures and get offset of 24 months.
    Can someone please help us in passing this period vaule from inout Variable Date to Fiscal year/period using CMOD, any other ideas are also welcome
    Thanks in advance

    Hi sateesh,
    we are using DATE_TO_PERIOD_CONVERT ,but in this case if user enter's a date (01/21/2010) then we are getting output only for that date and not for the entire prior 24 months period
    As per our requirment when user enter's date (01/21/2010) it should get the whole range that is entered date and 24 prior months and pass the range back to same input Variable so that in the output we get the data for entire prior 24 months
    Thanks

  • Problem with Bex Customer Exit Variable

    Hi Friends,
    I have a customer exit variable which is getting filled based on the User Input.  I have written the code inside the If condition checking i_step = 2. The code is working as required.
    But the problem is when I try refreshing the query or change the user variable selection, the Customer exit variable is not changing.  I tried to debug the code and realized that the  values for the exit variable based on the previous selection is not cleared and the i_step = 2  is not being executed for the variable.
    While I close and reopen the query, the code is working fine.  
    Does anyone know why this is happening?  Please suggest..
    Thanks in advance..
    Regards,
    Priya

    Hi Binu,
    Here is the code sample.  I am trying to populate the month based on the input Week number '0I_WEKIN'
    .  For eg.  If I give 37.2011, the month value should be 08.2011.  If I give 39.2011, month should be 09.2011.
      WHEN 'ZC_MONTH'.
        IF i_step = 2.     "after the popup
            READ TABLE i_t_var_range INTO lw_var_range WITH KEY vnam =
        '0I_WEKIN'.
           IF lw_var_range-high IS NOT INITIAL.
              l_week  = lw_var_range-high.
              l_week = l_week - 3.
              CALL FUNCTION 'WEEK_GET_FIRST_DAY'
                EXPORTING
                  week = l_week
                IMPORTING
                  date = l_date.
              lw_range-low = l_date+0(6).
            ENDIF.
            lw_range-sign = 'I'.
            lw_range-opt  = 'BT'.
            APPEND lw_range TO e_t_range.
        ENDIF.
    Regards,
    Priya

  • BW Customer Exit variable

    Hi Experts,
    I need some help with BW Customer Exit code. This is my reqmt. When a user entes Fiscal period and year,  the code shld go back 6 months back from there and apply that period as the lowest range and the user entered year and perid as the highest value range. Can anyone help??
    Thanks,
    DV

    Hi,
    Create Customer Exit Variable on Fiscal year period and the try with the following code.
    Create ZFYP User entry variable on Fiscal year period
    Process By = USer Entry
    Characteristic = Fiscal year period.
    Variable represents  =Single
    Variable Entry = mandatory
    Check ready for input.
    Create ZFSIX Customer Exit variable on Fiscal year period
    Process By = Customer Exit
    Characteristic = Fiscal year period.
    Variable represents  = Interval
    Variable Entry = mandatory
    UnCheck ready for input.
    Then write the following code in CMOD.
    1.Drag and drop  Fiscal year period in Freecharacteristic and restrict with ZFYP Variable.
    2.Restrict Keyfigure with Fiscal year period  with  ZFSIX  Variable in columns.
    WHEN 'ZFSIX'.
    DATA:  ZMONMIT LIKE GJVAR-MONMIT,
           ZFY1 TYPE /BI0/OIFISCPER,
           ZFY2 TYPE /BI0/OIFISCPER.
    DATA:  zbuper LIKE t009b-poper,
           zbdatj LIKE t009b-bdatj,
           zzdate LIKE sy-datum.
    DATA:  ZPOPER  TYPE POPER.
    DATA:  ZNUMC TYPE NUMC2.
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZFYP'.
              CLEAR l_s_range.
              ZFY1 = loc_var_range-LOW.
              ZBDATJ = loc_var_range-low+0(4).
              ZPOPER = loc_var_range-low+4(3).
             ZMONMIT = '01'.
              CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
                EXPORTING
                  I_GJAHR              = ZBDATJ
                 I_MONMIT              = ZMONMIT
                  I_PERIV              = 'V3'
                  I_POPER              =  ZPOPER
               IMPORTING
                 E_DATE                = ZZDATE
               EXCEPTIONS
                 INPUT_FALSE          = 1
                 T009_NOTFOUND        = 2
                 T009B_NOTFOUND       = 3
                 OTHERS               = 4.
              IF SY-SUBRC <> 0.
                 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
         CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
           EXPORTING
             I_DATE               = ZZDATE
    *        I_MONMIT              = u201800u2019
             I_PERIV              = 'V3'
          IMPORTING
            E_BUPER              =  ZPOPER
            E_GJAHR              =  ZBDATJ
          EXCEPTIONS
            INPUT_FALSE          = 1
            T009_NOTFOUND        = 2
            T009B_NOTFOUND       = 3
            OTHERS               = 4.
         IF SY-SUBRC <> 0.
             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
        CONCATENATE ZBDATJ ZPOPER INTO ZFY2.
        L_S_RANGE-LOW    = ZFY2 .
        L_S_RANGE-HIGH   = ZFY1.
        L_S_RANGE-SIGN   = 'I'.
        L_S_RANGE-OPT    = 'BT'.
        APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    Thanks
    Reddy

  • Behavior of customer exit variables (used as prompt) in a workbook

    Hi All,
    We are on NW2004s. I am using a customer exit variable in the prompt for my query then saved the query as a workbook.
    1. When I run the query the customer exit routine/program is called and the selection screen variable is populated with the correct value.
    Ex. Calendar year variable is a prompt variable defined as customer exit variable that gets the current year.
    when you run the query the prompt for calendar year shows "2007" as default value. this is correct.
    2. when I run the workbook using this same query, it looks like it is not executing the customer exit program. The value in the calendar year prompt is whatever the last value used when the workbook was last ran.
    I also placed a breakpoint in the customer exit program (EXIT_SAPLRRS0_001) to check if it is being called and it looks like it isn't.
    Is there a configuration/property that I should enable/check to make sure that customer exit variables used as prompts works in workbooks? Is this a bug? Anybody else have issues with using customer exit variables as prompts in their workbooks?
    Thanks in advance,
    Malou

    Hello Marilou,
    See the abswer I got from the 1st response on my question
    Save and reuse variable option in 7.0
    It may be a good help.
    Variables seem to be an understated item in the documents.
    Kind regards
    Message was edited by:
            BI developer

  • I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    Leigh,
    After creating your table, Tap the Tab marked "+" and select "Form" - you will be asked which table to use. (You should get into the habit of naming your tables - if the table name isn't visible, select the table and tap the Styles (Brush) Menu > Table > Turn ON table Name, then double tap on the Table to edit it.)
    Select the table you wish to to fill with a form and you will see a new form based on the header data.
    The form will allow you to add one row at a time and when you get to the last row, there is an option at the bottom of the form to add a new row using the "+" button. At the top of the form is the row header which you can rename by double tapping.
    You can also rename the form on the Tab by double tapping on the name.
    Try it out.

  • How to read a whole text file into a pl/sql variable?

    Hi, I need to read an entire text file--which actually contains an email message extracted from a content management system-- into a variable in a pl/sql package, so I can insert some information from the database and then send the email. I want to read the whole text file in one shot, not just one line at a time. Shoud I use Utl_File.Get_Raw or is there another more appropriate way to do this?

    how to read a whole text file into a pl/sql variable?
    your_clob_variable := dbms_xslprocessor.read2clob('YOUR_DIRECTORY','YOUR_FILE');
    ....

  • 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 create an user input variable for customer exit variable? - BW3.5

    Hi Guru,
    I have a requirement for the selection period of my reports. There are 3 possible reporting periods which should be user selectable:
    1. Month: Current reporting month
    2. Fiscal Year to Date
    3. Project Year to Date
    Here I need 2 variable to do these, 1 customer exit and 1 user input variable. I have created a variable customer exit to calculate all these requirement. But can any1 tell on how to create the user input variable for my customer exit? I need a user input variable with drop down list like below.
    01-Current month
    02- Fiscal Year to Date
    03-Project Year to Date
    I have create a new master data for this variable, but it's not working. What I need now is a standalone master data which do not need to link to any exiting records. Can any1 tell me how to create this?

    Just go to the definition of the variable for which you have created a customer exit. There you will find a check box for "Ready for Input". Just tick that checkbox and the variable will be available as a selection variable in the reports selection screen.
    Regards,
    Yogesh

  • How to change height of Input/output field in dialog program

    How to change height of Input/output field in dialog program.
    I want to big message text box like e-mail message box.
    so could anybody help me on this please
    Thanks
    Basu

    Hi,
        This is not possible directly.Place the icon button in the table field.when u click on that button a popup window will appear in that window place the text editor there u can write text and u can save it ok..
    Award points if helpful.
    Kiran Kumar.G.A

  • 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

  • Problem with customer exit variable that is input ready as well

    Hello all,
    I'm facing an issue with a customer exit variable that again has been defined as input ready. I'm not sure why it is working incorrectly and I#m wondering if this is a bug or if I do s.th. stupid.
    The problem is that in the exit program ZXRSRU01 this varibale does not go into the program code I have prepared for this variable. I have added entry points for all three i_step values 1,2,3, but the code will never be touched and in debugging I can see that it simply pypasses the code for this variable.
    I have tried to enter a value or to leave it blank, no difference.
    When I run another test by just using a customer exit variable w/o input ready capability, then I have no issue, the exit does exactly what I have coded.
    Does this mean, that a customer exit variable along with input readiness dows not work ?????
    You may ask why I need this variable. Well, my intention is to use the input value of this variable A to derive other values for a complete different variable B. Afterwards I want to erase the input given into variable A to have it blank.
    Any comments are appreciated
    Thanks

    Hi Heiko,
    I assume A & B variables are defined on different Characteristics. If you wish to derive B based on A, you can create the Query Characteristic Restriction on B & have a dummy RKF restricted on A whose processing is by Manual Input; where processing of B is by Customer Exit. In istep 2 you can check for B, read A & derive B. There would not be a need to blank out A since the Query would not be restricted on A - you can hide the dummy RKF from showing in the output. Just a thought.
    --Priya

Maybe you are looking for

  • Skip Characterstics

    Dear QM Experts, We have Quality process as below, Vendor supplies 20 to 25 batches of a raw material in once consignment. In validation mode(new vendor for the material),  8 batches need to be inspected, and other batches should be skipped. In next

  • Clock setting

    when traveling to another time zone, my Samsung Note 3 will not automatically update to local time?  How can I resolve this?

  • Write a query for which has its field name as input parameter

    Hi All, I need to write a query for SSRS report. StartDate, EndDate and ChangedField are the input parameters. Let's consider that we are taking employee details. The table contains lot of fields like emp name,add1,add2,city,state,country,designation

  • Prefix Index and Substing Index not working

    Dear all, I'm trying to set the following preference to create my index: begin ctx_ddl.create_preference('substring_pref', 'BASIC_WORDLIST'); ctx_ddl.set_attribute('substring_pref','PREFIX_INDEX','TRUE'); ctx_ddl.set_attribute('substring_pref','PREFI

  • 2051 Security Sandbox Violation

    I am getting a 2051 Security Sandbox Violation. Any ideas on how to fix this? Basically I created 4 buttons and (after publishing) when I click on them I get this code. Is there something that will work other than javascript? I need the button to ope