Variable code in ZXRSRU01 Include

Hi,
I created the following code in ZXRSRU01 Include for a custom variable 'YFBV_027':
WHEN 'YFBV_027'.
CASE i_step.
  WHEN '2'.
      concatenate sy-datum(6) '01' into datum.
      datum(4) = datum(4) + 1.
      l_s_range-low = datum.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'EQ'.
      APPEND l_s_range TO e_t_range.
      CLEAR l_s_range.
endcase.
The question is: Why I cannot introduce <b>l_s_range-opt  = 'LT'</b>, but only 'EQ'?
The error message is:
00010004    AError for variable  in customer enhancement YFBV_027    
Thanks for your help.

Hi Claudia,
Is your variable single entry?

Similar Messages

  • InfoPackage OLAP variables used in the ZXRSRU01 INCLUDE - I_STEP value ?

    Dear All, as I am aware OLAP variables used in InfoPackage Data Selection are processed in the standard user exit (EXIT_SAPLRRS0_001) - INCLUDE ZXRSRU01 where the customer created global reporting variables are also processed when queries are run and are processed according to the value of I_STEP being 1, 2 or 3.
    When processing the variables according to the running of InfoPackages the value of I_STEP in this case seems to be 0. Is this always the case for the value of I_STEP = 0 when processing according to InfoPackage?
    I have meticulously searched documentation and can only find the I_STEP = 0 value when applied to Authorisation processing.
    We are creating separate Includes depending on the value of I_STEP instead of having one great block of code in the ZXRSRU01 Include.
    We obviously want the InfoPackage code to run only when the InfoPackage runs instead of it being checked every time a query is run.
    Also is there an easier way to see where a customer variable is used:
    1) rather than creating a dummy query that uses the variable to restrict a characteristic and using the right click mouse funstion to see where the varaible is used in queries? and
    2) also when the variable is used in InfoPackage selection is there a transaction or feature somewhere to see where this variable is used in these selections as opposed to looking at the table RSLDPSEL via SE16 selecting on variable name
    i.e is there a nice "where used" feature that shows comprehensively where a customer user exit variable is used across the board.
    Thanks
    Mark

    Hi Sarah,
    You don't need any FM for your issue.
    Please try thie sample code :
    DATA: VAR_INPIUT LIKE RRRANGEEXIT.
    CASE I_VNAM.
      WHEN 'ZVAR2'.
       CLEAR L_S_RANGE.
       IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
    *Reading value of ZVAR1
        LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
          WHERE VNAM = 'ZVAR1'.
          CASE VAR_INPIUT-LOW.
    *FILLING ZVAR2
           WHEN 0.
              L_S_RANGE-LOW     = 10.
           WHEN 1.
              L_S_RANGE-LOW     = 20.
          ENDCASE.
          L_S_RANGE-SIGN     = 'I'.
          L_S_RANGE-OPT      = 'EQ'.
          APPEND L_S_RANGE TO E_T_RANGE.
          EXIT.
        ENDLOOP.
      ENDIF.
    ENDCASE.
    Hope this helps
    Joe

  • Need help with transporting User Exit Variable in CMOD ZXRSRU01

    Hello Gurus.,
                      I changed the existing user exit variable in CMOD ZXRSRU01.,before changing neither it ask for any transport request,  nor when I activated the include program .
    Well., I tried this........I went to goto-> Object Directory Entry.,
    changed the Package and person responsible for and then it asked for transport request...but this dint work...
    Now., how can I capture the changes in a transport request, so that, i can move the changes to production system?
    is there anyway to solve my problem?
    Regards,
    PNK

    Thanks for ur help VIKRAM...i solved the issue...the changes are captured in someother request, but it was not showing in the Version Management.'
    I checked the Lock Overview in the Object DIrectory Entry and found out that it was capturing in different request. I released the request and when I tried to change the code, it asked for new transport request.
    It worked..
    Thanks for your help..
    Regards,
    PNK

  • Problem with variable name in ZXRSRTOP include (virtual KF)

    Hi all,
    I am coding a routine to use a virtual key figure in the BEx.
    I have just a little problem with the name of a variable:
    as explained in the documentation, I created the variable with the prefix G_POS_, the name of the infocube and the name of the infoobject all together:
    DATA: G_POS_BC_ST_003_C_DIV__C_COMPAR   type i.
    The problem is that this variable name is longer than 30 characters, so the system doesn't accept it.
    Is there a workaround, other than changing the name of the infoobject (which is a navigational attribute)?
    Any help would be appreciated.
    Loï

    Hello Marc,
    I understand that I have to use a concatenate function and a dynamic call of the variable with (variable) instruction, but i do not understand how to implement it.
    the infocube name is BC_ST_003
    the characterisdtic name is C_DIV__COMPAR
    So, in the include ZXRSRTOP the statement
    DATA : G_POS_BC_ST_003_C_DIV__COMPAR
    does not work due a length problem (see first post)
    But in the same include the statement
    +DATA: l_global_name type c.
    concatenate 'GPOS' 'BC_ST_003' 'C_DIV__C_COMPAR' into l_global_name separated by '_'.+
    drives to the following error : statement is not accessible.
    Could u please provide me with an example of the code in the include ZXRSRTOP, and in the include ZXRSRZZZ for the use of this variable.
    Thanks in advance.
    Loï

  • Problem with variable declared in TOP Include

    Hi,
    I have declared a variable P_TEXT in TOP include ZPGM_TOP.  In main program ZPGM, I have declared this TOP include ZPGM_TOP and another include ZPGM_F01.
    I am  accessing P_TEXT in include ZPGM_F01, but it is giving me following error when I do syntex check.
    Error : Field P_TEXT is unknown. It is neither in one of the specified tables nor defned by DATA statement.
    But when I double click on P_TEXT in ZPGM_F01, it takes me to TOP include declaration.
    Please advise what I am doing wrong.
    Thanks.

    Check the sequence in which your includes are declared e.g.
    include zpgm_top. "data
    include zpgm_f01. "code
    would work, but:
    include zpgm_f01. "code
    include zpgm_top. "data
    will give syntax error in "zpgm_f01".
    Jonathan

  • Examples of code ritten in includes in user exits

    Can anyone send some examples on code written in includes of user exits.
                                       Thanks in advance

                   U S E R   E X I T   F O R   P A 0 0 0 8               *
    IF innnn-infty = '0008' AND
    ( ipsyst-ioper = 'INS' OR
       ipsyst-ioper = 'COP' ).
                 G L O B A L   D E C L A R A T I O N S                   *
      DATA:
          g_lga         TYPE lgart,      " Wagetype
          g_count(2)    TYPE n,
          g_cnt_blank(2) TYPE n,          " Record position for hrly WT
          g_cnt_hrly(2) TYPE n,          " Record position for hrly WT
          g_cnt_inc(2)  TYPE n,          " Record position for inc WT
          g_cnt_lng(2)  TYPE n,          " Record position for lng WT
          g_cnt_ret(2)  TYPE n,          " Record position for ret WT
          g_wtype(11)   TYPE c,          " Wage type
          g_wrate(11)   TYPE c,          " Wage rate
          g_ht510_rate  TYPE betrg,      " Default rate for WT0011 from T510
          g_maxrate_inc TYPE betrg,      " Maximum Incumbency Rate
          g_maxrate_lng TYPE betrg,      " Maximum Longevity Rate
          g_maxrate_ret TYPE betrg.      " Maximum Retention Rate
                      D A T A   D E C L A R A T I O N                    *
      DATA:
          it_9006       TYPE TABLE OF pa9006,
          st_9006       TYPE pa9006,
          i0008         TYPE p0008,
          st_grdcode    TYPE zthhr_grdcode.
                      F I E L D    S Y M B O L S                         *
      FIELD-SYMBOLS: <fs_wtype> TYPE ANY, " Used for Wage Type
                     <fs_wrate> TYPE ANY. " Used for Amount
                      C O N S T A N T S                                  *
      CONSTANTS:
        c_molga_10   type molga value '10',    " Country grp for US
        c_hlgar_0011 TYPE lgart VALUE '0011',  " Hourly Wage Type
        c_ilgar_0012 TYPE lgart VALUE '0012',  " Incumbent Wage Type
        c_llgar_0147 TYPE lgart VALUE '0147',  " Longevity Wage Type
        c_rlgar_01e0 TYPE lgart VALUE '01E0',  " Retention Wage Type
        c_subty_inc  TYPE subty VALUE '1',     " Subtype for Incumbency
        c_subty_lng  TYPE subty VALUE '4',     " Subtype for Longevity
        c_subty_ret  TYPE subty VALUE '5'.     " Subtype for Retention
                      P R O C E S S I N G                                *
    Typecast PRELP to PNNNN structure
      CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
        EXPORTING
          prelp = innnn
        IMPORTING
          pnnnn = i0008.
    Refresh & Clear Process variables.
      CLEAR:  g_lga, g_count, g_cnt_blank, g_cnt_hrly, g_cnt_inc,
              g_cnt_lng, g_cnt_ret, g_wtype, g_wrate, g_maxrate_inc,
              g_maxrate_lng, g_maxrate_ret.
    Populate all unexpired & applicable records of IT9006 of subtype:
    Incumbency, Longevity and Retention
      REFRESH: it_9006.
      SELECT * FROM pa9006 INTO TABLE it_9006
              WHERE pernr EQ i0008-pernr
                AND begda LE i0008-begda
                AND endda GE i0008-begda
                AND ( subty EQ c_subty_inc
                OR    subty EQ c_subty_lng
                OR    subty EQ c_subty_ret )
                AND zapplflg EQ 'X'.
    Sort IT9006 Table descending based on Amount
      SORT it_9006 BY zwage zaddamt DESCENDING.
    Check for validity of Pay Scale Group & Level
      SELECT * FROM zthhr_grdcode UP TO 1 ROWS
                      INTO st_grdcode
                     WHERE trfgr = i0008-trfgr
                       AND trfst = i0008-trfst.
      ENDSELECT.
      IF sy-subrc EQ 0.
      If valid, read the Maximum Incumbency Rate
        READ TABLE it_9006 INTO st_9006
                           WITH KEY zwage = c_ilgar_0012
                                    zgrdcode = st_grdcode-grdcode
                           TRANSPORTING zaddamt.
        IF sy-subrc EQ 0.
          g_maxrate_inc = st_9006-zaddamt.
        ENDIF.
      ENDIF.
    Get Max Longevity rate
      READ TABLE it_9006 INTO st_9006 WITH KEY zwage = c_llgar_0147
                         TRANSPORTING zaddamt. " to g_maxrate_inc.
      IF sy-subrc EQ 0.
        g_maxrate_lng = st_9006-zaddamt.
      ENDIF.
    Get Max Retention rate
      READ TABLE it_9006 INTO st_9006 WITH KEY zwage = c_rlgar_01e0
                         TRANSPORTING zaddamt. " to g_maxrate_inc.
      IF sy-subrc EQ 0.
        g_maxrate_ret = st_9006-zaddamt.
      ENDIF.
      CLEAR : g_count, g_cnt_blank, g_cnt_hrly, g_cnt_inc,
              g_cnt_lng, g_cnt_ret.
    Check Infotype 0008 Wagetype entries
      DO 40 TIMES
          VARYING g_lga FROM i0008-lga01 NEXT i0008-lga02.
        g_count = g_count + 1.
        IF NOT g_lga IS INITIAL.      " Fill max no of field filled
          g_cnt_blank = g_count.
        ENDIF.
        IF g_lga = c_hlgar_0011.      " Get Rec Pos for Hrly WT
          g_cnt_hrly = g_count.
        ELSEIF g_lga = c_ilgar_0012.  " Get Rec Pos for Inc WT
          g_cnt_inc = g_count.
        ELSEIF g_lga = c_llgar_0147.  " Get Rec Pos for Lng WT
          g_cnt_lng = g_count.
        ELSEIF g_lga = c_rlgar_01e0.  " Get Rec Pos for Ret WT
          g_cnt_ret = g_count.
        ENDIF.
      ENDDO.
      g_cnt_blank = g_cnt_blank + 1.  " Next Avl. Pos for WT entry
    Incumbency Processing
    0011 and 0012 both not found
      IF g_cnt_hrly = 0 AND  g_cnt_inc = 0.
    Do Nothing
    0011 Not found but 0012 found
      ELSEIF g_cnt_hrly = 0 AND  g_cnt_inc > 0.
        CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
        CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
        ASSIGN (g_wtype) TO <fs_wtype>.
        ASSIGN (g_wrate) TO <fs_wrate>.
        IF g_maxrate_inc <> 0.
          <fs_wtype> = c_ilgar_0012.
          <fs_wrate> = g_maxrate_inc.
        ELSE.
        If WT0012 has expired in IT9006, revert to WT0011 with
          default rate from T510
          <fs_wtype> = c_hlgar_0011.
          SELECT betrg FROM t510 UP TO 1 ROWS
                       INTO g_ht510_rate
                      WHERE molga = c_molga_10
                        AND trfar = i0008-trfar
                        AND trfgb = i0008-trfgb
                        AND trfgr = i0008-trfgr
                        AND trfst = i0008-trfst
                        AND lgart = c_hlgar_0011
                        AND begda LE i0008-begda
                        AND endda GE i0008-endda.
          ENDSELECT.
          IF sy-subrc = 0.
            <fs_wrate> = g_ht510_rate.
          ENDIF.
        ENDIF.
    0011 found but 0012 Not found
      ELSEIF g_cnt_hrly > 0 AND  g_cnt_inc = 0.
        IF g_maxrate_inc <> 0.
        Update 9006 amount if greater. And Replace 0011 with 0012
          CONCATENATE 'I0008-LGA' g_cnt_hrly INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_hrly INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          IF <fs_wrate> < g_maxrate_inc.
            <fs_wtype> = c_ilgar_0012.
            <fs_wrate> = g_maxrate_inc.
          ELSE.
          Do Nothing
          ENDIF.
        ELSE.
        Do Nothing
        ENDIF.
    0011 and 0012 both found
      ELSEIF g_cnt_hrly > 0 AND  g_cnt_inc > 0.
      Rate in IT9006 exists.
        IF g_maxrate_inc <> 0.
        Remove existing 0011
          CONCATENATE 'I0008-LGA' g_cnt_hrly INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_hrly INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
        If hourly rate < Max Inc Rate, Clear Hrly WT & update WT0012
          IF <fs_wrate> LT g_maxrate_inc.
            CLEAR : <fs_wtype>, <fs_wrate>.
          Update existing 0012 with new amount
            CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
            CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
            ASSIGN (g_wtype) TO <fs_wtype>.
            ASSIGN (g_wrate) TO <fs_wrate>.
            <fs_wtype> = c_ilgar_0012.
            <fs_wrate> = g_maxrate_inc.
        If hourly rate > Max Inc Rate, clear WT0012
          ELSE.
            CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
            CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
            ASSIGN (g_wtype) TO <fs_wtype>.
            ASSIGN (g_wrate) TO <fs_wrate>.
            CLEAR : <fs_wtype>, <fs_wrate>.
          ENDIF.
      Rate in IT9006 do not exists.
        ELSE.
        Let 0011 be there but remove 0012.
          CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          CLEAR : <fs_wtype>, <fs_wrate>.
        ENDIF.
      ENDIF.
    Longevity Processing
    Wage type 0147 already exists
      IF g_cnt_lng > 0.
        CONCATENATE 'I0008-LGA' g_cnt_lng INTO g_wtype.
        CONCATENATE 'I0008-BET' g_cnt_lng INTO g_wrate.
        ASSIGN (g_wtype) TO <fs_wtype>.
        ASSIGN (g_wrate) TO <fs_wrate>.
      IT9006 contains the rate.
        IF g_maxrate_lng > 0.
        Update the existing amount
          <fs_wtype> = c_llgar_0147.
          <fs_wrate> = g_maxrate_lng.
        ELSE.
        Remove Wage Type 0147
          CLEAR <fs_wtype>.
          CLEAR <fs_wrate>.
        ENDIF.
    Currently no 0147 exists
      ELSE.
      IT9006 contains the rate.
        IF g_maxrate_lng > 0.
        Add 0147 with amount
          CONCATENATE 'I0008-LGA' g_cnt_blank INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_blank INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          <fs_wtype> = c_llgar_0147.
          <fs_wrate> = g_maxrate_lng.
          g_cnt_blank = g_cnt_blank + 1.
      IT9006 does not contain the rate.
        ELSE.
        Do Nothing
        ENDIF.
      ENDIF.
    Retention Processing
    Wage type 01E0 already exists
      IF g_cnt_ret > 0.
        CONCATENATE 'I0008-LGA' g_cnt_ret INTO g_wtype.
        CONCATENATE 'I0008-BET' g_cnt_ret INTO g_wrate.
        ASSIGN (g_wtype) TO <fs_wtype>.
        ASSIGN (g_wrate) TO <fs_wrate>.
      IT9006 contains the rate.
        IF g_maxrate_ret > 0.
        Update the existing amount
          <fs_wtype> = c_rlgar_01e0.
          <fs_wrate> = g_maxrate_ret.
        ELSE.
        Remove Wage Type 01E0
          CLEAR <fs_wtype>.
          CLEAR <fs_wrate>.
        ENDIF.
    Currently no 01E0 exists
      ELSE.
      IT9006 contains the rate.
        IF g_maxrate_ret > 0.
        Add 01E0 with amount
          CONCATENATE 'I0008-LGA' g_cnt_blank INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_blank INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          <fs_wtype> = c_rlgar_01e0.
          <fs_wrate> = g_maxrate_ret.
          g_cnt_blank = g_cnt_blank + 1.
      IT9006 does not contain the rate.
        ELSE.
        Do Nothing
        ENDIF.
      ENDIF.
    Typecast the PNNNN to PRELP structure
      CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
        EXPORTING
          pnnnn = i0008
        IMPORTING
          prelp = innnn.
    Show Data Again Switch to display the field values again
      show_data_again = 'X'.
    ENDIF.

  • Extend ABC Code clasification to include code = "D" MRP1 field -  tx MM01

    Hi All
    I need to extend ABC Code clasification to include code = "D"  in MRP1 - ABC Indicator field in TX MM01, can someboby tell me how pls!!
    thks in advance

    you cannot have a D for this field.
    See transaction MC40 which is used to calculate and update this field.  There is nothing to add a D in the analysis strategy section. So you would need to re-write this transaction as well if you want a D.
    Instead use the CC - Abc indicator field in storage location view. Here you can have a D.

  • How to Debug code written in Include RMCSUZ10?

    In our Sales extractor 2LIS_11_VAITM we need to get information from custom Partner Functions whichwere added by the R/3 team.
    To do this we have used the SAP provided include:RMCSUZ10
    I have changed the Structure: MCPARTNER to include new fields PKUYZ, PKUYX, PNA1YZ.
    The Code in the include is as follows:
    WHEN 'YZ' .                               
        MOVE UPE_VBPA-ADRNR TO UPE_PARTNER-PKUYZ.
        MOVE UPE_VBPA-NAME1 TO UPE_PARTNER-PNA1YZ.
        WHEN 'YX' .                               
        MOVE UPE_VBPA-ADRNR TO UPE_PARTNER-PKUYX.
        MOVE UPE_VBPA-NAME1 TO UPE_PARTNER-PNA1YZ.
    These additional fields are available in the LO Pool now and I have pulled them into the extractor.
    Strangely though, this code only works in the Delta extraction mode. If we do a setup in R3 and pull the data, the fields remain blank. Does anyone have a similar experience with using this exit?
    Also I am able to debug this code only while doing setup in R3.
    Is there any other way to debug this code and how can we make it work in Full mode too?
    Thanks in advance.
    AG

    Hi AG.
    Regarding the debugging, you could do it the hard and dirty way and write an endless loop at the beginning of your logic and then enter debug mode from the process monitor (in development only of course and remember to delete it again!).
    Regards
    Jacob
    Edited by: Jacob Jansen on Dec 29, 2011 10:26 PM

  • Variable code

    Hello Friends,
    Need some help from you ...
    I have to write a variable code in my devlopment and i m not familier with ABAP programming. It will be nice help for me if any one can help or send me an ABAP code.
    Requierment is as follows.
    There is one query which is showing current week date and now USEr want to see the 12 weeks before data along with current data. so he can compare with current data and 12 weeks before data.
    So please let me know how to proceed and send me sample code if you can ..it will be nice help for me.. 
    my mail id is [email protected]
    Sample code is as below - This code was actully for 4 weeks comparision data ,
    Calculates Interval for Current Week - 4 to Current Week
    (Last Four Weeks plus Current Week as a Range)
      WHEN 'ZXV_L4W'.
       IF I_STEP = 2.
        CLEAR L_S_RANGE.
        v_date1 = SY-DATUM - 28.
        v_date2 = SY-DATUM.
        CALL FUNCTION 'DATE_GET_WEEK'
         EXPORTING
          DATE = v_date1
         IMPORTING
          WEEK = v_cweek1.
        IF SY-SUBRC EQ 0.
         CALL FUNCTION 'DATE_GET_WEEK'
          EXPORTING
           DATE = v_date2
          IMPORTING
           WEEK = v_cweek2.
         IF SY-SUBRC EQ 0.
          L_S_RANGE-LOW  = v_cweek1.
          L_S_RANGE-HIGH = v_cweek2.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT  = 'EQ'.
          APPEND L_S_RANGE TO E_T_RANGE.
         ENDIF.
        ENDIF.
       ENDIF.
    I thanks to all of you in advance for your help
    Regards

    Hi,
    The idea of this exit is to translate the date specified in the variable ZPRPYA into a date range (From-To).
    WHEN 'ZRDDAT2'.  <i><b>>>when the variable is ZRDDAT2</b></i>
    IF i_step = 2. "after the popup
    LOOP AT i_t_var_range <i><b>>> an internal table</b></i> INTO loc_var_range <i><b>>> another internal table</b></i>
    WHERE vnam = 'ZPRPYA'. <b><i>>> you can view the structure of the tables by double-clicking on the name.  There are probably some defaulted value being saved for the variable ZPRPYA</i></b>
    CLEAR l_s_range.  <i><b>>> fields in this range will be something like, variable name, sign, operator, from value (high) and to value (low)</b></i>
    previous_year = loc_var_range-low(4). "3  <i><b>>> assigning the first 4 chars of the FROM value to previous_year... this is usually depicted as taking the first 4 chars of eg '20060101'.</b></i>
    two_years_ago = previous_year - 1. "2 <i><b>>> formula to find the years 2 yrs ago eg = 2004 (2006 - 2)</b></i>
    CONCATENATE two_years_ago '01' '01' INTO l_s_range-low.  <i><b>>> this will gel the value in variable two_years_ago (2004) into the FROM space eg 20040101.</b></i>
    CONCATENATE previous_year '12' '31' INTO l_s_range-high.
    <i><b>>> this will gel the value in variable previous_year (2006) into the TO space eg 20060101.</b></i>
    CONDENSE l_s_range-low.
    CONDENSE l_s_range-high.  <i><b>>> to remove any spaces.</b></i>
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.  <i><b>>> e_t_range will be the range used by the system to represent the variable value</b></i>
    EXIT.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    Hope this helps,
    Gimmo
    Message was edited by: Gimmo
    Message was edited by: Gimmo

  • Skype Number area codes do not include mine?

    I need a skype number but area codes do not include mine??? wot do i do?
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content. A link to this post appears where the post was originally added.

    Hi, Grapat, and welcome to the Community,
    Unfortunately, Skype Numbers are not available for all exchanges, area codes, or even all states in the USA and all countries.  We need to choose a Skype Number based upon what is listed at the time we are searching, or check back regularly to see if a particular exchange has been added to the list.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Variable code within code

    I was wondering how you can make variable code within code, for example, normally, you can use this["blabla"+variable]; to make the code say blablavariable.
    But now i want to make new variables by using this code, within a for loop [using teller1 as the increasing value]
    this["var ringsegment_mc:Ring_"+teller1+"=new [Ring_"+teller1+"]()"];
    which i basically want to have say:
    var ringsegment_mc:Ring_1=new Ring_1();
    but this doesnt work, it doesnt make a variable called ringsegment_mc.
    why I want to do this, is because i need to make an add child which makes 16 parts, from 16 different movieclips.
    here is the code for that for loop:
    for(var teller1=0; teller1<16; teller1++) {
        kernplaats += Number(Math.random()*200+300);
        this["var ringsegment_mc:Ring_"+teller1+"=new [Ring_"+teller1+"]()"];
        ringsegment_mc.x=xco[teller1]+kernplaats;
        ringsegment_mc.y=yco[teller1]+kernplaats;
        ringsegment_mc.geklikt = Number(0);
        ringsegment_mc.score = Number(ringscore);
        ringsegment_mc.speedmodded = Number(0);
        ringsegment_mc.kerngroep = Number(1);
        ringsegment_mc.addEventListener(Event.ENTER_FRAME,vernietig);
        addChild(ringsegment_mc);

    Hmm, i already fixed it, though im still not really sure why it happened:
    i have a for loop adding the addchilds 16 times, using a different movieclip for each instance
    loading the x and y coordinates from an array, containing 16 values [which ive changed to 17 now, to make it work]
    the arrays:
    var xco:Array = [121,180,233,271,292,292,270,231,179,124,74,34,11,9,30,70,121];
    var yco:Array = [11,11,33,73,124,181,232,270,290,291,271,234,183,125,72,33,11];
    the part of the for loop and positioning:
    for(var teller1=1; teller1<17; teller1++) {
        //var ringsegment_mc:Ring_1=new Ring_1();
        var ClassReference:Class = getDefinitionByName("Ring_"+teller1) as Class;
        var ringsegment_mc:MovieClip=new ClassReference();
        ringsegment_mc.x=xco[teller1]+kernplaatsx;
        ringsegment_mc.y=yco[teller1]+kernplaatsy;
    i traced the x and y coordinates, and it appeared that Ring_16 got 0.0 as coordinates.
    so i added the first coordinate to the end, and it works fine now.
    and while typing i realise that the first value in an array is number 0 and not 1
    DOH!
    Thanks for the help guys!
    Especially you, Hakan!

  • How to access a variable from a dynamically included JSP page

    I have a jsp (say main.jsp) using the following in its code :
    <jsp:include page="menu.jsp" flush="true" />
    I have a variable in menu.jsp which I would like to use in my main.jsp.
    How do I get the value of the variable defined in menu.jsp ?
    I called this variable in menu.jsp, Public, but this didnot help me use the value of that variable in main.jsp
    Any help is highly appreciated.. thnks a lot

    I do notice the variable var1 has the value populated - in menu.jsp - (from View -->
    Source in the browser) but for some reason not able to use it in main.jspI'm not quite sure of the way your jsps are structured from your code snippet but I think there is something to be aware of here that may be part of your problem, namely the difference between the include directive and the include action.
    You are currently using the include action, this treats the included resource as a dynamic object - i.e. a request is sent to that resource and the resulting response is included in your page. So when you think of what there is no java variable actually included - you'll just get the resulting HTML that is generated by menu.jsp
    The include directive, as in <%@include file=�menu.jsp � %>, on the other hand treats the resource as a static object. This means the actual bytes in the included resource are inserted into the including jsp and then the result of that is compiled and processed, effectively you are cutting and pasting the menu.jsp into your calling jsp. In this case the variable would be available to the calling jsp.
    However this approach does bring other difficulties that may break your current code, you'll just have to try it and see what happens.
    Hope that's relevant to your problem,
    Matt

  • Including code in a include statement

    How come this piece of code isn't valid? <jsp:include page="<%=request.getContextPath() %>/include/subnav.jsp" /> And what are the alternatives? I want the include path to be generated based on the contextPath variable.

    jsp:include works with RequestDispatcher (internally), it doesn't require 'context path'.
    solution:
    <jsp:include page="/include/subnav.jsp" />

  • Problem with Code Abap in Include of EXIT_SAPLRRS0_001

    Hello all,  
    I need to call to a function of conversion of dates from the include of the function EXIT_SAPLRRS0_001 but I cannot pass the parameters for the exporting, like I can declare these variables so that they pass to the other function mudule?, 
    this way this now :
    *&  Include           ZXRSRU01
    DATA: l_s_range TYPE rsr_s_rangesid.
    DATA: loc_var_range LIKE rrrangeexit.
    DATA: t_date TYPE rsr_s_rangesid.
    DATA:p_date TYPE d.
    DATA: v_date1 TYPE d.
    DATA: v_date2(6) TYPE c.
    CASE i_vnam.
      WHEN 'ZPP_ACU_MES_SEM'.
        IF i_step = 2. "after the popup
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZSEM_INDV'.
            CLEAR l_s_range.
    obtener el primer dia de la semana de la fecha al 01mmyyyy
            v_date2 = loc_var_range-low(6).
            CALL FUNCTION 'WEEK_GET_FIRST_DAY'
              EXPORTING
                week    = v_date2    
             IMPORTING
                date    = v_date1
              EXCEPTIONS
                semana
                invalida...................

    Hi Sonal, 
    the error is not indicated explicitly but for the debbuging I could observe that they were not passing the parameters to the function module that calls, as I understand the variable it doesn't pass to another context like parameter and when using PARAMETERS in the INCLUDE of the EXIT_SAPLRRS0_001 it doesn't allow it 
    CALL FUNCTION ' WEEK_GET_FIRST_DAY' 
              EXPORTING 
                week = v_date2 
              IMPORTING 
                date = v_date1 
              EXCEPTIONS 
                week 
                it invalidates.

  • On make: variable not found in include file (it's in including page)

    JDeveloper 10.1.2.1.0 build 1913
    I'm new to JDeveloper and finally have things set up correctly but when I try to make/run my app (java/beans/jsp) I get the "variable not found" error;
    Error(25,16): variable subActionName not found in class includes.vendorSubsidiaries
    since the variable is defined in the including page.
    I found this thread from 2 years ago:
    JSP Static Include in JDeveloper
    that was exactly the same....but had no resolution.
    Hopefully over the last 2 years someone knows the answer to this dilemna.
    thanks.

    Hi,
    I was able to make xerces.jar available in OC4J 9.0.3 but now I got problem with JMS.
    I got the following exception:
    java.lang.ClassCastException: com.evermind.util.CharString
    at com.evermind.server.jms.JMSExpressionParser.processParts(JMSExpressionParser.java:49)
    at com.evermind.parser.ExpressionParser.parseParts(ExpressionParser.java:449)
    at com.evermind.parser.ExpressionParser.parse(ExpressionParser.java:121)
    at com.evermind.server.jms.MessageSelector.<init>(MessageSelector.java:23)
    at com.evermind.server.jms.MessageSelector.getSelector(MessageSelector.java:54)
    at com.evermind.server.jms.LocalQueueConnection.receive(LocalQueueConnection.java:56)
    at com.evermind.server.jms.EvermindQueueSession.receive(EvermindQueueSession.java:241)
    at com.evermind.server.jms.EvermindQueueReceiver.receiveNoWait(EvermindQueueReceiver.java:85)
    at com.nrx.job.JobManager.receive(JobManager.java:167)
    at com.nrx.repository.appServer.SearchServlet.service(SearchServlet.java:120)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Unknown Source)
    I don't get this exception if I use Oracle XML parsing classes. They use crimson.jar.
    Thanks a lot,
    Andrei.

Maybe you are looking for

  • Opening desktop app from internet application

    Hello, I have build an desktop application using swing package. It should be called by an internet application(jsp page). I am placing the desktop appliation(jar file) in a client machine. If the application is not in client machine then it should te

  • Why is performance so slow reading binary data from a SQL Azure DB with EF6.x

    I'm running a WPF client that hits a SQL Azure DB using EF 6.x. For the most part, everything seems to be working fine. The one exception is when I try to read a large binary column. I am storing files in the DB as a binary column.  When I test using

  • Writing XML document using form values

    Being new to java/xml I'm strugling with this task: I have a web form and I need to pass the values from the form to a class that will then create an xml file using the form values. I've looked through the JAXP tutorial and Sun's XML tutorial but can

  • Don't know how to put DVD on Ipod

    I am new to Quiktime pro, the only reason i bought it was so i could put DVDs on my 5g Ipod. I now have quicktime pro and I don't know how to even put the DVD onto the player. If sombody could please expain this to me.

  • CRM Support Package Manager - Add transport request to queue

    Hi, I'm applying CRM Support Packages with SP_MANAGER on the production system. I already applied these SP on the development system, I performed an SPAU adjustment, selected the corresponding transport request to use it on the production system, but