Data selection Fiscal year/period in info package

Hi Experts,
I loaded the data from application server to my data target and load completed with lot of records, but as per my requirment i need to load Fiscal year/period 001/2010 to 012/2010. I just giving selection in info package like 001/2010 to 012/2010  and i excute load it sowes no records, make sure in application server we have lot of records for this period.
CAn any one tell me how can i give format in infopackage.
Thanks in advance
David

Hi,
Select range in correct format. Instead of giving manually, You can select from system. This can be wrong format of selection.
Thanks,
SAC

Similar Messages

  • Text Variables to show Start and End Date of Fiscal Year Period

    Hi,
    I am creating a query that has user enter a starting fiscal year period and posts information by Fiscal Year Period going back 14 periods.  I am able to put the fiscal year period in the heading for all periods, but would also like to add the start and end calendar day for each listed period.  Can that be done using a replacement path text variable or is that something more for a customer exit variable?
    Thanks in advance for any thoughts provided.
    Bill

    Hi,
    This is one of my exit that display the calmonth (offset -12). Usefull when I have to retrieve in a KF a complete rolling year depending one calmonth.
    S_VMUCMN is my selection variable
    S_TXTCMN_M12 is my text variable calmonth-12
    S_TXTCMN_M0 is my text variable for selected calmonth.
    WHEN 'S_TXTCMN_M12'.
        IF i_step = '2'.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'S_VMUCMN'.
            CLEAR l_s_range.
            " First day of the selected month
            CONCATENATE loc_var_range-low '01' INTO l_calday.
            CALL FUNCTION 'YFRBW_FUM_CAL_DATE_IN_INTERVAL'
              EXPORTING
                date      = l_calday
                months    = 12
                signum    = '-'
              IMPORTING
                calc_date = l_calday.
            l_s_range-low = l_calday+0(6).
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Thus, in KF header you have to put the two text variable to display the complete period.
    Hope it helps,

  • Selection criteria is fiscal year/period but need to restrict KF by date

    Hi,
    I have query where selection criteria is based on fiscalyear/period and in result I need to have Netvalue for all the sales order by created on date for that fiscal year/period.
    For eg if I have entered fiscal year/period as 008.2007, I should get net value for all the orders that have created on date between 08/01/2007 to 08/31/2007.
    Can anyone help me about this please.

    Hi DV
    Here is the code
    put it in I_STEP=2
    WHEN 'EXIT NAME"
    READ TABLE I_T_VAR_RANGE INTO loc_var_range with key vnam = 'userinput variable name'
    v_fiscal_year = loc_var_range-low_0(4)
    v_period = loc_var_range-low+4(3)
    CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr              = v_fiscal_year
              I_MONMIT             = 00
                i_periv              =  Give your fiscal year variant name
                i_poper              = v_per
             IMPORTING
               e_date               = v_date_beg
             EXCEPTIONS
               input_false          = 1
               t009_notfound        = 2
               t009b_notfound       = 3
               OTHERS               = 4.
            CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr              = v_fiscal_year
              I_MONMIT             = 00
                i_periv              =  Give your fiscal year variant name
                i_poper              = v_per
             IMPORTING
               e_date               = v_date_end
             EXCEPTIONS
               input_false          = 1
               t009_notfound        = 2
               t009b_notfound       = 3
               OTHERS               = 4.
            CLEAR s_range.
            MOVE:
              v_date_beg TO loc_range-low,
              v_date_end TO loc_range-high.
              loc_range-sign = 'I'.
              loc_range-opt = 'BT'.
            APPEND s_range TO e_t_range.
    Thanks
    Tripple k

  • Using Fiscal/Year Period to get last year all months data

    Hi,
    Had a requirement to get Last Years 1-12 months data based on Fiscal/Year Period. So here i am using Fiscal/Year period as my input. Please let me know with code.
    Regards,
    Vishnu

    Hi ,
    Where you want to write code ?
    Well the basic logic will be like :
    TYPES: BEGIN OF ty_range,
    sign TYPE c LENGTH 1,
    option TYPE c LENGTH 2,
    low TYPE c LENGTH 8,
    high TYPE c LENGTH 8,
    END OF ty_range.
    DATA : t_range TYPE TABLE OF ty_range,
    w_range LIKE LINE OF t_range.
    DATA :v_lastyear type c length 4  .
    v_lastyear = sy-datum(4) - 1 .
    w_range-sign = 'I'.
    w_range-option = 'EQ'.
    concatenate  v_lastyear '001'  t into w_range-low.
    concatenate  v_lastyear '012'  t into w_range-high.
    APPEND w_range TO t_range.
    ****it will select data from source package for last one year .Internally year and period store like YYYYPPP  (2011001)
    select  SOURCE_PACKAGE WHERE 0fiscper  IN t_range.
    you can modify selection statement as per your requirement .
    hope this will be helpful .
    Regards,
    Jaya Tiwari

  • How to give the Fiscal year period in RSA3 for checking the data.

    Hi BW Experts, good morning.
      We have loaded the data monthlywise with selection parameters as Fiscal Year Period(FISCPER).
      While checking the data consistency in both R/3 and BI, the selection parameter which i have given  is in the format of         001.2005   
      I got the records in BI side.
      But if we give the same format In RSA3 in the Fiscal Year Period tab , we r getting 0 records.
      So kindly help me how to  enter the selection parameters for 1 month.
        Thanks
                  Anjali

    Hi sanyam ,
       Thanks for the help.
      I got it now.
      Thank you so much
      Bye
                   Regards
                         Anjali

  • How to get fiscal period based on date and Fiscal year?

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
    Thanks,
    Gopi.

    Hi,
    Please refer the code below:
    *: Report:  ZFISCALYR                                                  :
    *: Date  :  2004                                                       :
    *: Description: Demonstrates how to return the corresponding fiscal    :
    *:              year and posting period for a company code and posting :
    *:              date or posting date and fiscal year variant.          :
    REPORT  zfiscalyr NO STANDARD PAGE HEADING.
    TABLES: ekko.
    PARAMETERS:     p_bukrs TYPE ekko-bukrs,
                    p_bedat TYPE ekko-bedat.
    DATA: gd_fiscalyr  TYPE bapi0002_4-fiscal_year,
          gd_fiscalp   TYPE bapi0002_4-fiscal_period.
    DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
          gd_fiscalp2  TYPE bapi0002_4-fiscal_period.
    DATA: gd_periv     TYPE t009-periv.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * get fiscal year and period - (requires date and company code)
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    * Alternative fiscal year function module
    * - (requires date and fiscal year variant code from T009 table)
    * gets first entry in fiscal year variant table (will need to choose
    * correct one from table rather than just using first entry)
      SELECT SINGLE periv
        FROM t009
        INTO gd_periv.
    * get fiscal year and period
      CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    *END-OF-SELECTION.
    END-OF-SELECTION.
      WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr,
            / 'Fiscal period is:', gd_fiscalp.
      SKIP.
      WRITE:/ 'From function module: DETERMINE_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr2,
            / 'Fiscal period is:', gd_fiscalp2.
    Thanks,
    Sriram Ponna.
    Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM

  • Function module to derive start and end dates from fiscal year and period.

    Hi,
    I want to know a function module to derive start and end dates from fiscal year and period.
    ie: If I have say fiscal year '2010' and period '07', then the start date of this period would be '01.10.2010'.
    Thanks.
    Moderator Messge: Basic Date questions are not allowed.
    Edited by: kishan P on Oct 18, 2010 4:45 PM

    Hi,
    This is one of my exit that display the calmonth (offset -12). Usefull when I have to retrieve in a KF a complete rolling year depending one calmonth.
    S_VMUCMN is my selection variable
    S_TXTCMN_M12 is my text variable calmonth-12
    S_TXTCMN_M0 is my text variable for selected calmonth.
    WHEN 'S_TXTCMN_M12'.
        IF i_step = '2'.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'S_VMUCMN'.
            CLEAR l_s_range.
            " First day of the selected month
            CONCATENATE loc_var_range-low '01' INTO l_calday.
            CALL FUNCTION 'YFRBW_FUM_CAL_DATE_IN_INTERVAL'
              EXPORTING
                date      = l_calday
                months    = 12
                signum    = '-'
              IMPORTING
                calc_date = l_calday.
            l_s_range-low = l_calday+0(6).
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Thus, in KF header you have to put the two text variable to display the complete period.
    Hope it helps,

  • Current month and previous months of fiscal year period data

    Hi All,
    My requirement is end user will enter month ie (fiscal year period ) and in report my requiremnt is to show data in two columns 1.Current month data  and
    2.April till date.
    Please let me know how to do this and please send the coding to be done in CMOS.
    Regards

    Hi,
    In your query, you should have following object :
    in filters:
    fiscal period object, with an user entry variable on it (UE_MONTH)
    in rows/ratios:
    Current month column, with your KF and a restriction on 0calmonth2 with an customer exit variable on it (ie: CE_VAR1)
    same for April column. (CE_VAR2)
    in your customer exit, CMOD, step 2, add these two cases :
    WHEN 'CE_VAR1'.
    READ TABLE i_t_var_range WITH KEY vnam = 'UE_MONTH' INTO
                       intern_range.
    CONCATENATE intern_range-low(6) sy-datum+4(2) INTO l_s_range-low.
    l_s_range-sign   = 'I'.
    l_s_range-opt    = 'EQ'.
    APPEND l_s_range TO e_t_range.
    Same for April, add a new case and just replace sy-datum+4(2) by '04'.
    Hope it helps,

  • Fiscal Year / Periods does not show properly in WebI and compunding

    Hi,
    I have few reports where I am using Fiscal Year /Period as filter.
    I have created a Universe on the top of a SAP BI Query and did not do any customization.
    Then I created a WebI report. In this report I created various filters beside Fiscal Year / Period. When I run report, filter window opens. I can select all other filters but when it comes to Fiscal Year / Period it does not show me the values I want to see. It shows AUG 0001, APR 0025 etc. I want to see AUG 2010, MAR 2009 etc so that I can select them and get the data of the required Fiscal Year / Period. In Cube I have the required data. If I select MAR 0010 etc I donu2019t get any data.
    On the other hand if I put fiscal Year / Period in columns or rows it shows the right value.
    If also run SAP BI Query and Fiscal Year / Period in Variable then on variable screen I can see the right value from where I can select and get the required result.
    Do I have to do any step at Universe level or something else?
    It seems that Fiscal Year / Period is compounding.
    Is there any help?
    Thanks
    Bashir Awan

    Ingo,
    for thanks for igniting my thoughts in this regards.
    Yes these values do exist in SAP BW.
    It is some how compunding the values at filter level.
    It does not let me see the whole value when filter screen popup in BOBJ.
    In SAP whole value shows when variable screen popup, I see three columns Fiscal Year / Period. Text, Posting Period Key, and Posting Year Key.
    Fiscal year / Period Text which shows Aug 2009, Posting Period Key which shows our period 1 to 16, and Fiscal year key which shows 2009 etc.
    Is there any setting in BOBJ which compunds the year for variable screen so that we may see the whole values for filters?
    thanks

  • 'Fiscal year period not expected error in BI 7.0

    Hi Guys,
    When I am loading data into Target(DSO, CUBE) It gives a error 'Fiscal year period not expected'. I got same error when I am loading into any target. Source is ECC 6.0 and Target is BI 7.0.  I am extracting the data from FI/CO module. Could you pls help on this.
    Warm Regards,
    G N

    Is that error 'Fiscal year period not expected' or 'Fiscal year variant K4 not expected'
    If it is 'Fiscal year variant K4 not expected', then try the following
    In BI, select source System --> Transfer Global Settings       (OR)
    In transfer rules, select filed '0FISCVARNT' ---click on 'Tp' .... select radio button 'Constant' and enter K4..save & activate.                   (OR)
    in ECC -- SE16--> check wether table T009 has value K4..If not enter new value (K4)

  • Q1: Secondary Index. Q2: Fiscal Year /Period

    Hi gurus,
    I have two questions need your explain:
    Q1: To improve the query performance I am going to create some secondary indexes on an ODS, I am wondering whether this action will remove the data from the ODS therefore I have to reset the data loading process and if these indexes can be maintained while data loading automatically ?
    Q2: About fiscal year /period which technical name is 0fiscper. we know in sales order header, item also purchase order and billing ODS or CUBEs, FY/Period are existed in those models. but there are still some other dates e.g. delivery date, goods issue date, goods recieve date, document date, posting date and so on. So which date is used to generate FY/Period ?
    Thanks in advance
    Edited by: Leon Ouyang on Dec 3, 2008 4:27 PM
    Edited by: Leon Ouyang on Dec 4, 2008 1:26 AM

    Hi,
    1)The creation of index have no effect on the data stored and you need not delete or relaod the data.
    System will adjust the index with every data load to the DSO automatically.
    2)Fiscal year period depeneds upon the module from which you are using the data and you can tweak the logic for this suit your need.
    If the data source is providing the fiscal period values then well and good.
    If not then generally its mapped to those dates which are driving date of the query or the date which is going to be used by the user for the input selections in the report.
    for example if you want sales based on the posting date in the reports and user just wnt sale till month and not date then.......you map posting date to fiscal period in the transformation and use them in the reporting.
    This can vary too...there is no hard fast rule for what date it should be mapped...and it all depends upon the reporting requirement
    The good design practise is to fill it with the same date which is filling calday and calmonth objects.This will keep granuarlty as same...but if you want some other selection in the report then you can map calday to some other date and fiscal period to some thing else.
    Ajeet

  • Up to the period : Fiscal year period Exit variable is not working

    Hi Experts,
    I have the following code to get the upto the Fiscal year period variable .It shoudl fetch the Values  From the starting of the Fiscal period like 2009001 whatever the  period user enters.But currnelty it is not woking.Please let me know am I doing any mistake in code.currently it is only fetching for the month user enters not up to the period.
    Prasad
    Variable Name : ZUPTOPER
    User Entry  Var : 0P_FPER
    WHEN 'ZUPTOPER'.
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = '0P_FPER'.
            fper = loc_var_range-low.
            fper+4(3) = '001'.
            CLEAR l_s_range.
            l_s_range-low      = fper.
            l_s_range-high     = loc_var_range-low.
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'BT'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.

    Hi Prasad,
    This would be happening if you have put the user entry variable in the global filter of your query.
    As a result the complete data set is restrcted to get the data only for one month.
    Please use the variable for user entry month in a selection and not globally.
    -Vikram

  • Issue with Fiscal Year period - Variable

    Hello,
    I have requirement where I have two fiscal year variables selections available for the users. Both are independent to each other. FOR EX: A & B
    1ST Fiscal year period is straightforward. It is a single variable selection where User enters the fiscal year period then the Key figures data will be available to the user for that particular fiscal year what is selected in the variable screen.
    For ex: If user enters 01.2007 then the values will be only for that particular month/period
    However, the 2nd Fiscal year period user wants a Range (From and to). This is also a Single selection variable. Here user enters only TO value, which it should go and get the lower value from first variable screen and then it should take the higher value from the 2nd Variable screen and should calculate the result as a range.
    How this can be sorted? Can someone please help me to sort this Issue? If we need a customer exit, can you please give me some sample code?
    Thanks in advance
    Harish

    Hi,
    Create 3 variable
    One for from variable which will user input ZVAR1
    2nd to variable will be user input              ZVAR2
    3rd variable be variable exit type              ZVAR3
    In exit populate the VAR3 by reading the two user input variable.
    and use the option
    Try this:
    <b> when 'ZVAR3.
          if i_step = 2.
            read table I_T_VAR_RANGE into z_t_var_range
                            with key VNAM = 'VAR1'.
            read table I_T_VAR_RANGE into z_t_var_range1
                            with key VNAM = 'VAR2'.
                 ZE_T_RANGE-SIGN    = 'I'.
                 ZE_T_RANGE-OPT     = 'BT'.
                 ZE_T_RANGE-LOW     =  z_t_var_range-LOW
                 ZE_T_RANGE-HIGH     =  z_t_var_range1-LOW
                 APPEND ZE_T_RANGE TO E_T_RANGE.
                 clear ZE_T_RANGE.
          ENDIF.</b>
    Thanks,
    Debasish

  • Custome variable exit for fiscal year/period

    Hello BW Gurus,
    Q1[1,2,3] Q2[4,5,6] Q3[7,8,9] Q4[10,11,12] quarterly periods
    I have a custom variable exit as shown for fiscal year period
           IF LOC_VAR_RANGE-LOW+4(3) =< '003'.
              L_S_RANGE-LOW+4(3) = '001'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '003' AND
                                              LOC_VAR_RANGE-LOW+4(3) =<'006'.
              L_S_RANGE-LOW+4(3) = '004'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '006' AND
                                                LOC_VAR_RANGE-LOW+4(3) =< '009'.
              L_S_RANGE-LOW+4(3) = '007'.
           ELSE.
              L_S_RANGE-LOW+4(3) = '010'.
           ENDIF.
    Now this works fine to give me the Current Quarter ....say if user puts 005/2007 i get the data Current quarter as [4+ 5] i.e. April and MAy data. Now for <b>Previous Period</b> I gave an offset as -3 to -1 inorder to get data for Q1[123] but the requirement is changed and I want the same time period i.e. [1+2] and not the entire quarter since the Current Quarter calculates only for 4 and 5.
    I hope u are getting my point....please give your suggestions will reciprocate with lots of points

    Hi gaurav,
    Basically If I am selecting period 005 I am getting the data for 4 and 5 as Current Quarter i.e. April is the starting period of that Q2.
    Similarly the previous Quarter should also give me data for period 1 and period 2.
    Right now the offset I gave is -3 to -1 on my custom variable so i am getting data for the entire previous quarter which is Q1[1,2,3] but in reality i just want data for period 1and period 2.
    Can you please help me in this
    Appreciate your concern
    Thanks

  • Texts for Fiscal Year Period

    Hi all
    We are currently using Fiscal Year Variant Z6(July - June, 4 special periods).
    When we display the texts for Fiscal Year Period in a Query it displays as CALMONTH FISCYEAR. E.g. July 2004, which is FISCPER 01.2004 but Calmonth 07.2003 (July 2003). I want the texts to display as the correct calendar year month, not as a combination of calendar month with the fiscal year.
    I have tried to maintain the texts of 0FISCPER, but I get the following message "The master data table of char. 0FISCPER is not generated, operation terminated"
    Has anyone managed to solve this problem?
    Thanks in advance
    Chami

    Chami,
    I see the problem. The Year Part of the Text is wrong.
    Unfortunately this means that Fiscal Year cannot be used to display the texts.
    The solution to your problem is to have the description from the calendar month/year in the column headings by adding the calendar period to the data target, convert the fiscal period to calendar period on data loading (using provided date conversion functions in the formula builder) and use it for display purposes. The fiscal year is still used as selection criteria (as a filter)
    The other solution is to have text variables created from the Calendar period and used in the column headings
    Hope that helps!
    Rishi

Maybe you are looking for

  • HP Elitebook 8470p - from battery the fan is not working

    Hello Everybody elitebook Expert! My laptop config in short: i5-3320m 2.60GHz with integrated graphics Intel HD4000, 4GB Ram. I don't like the elitebook 8470p cooling system and i can't see the normal reason of the machanism. So, there is no problem

  • How to read the CSV Files into Database Table

    Hi Friends i have a Table called tblstudent this has the following fields Student ID, StudentName ,Class,Father_Name, Mother_Name. Now i have a CSV File with 1500 records with all These Fields. Now in my Program there is a need for me to read all the

  • Can the backlit keyboard be turned on/off?

    Thinking about selling the Black Book for a new 2.4 Al Macbook. That is the only question I would like to know the answer to, can the keyboard be turned on/off? Thanks Steve

  • How do I download pictures from phone to computer

    I have pictures on my phone and I would like to download them to my computer, but I haven't been able to. Can someone help

  • How to Find Oracle instances?

    Hi all, Could you please guide how to check oracle instances? Thanks in advance!!