Selection variable for next month in RFPERIOD_OPEN in closing cockpit

Hi,
we would like to use RFPERIOD_OPEN in the closing cockpit in order to open the next period on D-10 automatically. I would like to use the selection variables of the closing cockpit in the program variant in order to avoid unnecessary variant maintenance every month.
Unfortunately I cannot find a variable for the next month. There is only SAP_FAST_CLOSE_PERIOD_P. Do you know if it is possible to base a calculation logic to derive the next period from SAP_FAST_CLOSE_PERIOD_P.
Thanks!
Kind regards,
Mariya

Thanks! I checked it, but the appearance of months and order is okay in T247.
Any other ideas?
I thought I read somewhere that this is a bug but can´t remember where I found that bug hint.

Similar Messages

  • In flex charts the label for next month get dropped

    I found for DatatTimeAxis if you set disabledRanges to the last date of the month the label for next month gets dropped using property labelUnits='months". Any ideas? Below is the code:
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the DateTimeAxis class. -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   [Bindable]
                   public var stockDataAC:ArrayCollection=new ArrayCollection([{date: "2005, 6, 1",
                             close: 30}, {date: "2005, 7, 31", close: 25}, {date: "2005, 8, 3",
                             close: 40}, {date: "2005, 9, 4", close: 30}, {date: "2005, 10, 5",
                             close: 50}, {date: "2005, 11, 6", close: 43}]);
                   private var d:Date=new Date("7/31/2005");
                   [Bindable]
                   private var offDays:Array=[d];
                   public function myParseFunction(s:String):Date
                        // Get an array of Strings from the comma-separated String passed in.
                        var a:Array=s.split(",");
                        // Create the new Date object. Subtract one from
                        // the month property because months are zero-based in
                        // the Date constructor.
                        var newDate:Date=new Date(a[0], a[1] - 1, a[2]);
                        return newDate;
              ]]>
         </mx:Script>
         <mx:Panel title="DateTimeAxis Example"
                     height="100%"
                     width="100%">
              <mx:LineChart id="mychart"
                               height="100%"
                               width="100%"
                               paddingRight="5"
                               paddingLeft="5"
                               showDataTips="true"
                               dataProvider="{stockDataAC}">
                   <mx:horizontalAxis>
                        <mx:DateTimeAxis dataUnits="days"
                                             parseFunction="myParseFunction"
                                             disabledRanges="{offDays}"
                                             labelUnits="months"/>
                   </mx:horizontalAxis>
                   <mx:verticalAxis>
                        <mx:LinearAxis baseAtZero="false"/>
                   </mx:verticalAxis>
                   <mx:series>
                        <mx:LineSeries yField="close"
                                          xField="date"
                                          displayName="AAPL"/>
                   </mx:series>
              </mx:LineChart>
         </mx:Panel>
    </mx:Application>

    I found your posted code to be messed up. I fixed it and could not see your problem.
    Here is the fixed code.
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the DateTimeAxis class. -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   [Bindable]
                   public var stockDataAC:ArrayCollection=new ArrayCollection([
                     {date: "2005, 6, 1", close: 30},
                     {date: "2005, 7, 31", close: 25},
                     {date: "2005, 8, 3", close: 40},
                     {date: "2005, 9, 4", close: 30},
                     {date: "2005, 10, 5", close: 50},
                     {date: "2005, 11, 6", close: 43}]);
                   private var d:Date=new Date(2005,8,31);
                   [Bindable]
                   private var offDays:Array=[d];
                   public function myParseFunction(s:String):Date
                        // Get an array of Strings from the comma-separated String passed in.
                        var a:Array=s.split(",");
                        // Create the new Date object. Subtract one from
                        // the month property because months are zero-based in
                        // the Date constructor.
                        var newDate:Date=new Date(a[0], a[1] - 1, a[2]);
                        return newDate;
              ]]>
         </mx:Script>
         <mx:Panel title="DateTimeAxis Example"
                     height="100%"
                     width="100%">
              <mx:LineChart id="mychart"
                               height="100%"
                               width="100%"
                               paddingRight="5"
                               paddingLeft="5"
                               showDataTips="true"
                               dataProvider="{stockDataAC}">
                   <mx:horizontalAxis>
                        <mx:DateTimeAxis dataUnits="days"
                                             parseFunction="myParseFunction"
                                             disabledRanges="{offDays}"
                                             labelUnits="months"/>
                   </mx:horizontalAxis>
                   <mx:verticalAxis>
                        <mx:LinearAxis baseAtZero="false"/>
                   </mx:verticalAxis>
                   <mx:series>
                        <mx:LineSeries yField="close"
                                          xField="date"
                                          displayName="AAPL"/>
                   </mx:series>
              </mx:LineChart>
         </mx:Panel>
    </mx:Application>
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Variable for calender month in BEX Query

    Hi all ,
    I am new to BI .
    Can any one please guide on how to create a month year variable that I can get calculated from a date..
    For Example
    if billing date is 01.02.2009 then my variable should have 02.2009 in Query   .
    Regards,
    Shashank

    Hi Shashank,
        You can achieve this by creating a customer exit variable for calendar month.
    Function module :
    READ TABLE i_t_var_range WITH KEY vnam = 'Date variable name ' INTO loc_var_range.
       IF sy-subrc = 0.
        year = loc_var_range-low(4).
        month = loc_var_range-low+4(2).
         CLEAR l_s_range.
         l_s_range-sign = 'I'.
         l_s_range-opt  = 'EQ'.
         CONCATENATE year month INTO l_s_range-low.
         APPEND l_s_range TO e_t_range.
       ENDIF.
    Hope this will help you. Let me know if you have any questions.
    Regards
    Suvarna

  • How to get back money paid for next month subscrit...

    Inspite of cancelling automatic subscription,skype has charged subscription for next month.please help to revert it back.

    Hi,
    https://support.skype.com/en/faq/FA1881/How-do-I-c​ancel-my-subscription ?
    https://support.skype.com/en/faq/FA297/How-do-I-re​quest-a-refund ?
    https://support.skype.com/en/faq/FA1170/How-can-I-​contact-Skype-Customer-Service ?
    Hth
    On ne regarde pas l'avenir dans un rétroviseur !
    IMac Intel Core i3 3.2 GHz - RAM 12 GB - OS 10.10.3
    Skype 7.8.391
    Logitech usb headset or Jabra 250 bt

  • How to  Create  a selection variable for Fiscal period/year range

    How to  Create  a selection variable for Fiscal period/year range. The idea is to filter the query results using a fiscal period/year range user input rather than a full fiscal year input.

    Hi Priya,
    Open the query in a query designer -> in the left hand side you would find the fiscal year period under the time dimension -> right click -> create variable -> create the variable.
    The better option would be use any of the SAP provided variable. You would find them under the Fiscal year period in the left hand side in the query designer.
    Bye
    Dinesh

  • How to Create a Selection Variable for restricting the querry output

    Hi Gurus,
    I have created a query in query designer on a Multiprovider and the output of the query is a Formula in a structure which calculates a % value, the client is looking for entering a range of number during the query selection screen and the output should be restricted to the given selection values.
    Can any one tell me how i should create a selection variable that would take the input from the user during the query selection screen and then restrict the output to that value which user specified.
    Is there a need to write any customer exit or is there any alternative way to make the query work as the requirement is.
    I hope this explains my problem but if any questions please let me know so that i can give u specific information.
    Thanks,
    Nisha.

    Hi Nisha,
    Firstly, in order to restrict the query output by a key figure value, you will need to create a condition on that key figure. This is done in the query deisgner. Now when you are creating the condition you can also use user entry variables (formula variables with user entry) to let the users enter the value that they want to see.
    See here for more details:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/content.htm
    Hope this helps...

  • Selection variable for dynamic selection in QE51n

    Hi All,
    I have a scenario were we have a repetitive Manufacturing and we create one insp. lot of origin 13 and keep creating insp. points for days, so my user wants the insp. points to be displayed only for the past 3 days based of the Date Insp. point identifier which is one of dynamic selection criteria under insp. points, I see with other transaction I can do selection variable on dates for dynamic selection fields but I cannot do that in QE51n, I can do the same in QE51 but not in QE51n, can some tell me if there is a OSS or other way to get this working.
    I appreciate your help.
    Thanks,

    Hi Srikant,
    I think you can meet the requirement in QE51N also.
    In the screen for QE51N :Result Recording Work list", Follow this Path,,,,,,,,,
    Edit--->Dynamic Selection.
    The system will pop-up new small window for "Dynamic selection for insp. lot and operation" here I there is one folder is available named "Inspection point " which is having the selection criteria "Inspection point",  double click on it and enter the desired values.
    Regards,
    Shyamal

  • Defining Selection variables for program variant, TVARV table Help - urgent

    Hi All,
    Can anyone tell me, what is the transaction to create new variables in table TVARV to use them in my variant for fiscal year and WIP period fields in selection screen of SAPKKA07 program.I used STVARV and it creates variables in table TVARVC table not in TVARV table and moreover in creating a variant the selection variables are defaulted as variables from TVARVC table as input help but not the variables in TVARV table however I see and understand different from SAP Help. The following is the link
    http://help.sap.com/saphelp_47x200/helpdata/en/25/c966398ae5c13ae10000000a114084/frameset.htm
    for selection variable creation.
    Can anyone help me on this this is very urgent. Your help is highly appreciated
    Thanks in advance
    Kumar

    Thanks Appana,
    I know we can create the variable that way but, that is something hardway to do it. I want to go about it from transaction not meaning to update the table directly and moreover if I update the TVARV table directly as u said I still dont see the variable I created in the list I get on input help for selection variables while creating a program variant.
    I hope u can suggest me better now.
    Thanks
    Kumar

  • In making a monthly budget how do you repeat for next month and update the dates to the next month?

    i want to make my budget speadsheet update the month and date as it goes to the next month automatically, from sheet to sheet.  is there any way to make this happen?

    You could have a cell where you enter the month and year...
    Or you could pull the month and year from the first entry in the date column.  Like Barry I would want more information regarding your  set up before proposing any other, more specific, ideas.

  • Substitution variable for multiple months

    Ideally, i would like to have a calc script with a substitution variable FIX(&Month) which points to specified months. I have tried setting the value for my substitution variable in different ways
    1.
    Variable = Month
    Value = "January""February"
    2.
    Variable = Month
    Value = "January","February"
    However, the script seems to be failing to pick up the second month as it returns no values for February. If i specify the months in the calc script, it works just fine. This suggests to me i'm getting the syntax wrong for the substitution variable.
    Any ideas?

    There is nothing strange it can behave. It will work.
    I am using this in production for years to genarate comma seperated scenario list with out any issues.
    What a substitution variable will do?
    It will store a string as a value for the variable and resolve at the time of calc. if the value is a valid member set it will work.
    I believe issue is not because of that.
    However, the script seems to be failing to pick up the second month as it returns no values for FebruaryIs it throwing any error in syntax check or in executing. Answer is No from the above statement. But you are not seeing the expected results in the calc.
    first check the application log whether the calc is happening for both jan and feb.
    Then why the calc is not as of expected for feb.

  • Dynamic Selection Variable for CO report

    Dear Expert,
    I have created cost center report using report painter. I wanted to setup dynamic selection variant with values Current Fiscal Year and period as current -1. With this variant I wanted to generate background job, but noticed that the report which I created does not provide me option "D"  but only provide me option variable "T"
    I am looking option either I get option "D" or If "D" is not possible then how can I achieve above using variable type "T"?
    Looking for your assistance. Thanks in advance!
    B/R
    Prashant Rane

    Hi,
    'D' type of variable can be assigned only to a field of 'date' format. 'Period' is not that kind of field, its format is numeric of 2 digits.
    Regards,
    Eli

  • Depreciation for Next Month

    Dear SAP Gurus
    My requirement for one country is like this:
    Asset is procurred on March 15th 2007. Depreciation should strat from April 16th 2007. i.e for March no depreciation, April only half month and from May full depreciation.
    Can someone advise. It is very urgent
    Thanks

    Jimmy,
    what is with field <b>XDAILY</b> in tcode AFAMA?
    http://help.sap.com/saphelp_47x200/helpdata/en/4f/71ddd3448011d189f00000e81ddfac/frameset.htm
    Depreciation to the Day
    You can specify that the system performs the depreciation
    calculation to the day. The period control rules in the
    calculation method are thereby deactivated for the entire
    life of the asset.
    rgds.
    Andreas
    pls reward useful answers

  • Variables for prior and next periods in logic

    Hi,
    I'd like to do something that I would have thought should be quite simple, but I just haven't managed to get it right.
    In Category, we use the properties Year and Month. For example:
    Member  Year     Month
    Actual     2014     APR
    SP          2016     DEC
    The issue is that we would like to create SP (Strategic Plan) for 3 years, of which the year in the property, 2016, is the first.
    Creating variables for the month and for the first SP year is simple:
    *SELECT(%CYEAR_SP%,"[YEAR]","CATEGORY","[ID]= 'SP'")
    *SELECT(%CMONTH_SP%,"[MONTH]","CATEGORY","[ID]= 'SP'")
    I'd then like to  dynamically create 3 variables based on properties Year and Month; %SP1%, %SP2% and %SP3%, that I can use in scoping, in *WHEN/*IF, in GET and in *REC. It should be something like:
    %SP1% = %CYEAR_SP%.%CMONTH_SP% (2016.DEC)
    %SP2% = %CYEAR_SP%(+1).%CMONTH_SP% (2017.DEC)
    %SP3% = %CYEAR_SP%(+2).%CMONTH_SP% (2018.DEC)
    However it doesn't seem possible to use mathematical expressions for this, and I haven't managed to use NEXT or PRIOR successfully either.
    Has anybody out there encountered this?
    /Cecilia

    Thanks Roberto! Square brackets for Year in *SELECT was the syntax solution, works like a charm!.
    I developed this further by creating new variables concatenating the year and  month:
    *SELECT(%SP1%,"[ID]","TIME","[ID]='%CYEAR_SP%.%CMONTH_SP%'")
    *SELECT(%SP2%,"[ID]","TIME","[ID]='%CYEAR_SP2%.%CMONTH_SP%'")
    *SELECT(%SP3%,"[ID]","TIME","[ID]='%CYEAR_SP3%.%CMONTH_SP%'")
    /Cecilia

  • Calculating next month for December month

    Hi,
    I am able to get the value for a measures in which one measure calculates value for month selected through prompt and another measure calculates values based on next month.
    So I have restriced measure 1 like this in where condition
    MONTH_V.MONTH_IN_YEAR_NUM=@Prompt('2. Month :','A','Prompt\Month',Mono,Constrained)
    Second measure I have restricted like this
    MONTH_V.MONTH_IN_YEAR_NUM=(to_number(Substr(@Prompt('2. Month :','A','Prompt\Month',Mono,Constrained),1,2))+1)
    This works perfectly alright.
    I have prompt for year also. So when I select December - 08 then the calculation goes wrong, since MONTH_IN_YEAR_NUM=13 and there is no corresponding record for 13.
    So my question here is can I use CASE statement for this.
    MONTH_V.MONTH_IN_YEAR_NUM=
    (CASE WHEN (to_number(Substr(@Prompt('2. Month :','A','Prompt\Month',Mono,Constrained),1,2))<>12 THEN
    (to_number(Substr(@Prompt('2. Month :','A','Prompt\Month',Mono,Constrained),1,2))+1)
    ELSE 1
    AND
    MONTH_V.MONTH_YEAR=
    CASE WHEN (to_number(Substr(@Prompt('2. Month :','A','Prompt\Month',Mono,Constrained),1,2))<>12 THEN
    (@Prompt('3. Year :','N','Prompt\Year', mono ,constrained)
    ELSE
    (to_number(@Prompt('3. Year :','N','Prompt\Year', mono ,constrained)+1)

    Hi,
    Create 2 condition objects with prompt in universe. one for current month and another for next month from current month.
    In report take data from 2 data providers. One for current month and one for next month and apply the corresponding conditions and also take the corresponding measures.
    Hope this will help you.
    Regards,
    Rakesh K

  • User Exit Variable for Infoprovider based on month characterstic in query

    Hi,
    I am financial reporting with reports created on a mulit-provider over a plan & Actual cube.  Along the top of the report is a structure which has amongst other restricitions a column for each month, i.e columns 1 to 12. 
    Currently we are in month 9, so the report should show data from the Actual infoprovider for months 1 to 9, but data from the plan infoproviders for 10 to 12.  My question is how should the variable be coded for the infoprovider which will return a value based on the month characteristic in each columns selection.  I understand how I can look at say the current system date, derive the month and return the plan/actual value for the correct infoprovider based on the current month.  But I need to create a variable which will look at the month value which is in each column selection in the query itself.
    Many thanks,
    Richard

    we recently had this kind of reporting requirement. only difference being week instead of month.
    you need to create 12 variables for actual month columns and 12 for budget.
    now you will write a code to address all the variables. in following format :-
    when var1.         "suppose var1 represents month 1 of actual columns
    1. derive month from date.
    2. if month <= i_vnam+3(1)                         "get the number from var and compare
                  set the  variable value as the month number of that year for e.g
                  concatenate year i_vnam+3(1)      into        l_s_range-low       
        else
                  set the variable value way back in past which will not have any data.
    above logic will cause values in following fashion
    if this month is 3 and year is 2008
    var1 = 200801
    var2 = 200802
    var3 = 200803
    var4 = 199001
    var5 = 199001
    etc.
    In the query all columns will be set with the property = hide if not values are present. so if 199001 is set in the variable then it will be collapsed.
    same way logic for variables in budget column can be written which will set all the month variables which are less than
    current month to 199001 (just in reverse fashion of above mentioned logic.)

Maybe you are looking for

  • Simple problem writing "#N/A" to a .txt file

    Hi, I would like to write the string : #N/A in a text file so that when I open the text file whith Excel, those points don't appear on the plot. Whith the VI I have attached, those #N/A points are considered as 0 on the excel plot. Whereas if I write

  • Need code explanation

    //I have the following code I am trying to understand, mainly how its calling the other classes. Any explanation would be great. Thanks Rick import javax.swing.*; import java.util.*; //I know this is the class after compiled... public class Assignmen

  • How to use R.resource in Java from ANE?

    Hello,everyone,sorry for my poor English.. I want to ask "What is the appropriate way to manage resource in ANE"?? I have exported jar-library,and made ANE then called from Air Mobile. (I check include-resource-option when I export from eclipse.) Whe

  • TS3899 How to verify my mail

    How to use my my account Anad my iCloud not verify

  • Load and save a cluster

    I have a cluster of data that indicates tests failed.  At the beginning of the main VI, I want to check if the file exists, if not create it, and if it does, read it.  This file will be my saved cluster, indicating the tests that have previously fail