Customer Exit required !!!

Hi All,
In a query we have to restrict Quantity with Fiscper to get Current month Quan, Previous Month & Previous to Previous month Quanity. And we have to derive the Quantity for current week also.
From the date selections given by Users we have to find out Current fiscal week, Fisacal month, Fiscal Quarter and fiscal year. Hence pls let us know that is there any standard exits available to dervie this.
All the relavant answeres will be awarded with full points.
Regards,
Venkat

Hi
use this code with data declaration for the local varaibles for getting week, Follow the same for other required informations
WHEN 'Zweek'.
      read table i_t_var_range with key vnam = '0I_DAYIN' into l_s_var_range.(Read the user entered date)
l_date1 = l_s_var_range-low. (assign the user entered date to loc varaible)
CALL FUNCTION 'DATE_GET_WEEK'
  EXPORTING
    DATE               =  l_date1.
IMPORTING
   WEEK               = l_week (Fn module will return the week to local variable l_week)
        l_s_range-low = l_week.
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPT  = 'EQ'.
        APPEND L_S_RANGE-LOW TO E_T_RANGE.
      ENDIF.
Regards
M.A

Similar Messages

  • Customer Exit Required-Very Urjent

    Hi All,
    Pl find the details below.
    In my report I need to capture the Lastest WSP Value(Whole Sale Price ) for single SKU( MaterialColorSize).
    I will get the WSP from the Billing DSO.But I  can find one SKU combination diffrent WSP's on diffre nt dates.
    Es :
    Material     Color    Size              Date                  WSP
    A               Blak       S              01/05/2010           100
    A               Blak       S              02/05/2010            120
    As per the above example i need WSP value of Latest  Date(2nd Line Item)
    In the Run time I will have mandatory selection for customer (Interval) and Date (Interval)  . As per my requirement when user enters the date and customers i need to collect all SKU's with customers and then I need look into billing  DSO from there i need to collect the latest WSP for each SKU and need to display in my output.
    So Pl provide me the code and also let me know On whcih characteristic I need to create the customer exit variable.
    Appriciate Your Help.

    Hi Uma,
    As your explanation I need to consider the customer in Billing DSO then relavant SKU i need WSP.But my question is
    when we are excuting report on a particular date i will get some SKU's for particular customer.So need WSP for only those SKU.But as mentioned we r not passing any SKU in the code.So will it  create any issue.
    If possible
    Can U elobrate your explanation.
    Select the records from Billing dso using the customer and date given in input, in where conditon.- ?
    Requirent : My report is combination of Non-SAP + SAP(AFS).
    All my sales data at the custome rlevel will come from Non-SAP and Invoice and Billing, WSP will come from SAP.
    Sp perticular customer wht are the sales ( SKU wise) that i am extracting from Non-SAP for those SKU data only i need to display WSP.
    Regards
    Ramakanth
    Edited by: Ramakanth Deepak Gandepalli on May 18, 2010 10:12 AM

  • Javascript for custom Exit button on Saba LMS with SCORM 2004 v3 requirements.

    What should I add to the javascript panel on a custom exit button in Captivate to properly exit a course uploaded to a Saba LMS with SCORM 2004 requirements?

    I can confirm that the approach recommended by georgeyp worked for me with Captivate 5.5 and Saba. After publishing in Captivate, I opened the SCORM zip package and edited the imsmanifest to remove the masteryscore line. It seems that the LMS has nothing to compare to the 0 score value passed by Captivate and so it does not move the incomplete course to the Transcript and mark it ‘Unsuccessful’.
    I did not have an issue with the course getting stuck on the first screen and just showing the LMS initialization text.
    Note that I also tried the additional code (suggested but not guaranteed by Saba) and it did not solve the problem. I also tried using the 'SendTrackingDataAtEnd' SCORM template available in Captivate under Preferences > Quiz > Reporting. It did not solve the problem either.

  • Code for Customer exit in a variable is required

    Hi Guys,
      Document numbers are flowing in to two OD's. These doc numbers are available in 'X' and 'Y' ODS's.
    We are missing some doc nos both the ODS's. we want to display those doc nos in a report.
    We Created an infoset on these two ODS's.We want to write a Code for the Ccustome exit on this document number.
    Can anybody suggest how to get these doc nos in areport.
    Can anybody help me in writing a code on customer exit.
    Pleas give suggestions how to display rhes doc nos in areport.
    Thanks,
    Nela

    Hi,
    case I_VNAM.
    when 'ZPRYRPER'.
    if I_STEP = '2'.
    loop at i_t_var_range into temp.
    append temp.
    endloop.
    read table temp with key vnam = '0S_FPER'.
    if sy-subrc eq 0.
    move temp-low to l1_period.
    move temp-high to l_period.
    endif.
    if l_period-gjahr = 0000.
    l_period-gjahr = 2020.
    endif.
    if l1_period-gjahr = 0001.
    l1_period-gjahr = 1990.
    endif.
    CLEAR E_T_RANGE_WA.
    l1_period-buper = '001'.
    l_period-gjahr = l_period-gjahr - 1.
    l1_period-gjahr = l_period-gjahr.
    E_T_RANGE_WA-SIGN = 'I'.
    E_T_RANGE_WA-OPT = 'BT'.
    E_T_RANGE_WA-HIGH = L_PERIOD.
    E_T_RANGE_WA-LOW = L1_PERIOD.
    APPEND E_T_RANGE_WA TO E_T_RANGE.
    endif.
    Regards,
    Marasa.

  • UserExit or Customer Exit for F110 - '*' on Vendor Line Item Payment Run

    Dear all,
    Background
    Currently in F110, when processing for vendor payments, the item text ( or segment text) is only printed out when item text begins with an asterik ' * '. The asterik is meant to indicate that this document/item is posted from external system. You may do a F1 on the text field for detail explanation.
    In the event, asterik is not present on the item text even if the text is not blank, it will not be printed at all.
    Here are two OSS notes on the asteriks: 312623 and 1292333.
    Include: F110SFS0_SATZ_KOMPLETTIEREN
    *------- Segementtext
      IF REGUP-SGTXT(1) NE '*'.
        REGUP-SGTXT = SPACE.
      ENDIF.
    Requirement
    User is requesting for item text to be printed at all time, when the text exist, regardless of ' * '.
    Question
    Does anyone know of a user exit / customer exit that i could use to do modification for SGTXT ?
    Would appreciate it, if you could share your suggestions / experiences - on this matter, even if it doesn't need to be resolved through user exits.  Thanks in advance

    BTW..you have fot following exits for F110;
    Transaction Code - F110                     Parameters for Automatic Payment
    Enhancement/ Business Add-in            Description
    Enhancement
    RFFOX074                                Frame for user exit RFFOX074 (in program RFFOCH_U)
    RFFOX075                                Frame for user exit RFFOX075 (in program RFFOCH_U)
    RFFOX081                                Frame for user exit RFFOX081 (in program RFFOF__T)
    RFFOX082                                Frame for user exit RFFOX082 (in program RFFOF__T)
    RFFOX100                                Frame for user exit RFFOX100 (in program RFFOUS_T)
    RFFOX101                                Frame for user exit RFFOX101 (in program RFFOUS_T)
    RFFOX102                                Frame for user exit RFFOX102 (in program RFFOUS_T)
    RFFOX103                                Frame for user exit RFFOX103 (in program RFFOUS_T)
    RFFOX104                                user exit
    RFFOX105                                Frame for user exit RFFOX105 (in program RFFOUS_T)
    RFFOX200                                Frame for user exit RFFOX200 (in program RFFONZ_T)
    RFFOX210                                Frame for user exit RFFOX210 (in program RFFOAU_T)
    RFFOX211                                Frame for user exit RFFOX211 (in program RFFONZ_T)
    RFFOX230                                General program for user exit RFFOX230 (in program RFFOJP_L)
    RFFOX240                                Enhancement for User Exit 240 (RFFOAT_P)
    RFFOX250                                Enhancement for User Exit 250 (RFFODK_E)
    RFFOX901                                Framework for user exit RFFOX901 (in program RFFOM100)
    RFFOX902                                Framework for user exit RFFOX902 (in program RFFOM100)
    FDTAX001                                Enhancement to Transaction FDTA (event after the download)
    FEDI0002                                Function exits for EDI DOCS in FI - Incoming pyt adv.notes
    FEDI0003                                Function exits for EDI docs in FI - Save PEXR segments
    FEDI0004                                Function exits for EDI docs in FI - particular events
    FEDI0006                                Function Exits for EDI-docs in FI: Save IDCR Segments
    RFFOX003                                Frame for user exit RFFOX003 (in program RFFOM100)
    RFFOX041                                Framework for user exit RFFOX041 (in program RFFOBE_I)
    RFFOX042                                Framework for user exit RFFOX042 (in program RFFOBE_E)
    RFFOX043                                Framework for user exit RFFOX043 (in program RFFOBE_D)
    RFFOX061                                Frame for user exit RFFOX061 (in program RFFOCH_P)
    RFFOX062                                Frame for user exit RFFOX062 (in program RFFOCH_P)
    RFFOX063                                Frame for user exit RFFOX063 (in program RFFOCH_P)
    RFFOX064                                Frame for user exit RFFOX064 (in program RFFOCH_P)
    RFFOX065                                Frame for user exit RFFOX065 (in program RFFOCH_P)
    RFFOX066                                Frame for user exit RFFOX066 (in program RFFOCH_P)
    RFFOX071                                Frame for user exit RFFOX071 (in program RFFOCH_U)
    RFFOX072                                Frame for user exit RFFOX072 (in program RFFOCH_U)
    RFFOX073                                Frame for user exit RFFOX073 (in program RFFOCH_U)
    Business Add-in
    FI_BSTM_MC_EXIT                         FI Account Statement: Exit from MultiCash Conversion
    FI_F110_SCHEDULE_JOB                    F110: Check before scheduling a proposal/update run

  • How to get data for current week and previous week using customer exit in Bex.

    Hi everyone,
    I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using  Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
    Thanks in Advance,
    G S Ramanjaneyulu.

    Hi krishna,
    Thanks for your quick reply, can you have a look at my code,
    case i_vnam.
    WHEN 'ZPWK_CWK'.
    ranges : pre_week for sy-datum.
    data : start_date type DATS,
           end_date TYPE dats .
    ************FM TO GET FIRST DATE OF CURRENT WEEK ************************
    CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
      EXPORTING
        DATE_IN  = sy-datum
      IMPORTING
        DATE_OUT = start_date.   " WEEK FIRST DATE
    end_date = START_DATE + 6.   " WEEK LAST DATE
    END_DATE   = START_DATE - 1.   " PREVIOUS WEEK END DATE
    START_DATE = START_DATE - 7.   " PREVIOUS WEEK START  DATE
    **********PREVIOUS WEEK DATES IN PRE_WEEK******************
    pre_week-SIGN   = 'I'.
    pre_week-option = 'BT'.
    pre_week-LOW    = START_DATE.
    pre_week-HIGH   = END_DATE.
    APPEND  pre_week.
    CLEAR : START_DATE,END_DATE.
    endcase.
    Regards,
    G S Ramanjaneyulu.

  • Displaying Customer Exit Variable with derived value from another ODS

    Hi All,
    Sorry if this question has been answered before.  I searched the forums and could not find anything specific to my problem.
    I am new to BEx Query.  Customer is requesting a variable(s) be created which will be displayed as a column along with other CKF and RKF.  This query is a payroll query for US/Canada.  This new variable will be based on the user input date for the query.  We are to take this date and go look up the actual pay date for the pay period to which the user input date belongs.  The pay date is stored in another ODS.
    So far, as far as the changes to the Customer Exit ZXRSRU01 are concerned, I would perform the logic when I_STEP = 2.  Do a basic selection off the second ODS, derive the pay date, and store in range table E_T_Range.
    The data displayed off the user input date is displayed in rows.  This is done six times, going back seven days for each row (first row is data for period user entered date to user entered date - 7 days; second row is data for period user entered date - 7 days to user entered date - 14 days; etc ...).  For this to happen  correctly, I am assuming the variable(s) are to to have characteristic types 'Not ready for input', 'Mandatory', 'Customer Exit', and 'Single Value'.
    My question is ... How do I display the six variables in columns (how are they to be defined in the query) and the characteristics I list above, are they correct? Does this need to be a replacement path variable?
    Thanks.
    Edited by: Amir Hasan on Jun 11, 2009 6:24 PM
    Edited by: Amir Hasan on Jun 11, 2009 6:25 PM

    Hi Amir,
    What i can understand from u r requirement is you want to few columns that will show something like below,
    User entered date = x
    Period of X to Period of (X-7)       Period of X to Period of (X-14).....
    This can be done by CMOD for variable only.
    Logic steps :
    1) Take the user input.
    2) Find out the period by using T009B table and store in temp variable.
    3) Do day -7 and find out period for the same
    4) Assing period of X to ls_range-high range and X-7 to ls_range-low.
    Let me know if you have any doubt
    Regards,
    Viren

  • How to use Multiple Single Option for selection in the Customer Exit

    Hi,
    How can we handle the multiple single values in the customer exit variable.
    I have a requirement which is as follows -
    Table A fiields -> Field Coach, Partner 2, Relation between PArtner 1 & Partner 2, Valid from, valid to date.
    Table B ->  Service Month, Start Date, End Date.
    Table C -> Billing Date, Execution Partner,cal month /year.
    For the Field coach in TABLE A, multiple Partner 2 are present.
    Report has to be built on Table C.
    User inputs the Service month and Field Coach . User can enter multiple field coach values.
    For the All the Field Coach values entered, corresponding Partner2's have to be found from Table A and to be passed to the Execution Partner in Table C.
    Now if we want to use customer exit variable on the field Execution Partner, how can we handle the Multiple Single selections in the customer exit.
    Thanks,
    Shubham

    Hi,
    While creating the variable you must have to specify multiple value.
    In customer exit
    write code multiple times and append the values.
    For example:
    when 'variable'.
    l_s_range - sign = 'I'.
    l_s_range - OPT = 'EQ.
    l_s_range - LOW = EXECUTION PARTNER 1.
    APPEND L_S_RANGE TO E_T_RANGE.
    l_s_range - sign = 'I'.
    l_s_range - OPT = 'EQ.
    l_s_range - LOW = EXECUTION PARTNER 2.
    APPEND L_S_RANGE TO E_T_RANGE.
    l_s_range - sign = 'I'.
    l_s_range - OPT = 'EQ.
    l_s_range - LOW = EXECUTION PARTNER 3.
    APPEND L_S_RANGE TO E_T_RANGE.
    Regards,
    Ranganath.

  • How to Verify the Variable Input in Customer EXIT

    Hi,
          I have a requirement to find out "Estimated Hours Total Calculation" with User input date range. I know little bit knowledge about Customer Exits please some one give me how to write code in CMOD. I have requirement how to get the Extimated Hours Total Calculation is follows ....
            Actual hours are the Hour Meter Reading used by the truck, it's calculated based on the "from and to" date parameters.       
    Collect the initial hours and adjusted hours from EM.       
    Get the PMN and Service Order data close to or within the Date Range.     
    1) If the Fleet Management Date (Start-up Date on EM) started before the input date Date Range (From-Date), calculate the average usage (in hours) based on the initial hours and the first PMN (or SO) falls within the Date Range to estimate the hour usage at start of Date Range. 
    2) If the Fleet Management Date started after the From-Date, use the Hour Meter (EM) as the Estimated Hours Begin. 
    3)If the last PMN (or SO) fell short of the Date Range (To-Date), obtain the Estimated Hours End by applying the average usage to fill the time-gap.       
    4)If the last PMN (or SO) fell after the Date Range (To-Date), get the Estimated Hours End by getting the next to last PMN performed inside the window parameter,           
         calculate the average usage between the two PMN's (or SO's) then apply the weighted average to fill the time-gap.       
    Adjusted Hours, if not zero or null, needs to be added to the Ending Hours to achieve the real number. 
    For Example
    User Input Date Range:  Jan. 1, 2006 - Dec. 31, 2006          
    Initial Hour (Equipment Master):  10          
    Adjusted Hours (Equipment Master): 0          
    Fleet Management Date (Equipment Master):  Dec. 1, 2005          
    1st PM Notification (Feb. 1, 2006):  410          
    Last PM Notification (Feb. 1, 2007):  2810          
    Second to last PMN (Dec. 1, 2006):  2410          
         Equipment was put into service (12/1/05) before the Date Range, needs to find the Estimated Hours Begin.     
         The first PM was performed (2/1/06) exactly two months from in-service date (12/1/05).
         Average monthly usuage from first PMN = (410 - 10) / 2 = 200
         Estimated Hours Begin = 200 + 10 = 210 (estimated Hour Meter Reading on Jan. 1, 2006)
         Average monthly usuage from the last 2 PMN = (2810 - 2410) / 2 months = 200
         Estimated Hours End = 2410 + 200 + 0 (adjusted hours) = 2610 (estimated Hour Meter Reading on Dec. 31, 2006)
         Estimated Hours Total = 2610 - 210 = 2400
               Please give me your valuable answers. Please let me know if you need any further information.
    Thanks
    Dave Sam.

    hi,
    well, your requirement seems clear but complex and needs more clarification:
    - what kind of infoprovider do you use
    - what is posted in your provider, I mean which characteristics and and key figures (name and descriptions)
    - what is the user input
    depending on that, the implementation may vary
    Please clarifiy
    Olivier.

  • Function module needed for customer exit variable need to use in Bex report

    Hi Experts,
    I have a requirement where i need to get Cummulative result between two interval periods.
    If user gives single mandatory input value - 002-2009
    for one Scenario:-
    Project start Date   untill Pervious year i.e  December 2008
    Where project start date will get from one of the field in my BW CUBE
    can anyone help for the customer exit function code for this scenario. As i am into BI i dont have idea in ABAP.
    Please help sample cod for this .
    Thanks,
    Anil.

    I had created one customer exit which had fullfill my requirement.

  • Customer Exit for Number of Days from 1 st Apr to last date of Month Enter

    Hello BI Experts,
    I have a requirement to count the number of days from 1 st April of current year to the last date of month entered.
    For example : The use will enter say July 2010 or 003.2010  (as Fiscal Year Variant is V3 ).
    Today is 14 July ...So we have to first find out the end date of the July month ie 31 st July
    Then go to 1 st April 2010.
    Now calculate the Number of days between 1 st April to 31 st July 2010.
    I consider I have to create two Customer Exit variable
    as below
    1 st customer exit Bex variable  say  ZLY_MTH  ( Last day of Month Entered)
      and i_step = 1
    2 nd Customer Exit BEx Formula variable say ZF_NUMDAYS ( Number of days between two dates)
    i_step =1 .
    Please provide me the logic for the above two.
    Thanks in Advance.
    Regards,
    Amol Kulkarni

    PSUDEO CODE:
    1. Initially LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZMONTH'.
    2. Get the Month input using VAR_MONTH2 = LOC_VAR_RANGE-LOW+4(2)
    3. Now calculate Month+1: VAR_MONTH2 = VAR_MONTH2 + 1 (Refer **)
    4. Now calculate the Current Year: VAR_YEAR = LOC_VAR_RANGE-LOW+0(4).
    5. Get the 1st Day of the Month (VAR_MONTH2):  CONCATENATE '01' '/' VAR_MONTH2 '/' VAR_YEAR INTO L_S_RANGE-LOW.
    6. SUBRACT 1 (0DATE) from this DATE (This will give the logic for last day of the current month)
    Insert this code also for using the date conversions
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = VAR_MONTH2
              IMPORTING
                OUTPUT = VAR_MONTH2.
    Pls. check out this logic. Guess it would solve your need.
    Thanks,
    Arun Bala

  • Customer Exit Variable on Cal Year/Month Error

    Hi Experts
    My requirment is to develop a Restricted Keyfigure...
    The restriction is based on 0Calmonth (Calendar Year/Month)
    The sales from beginning of calendar year up to last "closed" month in a Calendar.
    Ex: in June i want to see 01.01.2009 to 31.05.2009 data.
    in October i want to see 01.01.2009 to 30.09.2009 data.
    When user execute the report
    in Jan 2010 i want to see 0 as there is no closed month in that particular year.
    in Fed 2010 i want to see 01.01.2010 to 31.01.2010 data.
    For that purpose i created a variable
    Customer Exit on calendar Year/Month
    Variable represents : Interval
    Variable is : Mandatory
    Variable is Ready for Input (Uncheck)
    in CMOD...i had written The below Code
    WHEN 'ZYCCM' . "Current Year Culm. to Last Closed Month
    DATA :Month(2) type c,
    Start_Month like rsd_c_timnm-calmonth,
    End_Month like rsd_c_timnm-calmonth.
    Month = sy-datum+4(2).
    if Month = '01'.
    Start_Month = '000000'.
    End_Month = '000000'.
    Else.
    concatenate sy-datum(4)'01' into Start_Month.
    End_Month = sy-datum(6) - 1.
    Endif.
    CLEAR L_S_RANGE.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    L_S_RANGE-LOW = Start_Month.
    L_S_RANGE-HIGH = End_Month.
    When i execute the report i am getting an error
    "No Value Could be determined for Variable ZYCCM"
    Please update what went wrong and how to Correct error

    Hi
    Thanks for the update..
    Modified code as below
    WHEN 'ZYCCM' . "Current Year Culm. to Last Closed Month
    DATA :Month(2) type c,
    Start_Month like rsd_c_timnm-calmonth,
    End_Month like rsd_c_timnm-calmonth.
    Month = sy-datum+4(2).
    if Month = '01'.
    Start_Month = '000000'.
    End_Month = '000000'.
    Else.
    concatenate sy-datum(4)'01' into Start_Month.
    End_Month = sy-datum(6) - 1.
    Endif.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = Start_Month.
    L_S_RANGE-HIGH = End_Month.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND l_s_range TO e_t_range.
    But when i executed the report....the report is executed sucessfully but the restriction applied to only Jan 2009
    When i saw the KF definition in RSRT 
    I EQ JAN 2009
    I am expecting
    BT JAN2009 APRIL2009
    Please help
    Tahnks

  • Customer Exit Variable and Condition in a Query (Sequence of Execution)

    Hi,
      For a query i defined a Customer exit variable and a condition....
    Which will first execute...wether it is a  Variable and then Condition or vise versa
    Is there any way we can control sequence of execution
    My requirment is first to execute the condition and the variable how can i control this
    Thanks

    Hi
    In your customer exit you will be having a field by name I_STEP which will help you to handle the time of execution of the variable.
    Assign points if helpful
    Prathish

  • Customer Exit Variable - Variable Value Error BRAIN 000

    I created a variable which is processed by 'Customer Exit'. This variable is 'optional' and NOT user input required.
    And i have written my code in customer exit under I_STEP EQ 1.
    I used the variable in my query as a default value for a free characteristic.
    The query runs fine and return me the correct result.
    The problem is when i used the same variable as a default value of a free characteristic in another query which has another user input variable for another characteristic, i got a warning message after input a value for another variable.
    Variable Value Error BRAIN 000 <<i>my variable name</i>>
    How to make it work in the second query?
    Please help as I am new to this.
    Thanks,
    CH

    Hi Fernanda,
    Try this:
    DATA:  LS_RA_SID  TYPE   RSR_S_RANGESID.
    DATA:  fst_date LIKE sy-datum.
       CASE i_vnam.
              WHEN 'ZRANGE_PREVMONTH'.
    fst_date = sy-datum - 1.
    concatenate fst_date(6) '01' into ls_ra_sid-low.
          ls_ra_sid-sign = 'I'.
          ls_ra_sid-opt = 'BT'.
          ls_ra_sid-high = fst_date.
          APPEND ls_ra_sid TO e_t_range.
    ENDLOOP.
    ENDCASE.
       ENDIF.
    Just post here for any queries..
    Regards,
    Loed

  • Customer Exit variable in BEX Query

    Hello Guys,
    I need to write a custmer exit variable in which the requirement is user is provided with input selection of Posting Period, and user wants the output as sum (cumulative) of 0 i.e start to the period provided by user input.
    Consider a scenario, if user puts 06 as posting period in selection screen then keyfigure should sum all the values from 00 to 06.
    Now, I need to write the customer exit for this.
    Can anyone suggest me the same?
    your inputs will be heavily appreciated.
    Thanks,
    Saurabh

    Hi ,
    Here V1 refers to the selection variables used for user input as posting period .
    You can use the following code in CMOD :
    read table i_t_var_range into loc_var_range with key vnam = 'V1'.
        if sy-subrc = 0.
          WA_PERIOD = LOC_VAR_RANGE-LOW - 6
    "    If WA_PERIOD <= 6  " Take this condition in to consideration while using the code
      "  Endif .
           l_s_range-low  = WA_PERIOD
          l_s_range-sign = 'I'.
          l_s_range-opt  = 'BT'.
        l_s_range-high =  LOC_VAR_RANGE-LOW
          append l_s_range TO e_t_range.
        else.
        endif.
    Hope it helps .
    Thanks
    Kamal Mehta

