Issue with customer exit for copying one variable value to another

Hello Gurus,
I need to copy the value of a single value variable into another single customer exit variable.
I coded as below.
  WHEN 'customer_exit_var'.
    IF I_STEP = 2. "after the popup
      LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
      WHERE VNAM = 'user_input_Variable'.
        CLEAR L_S_RANGE.
        L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
        L_S_RANGE-HIGH = ''.
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPT = 'EQ'.
        APPEND L_S_RANGE TO E_T_RANGE.
        EXIT.
      ENDLOOP.
    ENDIF.
I used the condition <= for the customer exit variable in the report. But, it is considering only single value, but not all the values <= to the give value.
Please help me in this regard,
Thanks,
Aarthi.

Thanks for your immediate response Govind.
My report is restricted based on two dates. Date1 and Date2. Need to consider all records whose dates are <= Date1 and <= Date2.
Date1 and Date2 should have same values. But user inputs only Date1.
So, I created Date1 as Single, User Input Variable restricted the query with <=Date1.
Next I created Date2 as Single, Customer Exit Variable and restrcited the Query with <=Date2.
In CMOD I used the above code to assigne Date1 Value to Date2.
When I execute the report, say I give todays date in the report (Dec, 12, 2007). Date2  has to consider all the values <= Dec 12, 2007. But, in my case it is considering only Dec 12, 2007, but not the before dates.
So, Please help me in solving this problem.
Thanks,
Aarthi.

