Dynamic VARIANT FOR Fiscal Period and dates

We have a custom transaction with date and fiscal period as vairable parameters and need to know if we can generate a DYNAMIC VARIANT for these based on FISCAL PERIOD.
Replies will rewarded

          Use transaction OB29, this is in the IMG.
<b>Reward points</b>
Message was edited by:

Similar Messages

  • How to set up Dynamic Variants for job which is based on Pay Period

    We need to set up dynamic variant for payroll interface.  This interface is based on Pay periods and that is why we need to use different variant for each month.  Letus know how to set up dynamic variant which will take care of Pay Periods

    Hi,  Thnx for reply.
    We are not changing the control records, current period will be some old period in system. 
    payroll is not processed in SAP,

  • Return current period based off of current fiscal year and date

    Good Afternoon,
    Is there a way in the webi that I can create a dimension that always reflects the current Fiscal Month based of Fiscal year and date? I have a report that I am trying to show sales for a customer based off the current fiscal month. I would like this report when refreshed to be based off this fiscal month dimension instead of showing each fiscal month or changing it manually. What is the best way to do this?
    I have attached an image that shows current numbers by period (month) and then the YTD Totals. I would like to have my 'Period' column always reflect the current period and the Total column to reflect that months totals based off the period column. So for this period (3), instead of seeing 3 lines for each month I would just see the '3' and the total as $541,310.46, monthly as 412,502.09 and my YTD as 1,080,091.06.
    Any help is always appreciated!
    Thank you,

    Create a variable
    FlagVar=If([Period]=Max([Period]) In Report;"Show";"Hide")
    And apply block filter of FlagVar=Show
    Are these coming TotalSales  MonthlyGoal YTDSales directly from universe? If they are calculated at report level then you might want to use NoFilter. like =NoFilter([YTDSales])

  • Dynamic Variant for Date filed

    Hi All,
    I need to create a dynamic variant for date fields for standard report.
    in date Low field...value will be harcoded as '01.01.2011' and S_Date-high date field should be current date - 1.
    I dnt want to go for code in report to handle this.
    I tried with many option but could not able to see up the dates like as above.
    Kindly help.

    try this code
    data prevday like sy-datum.
    SELECT-OPTIONS s_date for sy-datum DEFAULT '20110101'   .", sy-datum-1.
      prevday = sy-datum.
    s_date-high = prevday.
    modify s_date index 1.
    Hope the help
    Edited by: j.ortiz on Jan 27, 2011 3:01 PM

  • Using fiscal period and Fiscal quarter reporting seemlessly in a BI Query

    We have a very specific issue. Reporting the Fiscal Period( in our
    case we have 53 fiscal periods) and Fiscal Quarter( we have 4 quarters)
    in the same query seamlessly as we would have done using Calander Month
    and Calander quarter in other reports that uses SAP delivered standard
    time dimensions.
    However unlike the Calander time dimension (SAP provided all
    possible...0CALDAY, 0CALWEEK, 0CALMONTH, 0CALQUARTER, 0CALYEAR) where you have all of these inside your info provider, you can get
    aggregation on week, month, quarter etc in your query seamlessly, The Fiscal Year/Period offers a problem in doing report seamlessly.
    When we delve into Fiscal realm, SAP only provided with 0FISCVARNT,
    0FISCPER, 0FISCYEAR and a special period 0FISCPER3. It doesn't provide
    anything like 0FISCQUARTER etc and rightly so, because you can have
    only one 0FISCVARNT in the Time dimension and can have related periods
    (0FISCPER) only for a Row of data in your infocube. For example if you need to model as per the Fiscalweek, you can create a custom Fiscal year variant (Say z1) and can configure to have only 53 periods (Mapped to 0FISCPER) representing
    53 Fiscal WEEK. Similarly for mapping Fiscal Quarter you can create
    another fiscal year variant (Say Z2) and have only 4 periods (mapped to
    0FISCPER also in this case) to represent the 4 Fiscal Quarter. However
    the issue is that for one record you can only map either of those and
    not both since you can only have one Fiscal year variant in one row of
    data in the info provider.
    For example
    If I have two rows OF DATA coming from different sources (One FOR
    Fiscal Week and another for Fiscal Quarter) I can have the following in
    my info provider.
    1> Example data in Fiscal
    Char1 Char2 0CALDAY 0FISCVARNT 0FISCPER Quantity
    X  ......  y .....10/22/07 ....Z1 ....           43’2007 .......10
    X .......  Y .....10/22/07 ....Z2 ....          Q3’2007 .......20
    The issue is how do I report the Quantity in a query in Quarter Q3 as
    (10 + 20 = 30) since both the rows corresponds to FISCAL Q3’2007?
    (Please note that Fiscal week 43’2007(For VARIANT Z1 ) actually is
    Fiscal Quarter Q3’2007( For Fiscal Variant Z2) as per our
    configuration of Fiscal Year Variant configuration Z1 and Z2)
    The same is very simple when I have infoprovider with CALENDAR Time
    dimensions , for example if we don’t have any fiscal reporting
    requirement and just report on calendar time dimension the record in
    the info provider would look like the following ( example)
    2> Example Data in CALENDAR DIMENSION
    Char1 Char2 0CALDAY 0CALWEEK 0CALQUARTER Quantity
    X ........ y .......10/22/07 .......43’2007 .......Q3’2007 .......10
    X ........Y .......10/22/07 ....... 44’2007 .......Q3’2007 .......20
    Here we can use both 0CALQUARTER and get the data aggregated on the
    quarter level in addition to the 0CALWEEK.
    To solve this issue, One option that we are thinking of Using 0CALQUARTER to represent the
    Fiscal Quarter and use Update rule to populate this one. For example
    THE example 1 can be as follows.
    1A> Example of using 0CALQUARTER along with 0FISCVARNT and 0FISCPER
    X .......y .......10/22/07 ..............Z1 .......43’2007 .......Q3’2007 ..............10
    X .......Y .......10/22/07 ..............Z2 .......Q3’2007 .......Q3’2007 ..............20
    In this case we would populate the 0CALQUARTER by the actual Fiscal
    Quarter and then can use both as per example 2 above. But this is not a
    smooth option since we have various other info providers to join and
    report based on solely Fiscal Quarter etc…
    I am certain that this issue have already been solved by somebody as this bound to happen in any finance application.
    Would appreciate if we can get some light on this regarding the data modelling, reporting etc.
    Arun G.

    You have yourself suggested a solution, which is fine,
    Other option is to have a new characteristic Fiscal Qtr in all the infoproviders ans update the same using a routine in the updaterule depending on the fiscal year variant.
    for eg. for transaction with variant Z1 in one case you can say if fiscal week 01 between 01 to 13 the Fiscal Qtr should be update with1 and if it is between 14 to 26 then update fiscal qtr with 2 and so on.
    For other Variants Z2 you write a different login in the routine ans so on.
    so for all the data irrespective of the variant you will have the qtr as either 1 or 2 or 3 or 4 and you can report on this fiscal qtr.
    assign points if it helps.
    Venkata Devaraj

  • Consolidating with fiscal periods and calendar periods

    Hi, Does anyone have any information out there on how to configure the system to pull data for fiscal period for some companies and calendar period for other companies?  Or any horror stories about trying to do it that way.

    For consolidation as a whole only one fiscal year variant is allowed. However, there is possibility of collecting data of different fiscal year variant and using appropriate currency translation rates as per that units fiscal year variant.
    For example, if you have consolidation fiscal year variant as 31st March ending and you have one unit X as fiscal year variant 31st december ending, in this case the 12th period data of consolidation unit X will be translated using exchange rate as on 31st dec and not as on 31st March.
    Hope this might be helpful to you...though no direct response to your question.
    Best Regards,

  • Fiscal Period and MM period.

    Hi all,
    Can somebody explain the difference b/w Fiscal Period and MM Period in business context. Detail explanation will be helpful.
    thanks & regards,
    Prashant Rathore.

    Fiscal Year Definition
    Usually a period of twelve months for which a company regularly creates financial statements and checks inventories.
    The fiscal year may correspond exactly to the calendar year, but this is not obligatory.
    Under certain circumstances a fiscal year may be less than twelve months (shortened fiscal year).
    Fiscal Year Structure
    A fiscal year is divided into posting periods. Each posting period is defined by a start and a finish date. Before you can post documents, you must define posting periods, which in turn define the fiscal year.
    In addition to the posting periods, you can also define special periods for year-end closing.
    In General Ledger Accounting, a fiscal year can have a maximum of twelve posting periods and four special periods. You can define up to 366 posting periods in the Special Purpose Ledger.
    What is the Use of Fiscal Year
    In order to assign business transactions to different time periods, you must define a fiscal year with posting periods. Defining the fiscal year is obligatory.
    You define your fiscal year as fiscal year variants which you then assign to your company code. One fiscal year variant can be used by several company codes.
    You have the following options for defining fiscal year variants:
    Fiscal year same as calendar year
    Fiscal year differs from calendar year (non-calendar fiscal year). The posting periods can also be different to the calendar months.
    You define your fiscal year variants in Customizing for Financial Accounting as follows: Financial Accounting Global Settings ® Fiscal Year ® Maintain Fiscal Year Variant (Maintain Shortened Fiscal Year)
    MM Periods
    Closing operations are periodic tasks and can be subdivided in FI as follows:
    u2022     Day-end closing
    u2022     Month-end closing
    u2022     Year-end closing
    The closing operations component helps you prepare and carry out the activities required for day-end, month-end, and year-end closing. For this purpose, the system provides a series of standard reports that you can use to generate evaluations and analyses directly from all of the posted account balance. The system helps you carry out the following:
    u2022     (Time-based) accruals/deferrals of expenses and revenues
    u2022     Creating the balance sheets and P&L statements
    u2022     Documenting the posting data
    To carry out the closing operations in G/L accounting, you first need to carry out the closing operations in the subledger accounting areas you are using. These include:
    u2022     Accounts receivable and accounts payable accounting
    u2022     Inventory accounting
    u2022     Asset accounting
    u2022     Payroll accounting
    Syed Hussain.

  • Dynamic variant for select option High value

    Hi ,
    Please help me in creating dynamic variable for a select option date field high value.
    II tried the following method:
    1. Enter the values in the selection screen
    2. Save the variant using the SAVE button
    3. In the next screen for the date variable select the 'Selection variable' checkbox (L) and click on the button 'Selection variable' in the toolbar.
    4. Now you will see this variable in the next screen with 3 types of buttons. Click on the middle button (i.e. D - Dynamic date calculation).
    5. Click on the down arrow button and select the option 'Current Date'.
    5. Save the variant.
    But it is saving the date value in Field LOW of select option( From value).
    I need it in TO field( High value).
    Please help.

    Hi Sheeba
        we can do it other way .. Select the same steps as you have done but after the assigning the value current date to low ..click on the selection option push button at the application bar and choose the 'less than or equal to' option to your select option value and try the same ....
    I guess this would throw you same results as that of the value in the high value button

  • Dynamic Variant for Report

    How to put current date in report output through variants.
    I should not use events, when user selects variants then i should place the current date in my selection-screen.
    help full information will be appreciated.

    Hi Rams,
    U have to create a dynamic variant for this.
    Fallow these steps.
    1. Fill all the selection screen values including date(Current date).
    2. Save it as variant(ctrl+S), give variant name and description.
    3. In the same screen u can see some check boxes corrosponding to each selection screen parameter.
    Now for the date field select the check box under
    L Selection variable and then press the push button selection variables in the tool bar.
    4. Now u will get the date range in the next screen.
    5. Here press the yellow light under D, it will become green colour.
    5. Next press drop down(Small arrow pointing down at the end of date)
    6. Now u will get a list of options for calculations.
    7. Here select current date.
    8. Now save the variant.
    This completes setting up of dynamic variant.
    Now when ever u select this variant it will populate the selection screen with current date and remaining fields with the data u save while creating the variant.
    Hope this will solve ur problem.

  • DP Planning in Fiscal Periods and Fiscal Weekly Periods

    We are using fiscal calnedar that starts on first Sunday of Nov with 4 weeks in each period i.e., fiscal year 2009 started on Nov 2nd (Sunday) and first period goes from Nov 2nd (Sunday) to Nov 29th (Saturday) and so on.
    So, our fiscal week also starts on Sunday and ends on Saturday i.e., in first period of 2009 the following are the fiscal weeks
    1 fiscal week - Nov 2nd to Nov 8th
    2 fiscal week - Nov 9th to Nov 15th
    3 fiscal week - Nov 16th to Nov 22nd
    4 fiscal week - Nov 23rd to Nov 29th
    1 fiscal period  - Nov 2nd to Nov 29th
    In storage bucket profile we are able to assign only one fiscal period profile. There is no place to consider fiscal weeks.
    Created two planning books as follows
    1. Planning book with time bucket profile of fiscal periods. It is allowing me to plan in fiscal periods and works as expected
    2. Planning book with time bucket profile of fiscal weeks. It is not allowing me to plan in fiscal weeks
    How to make the fiscal weeks planning book work?
    Thanks in advance,

    What version are you using? We asked for this in 2003 at ASUG and although it was delivered in 4.1 we never got it to work, but when we upgraded to 5.1 it works perfectly.
    Define 1 storage bucket profile with fiscal weeks and 2 planning bucket profiles, one with fiscal weeks and the other with fiscal months. Then define your planning area with the SBP fiscal week. Within interactive planning, turn on the header functionality. Choose the first icon on the upper left corner of the planning grid and choose "change periodicity" and you can switch from "fiscal weeks" to "fiscal months".

  • Function module to find get the  Fiscal period using date

    Hi Experts,
    I am need of getting fiscal period and year from the given date. Is there any function module exists. Please advise.
    Thanks in advance,

         COMPANY_CODE           = i_billno-bukrs
         COMPANY_CODE           = S_BUKRS-LOW
         OTHERS                 = 2.
    IF SY-SUBRC <> 0.
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      I_BSTYP         =
          I_BEDAT         = P_DATE
         I_PERIV         = I_FYV1
      E_H_MONAT       =
        E_H_GJAHR       = GJAHR1
      E_H_DATUM       =

  • Set dynamic variant for time

    I have selection options for field as defined as TIME . I need to set dynamic variant for this field as
    TIME should be "from"='current time-30 minutes' and "to"='24:59:59'.
    This report going to run in 00 hours and 30 hours (48 times ie 24 X 2)
    PS : Pl. remember this is for a SAP standard report
    Any Info?

    Naimesh Patel wrote:
    > I digged more deeper and found one FM RS_VARI_V_INIT_TIME which fill the options like Current Time, Current Time +/- ???, From Start of Day to Now etc. and Surprisinly all 3 options are hardcoded in it..!!
    As you suggested due to hardcoded values here , we could not able to do much on this.
    So i came in round away solution. Whenever program A called ( program with TIME selection input) i have called another custom program C . (This custom program will using the following function module RS_VARIANT_CONTENTS, and RS_VARIANT_CHANGE , So get the DEFAULT variant content of program A and change the variant content with LOW as current time - 30 and HIGH with 24:59:59)  as preceding job.
    In PI 7.01 system program A always called in JOB mode
    Thanks for info.

  • Offset for Fiscal Period

    Hi All,
    I have 2 columns in my report. When variable window pops-up, user enters value for 2 mandatory field. (From Fiscal Period and To Fiscal Period). Once i get the value of range, i generate one column based on business logic. Now, in the second column I want to show the results for the same period but for previous yr.
    So, if user entry is 001.2007 to 002.2007, first column would display result for 001.2007 to 002.2007, while second column should display result for 001.2006 to 002.2006. I have 2 saperate variables for user entry and i have restricted my KF based on "Value Range" & "Between".
    When I m trying to give offset of '-12' for second KF, it accepts the offset for both the variable in the range, but it displays the result for 001.2006 to 002.2007. So, basically it manipluates offset for just one variable.
    Can anybody tell me what should i do??

    Hi Danny,
    In the mentioned link, read Selecting value range limits
    This is what I was thinking of...

  • Dynamic Variants for RSEXARCA

    Dear All,
    Please let me know how to create Dynamic Variant for
    the report RSEXARCA.
    Kindly let me know the procedure.

      Use this function Module  : RS_VARIANT_ADD
    U can even get list of Variant Related function module
    Just go se37 enter RS_VARIANT* and press F4.
    One Ex.
    U can use RS_VARIANT_CONTENTS for find out the values for the varient fields.
    U can use RS_VARIANT_ATTR_SAVE to save changes to the variants
    Mark the Helpfull answers & close the thread.
    Message was edited by: Manoj Gupta

  • What's the keyboard shortcut for entering time and date?

    Is there a keyboard shortcut for entering time and date?
    Hopefully one which would work in any application.
    Thank you.

    None is built-in. You can use any number of third-party utilities for creating macros. For example:
    1. TypeIt4Me
    2. TextExpander
    3. Typinator
    4. AutoTyper (part of Automaton)
    Any of the above are excellent choices. Demo/Trial downloads are found at CNet Downloads or MacUpdate.