Maybe you are looking for

  • My cursor has disappeared in Word after updating my iMac.

    Just updated to OS X 10.9.3 and now I can't see my cursor when using word how do I fix this?? I'm writing an essay and it's extremely frustrating. Can someone please help me fix it.

  • Issue with JButton clicking

    Hi guys, I'm having an issue with a JTable, I hope you can help me. Last cells of each row is a JButton and my issue is with click on that button. In fact, it's required clicking two times to run code linked to listener for the same button. What I ne

  • Javascript API $x_uptill problem

    Hi people, I have a little boring problem... Simply I made this function in order to hide & show a page element with it's label function ApplyVisible(obj, Visible){ var lblobj = html_GetElement(obj); labels = document.getElementsByTagName("LABEL") fo

  • Tableview tag in htmlb visible controls

    hi gurus, i am trying to create a table view using the "tableView" tag presents in the htmlb visible controls. i am using the"help.sap.com" as reference website.i understood the details given there partially.so i couldnt complete my task. if anybody

  • AIM-CUE - Filesystem type unknown ?

    Hi there,               I am studying IIUC and I am up to the CUE module. Im pretty sure I have done something stupid. I removed the 1GB CF from the AIM-CUE module, put it in my 2801 CF slot and did a format flash: (I dont know why, I just thought it