Fiscal Calendar in Report Variant Dynamic Date Calculation

We are switching from the standard calendar to a 4/4/5 calendar for our fiscal calendar. We have a number of batch reports that use dynamic date calculation in the variant to get Month-To-Date or Previous Month date ranges. Is there a way to convert these variants to use the new FiScal calendar instead of the regular calendar?

thanks to answer , praveen.
I know, VARI has name of FM , but not has Calendar ID.

Similar Messages

  • Activating dynamic date calculation in variant

    Per the link below, I used to be able to activate "dynamic date calculation" in variant.
    <link to blocked site removed by moderator>
    Our system has been upgraded to 6.0 and now we do not the same variant attribues screen where I can activate the "D" variable.  It brings me to program/screen SA38/281. 
    Any suggestion how I may activate the "D" dynamic date calculation variable in a variant?
    Edited by: Thomas Zloch on Oct 14, 2011 11:34 AM

    Actually I meant the relevant code of your custom report, you just provided me with the info of the standard variant screen.
    You can go to SE38, enter your custom report name, display the code, and paste the definition of that parameter. (It would be something like
    PARAMETERS: P_DATEHG TYPE XXX_TYPE.
    What I am interested in is to know which data type is being used, since this functionaliy will only apply to date type fields. So, bottom line: this field must definitely be a date, which makes me think that either something has changed in the custom report or after the upgrade to ECC 6.0 this data type might have changed as well.
    Best regards.
    Edited by: Jose Maria Otero on Oct 14, 2011 5:26 PM

  • Variant with Dynamic Date Calculation

    I have a variant that includes a dynamic date calculation.  I'm using the Current day -1 date calculation. Does the dynamic date calcuation use the time zone of the system or the time zone designated on the user id for the calcuation?

    time zone of the system.. if you want to use the user time use Sy-timlo

  • D: Dynamic date calculation

    Hello,
    In BEx, when creating a variant, is it possible to use "Selection variable = D: Dynamic date calculation"?
    I have created a variable for 0calmonth and in the Variant Attributes screen, Selection variable field, the only option is T: Table Variable from TVARVC.
    BW version 3.5
    Thanks for any information you can provide.
    Mark

    Hi,
    have a look at the below link..  ( they have mentioned the steps of customer exit variable fassigning for reporting agent)
    https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003598422003E
    Regards,
    Siva.

  • Enable "dynamic date calculation" variable type

    When saving reporting date/period in a report variant, we may use "dynamic date calculation" to specific date as selection parameter.  But the "Dynamic date calculation" is not visible in some ABAP reports - only "Table Variable from TVARVC"  type is available for selection. 
    For those reports that are missing that variable type, how can we enable the "Dynamic date calculation" variable type to be visible?

    Hi Paco:
    Yes, they are z-reports, both have the same almost everything, created by the same ABAPer, for the same application SD, just grouping the data differently.
    It seems a screen (#100?) is missing,  In the old version, it's screen 100 where to activate the "D" and "B" variable types.  Now it goes to screen 281.
    Stacy

  • Dynamic Date Calculation

    Hi all,
    Currently, i need to run a background PO report daily. As i only want today's PO data everytime the background job runs, i set the PO date dynamically using dynamic date calculation choosing current date, save it as a variant then schedule daily run.
    Howerver, for the next run day, the report was ok but subsequent running, the report is not the current date data.
    Any idea where i have miss out?
    Kindly assist and advise, points will be rewarded.
    Regards,
    Eric

    Hi,
    Thanks for your prompt reply.
    I am looking for ways to create a variant with changing date for daily run so that i do not have to daily modify the date.
    Regards,
    eric

  • Dynamic Date Calculation for Current Date - 1

    I am trying to create a variant with a dynamic date calculation attribute.
    I am following the instructions as they are posted to the web but I get an error message.
    I want to get all data EQ to the current date -1
    In the object for selection screen I enter a D for Selection Variable, for Name of Variable I enter an I to include specific values and the option EQ for current date +/- ??? days.  Then I enter 1- for the number of days.  I have tried to enter this many times and in many ways but it doesn't work.  I keep getting this message "lower limit of interval is greater than upper limit"

    Hi,
    Welcome to SDN.
    Selection-screen has four values -
    SIGN
    OPTION
    LOW
    HIGH
    Pass your date value in the option low for the screen.
    Sign you have already pass as I and option as EQ.
    Regard,
    Amit
    Reward all helpful replies.
    Can you paste your code here.
    Message was edited by:
            Amit Khare

  • How to use Dynamic date calculation in some transactions.

    Hello everyone.
    I have to create some dynamic variants using the dynamic date calculation. The problem is that in some transactions it´s not possible to use some variables that can round a value. For example: in transaction /SAPAPO/MC90, I need to fix 3 months in the horizon like this: From date: 01.01.2009  To date 31.03.2009. The current month is 01.01.2009. Next month the current month will be february, so the horizon would be 01.02.2009 to 30.04.2009.
    In 5.1 version, it´s impossible to fix the months, because the options that appear in the match code are:
    Current Date
    Current date +/- ??? days
    current date +/- ??? work days
    First day of current month
    nth working day of current month
    First day of next month
    First day of previous month
    Last day of previous month
    Last Day of the Current Month
    Does anybody knows how to do this? This is happening in other transactions to.
    Thanks a lot
    Regards
    Angela

    I am not sure where you are looking for..but here is what I can do it in MC90 Tcode:
    1. when you try to save the variant, in the variant screen check the two boxes under "Current date" field for Selection Variables attributes "L"
    2. Then click on Selection variables option and click on the "D" variable so that it turns to green
    3. Drop down in the first current date field, select "Current +/- ??? days. here if you want to start from today's date maintain 0 days
    4. In the second Current date field maintain 90 days in "Current +/- ??? days.
    5. save it
    please let me know if I misunderstod the issue

  • Dynamic date calculator

    Hi all
    In Variants we can give dynamic date calculator to calculate date as we required. Does there is a option to add more selection option (ie if I have to add a selection last day of next month). Where I can do this
    Please comment
    With Regards
    Arun

    check the LSVAVF01 program for enchancement. or dynamic date selection you can select "  nth working day of current month " with calender option to select the last date of month.

  • Dynamic Date calculation in Variants

    Dear SAP Guru's,
    I am creating variant for Planning Run by maintaining the . I n this, I want to select the horizon as from 1st day of next month and to date as last day of next month. But I am not finding the Last day os next Month in the F4 list.
    Please any one explain me the way of creating the "Last day of Next month".
    The available list is like below..
    Current Date
    Current date +/- ??? days
    current date +/- ??? work days
    First day of current month
    nth working day of current month
    First day of next month
    First day of previous month
    Last day of previous month
    Last Day of the Current Month
    How can I create, one more like 'Last day of Next month'?
    Regards,
    Sree

    In the dynamic date period selection options there is also an option for " (Beginning of mth-xx months, end of mth+yy months)"  You can double-click on this line and enter in a value for xx and yy.  If you enter "1" in for the yy value, then the end of the range should be the end of the next calendar month.

  • Scheduling WebI reports for Dynamic Date Ranges

    Hello Everyone,
    Our Env is BOBJ XI 3.1 SP2 FP2.5 integrated with SAP NW  BW 7.02 EPH1
    We are trying to schedule few WebI reports which can be used on ad-hoc basis as well. Some reports need to get data from starting of the month to today (like MTD) and few are with dynamic date ranges.
    In case of relational universes i used to do Magic Date as mentioned here :  http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts
    But for OLAP Universes i have written a MDX filter prompt as :
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)">
    <CONDITION OPERATORCONDITION= "Between">
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0)='First Day of Month','First day of Current Month\First day of Current Month',@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0))"/>
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0) > '1/1/2100 12:00:00 AM',''1/1/2010 12:00:00 AM'',(@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0))"/>
    </CONDITION>
    </FILTER>
    We are getting MDX erros because IIF can only return numeric values. So are there any other approaches for dynamically scheduling the reports or can the above MDX prompt be modified to make it work ?
    - Vamsi Ch

    Ingo,
    When we schedule the WEBI report we use the BEX query with a variable based on a customer Exit .
    There are good examples in
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    In order to avoid providing a hard coded date restriction in the BEX query we want to have a flexible date range solution (e.g. data from 1.1.2011 until yesterday).
    Is the folloing scenario possible:
    Scheduled webi report with a hard coded date e.g. 1.1.1900 (for the BEX variable)
    The BEX query should return the data from 1.1.2011 until yesterday (dynamically)  if date = 1.1.1900
    else it should return the data (for the e.g. adhoc reporting)
    Is a customer exit like this possible ?
    Pseudo code:
    IF date = 1.1.900 then return sysdate-1 else return entered date
    For a relational universe I always used a magic date condition

  • Schedule Monthly Reports with Dynamic Dates, but also allow Ad-Hoc Running

    Post Author: Dan-Mica
    CA Forum: General
    I am trying to find a way to schedule a report that has an as_of_date, and a start and end date.
    When running monthly it will be scheduled to run on the 11th of each month.  The as of date will be the 10th of the month.  The start date will be the first day of the year and the end date will be the last day of the previous month.
    I have written the report using date functions to calculate the correct dates, and this can be scheduled.
    Now the users are asking to be able to run ad-hoc versions of the report and choose the dates that they use.
    What I don't know how to do is to schedule the job to run monthly as above, but also allow the users to choose the start and end dates and as of dates for the report? 
    Besides writting two versions of the reports is there another way to do this???
    Thanks for the help....

    Hi,
    U can use Infoset Query for report in HR. T-Codes are SQ03, SQ02 AND SQ01. By SQ03 create user group. then SQ02 -infoset and by SQ01 create reports.
    try this. it works.
    Regards
    Nas

  • Dynamic seleciton in report variant FBL1N

    Hi,
    Problem Description
    I am trying use dyanamic selection in report variant of FBL1N but its not working.
    My working
    I am using dyanamic date variant.
    In the selection screen of FBL1N, we have posting date in dynamic selections.
    While creating a variant for the selection screen of FBL1N, I am selecting Posting Date of dyanamic selection and choosing selection variant as "D" (D: Dynamic date calculation) along with Current Date as variable.
    However system is not accepting this and the current date is not coming up while choosing this variant.
    Solution required
    Can anyone please help me out with dyanamic date calculation in dates from dynamic selection in report FBL1N.
    Thanks,
    Nitish

    Dear
    You did not specify in which version you are working.  If you are in new GL instead of using FBL1N you can as well use T.Code S_AC0_52000888 and here you can make dynamic selections.
    Regds

  • Tricky dynamic date variant in ABAP query

    Hello All,
    In an abap query there is a date field in the selection screen with from & to values.
    I am trying to create a dynamic variant that will fill the following data into those fields:
    From date: will be left blank
    To date: will show today's date - 90 days
    For example, if today's date is 01/12/2006 the variant should fill the following data into the fields:
    From date: <blank>
    To date: 01/09/2006
    I have tried all the methods I know with dynamic dates calculation in the variant definition but did not manage to create such variant.
    Any help will be very appreciated and points would be rewarded generously !
    Thank you very much,
    Ronen

    If the "from" date is meant to be left blank (beginning of time) and the "to" date is some date plus or minus number of days from today, you use the "current +/- days" dynamic date calculation format as was mentioned earlier.  Likewise if the "from" date is some date plus or minus today's date, and the "to" date is infinity -- you only need the one Dynamic Date calculation.
    To do this, first don't think about this as a date range, think of your Dynamic Date calculation as if this were a single parameter and not a select-option.  You are really saying "my date is anything LT/LE this date" or "my date is anything GT/GE this date" -- not a range
    In the Save Variant screen, find the desired date select-option and:
    1. Choose in column "Selection Variable", a "D" (Dynamic date calculation)
    2. Use F4 in the "Name of Variable" column
    3. Find "Current date +/- ??? days" or "Current date +/- ??? work days" in the popup, as appropriate
    4. For "I/E" (include/exclude) column select as appropriate
    5. For "Option" column, choose "LE", "LT", "GE", "GT", "NE" as appropriate
    6. After clicking green check mark, enter your plus or minus days (and factory calendar if using work days).
    7. Finish saving your variant.
    8. You may not see your changes in your variant until you back all the way out of the variant and then redisplay it.  You'll see a greyed out date along with the symbol matching your choice (LT, LE, etc.)
    Unfortunately if you don't have infinity on either end of the date you are limited to 999 days differences as far as I am aware.  If that is the case you can populate TVARVC table with parameter or selection variables, maintain them with STVARV transaction by hand, or use an ABAP program in batch to regularly calculate the values.  Then you can reference the TVARVC values in your variant instead of the Dynamic Date calculation.
    If someone knows a way to bypass the use of TVARVC for date ranges that are more than 999 days apart please let me know.  TVARVC works well but it is extra effort whereas Dynamic Date calculation would be much easier to maintain if the date range could be made larger than 999 days.

  • Dynamic date in variant

    Hi,
    I need to create a dynamic date for my variant.
    Date will be the select option - The from date should be the current date and the to date should be current date + 30 days.
    When i am using the Selection variant and using the option D to calculate the current date+ 30 days. But that is getting stored in the from date but not in the to-date. My report will be running in back ground every day. So according to the requirment i need to have from date as current date and to-date as current date + 30 days.
    I cannot use the logic in initialization as the report will be running based on the variant saved.
    Thanks,
    Raju

    Hi Raj,
    I can think of one thing,
    just use parameters for start date and end date
    and then set the their values in the variant as follows,
    Press Save on the selection Screen and then put the name and short text then,
    in the very last box called "Selection screen objects 1000" check on the fourth check box "Selection variable" for both start date and end date.
    Then click on "selection Variable" Button on left hand top corner of the screen.
    Then click on the D: Dynamic date calculation the must turn Green.
    then click on the downward arrow that appears there you will have options to set the date.
    there choose current date for the start date and Current date +/- ??? days  for the end date.
    now while setting the end date it will ask you the number of days there you have to put 30(as it is your requirement) and SAVE.
    Then test it .
    otherwise you can go for this approach.
    Keep your date in select-options only and use the following option while selecting "Selection variables"
    "Current date - xxx,current date + yyy"
    Hope it helps you,
    Regards,
    Abhijit G. Borkar
    Edited by: Abhijit Borkar on Jan 7, 2010 7:31 AM

Maybe you are looking for

  • Unable to create report

    hi, i have created info cube successfully and i can view the data in that.when iam trying to create BEX analyser report it says no applicable data found.even in query designer i can view data in values option under each dimension.please help me in th

  • Excessive system CPU time on Solaris 10 host with multiple zones

    We current have three T2000s running Solaris 10 with all of the latest patches installed. Each machine is identically configured with a single, 1.2GHz 8-core CPU & 32GB RAM. Two of the three are in our production environment and have three zones serv

  • The latest version of Firefox has totally stuffed my computer. Nothing now works properly and all my settings for web pages have totally disappeared.

    Latest version of Firefox has totally stuffed my computer. Nothing works properly and all settings for web pages have disappeared.

  • Edit in Photoshop Dialog

    All of a sudden I stopped getting the dialog box asking me how I wanted to edit a Lightroom file (edit copy, edit copy with LR edits, edit orginal) and it goes directly to Photoshop and after I make corrections it won't save back into LR as an edited

  • Change condition price

    When I create item in sales order, then it will determine the price using pricing procedure, I would like to know, can I write somethings in userexit, when the item create, the price will be hardcode somethings intead of use priceing procedure. For e