I_step =2

Hi All,
If Iw rite some code under I_step =2 as a variable 2 has to get the value from var1.
And I should also allow user to enter.
Can I check mark the option 'Ready for input' and write code under I_step =2.
Thanks in Advance!

Hi,
variables "ready for input" (user input) CANNOT be changed via varexits; I_STEP = 2 is just simply not executed WHEN I_STEP = 2.
hoping this clarify your doubt
Olivier.

Similar Messages

  • Bex Customer Exit: I_STEP 2,3 are not getting called up?

    Hi All,
    I need a small help in BEX variable customer exit. I am trying to give an error message on what user had entered on the selection screen. I kept several breakpoints. But I understand that this particular code is calling up only when 'I_STEP = 1'. For I_STEP 2 and 3, the follwong code is not being called? I have seen so many validations happening on user entered values with error messages.. But I am not sure where I am missing?
    Here is my sample code.. can any one extend the help?
    The original requirement is to 'modify' what user had entered. But I understand that SAP is not allowing to modify what user had input.. So thought of giving a small error message.. and not able to do that also.. so I am in this Forum..
    thanks,
    Hari
    When 'ZCATID2'.
    *data : l_year1(4) type n,
          l_year2(4) type n,
          l_text(12).
    data: l_cat(10).
    *IF I_STEP <> 2.
    *RAISE no_processing.
    *ENDIF.
    IF I_STEP EQ 3.
      break-point.
      READ TABLE I_T_VAR_RANGE WITH KEY VNAM    =  'ZCATID2'
      INTO  LOC_VAR_RANGE .
      if LOC_VAR_RANGE-LOW CP '*'.
      message i999(zz) with 'Test'.
      endif.
      break-point.

    Thanks Roberto for this good document to clear my fundamentals. I think I understand the mistake on my code.
    Thanks verymuch for your timely help.
    Best Regards,
    Hari
    ( I looked to give more points to you but it allwoed me only 10 points to give you.). Have a nice day!!

  • Where to write code for i_step =0

    Hi,
    I have written code for variable i_step=0 in CMOD.
    I am not able to test the code.
    Could you pls tell us, how to test the code and when this code will be populated.
    Where do i need to set break point , to see the code execution in debugging.
    Thanks

    You will write the logic using CMOD transaction only.You can set the break point the cmod code itself to check your code is working fine or not.
    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.
    Check the sample code
    case i_vnam.
      WHEN 'ZGMGRANT'.  "Query field name
        if i_step = 0.
    BREAK-POINT
          clear wa_ETRANGE.
    *     Gets all grants a user is able to see from ZTable,
    *     which is populated elsewhere 
          select grant_nbr
            from ZGMUSERGRANTS
            into corresponding fields of table it_ZGMUSERGRANTS
           where UNAME eq sy-uname.
    *     Populate Authorisation Object. In i_step 0
    *     E_T_RANGE is used to populate the authorisation object
          loop at it_ZGMUSERGRANTS into wa_ZGMUSERGRANTS.
            wa_ETRANGE-sign = 'I'.
            wa_ETRANGE-opt = 'EQ'.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT         = wa_ZGMUSERGRANTS-grant_nbr
             IMPORTING
               OUTPUT        = wa_ZGMUSERGRANTS-grant_nbr.
            wa_ETRANGE-low  = wa_ZGMUSERGRANTS-grant_nbr.
            append wa_ETRANGE to E_T_RANGE.
          endloop.
        endif.
      ENDCASE.

  • Authorizations by use of customer-exit: in  i_step = 3,   i_vnam is empty

    Hello all,
    I have checked multiple scenarios and they do not work:
    Current situation/setup:
    1. <b>Creation of several variables and adding each of them to different queries</b> :
    Variable   Type   Processing      Infoobject                     Selection  ready for input
    COB     1     6     ZCCOSTCTR__ZCCOB     S     
    CB2     1     6     ZCCOB                                     S     
    CBV     1     3     ZCCOB                                     S     
    2. <b>Adding values in a role</b> (currently 3.0 is used and we want to check the exit and if it works before upgrading to 7.0) and assign it to the user:
    Old active Object:ZCKS_COB:
    1KYFNM    *                                                                            
    9ZCCOB    $C-B2, $C-OB , $C-BV    
    added new object without 1KYFNM:                                                                               
    ZCCOB      $C-B2, $C-OB, , $C-BV             
    3. <b>Marked the used object auth. relevant</b> for the cube of the query
    4. Enhanced ZXRSRU01 via CMOD with coding and activated also the project:
      WHEN 'COB' or 'RESPNO'.
       IF I_STEP = 0.
        IF I_STEP = 1.
       IF I_STEP = 3.
          CALL FUNCTION 'Z_VARIABLE_BY_AUTH'
            EXPORTING
              I_VNAM           = I_VNAM
            TABLES
              E_T_RANGE        = E_T_RANGE
            EXCEPTIONS
              NO_AUTH          = 1
              NOT_VALID        = 2
              MISSING_OPERATOR = 3
              OTHERS           = 4.
          IF SY-SUBRC = 1.
            MESSAGE W007(EYE).
          ENDIF.
          IF SY-SUBRC = 2.
            MESSAGE W707(BRAIN).
          ENDIF.
          IF SY-SUBRC = 3.
            MESSAGE W999(BRAIN).
          ENDIF.
          IF SY-SUBRC = 4.
            MESSAGE W649(BRAIN) with I_VNAM ''.
          ENDIF.
        endif.
    The function 'Z_VARIABLE_BY_AUTH' was tested separately and fills in E_T_RANGE as expected.
    I also changed the variable names each time to all the other existing variables while debugging.
    If I use a variable of <b>type customer-exit</b> and process it with <b>i_step =1</b> the value selection and query result is OK.
    But this <b>scenario works without roles</b> and authorization values triggered by a variable $<VARIABLE> and is not the intended and documented way proposed by SAP. The documentation says to create a variable of type authorizations and to process it in I_Step = 3. But in this step I_VNAM is empty and so there is no processing ot the function module.
    Has anyone a solution? I could not find the issue during several debugging sessions. One strange thing is the protocol of rssm: the authorization buffer is not reflecting the enhanced role but only the value $C-B2 for object ZCKS_COB.
    Thanks in advance to have a look on this tricky issue.
    Bye,
    Petra

    Try this:
    IF i_s_rkb1d-compid = 'Query Name'
    Validation of data for the value entered in your Variable
        READ TABLE i_t_var_range INTO yourworkarea
                    WITH KEY vnam = yourvariable
        IF sy-subrc = 0.
          IF w_s_var_range-low(4) <>  w_s_var_range-high(4).  " Your condition or Logic
            l_msgv1     = c_qtr_com1.  " Your message
            i_handle = 9998.
            CALL FUNCTION 'RRMS_HANDLE_MESSAGE_INIT'
              EXPORTING
                i_handle         = i_handle
                i_msg_handler_id = sy-uzeit.
            CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
              EXPORTING
                i_class  = 'RSBBS'
                i_type   = 'I'
                i_number = '000'
                i_msgv1  = l_msgv1
            RAISE again.
          ENDIF.
        ENDIF.
      ENDIF.

  • Error in I_STEP = 3

    Hi all,
        I am validating the user input in I_STEP = 3 and popping up a message. However, after the popup , the query continues to get executed. I have tried to use "Raise <exception>" . However, in this case , I get an error message after the popup saying that "There are invalid values for the variables". Is there anyway to catch this error message. Please let me know if there is any other alternative.
    Thanks,
    Kartheek

    Hi Karthink,
    When validating the user input in I_STEP = 3 and popping up a message. However, after the popup , the query continues to get executed without giving a chance to the user to input  the correct value for the varible.
    I have seen that u have faced the similar kind of issue .Is your issue got resolved is yes, could you please let us know how it got solved.
    Thanks
    Srinivas

  • Using variable values form parametrized URL in Customer Exit in i_step = 1

    Hello BW experts,
    I call a parametrized URL to a Web Template that has a Query with the variable VAR1:
    http://XXX?...&CMD=LDOC&template_id=TEMP1&VAR_NAME_1=VAR1&VAR_VALUE_EXT_1=2006
    Then I try to access the value of VAR1 in i_step = 1 in the Customer Exit for BEx variables in order to determine the value for a customer exit variable VAR2:
    WHEN 'VAR2'.
        IF i_step = 1.
          READ TABLE i_t_var_range INTO var_range
            WITH KEY vnam = 'VAR1'.
          fl_var_range-sign = 'I'.
          fl_var_range-opt = 'EQ'.
          fl_var_range-low = *some operation with var_range
          APPEND fl_var_range TO e_t_range.
        ENDIF.
    The problem is that VAR1 contains either the default values (if the variable is set to have default variables) or is empty (if there are no default variables defined). It does not retrieve the value in the URL in the Customer Exit, but displays it correctly in the variable screen.
    Is there any way I can acces the URL parameter in the Customer Exit?
    Thanks for any answers in advance.
    Michael

    Gili,
    thanks for your answer. The problem was, though, that the first value determines the behavior of the variable screen by setting the value of a customer exit variable.
    My goal was to have two variable screens. In the first a date is chosen and in the second a node of a time-dependant hierarchy is chosen. If one enters the date in the same screen as the hierarchy, the valid hierarchy for the date is not displayed.
    I solved the problem now in following way:
    <b>1. Saving the value in SAP Memory as a parameter.</b> The parameter has to be defined in SE80. A Dummy Web Template with a query on the same Infoprovider with just the two InfoObjects (Year/Month) displays a variable screen for Month/Year. In addition there is a Dummy Customer Exit variable that is needed in order to pass the variable values (month/year) into SAP Memory. Using JavaScript in the Dummy WebTemplate the second Web Template with the actual query is called without displaying anything else than the variable screen.
    WHEN 'DUMMY_CUSTOMEREXIT_VAR'.
        data: w_date like sy-datum
        IF i_step = 2.
          READ TABLE i_t_var_range INTO var_range
            WITH KEY vnam = 'VAR1'.
        do your peration
        i.e.  w_date(4)+2 = var_range-low.
                 w_date(6)+2 = var_range-high.
          SET PARAMETER ID 'ZBW_PARA1' FIELD w_date.
        ENDIF.
    <b>2. Retrieving the value from SAP Memory</b> Before displaying the variable screen, the chosen date is retrieved from SAP Memory and used to set the date for a customer exit variable for the hierarchy validity date.
    WHEN 'VAR2'.
        IF i_step = 1.
          GET PARAMETER ID 'ZBW_PARA1' FIELD w_date.
        do some operation with     
          APPEND fl_var_range TO e_t_range.
        ENDIF.
    It is quite a comlex construct, but it works....

  • Code for i_step = 2 in user exit ZXRSRU01 for selection screen validation

    Hello Experts,
    I have BI report, in which on selection screen I have 4 formula variable.
    I want to check, what number user has entered in these variables and summation of these fields should not be getter than 100 or less than 100. It should be 100 only. If that summation is not 100 then, I have to display message and again go back to selection screen so that user will make the correction.
    I came to know that for this I have to write a code in user exit ZXRSRU01, when  i_step = 2. I have written the code but it's not working. I have declare one more variable which is not ready for input and which I am checking in the code.
    Can anyone help me out in this regards.
    Thanks
    Chetan

    Hi
    Have you gone through the proper steps for creating and activating the enhancement?
    You can find more detailed documentation in the[ SAP Help|http://help.sap.com/saphelp_nw70/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm].
    Regards

  • User exit variable I_STEP=1 does not show default value WebI selection scr

    Hello,
    We have a BW query with a user exit variable. We have written user exit code under I_STEP = 1 so that the default value for the field is displayed on the selection screen to the user. Works very well on the BW side.
    We based a universe on top of the query and then created a WebI report.
    When the WebI report is executed the default value is NOT seen on the selection screen,
    Note:
    1. If the user exit variable is optional and we execute the report, the default value is NOT seen on the selection screen. However if the report is executed without entering any value for the field the logic under I_STEP = 1 is picked up and the report gets the correct output
    1. If the user exit variable is mandatoryand we execute the report, the default value is NOT seen on the selection screen. The user now has to enter the value for the field.
    The scheduled reports will work in case of optional user exit variable.
    However this amounts to loss of functionality.
    Is this a known bug?
    Is there a way to display default values based on user exit variables on the WebI selection screen?
    Kindly advice. Btw we are on XI 3.1 SP3
    Rgds
    Edited by: Anup Deshmukh on Jun 29, 2010 11:13 PM

    OSS Note 1285993 - "Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe"  deals with this issue and has deemed it out of scope for XI 3.1 SP3.
    Rgds

  • 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

  • Documentation about variable types & their processing in i_step = 1, 2 etc.

    Hello experts,
    is there any documentation about variable types and their processing in i_step = 1, 2 etc.? I know there is note 492504 "Dependent customer exit-type variables", but I don't understand, whether a variable which is NOT "Ready for input" will be processed in i_step = 1 or not  (quote of SAP library: "i_step = 1: Call takes place directly before variable entry."). I experienced coincidentally, that some variables not "Ready for input" will be processed there and some not.
    Furthermore it is an error, isn't it? Why has a variable without input possibility to be processed before input? Is this really the case?
    Confused, any hints are welcomed!
    Regards M.L.

    for I_STEP = 1
    Call before the variable screen .
    for I_STEP = 2
    Call 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.
    for 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.
    for I_STEP = 0
    The enhancement is not called from the variable screen. The call can come from the authorization check or from the Monitor.
    There is a good HOW to Guide which explains the importance of I_STEP :
    http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000078090&_SCENARIO=01100035870000000112&_OBJECT=011000358700002762582003E
    Another from SDN:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/bw-and-portals-05/five%20ways%20to%20enhance%20sap%20bi%20backend%20functionality%20using%20abap.pdf

  • Variable exit requirement -  which i_step?

    Hi,
    I have created a variable on comp code which is input ready and single value. Second variable is created on fiscal year, this is also ready for input and defaultly it should get the fiscal year values for the company code user inputted.
    for example,  if the user entered 1000 for comp code, and the ztable has 3 entries for 1000. The variable whcih I created for fiscal year should get 2009, 2010, 2011 in the input screen. then user will choose only one value from these and execute the report.
    1000   -  2009
    1000   -  2010
    1000   -   2011
    1100  -   2010
    to achieve this, I tried the following ways.
    1. Created a variable on fiscal year as customer exit processing type, tried to keep the logic in i_step1. it is not useful. the problem    is   I can't read the comp code value in i step1. 
    2. I can' t write the code in i_step 2, because fiscal year should be getting values in the pop up.  I step 2 is executed after the pop up.
    3. I tried to keep the code in i_step3, I do not see this also working. I kept a break point in the code and debugged but it is not going to i_step3 itself.
    So please suggest me, how to get a solution to this problem.
    How exactly i_step3 works means, Can I populate values using i_step3 or this is only checking values?

    "Sorry Nadia, I forgot to tell you that the company code and Fiscal year values are maintained in ztable manually. for fisc year according to the user input, I go and read that table and retrieve the respective fiscal years and show them on the variable screen of fiscal year. user will select one among them."
    That is actually what i was suggesting by using compounded infoobject - 0fiscyear \ comp code.
    If you create this infoobject and populate its master data accordingly - then insert Both comp_code and fiscyear in query filter with input- ready variables for the  selection screen.
    so when user selects comp code on selection screen - after that - he  will see only those fiscyears that are compounded with selected comp code on selection F4 help for fiscyears.
    I realized that it might not be very convenient - creating\maintaining MD for these IOs, but it s the only option I know of.
    So if you get any luck with writing code for step 3 please share.

  • Input variables not available in i_step = 2

    Hi Experts,
    In my filter in the planning modeller I have three variables. 1. ZSY(Source Year) 2. ZTY(Target Year) and 3. ZCNO(Customer number). All three variables are input ready variables ie. Manual entry/Default value.
    For a customer exit variable I need to read version using a fm. Here I need values inputted for all three variables in i_step = 2. In planning modeller I gave values for all three variables. But in i_step = 2 I only got ZSY and ZTY. I did not get ZCNO. Is there anything wrong in the way I did or is there any ohter alternative.
    Please help.
    Thanks in advance.
    Jerry.

    Hi Durgesh,
    Thanks for the reply. I already checked that table in debugging mode. It contains only two variables.
    The flow is like:- At first it enters i_step = 2 there are only ZSY and ZTY and after that when it enters in i_step = 3 it jumps automatically to i_step = 2 and now it contains ZCNO with its value. That is
    1st time. i_step = 2 - ZCNO is not there in i_t_var_range
    1st time. i_step = 3 - it jumps back to i_step = 2
    2nd time i_step = 2(jumped from i_step = 3) now it contains ZCNO in i_t_var_range.
    I would like to get the ZCNO in i_t_var_range when the first time i_step = 2 is called.
    Thanking you,
    Jerry
    Edited by: jerryabap on Aug 3, 2011 7:00 AM

  • Difference between IF I_STEP = 2 and IF I_STEP = 2 in CMOD user exit variab

    Whats the difference when i start an ABAP code in the CMOD, in the User exit variable
    like this:
    - IF I_STEP = 2
    - IF I_STEP = 1
    please explain me, i ll really appreciate it, thanks !

    Hi
    The following values are valid for I_STEP:
    ●      I_STEP = 1
    Call is made directly before variable entry.
    ●      I_STEP = 2
    Call is made directly after variable entry. This step is only executed if the same variable is not input-ready and could not be filled for I_STEP = 1.
    ●      I_STEP = 3
    In this call, you can check the values of the variables. When an exception (RAISE) is triggered, the variable screen appears again. I_STEP = 2 is then also called again.
    ●      I_STEP = 0
    The enhancement is not called from the variable screen. The call can originate from the authorization check or from the monitor.
    For more info check the beloww link
    Hope this helps
    Regards
    Shilpa

  • Customer-Exit for analysis Authorizations: i_step = 3, i_vnam is empty

    Hello all,
    I have checked multiple scenarios and I cannot figure out the mistake I've done:
    Current situation/setup:
    1. Creation of several variables and adding each of them to different queries :
    Variable Type Processing Infoobject Selection ready for input
    COB 1 6 ZCCOSTCTR__ZCCOB S
    CB2 1 6 ZCCOB S
    CBV 1 3 ZCCOB S
    2. Adding values in a role (currently 3.0 is used and we want to check the exit and if it works before upgrading to 7.0) and assign it to the user:
    Old active Object:ZCKS_COB:
    1KYFNM *
    9ZCCOB $C-B2, $C-OB , $C-BV
    added new object without 1KYFNM:
    ZCCOB $C-B2, $C-OB, , $C-BV
    3. Marked the used object auth. relevant for the cube of the query
    4. Enhanced ZXRSRU01 via CMOD with coding and activated also the project:
    WHEN 'COB' or 'RESPNO'.
    IF I_STEP = 0.
    IF I_STEP = 1.
    IF I_STEP = 3.
    CALL FUNCTION 'Z_VARIABLE_BY_AUTH'
    EXPORTING
    I_VNAM = I_VNAM
    TABLES
    E_T_RANGE = E_T_RANGE
    EXCEPTIONS
    NO_AUTH = 1
    NOT_VALID = 2
    MISSING_OPERATOR = 3
    OTHERS = 4.
    ENDIF.
    The function 'Z_VARIABLE_BY_AUTH' was tested separately and fills in E_T_RANGE as expected.
    I also changed the variable names each time to all the other existing variables while debugging.
    If I use a variable of type customer-exit and process it with i_step =1 the value selection and query result is OK.
    But this scenario works without roles and authorization values triggered by a variable $<VARIABLE> and is not the intended and documented way proposed by SAP. The documentation says to create a variable of type authorizations and to process it in I_Step = 3. But in this step I_VNAM is empty and so there is no processing ot the function module.
    Has anyone a solution? I could not find the issue during several debugging sessions. One strange thing is the protocol of rssm: the authorization buffer is not reflecting the enhanced role but only the value $C-B2 for object ZCKS_COB.
    Thanks in advance to have a look on this tricky issue.
    Bye,
    Petra

    Hi Petra,
    You are correct.  I_VANM is not stored at I_STEP 3.  However, to access that value at I_STEP3, use the following code.
    IF I_STEP = '3'.
         READ TABLE I_T_VAR_RANGE INTO L_RANGE WITH KEY VNAM = '...variable name.....'
         IF SY-SUBRC = 0.
           ...code here to alter values...
          .....for example:  L_RANGE-LOW = 'S'
         ENDIF.
    ENDIF.
    Kind Regards,
    Larry

  • BW Variable Customer Exit I_STEP 3

    Can anyone tell me under what circumstances I_STEP 3 is called to validate a variable input.
    Thank you,
    Beat

    Let me try to explain you with an example
    I have the following scenario our fiscal period starts in Oct so it is 001.2005.
    So if a user runs a report in period 003.2005 the report must report for the periods 001.2005, 002.2005 & 003.2005.
    If the user reports in 005.2005 the report must report for the period 004.2005 and 005.2005 which is the second fiscal quarter. Similarly, if the user reports for period 011.2005 it must report for the periods 010.2005 & 011.2005 which is the fourth fiscal quarter.
    Now in order to do this task i used variable exits
    First create a variable of type customer exit and write the code in Program(Include) ZXRSRU01.
    Code looks like this.
    In the code try to put this logic
    dat1 = fisc period u supplied (say 3.2005)
    dat2 = dat1+4(2) " i.e 3
    like this for four querters u have to define and supply the values dat3 and dat1 in low and high selections.
    WHEN 'ZE_CALMT'.
    IF I_STEP = 3.
    If Qarter = 1.
    Concatenate dat1(4) 01 into dat3. " 200501
    dat1 " 200503 which is supplied by user
    elseif querter = 2
    Concatenate dat1(4) 04 into dat3. " 200501
    dat1 " 200503 which is supplied by user
    etc
    L_S_RANGE-LOW = DAT3
    L_S_RANGE-HIGH = DAT1
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDIF.
    I_STEP = 3
    In this call up, 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 up again from the authorization check or from the Monitor.
    If you have specific problem please do let me know.
    Regards
    vijay
    Message was edited by: sundaresan chander

  • Doubt regardig I_STEP

    Hi Friends,
    I have one scenario and not sure which option of i_step should be used. Actually, I had a requirement to get the list of materials from two of the tables based on certain filters. Then i had to merge these two list of materials into one and pass this final list of materials to the variable to run the query for only these materials. I have created one customer exit variable and have done the required coding in  ZXRSRU01 to get the final list of materials for this scenario.
    Now my questions is which step should this be executed in? What value of i_step should i use in ZXRSRU01 just after the WHEN 'Variable name' statement? for example:
    WHEN 'XYZ'
    If i_step = X.
    Where X could be 1, 2, 3 or 4.
    Please let me know what value of i_step should i use for this scenario?
    Thanks,
    Manmit

    Hi ..
    I_step = 1 suits in you scenario.
    Following description will you understnding i_steps.
    If I_STEP = 1, the variable needs to be processed before the reportu2019s selection screen appears, an example for this would be like, if some default values are to be populated to the selection screen variables before user input, I_STEP = 1 can be used.
    If I_STEP = 2, the variable is to be processed after the reportu2019s selection appears (ie after user input). An example for this step is explained in scenario 1 of this document
    I_STEP = 3, is used for validation purpose, error messages can be raised here
    Thanks, Brijesh

Maybe you are looking for

  • Acrobat 7 Pro & Office 2003

    My end-user is receiving an error when attempting to create a PDF using the Acrobat 7.0 plug-in within Office 2003 running on Windows XP SP2. (note: Distiller 7.0 works without problems.) The error message received is: "The Acrobat PDFMaker Server co

  • Connecting my iPhone using the remote app.

    I am trying to connect my iPhone using the remote app, nothing seems to work. I have been told to go to Preferences > Devices and allow iTunes to search for iPhone ect but there isn't this option when I go there?

  • Converting PC docs to Mac

    How do I convert MS Works (pc) files to my new imac??

  • Want to sell Iphone 3G on ebay or to a friend........

    I am planning on selling the phone and want to make sure when I sell it I have the right information. I went ahead and already used the reset function within setting to remove all content, media and settings from the phone so it is at the point where

  • TS4002 My desktop is not compatible with ICloud yet.

    How do I check my Mobifle Me mail via the web after June 30?  I have already selected to keep using my MobileMe e-mail after the change over. Can I move my IPhone and IPad to the Cloud and still get mail on my desktop computer? When I try to log into