Similar Messages

  • Customer Exit (i_step = 1) - Retrieve Variable Value

    Hello,
    I have BW web report and created customer exit (i_step = 1). The BW Web Report is being called from BSP application and I'm passing variable value on URL.
    For example:
    /sap/bw/BEx?cmd=ldoc&template_id=Z_JEFF_CLAIM_TEST&VAR_NAME_1=ZAGGET&VAR_VALUE_EXT_1=10310
    What I need to do now is retrieve the variable value passed on URL in the custom exit i_step = 1. 
    Does anyone know how to do this?
    Thanks,
    Gary

    hi Gary,
    can try in variable user exit ZXRSRU01 ?
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      IF I_STEP = 1.
        LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZAGGET'.
        .... = LOC_VAR_RANGE-LOW.
        ENDLOOP. 
      ENDIF.
    hope this helps.

  • ADF 11g - Issue with Custom Skin for CommandButton & InputNumberSlider.

    Hi,
    Any Help relative will be greatly appreciated !!!
    Currenlty we have an requirement to override the UI Skin of ADF to custom one.
    Where the page design has some command button & InputNumberSlider(replace with skin of scroll bar)
    FYI, we are working with Integrated Weblogic Server, Jdeveloper Version(Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156)
    Following is the JSPX, containing style (CSS) with in
    ==============================================================================================================================
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document binding="#{backingDisplayImageShell.document1}" id="document1">
    <af:form binding="#{backingDisplayImageShell.form1}"
    inlineStyle='align:center; background-image:url("img/flex-skin.jpg");background-repeat:repeat;'
    id="form1">
    <style type="text/css">
    @platform window, linux {
    @agent ie, gecko {
    af|inputNumberSlider::minus-button {
    background-image: url('../img/skin/horizontal_scrollbar_arrowUp.gif');
    af|inputNumberSlider::plus-button{
    background-image: url('../img/skin/horizontal_scrollbar_arrowDown.gif');
    af|inputNumberSlider::thumb-icon-style{
    background-image : url('../img/skin/horizontal_scrollbar_knobLarge.gif');
    af|inputNumberSlider::thumb{ 
    background-image: url('../img/skin/horizontal_scrollbar_knobLarge.gif');
    af|inputNumberSlider:vertical::thumb{ 
    background-image: none;
    af|inputNumberSlider:vertical::thumb:rtl{ 
    background-image: none;;
    af|inputNumberSlider:vertical:disabled::thumb{ 
    background-image: none;
    af|inputNumberSlider:vertical:disabled::thumb:rtl{ 
    background-image: none;
    af|inputNumberSlider:disabled::minus-button{ 
    background-image: none;;
    af|inputNumberSlider:disabled::plus-button{
    background-image: none;;
    af|inputNumberSlider:disabled::thumb{ 
    background-image: none;
    af|inputNumberSlider::minor-tick{
    background-image : none;
    </style>
    <trh:script>goGetShuffled = function(event) { var source =
    event.getSource(); AdfCustomEvent.queue( source, "OnImageClick"
    , {}, false); event.cancel(); }; /*function hidePopUpWindow(){
    hide(); }*/</trh:script>
    <af:spacer height="100"/>
    <af:panelGroupLayout layout="horizontal" halign="center"
    id="panelGroup4CmdButtons"
    inlineStyle="width:45%; height:16px; background-color:transparent;"
    clientComponent="true">
    <af:commandButton text="Download" icon="/img/download.jpg"
    inlineStyle='background-image:url("img/skin/commandButton.gif"); background-repeat:no-repeat; border-color:transparent; border-style:none;'/>
    <af:commandButton text="Promote" icon="/img/promote.jpg"
    inlineStyle='background-image:url("img/skin/commandButton.gif"); background-repeat:no-repeat; border-color:transparent; border-style:none'/>
    <af:commandButton text="Delete" icon="/img/delete.jpg"
    inlineStyle='background-image:url("img/skin/commandButton.gif"); background-repeat:no-repeat; border-color:transparent; border-style:none'/>
    <af:commandButton text="Zoom" icon="/img/zoom.jpg" partialSubmit="true"
    immediate="true"
    inlineStyle='background-image:url("GlowingButton_disabledSkin.png"); background-repeat:no-repeat; border-color:transparent; border-style:none'></af:commandButton>
    <af:commandButton text="Open" icon="/img/open.jpg"
    inlineStyle='background-repeat:no-repeat; border-color:transparent; border-style:none'/>
    </af:panelGroupLayout>
    <af:spacer height="50"/>
    <!-- Scroll Bar for pagination : Start -->
    <af:panelGroupLayout id="panelGrpScrollBar" layout="horizontal"
    halign="center" valign="top"
    inlineStyle="width:60%; background-color:transparent;">
    <af:commandImageLink icon="img/skin/horizontal_scrollbar_arrowUp.gif"
    action="#{backingDisplayImageShell.previousShelf}"/>
    <af:inputNumberSlider simple="true" autoSubmit="true" immediate="true"
    binding="#{backingDisplayImageShell.inputNumberSlider1}"
    id="inputNumberSlider1"
    valueChangeListener="#{backingDisplayImageShell.sliderValueChgLstnr}"
    minimum="0" maximum="7" minimumIncrement="1"
    contentStyle="width:1100px;" rendered="true"
    inlineStyle="text-decoration:none; border-color:transparent; border-style:none; border-width:0px; font-size:0%;"/>
    <!-- 0.05 -->
    <af:commandImageLink action="#{backingDisplayImageShell.nextShelf}"
    icon="img/skin/horizontal_scrollbar_arrowUp.gif"/>
    <af:commandLink/>
    <af:outputText value="0 - 20"
    binding="#{backingDisplayImageShell.outputText1}"
    noWrap="true" id="outputText1"/>
    </af:panelGroupLayout>
    <!-- Scroll Bar for pagination : End-->
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backingDisplayImageShell-->
    </jsp:root>
    ==============================================================================================================================
    Thanks
    Rani Velu

    With the Skin changes provided in CSS is not been reflected.
    Since, it seems to have ADF Skin, but not the custom one.
    I tried even using this way as well, but not progress.
    <af:inputNumberSlider simple="true" autoSubmit="true" immediate="true" styleClass="af|inputNumberSlider::major-tick { border-color: red; }"
    id="inputNumberSlider1" inlineStyle="border-color:transparent; border-style:none"
    minimum="0" maximum="7" minimumIncrement="1"
    contentStyle="width:100px;" rendered="true"
    />

  • Is there an easy way to copy one attribute value to another in same VO?

    Hi All,
    I have two attributes Total and Sum in my masterVO (based on masterEO). Sum is transient attribute which calculates the sum of costs from detailVO. Now I want to pass the value from Sum to Total so that Total can have the right value to insert into DB. In VORowImpl file I tried to set the value in the getter method of Total (code below) but it ends in dead loop. Wonder what's the right way for me to do then?
    Thanks,
    Sophy
    public BigDecimal getTotal() {  
    setTotal(getSum());
    return (BigDecimal) getAttributeInternal(TOTAL);
    Edited by: user10366631 on Mar 2, 2012 11:58 AM

    Thanks for asking, Timo. In my case we already have this totalCost attribute in the DB table which will be used by others. Whenever user changes a cost in the detailVO from UI, I need to recalculate the totalCost in masterVO and insert it into DB. Hence values in the DB will always match.
    I found the way of passing the value of attribute though, whic is code below. Hope it'll help someone else looking for similar problem solution...
    public BigDecimal getSumCost() {
    if ((BigDecimal)getAttributeInternal(SUMCOST) != this.getTotalCost())
    this.setTotalCost((BigDecimal)getAttributeInternal(SUMCOST));
    return (BigDecimal)getAttributeInternal(SUMCOST);
    }

  • I need example for VARIABLES with Customer Exit.

    hi every body i need example for Variable for Customer Exit.

    Hi,
    You can define 'Formula' variables in your customer exit..for example..
    you need to calculate no of machine running hours per month, in order to
    caculate the machine total utilization time..in this context.. you need to know
    how may hours are there in an month by month..
    you can define a variable and write the code in the customer exit for deriving the total no. of hours available for that month and get that value into a variable for further calution like deducting the down time and set up time so on..in your
    calculated KF..
    Hope this helps..
    Assign points if useful..
    Cheers,
    Pattan.

  • Error With Customer Exit Variable

    Hi,
    I need To Create Customer Exit For Text Variable based on Two Input Variable values.
    can any one correct my code Code is written below based on quarter and Fiscalyearvarient.
    I have to get calmonth Text value.
    I am getting the error as : "I_T_VAR_RANGE" is a table without a header line and therefore has no
    Component Called "0PERIV".
    DATA :  l_s_range TYPE rsr_s_rangesid,
            loc_var_range LIKE rrrangeexit.
    IF i_step = 2.
    CASE i_vnam.
       WHEN 'ZTXT_CML' .
          CLEAR: l_s_range.
          LOOP AT i_t_var_range INTO L_S_VNAM WHERE vnam = 'ZQUAR' AND vnam = '0periv'.
            IF i_t_Var_range-0PERIV = 'IE'.
              IF i_t_var_range-ZQUAR = '1'.
                l_s_range-low = 'APRIL'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ELSEIF i_t_var_range-ZQUAR = '2'.
                l_s_range-low = 'JULY'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ELSEIF i_t_var_range-ZQUAR = '3'.
                l_s_range-low = 'OCTOBER'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ELSEIF i_t_var_range-ZQUAR = '4'.
                l_s_range-low = 'JANUARY'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ENDIF.
            ELSEIF i_t_var_range-0PERIV = 'K4'.
              IF i_t_var_range-ZQUAR = '1'.
                l_s_range-low = 'JANUARY'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ELSEIF i_t_var_range-ZQUAR = '2'.
                l_s_range-low = 'APRIL'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ELSEIF i_t_var_range-ZQUAR = '3'.
                l_s_range-low = 'JULY'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ELSEIF i_t_var_range-ZQUAR = '4'.
                l_s_range-low = 'OCTOBER'.
                l_s_range-sign = 'I'.
                l_s_range-opt = 'EQ'.
              ENDIF.
            ENDIF.
              APPEND l_s_range TO e_t_range.
          ENDLOOP.
      ENDCASE.
    ENDIF.

    Hi Supraja,
    You would have to declare I_T_VAR_RANGE internal table as the table with an header line.
    This you will find in data declaration segment.
    ie
    DATA : I_T_VAR_RANGE type <table name> WITH HEADER LINE.
    or
    Create a work area like l_s_var_range.
    Use work area while performing operations in your code and later append the record to the table i_t_var_range.
    DATA : L_S_VAR_RANGE type i_t_var_range.
    Also, i_step = 3 is the right one, because you are processing the customer exit based on the values of the user input of two variables.
    Modified code below.
    DATA : l_s_range TYPE rsr_s_rangesid.
    DATA : L_S_VAR_RANGE type i_t_var_range,
    loc_var_range LIKE rrrangeexit.
    IF i_step = 3.
    CASE i_vnam.
    WHEN 'ZTXT_CML' .
    CLEAR: l_s_range.
    LOOP AT i_t_var_range INTO l_s_var_range WHERE vnam = 'ZQUAR' AND vnam = '0periv'.
    IF l svar_range -0PERIV = 'IE'.
    IF l_s_var_range -ZQUAR = '1'.
    l_s_range-low = 'APRIL'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ELSEIF l_s_var_range -ZQUAR = '2'.
    l_s_range-low = 'JULY'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ELSEIF l_s_var_range -ZQUAR = '3'.
    l_s_range-low = 'OCTOBER'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ELSEIFl_s_var_range -ZQUAR = '4'.
    l_s_range-low = 'JANUARY'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ENDIF.
    ELSEIFl_s_var_range -0PERIV = 'K4'.
    IF i_t_var_range-ZQUAR = '1'.
    l_s_range-low = 'JANUARY'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ELSEIF l_s_var_range -ZQUAR = '2'.
    l_s_range-low = 'APRIL'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ELSEIF l_s_var_range -ZQUAR = '3'.
    l_s_range-low = 'JULY'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ELSEIF l_s_var_range -ZQUAR = '4'.
    l_s_range-low = 'OCTOBER'.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    ENDIF.
    ENDIF.
    APPEND l_s_range TO e_t_range.
    ENDLOOP.
    ENDCASE.
    ENDIF.
    Hope it helps,
    Best regards,
    Sunmit.

  • Prob in text variable with customer exit

    Hi to all
    I am working in PA module in HR ,In my Report i have to count total number of trainee and lateral in given Date range that From date to To Date , Before that i have to calculate a Total Employee Strength before one day of From date , suppose user enter a 1st of April 2007 to 1st of jun 2007 , so Employee strength should be calculated on the 31march 2007, for that i have written custome exit , now i am getting a value also , for Display that date have a created a text variable with customer exit , but i am not able to get that date , it should be display strength as on 31march2007 , instead of it is displaying Strength as on 00.00.0000.I am giving a cod also
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = 'EB1A'.
    append LS_Range to e_t_range.
    WHEN 'ZPA_DATE'.
    if i_step = 3.
    READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'ZPA_DATE'.
    IF SY-SUBRC = 0.
    ZTEST = L_S_VAR_RANGE-LOW.
    ztest1 = ZTEST - 1.
    export p = ztest1 to MEMORY ID 'VALUE'.
    ENDIF.
    endif.
    WHEN 'ZFRMDAT'.
    if i_step = 3.
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = ztest.
    append LS_Range to e_t_range.
    endif.
    when 'ZPA_CDAT'.
    if i_step = 3.
    ztest1 = ztest - 1.
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = ztest1.
    append LS_Range to e_t_range.
    endif.
    when 'ZPA_VAR3'.
    if i_step = 3.
    ztest1 = ztest - 1.
    import p = ztest1 from memory id 'VALUE'.
    concatenate ztest16(2) ztest14(2) ztest1+0(4) into date separated by '.'.
    move date to temp.
    move 'Hello' to temp.
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = temp.
    append LS_Range to e_t_range.
    endif.
    Please help me to come out
    Thanks

    Hi Stefania,
    to me it looks like your local variable num_mese is not defined with the correct data type.
    Try to change
    if num_mese = 09 to if num_mese = <b>'</b>09<b>'</b>,
    same for 10 -> '10', 11 -> '11'.
    If that does not help please let me know your coding where you define the type of num_mese (DATA statement).
    Regards
    Stephan

  • How to Write a CUstomer Exit for a variable in BEx

    Hi,
    How to write a customer exit variable in bex Query designer
    Do i need developers key for this (If so what type of key do i need so that i can ask basis tean to generate)
    Info Object: ZEXP_DTE (Expiry Date)
    Variable on ZEXP_DTE :
    ZEDTE
    Type: Customer Exit
    Can any one please tell me how to write a code in CMOD from this (Step-by Step)
    Expiry Date > Current Cal Day
    As arun said
    'l_s_range-low = SY-DATUM.
    l_s_range-opt = 'I'.
    l_s_range-sign = 'GT'.
    APPEND l_s_range TO e_t_range.'
    I want to insert the above code for the above customer exit but as i am new to BW as  ABAP please explain me what are the steps involved in CMOD
    Thanks

    Hi,
    To write customer exit for a variable, you require Access key.
    Contact your BASIS to get that.
    Access Key,BASIS?
    To write Customer exit,
    User Exits
    User Exit for Variable
    /thread/809285 [original link is broken]
    Hope these helps u...
    Regards,
    KK.

  • How to find out query name in customer exit for variables

    We use the same customer exit variable in different queries. In the customer exit we want to find out, which query has called the customer exit. With the technical query name we want to read a master data table entry.
    e.g. If we come from query ZG1_TEST1 we want to use selection sel1
    Query name  |  selection
    ZG1_TEST1   |  sel1
    ZG1_TEST2   |  sel2  
    How can we find out the query name in the customer exit for variables?
    Thanks for your help,
    Evi

    Hi Evi,
    check out the structure I_S_RKB1D in your exit. It contains the query.
    Siggi

  • Variable creation in bw with customer exit

    hi experts,
    how to create a variable in bw with customer exit?

    Hi
    Create a variable with Processing type as customer exit.
    Then Go to Se38 and ZXRSRU01 program in change mode and there you write the necessary coding how your customer exit variable should process.
    else you can access the include function via CMOD also with selecting the enhancement for reports.
    Regards
    RaM

  • Formula Variable with customer exit

    Hi,
    can we use Formula variables with customer exit based  on characteristics(ex Bill date)? if yes, can you guys help me on this.
    Thanks
    kri

    Yes , you can use a formula variable with customer exit based on characteristics .
    Depends on the requirement what you want to show in the formula variable ,
    Eg : if you want to show the max fiscal year period , in that case :
    create a new formula in the keyfigure section of your query , go to edit , you can see formula variable below the keyfigures ,
    right click on the same and create new formula variable :
    Write the code for the formula varible in the backend as we do for normal customer exit varaible :
    for this e.g the code will be :
    FORM get_variable_value
          tables E_T_RANGE      type RSR_T_RANGESID
          using I_VNAM          type RSZGLOBV-VNAM
                I_VARTYP        type RSZGLOBV-VARTYP
                I_IOBJNM        type RSZGLOBV-IOBJNM
                I_S_COB_PRO     type RSD_S_COB_PRO
                I_S_RKB1D       type RSR_S_RKB1D
                I_PERIV         type RRO01_S_RKB1F-PERIV
                I_T_VAR_RANGE   type RRS0_T_VAR_RANGE
                I_STEP          type I.
      DATA L_S_RANGE LIKE LINE OF E_T_RANGE.
      DATA loc_var_range LIKE rrrangeexit.
    Data  : l_inPer TYPE string.
    IF i_step = 1.
    Select min( distinct FISCPER )
            from /BIC/A(DSO name)
            into l_minper  .
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        l_s_range-low = l_minper  .
        APPEND l_s_range TO e_t_range.
    endif.
    drag the formula variable in the new formula created and exexcute the query , you will be able to see the output .
    This is just an example , your code will differ as per your requirement .

  • Variable with customer exit

    Hello,
    I have created a query with customer exit variable.this variable calculates cumulative month from the beginning of the year. this variable depends on another regular variable 0PCALMON (single value, mandatory). i also use this variable in the query to show the month itself.
    <b>the problem is as follow:</b>
    until yesterday the 0PCALMON variable pop up normally, but now the variable doesn't pop up  at all!
    Does anyone have an idea?
    Thanks,
    Maya

    Hi,
    The variable may be personalized with some value.
    <b>To remove the personalization for a user:</b>
    Step 1: RSA1 -> Search for ODS 0PERS_VAR
    Step 2: Manage -> Contents ->selective deletion
    Step 3: Put the user to remove the personalization
    http://help.sap.com/saphelp_nw04/helpdata/en/01/42c73c13b0ce5be10000000a114084/content.htm
    Regards
    Happy Tony

  • Variables with customer exit

    Please search the forums before posting
    i want an example for variables using customer exit with steps
    Edited by: Arun Varadarajan on Mar 15, 2009 7:25 PM

    Hi,
    You can define 'Formula' variables in your customer exit..for example..
    you need to calculate no of machine running hours per month, in order to
    caculate the machine total utilization time..in this context.. you need to know
    how may hours are there in an month by month..
    you can define a variable and write the code in the customer exit for deriving the total no. of hours available for that month and get that value into a variable for further calution like deducting the down time and set up time so on..in your
    calculated KF..
    Hope this helps..
    Assign points if useful..
    Cheers,
    Pattan.

  • Characterstic variable with customer exit

    Can u some bady help me.
    How to express about Characterstic variable with customer exit
    Edited by: chenna reddy on Aug 7, 2008 9:48 PM

    Hi,
    The variable may be personalized with some value.
    <b>To remove the personalization for a user:</b>
    Step 1: RSA1 -> Search for ODS 0PERS_VAR
    Step 2: Manage -> Contents ->selective deletion
    Step 3: Put the user to remove the personalization
    http://help.sap.com/saphelp_nw04/helpdata/en/01/42c73c13b0ce5be10000000a114084/content.htm
    Regards
    Happy Tony

  • Formel Variable - how to fill with Customer Exit from control table

    Hello Experts,
    I have create in BEx-Analyser a formel Variable ZEXRATE1 filled through Customer Exit. In BW I had a "control tabel" with keyfigures.
    In the query definition I have include 0FISCPER, 0FISCVARNT and 0VTYPE. This
    are the keys which should give the values for the selectstatement to select my keyfigure from the "control table" to fill ZEXRATE1.
    If it possible to do with Customer Exit (CMOD -> RSR00001 -> ZXRSRU01) or do I have to implement a Bapi. Perhaps someone can give me a code example.
    Regards Dieter

    Hi,
    Code may look like this
    WHEN 'ZEXRATE1'.
    check i_step = 2.
        LOOP AT I_T_VAR_RANGE INTO L_S_RANGE.
          CASE L_S_RANGE-IOBJNM.
            WHEN 'ZFISCPER'. GV_ZFISCPER = L_S_RANGE-LOW.
            WHEN 'ZFISCVARNT'. GV_ZFISCVARNT =  L_S_RANGE-LOW.
            WHEN 'ZVTYPE'. GV_ZVTYPE =  L_S_RANGE-LOW.
          ENDCASE.
        ENDLOOP.
        SELECT SINGLE RATE into INTO GV_RATE
                  FROM ZTABLE
                  WHERE 0FISCPER = GV_ZFISCPER
                  AND   0FISCVARNT = GV_ZFISCVARNT
                 AND 0VTYPE = GV_ZVTYPE   .
    Assumptions : ZTABLE name of control table
                          ZFISCPER name of variable represents fiscal period
                          'ZFISCVARNT' name of variable representing fiscal year variant 
                          'ZVTYPE'. name of variable representing value type
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

Maybe you are looking for

  • Predictive Analysis - Alogorithm determination

    Dear Experts, We are working on a Scenario, and try to build a Predictive Analysis reports on the same, as we are new to HANA , please help us  on the same. Scenario 1) Machine are sending the consumption of liquid to HANA continuously, following are

  • Why I cannot see the progress bar whenever I download my apps directly from my App Store ?

    Whenever I install an app, I cannot see the app's icon on the home screen and then when I proceed into the home page, the apps will not be installed unless I stay into the App Store and wait till the circle on the top of the screen stop turning. It i

  • X250 no smartcard reader despite on list

    Hello It is my first post and sadly about wrong configuration of my x250. When I was ordering my laptop there was a clear message it has smartcard reader. Sadly It came without it but some unremovable plastic  instead. Has anyone seen something like

  • My system date

    My system settings for data & time are correct and on the upper right hand corner the correct time comes up. However all files, word and mail come up with only one date - September 1. How can I correct this?

  • Can't videochat with anyone

    I can't videochat with any one, especially people with HP computers. How can I fix this. Keep in mind this has NEVER worked before. Here is my error report when I try to connect: Date/Time: 2008-04-30 23:08:31.839 -0400 OS Version: 10.5.2 (Build 9C70