Maybe you are looking for

  • Ichat doesn't sound anymore

    ok, so my speakers are on max. my "speech volume" in ichat > preferences > alerts for every one is max. i can here itunes etc. i can even here the preview for the sound. but no sound in my ichat. it was working just a while ago...i don't know what ha

  • How to print specific pages out of a book file

    I've searched around but I cannot find any way of printing specific pages out of a book file. Has anyone got any ideas? I have a 100 page book file with 20 files, and doing print outs of sections is a nightmare. I want to be able to print page 5 out

  • Huge problems with Programs crashing on quit!!

    Is anyone else having an issue with programs like Logic Pro 8, Firefox and other widely used programs that crash when you do a command-q to quit? Mine does this all the time. I have re-installed Snow Leopard 3 times now. I have re-installed all my pr

  • "Tap Continue and sign in to purchase a gift"?!?

    hi all, since yesterday i keep seeing an occasional pop-up message on my iphone telling me to "tap continue and sign in to purchase a gift". Very confusing, as I haven't done anything to initiate any sort of gift transaction. i've tried searching for

  • Can't sync movies from camera

    The movie was taken by Canon SD 780 IS. An error message appears: " iPad doesn't support this movie format' and refuses to sync. But on Apple website it says supporting the '.mov' format which used by Canon.