How to create customer exit variable

Hi guys,
please any one can help for how to create customer exit variabel.
Regards.

Hi!
welcome to SDN.
   its very simple.just go to Bex query designer. there u can use the following <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm">Link</a> to create a variable.. but use the processing type user exit.
after that go to transaction SE37 in BW and opent he function module EXIT_SAPLRRS0_001
and in that there is a include  ZXRSRU01.... just double click on it and edit that...
there u can write code for your variable ,...for example write code inside
case "ZMY_VARIABLE"
*code for ur variable
endcase
u can use the following
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm">link for help</a>

Similar Messages

  • How to create customer exit for characteristic variables and for text vars.

    hi friends,
      can anybody tell me how to create customer exit for characteristic variables and for text variables in bw ides system.
    thanks,
    sree

    Hi,
    Please have a look at:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Krzys

  • How to create the Exit Variable

    Dear all,
    I want to create the exit Variables  for query.
    But How to create the exit variables.
    Dose Anyone could share some document?
    Thanks
    Best regards,
    Leon

    Hi,
    Check this out:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06
    assign points if useful ***
    oops this is for authorization in BW reports***
    anyways keep this,.. it may be help for you though this may not answer your Qn. on exit variable.
    Thanks,
    Raj
    Message was edited by: Raj

  • Error creating Customer Exit variable, please help

    Hi Experts,
    This is the scenario, I need to obtain the convertion rate from the table TCURR in order to convert several currencies to USD, so I created a Customer Exit variable that gets the Period and based on that obtains the conversion rate for the last day of the given month from TCURR, the problem is when I created the Formula Variable to get the value from the Customer exit variable I got the following error:
    'ZVARREGEXIT' ALREADY EXISTS; SELECT A DIFFERENT NAME.
    But in not using that name anywhere on my variables creation, Im doing something wrong? How can I check wheres is that variable being used.
    Ideas, comments are always welcome and appreciated.
    Regards.

    Hi Ed,
    Open Admin Workbench (RSA1) and choose Transport Connection --> Object Types --> Query Elements --> Variable --> Select Objects. Find the variable of interest and transfer it back to the main screen, then right-click and choose 'Display Description'. That will show you a "where used" list of queries, workbooks, etc.
    Next, you can use the previous technique to open one of the queries, find the variable in the query, and determine which InfoObject it is associated with.
    Hope this helps!
    Regards,
    Saurabh

  • How to use customer exit variable in the report

    Dear All,
    i want to use a standard customer exit variable in the report properties.
    In the Bex Query Designer right hand bottom you will find two buttons "Properties" and "Task". Click on task you will get different option. Choose properties from there and then select "variable sequence tab".
    I need to add a standard variable there. How can i achieve it?
    Appreciate your early help.

    You need to add variable to corresponding charctertic then you can get that varaible for sorting the sequence....
    If 0CUST is the varaible then you need to assign it 0CUSTOMER then 0CUST will be available for the sequence.
    Edited by: shanthi bhaskar on Apr 2, 2009 5:41 PM

  • How to create Customer exit ?

    Hello,
    I am new to BI 7 and working on same.
    I wanted to create a Customer exit as per the requirements for a Text variable so as to do proper display.
    Can any one suggest step by step to do that .
    I use T code in Bi server
    What i see are the option of
    New project etc.
    But i dont see any option for Customer exit.
    Can any one provide step by step guide or some thorough example for creating Customer exit , it will be really helpful.
    Thanks

    if you are looking for BEx user exit.. Go to CMOD .. you need to create a project say for eg: ZBIVAREX. Assign enhancement as RSR00001 (BI: Enhancements for Global Variables in Reporting).
    go thru the example given :
    http://help.sap.com/saphelp_nw04s/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm

  • Scenerios for using I_STEP parameter for creating customer exit variables.

    Hi All,
    I need to create a customer exit variable.
    Please explain the different scenerios for using each i_step parameters.
    For eg. in which practical scenerio i_step 3 is used?

    Hi Shobhit,
    You can find plenty of info on this in the forums, So i suggest you to do a small search with imp Key words. Anyways below is the std usage of I_STEP
    I_STEP = 1
    Call takes place directly before variable entry. Can be used to pre populate selection variables
    I_STEP = 2
    Call takes place directly after variable entry. This step is only started up when the same variable is not input ready and could not be filled at I_STEP=1.
    I_STEP = 3 In this call, you can check the values of the variables. Triggering an exception (RAISE) causes the variable screen to appear once more. Afterwards, I_STEP=2 is also called again.
    I_STEP = 0
    The enhancement is not called from the variable screen. The call can come from the authorization check or from the Monitor. This is where you want to put the mod for populating the authorization object.
    This is basic info from help.sap.com.
    regards,
    Gaurav
    Edited by: Gaurav Kothari on Aug 4, 2011 2:18 PM

  • Create customer exit on 0calday

    Hi ,
    My requirement is i have to create customer exit variable on 0calday(characterstic). Default this value to current Monday of the week and popup to user.Validate User input with the Monday of the week.If its not a Monday give an error asking to enter Monday of that week
    For ex: if i give date like 20.09.2007 it should display from starting of the week (i.e monday) to till that date.
    PLz give me the instructions how to create
    Thanks and Regards,
    Madhavi

    The below code will check wether the user input is monday or not. If it is not monday it will identify the monday's date in that week.
    DATA: WEEKDAY LIKE SCAL-INDICATOR.
    CALL FUNCTION 'DATE_COMPUTE_DAY'
                    EXPORTING
                    DATE   = <calday>
               IMPORTING
                    DAY    = WEEKDAY
               EXCEPTIONS
                    OTHERS = 1.
          CASE WEEKDAY.
            WHEN '1'.  "Mon
              RESULT = <calday>.
            WHEN '2'.  "Tue
              RESULT = <calday> - 1.
            WHEN '3'.  "Wed
              RESULT = <calday> - 2.
            WHEN '4'.  "Thur
              RESULT = <calday> - 3.
            WHEN '5'.  "Fri
              RESULT = <calday> - 4.
            WHEN '6'.  "Sat
              RESULT = <calday> - 5.
            WHEN '7'.  "Sun
              RESULT = <calday> - 6.
          ENDCASE.

  • Customer Exit Variable in SAP BI

    Hi to all,
    Please can any body tell me , What is Customer Exit Variable in SAP BI , how to use it , why we use it.
    please also sned any website link , or any PDF or DOC file that have example to explain Customer Exit Variable in SAP BI.
    I shall be thankfull to you for this.
    Regards
    PAVNEET RANA

    Hi,
    Customer Exit Variable in SAP BI : is used to calculata MTD,YTD, and some other calculations.
    You can define variables with Customer Exits and then write code in CMOD. See the Article/Blogs in the same
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    CHeck the Following Articles.
    Customer Exit Variables in BW/BI Reports
    Using Customer Exit Variables in BW or BI Reports Part - 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20customer%20exit%20variables%20in%20bw%20or%20bi%20reports%20part%20-%201.pdf
    How to use Customer Exit Variables in BW Reports: Part - 2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/how%20to%20use%20customer%20exit%20variables%20in%20bw%20reports%3a%20part%202.pdf
    Using Customer Exit Variables in BW/BI Reports Part - 3
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f&overridelayout=true
    Using Customer Exit Variables in BW/BI Reports: Part - 4
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0fefc77-40e3-2c10-8da3-d4bfcb013387?quicklink=index&overridelayout=true 
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    Thanks
    Reddy

  • Executing customer exit variable in dropdown box. in WAD

    hi Experts,
    i have implemented two customer exit variables for current month and next síx months in a query and it is working well, and the code for customer exit variable is correct.
    we have a requirement to use the customer exit variables in dropdown box in web application designer. in the dropdown box in web application designer i used command SET_SELECTION_STATE_SIMPLE in that 'command specific Parameters' i had given the exit variables current month and next six months.but after executing the web application designer and if i drill down the report with current month and next six months it's giving error message .
    can anyone please tell me how to implement customer exit variables in web application designer through drop down box. i am using this in bi7 reports.
    Regards
    Sruthi Reddy

    Hi,
    Customer Exit Variable in SAP BI : is used to calculata MTD,YTD, and some other calculations.
    You can define variables with Customer Exits and then write code in CMOD. See the Article/Blogs in the same
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    CHeck the Following Articles.
    Customer Exit Variables in BW/BI Reports
    Using Customer Exit Variables in BW or BI Reports Part - 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20customer%20exit%20variables%20in%20bw%20or%20bi%20reports%20part%20-%201.pdf
    How to use Customer Exit Variables in BW Reports: Part - 2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/how%20to%20use%20customer%20exit%20variables%20in%20bw%20reports%3a%20part%202.pdf
    Using Customer Exit Variables in BW/BI Reports Part - 3
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f&overridelayout=true
    Using Customer Exit Variables in BW/BI Reports: Part - 4
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0fefc77-40e3-2c10-8da3-d4bfcb013387?quicklink=index&overridelayout=true 
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    Thanks
    Reddy

  • 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

  • Need logic to find Year to Date for customer exit variable

    Hi to all,
    I am creating customer exit variable for query .
    query should display data according to current system year from jan till current system date.
    here senario is like that user never enter year and query will automatically will fetch the data according to current year starting from jan to current system date.
    example.
    current year 2010 and today is system date is sep 29 2010, so query will display data from jan 2010 to current data sep 29 2010.
    please can any one provide me logic for that.
    any code .
    regards
    pavneet rana

    Hi,
    You need to create the characteristic customer exit variable of type select-options. Restrict your keyfigure based on this variable.
    In the logic in CMOD,
    write as below
    i_step =2.
    case i_vnam.
    When 'exit variable'.
    temp = sy-datum+0(4).
    concatenate temp '0101' into temp1.
    l_s_range-low= temp1.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    l_s_range-high= sy-datum.
    append APPEND l_s_range TO e_t_range.
    endcase.
    For any further help on customer exit based variable, please refer below article.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f119d9-922d-2c10-88af-8c016638bd90?quicklink=index&overridelayout=true
    Edited by: Rahul K Rai on Sep 29, 2010 3:09 PM

  • How to create a 0FISCPER variable for [last period of current year]

    Hello,
    Can anybody tell me how to create a (exit) variable for the last period of the current year, based on 0FISCPER ?
    Based on a single value, user entry variable based on 0FISCPER.
    I did not find any standard (business content) variables for this.
    Can anybody tell me whether the following alternative works:
    variable 0P_BA102 (last period pervious year) with offset of +12 
    Kind regards.

    Hi,
    It should work.
    You can refer to the following link:
    http://help.sap.com/saphelp_sm32/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    Regards,
    Amit

  • HOW TO CREATE A CUSTOMER EXIT VARIABLE

    <Moderator Message: use lower case letters next time, we don't want you to shout. --> see rules of engagement>
    hi,
          How to create a customer exit variable..!
    in a query designer i  have created the customer exit variable ,in the cmod i have created the project
    for the exit rsap0001 and kept the break-point....but when i executing the query via BEX-Analyzer
    where control not stoping in the break-point..
    can any one help me ..what is the approch i need to do.because i new to BI..
    Regards,
    shahina.....!
    Edited by: Siegfried Szameitat on Dec 17, 2008 10:37 AM

    Hi Shahina,
    1. Create formula variable var1 from to date using replacement path.
    2. Create another formula variable var2 for current date using customer exit or you can use standard
    formula variable for current date
    3. Create calculate key figure ckf using var1 & var2.
    ckf = var1 - var2.
    Thanks == points
    Regards
    Sudheer
    Edited by: SUDHEER on Dec 17, 2008 10:41 AM

  • How to make BEX Customer Exit Variable inactive through Customer Exit Code

    Hi,
    I had created two variables VAR1 and VAR2 as Customer Exit variables
    If VAR1 is entered then it should automatically make the VAR2 as NO Entry Variable.
    vice versa also required.
    can u help me with any code in CMOD so that we can make it inactive through Customer Exit Code.
    Thanks in Advance.
    Sunil.

    What i want is not commenting the code
    I want to make the BEX Variable as inactive by using the Customer Exit Code
    EX : If value in VAR1 is entered  then VAR2 should become automatically inactive.
           If value in VAR2 is entered  then VAR1 should become automatically inactive.
    how can this be done
    Thanks in advance.
    Sunil

Maybe you are looking for

  • How do I get my pics off Itouch??

    Hello. All of my pictures were on my ibook, that died. I had them synced on my itouch. I am trying to get them off my itouch, onto my PC now, but they don't show up when connected, i guess because they are synced. my itouch is an older OS, so i can't

  • Leopard prompts for 802.1X username and password instead of WEP password

    hey! so i got leopard on friday and i haven't been able to connect to my wireless properly since. i have an old D-Link DI-624 (Revision B) router that i have protected with a WEP password. in tiger i never had any problems with this, but now instead

  • Discovery search licensing (standard CAL or enterprise?)

    Hello, when adding user to Discovery Management role Group, server summary reports that all mailboxes need ECAL. But according to this blogpost: http://blogs.technet.com/b/exchange/archive/2012/07/13/announcing-a-licensing-change-for-multi-mailbox-se

  • Receiver FTP

    Hi, I am using Receiver FTP content conversion and generating a CSV file I have 6 records output in the file and unfortunately starts with an empty two lines. I have used the following parameters File Encoding: UTF-8 FCC Parameters: Record.endSeparat

  • Singleton Logger

    Good day I am trying to write some code that opens a file and waits for input to write to a file. Basicly i Need a singleton that writes to a file. I have created a class and used 'Shared Memory Encabled' on the class. I then created a shared area ca