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.

Similar Messages

  • Report script - using substitution variable with multiple values

    Hi All,
    Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
    alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
    alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
    I tried both of the above but they are errored out with the below error:
    Error: 1001005 - Unknown Member [Q1:Q4] in Report.
    my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
    Thanks,
    PRaveen

    Hi,
    Please refer following thread,
    range of months in report script?
    Hope it helps.
    Regards

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • 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 setup substitution variable for CurrYr?

    I am trying to setup substitution variable for Curryr. Can anyone provide steps to setup substitution variable?
    Thanks

    Also look Re: Update variables at this recent thread. JohnGoodwin highlights a good way to get this automated using a batch file

  • IS_U billing- for multiple months

    HI
    I've a issue to run billing for more than one month. While doing billing theough EASIBI, system is not allowing to check 2/3 months billing orders and complete billing at a time.
    Currently, i am able to check only one month billing orders once, complete the billing and then go for the next month.
    My Q is, how can i do the billing for multiple months at a time?? do i need to go for any coding changes in ABAP?
    Highly appreciate anybody's solution for this. It's very important for me.
    thanks in advance.
    DGR

    hi,
    your issue if I understand correctly is that you are creating billing orders for several months and now want to bill them all at one go.If I am correct then kindly follow the below steps otherwise revet back again
    1. tran el01 create billing orders for several months.
    2. tran el31 check with your installation number whether the billing orders are created and with status billable.
    3. tran el28 give your installation no. as selection criteria ,you will get a popup subscreen giving u the list of all the billable billing orders.kindly select from the oldest date otherwise it would give errors later.
    4. enter the meter reading for all the billing orders.you will see the entry for the oldest mr date,press shift+f6,to enter dates for the next billing order.
    5. when finished with all entry save and execute tran easibi. giving bill by date as the newest mr date which u entered.
    hopefully it will execute successfully.
    cheers,
    Rakesh..
    PS: if you dont want to go to tran el01 many times to create multiple billing orders try tran EL06

  • Unposting Journals for Multiple Months

    Hello,
    Is there a way to unpost Journals for multiple months? Through Workspace and the client, you are only able to select one month at a time. I have a need to unpost multiple journals for all 12 months ( 3 journals * 12 months = 36). This is a reocurring process on our Forcasting scenarios and I'm looking for the most efficient way to get this done.
    Thanks
    Tony

    I would ask qhy you are posting and unposting journals to a forecast scenario? If you need to have the data from journals, you can do that with rules, and avoid the journals altogether.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                       

  • Web Forms using substitution variables with multiple values

    Hi,
    I am trying to select a substitution variable in a webform (Hyperion Planning 11.1.1.3) with multiple values in EAS, but is not working does somebody knows if this an expected behaviour.
    I allready try ex.
    &Months = "Jan","Feb", "Mar"
    &Months = Jan, Feb, Mar
    &Months = Jan:Mar
    Please let me know something, since as far as I recall in previous versions of Hyperion Planning this was possible.
    Kind Regards

    We experienced the same issue, our requirement was that for the first half of the year the substitution variable was = Oct and for the second part of the year Jan:Dec. We were lucky that for the second scenario we had a Total Year member as well (that at the bottom level is Jan:Dec). So on web form we picked Level0 descendants of the substitution variable. That worked fine but not the range.

  • Using substitution variable with multiple values in Maxl Command

    Hi All,
    Is there any option to use multiple values in 1 substitution variable and use them in a Maxl command.
    alter database $app_name.$db_name clear data in region '{CrossJoin(CrossJoin(CrossJoin({StrTOMbr(&Months)},{XXX, YYY}),{StrTOMbr(&CURYR)}), {ZZZ})}'physical;
    In the above case
    Maxl is not working if I have multiple months in &Months Substitution variable.
    Let me know if there is an alternate option to implement this.
    Thanks
    Sathish

    What is the value of &Months?
    If you put that exact value into the code, does it work?
    Regards,
    Cameron Lackpour

  • Creating a range with Substitution Variables for Report Script

    Is it possible to create a range with substituion varables for use in a report script. For example instead of listing "Jan" "Feb" "Mar" "Apr" in the report script can I use a sub varaible like Jan:Apr that will list them all out?

    while I have not had luck with ranges in report scripts, others have. You could have a substitution variable the is "Jun" "Jul " "Aug" or whatever you want the members to be. and it will replace jusr fine

  • 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.

  • Substitution variable for Web Service URLs

    Hello all,
    I'm building some RESTful web service references into an Apex 4 application.
    I have a requirement to incorporate different web service URLs, depending on the environment (Dev, Test, Live etc.).
    I'd like to design this so that Apex can pick up the URL from a substitution variable, and I'm not able to do this.
    Can anyone help with this, or suggest a workaround?
    Thanks,
    Rhodri

    Hi Jason,
    Thanks for your reply.
    Could you please explain where you used the substitution variable as the URL Endpoint of your REST Web service reference?
    I'm trying to create a Rest Webservice reference (Shared Components > Edit REST Web Reference) and use the substitution variable as the URL in the definition, and &SUBST_VAR. does not seem to work there.
    Thanks,
    Rhodri

  • Bex - Use of Variable for multiple results

    Hello guys, I need to create a query in Bex with this structure:
    Rows:
    - 0FISCPER
    Columns: Restricted Key Figure
    - 0AMOUNT
    - 0PSTN_DATE (filtered by a variable having the last day of each 0FISCPER).
    I don't know how to give logic to the user exit variable to determine the last day of each 0FISCPER in the rows. I've done similar variables with only one possible value as result, but this is a new scenario for me.
    Is this possible to be done?
    thanks in advance,
    Mariano.

    Hi Mariano
    I think that you have tu use the Function Module 'LAST_DAY_IN_PERIOD_GET ' this module will take Fiscal Year, Fiscal Year Variant and Period as input, and it will give the last day/date of that Fiscal year period
    The step by step will this:
    1) create an exit variable with opcion processing by Customer Exit
    2) If you need create also a variable for user input and make reference to variable with customer exit. If this is not the case forget this step.
    3) Goto CMOD TCode in SAP-BW/BI and then give your Project Name and click on Change button.
    4) Click on Components
    5) Double Click on INCLUDE ZXRSRU01.
    6) there you have to write de abap code using the CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
    If you need i can write you in spanish.
    Hope this helps
    Natalia.

  • Ready for Input Variables for Multiple Queries in I_T_VAR_RANGE

    Hi
    I created Web template which contains multiple views/queries. Two views/queries contain Ready for Input Variables. I have custeomer exit code for this Web template. I wrote code by using Ready for input variable which pass to customer exit code. But the variables which contain in two views/queries not appearing in I_T_VAR_RANGE. The two variables belongs to different views and I required those variables. please find below code:
        WHEN 'ZVBCUST'.
          LOOP AT i_t_var_range INTO w_var_range WHERE vnam = 'ZVAR1'. 
            g_soldto = w_var_range-low.
          ENDLOOP.
          LOOP AT i_t_var_range INTO w_var_range WHERE vnam = 'ZVAR2'
            g_zvbsshto = w_var_range-vnam.
            g_shipto = w_var_range-low.
          ENDLOOP.
    The above 'ZVAR1' is ready for input variable which belongs to one Query and below 'ZVAR2' is other ready for input variable which belongs to second query. I required these two at a time when customer exit variable 'ZVBCUST' executes.
    But in I_T_VAR_RANGE only one variable appears when I execute Web Template . Kindly help me in this regard
    Thanks
    luci

    Hi,
    First thing is to how you have defined your variable such as
    Customer exit or
    Replacement path or
    Manual input etc..
    If you want your variable filled through the exit select Customer Exit, then you have to look at the variable options such as Single value or range. According to your definition you have code as you defined such as wa_range-opt = 'BT' or 'EQ'.
    Next..
    In CMOD -> your project -> EXIT_SAPLRRS0_001 -> include 'ZXRSRU01' ->
    ISTEP = 1 -> before the variable pop up will be filled by the exit
    when 'your variable'
    your code
    ISTEP = 2 -> after the variable pop up i.e after running your selections, calculates the values for your variables after selection screen execution.
    when 'your varaible'
    your code
    ISTEP = 3 -> Validation purpose and message handling purpose
    when 'your variable'
    your code

  • Substitution systax for multiple proposals.

    Hi Expets
    I wiah to substitute the corresponding profit center for the plant.
    Please suggest the systax for prerequisite and substitution, in case of having multiple plants.
    Ex:
    Plant   -  Prof center
    1000   - PF1000
    1100   - PF1100
    1200   - PF1200
    Warm regards
    ramSiva

    just use 3 steps in the same rule with different prerequisites with different outcomes

Maybe you are looking for

  • Database Window cant recognize a file in site

    I m using dreamweaver cs4.I have created a site and add a jsp file by right clicking in file browser of site window.After that I opened the jsp file by double clicking on it.Now If I want to add a database from database window it says - create a site

  • Invoice Batch Template

    Hi, Did any one design a RTF Template for Print Batch of Invoices in Account Receivables, I am having very hard time in getting the Output in Correct way..If there are only some records for a Invoice Number then it is working fine, but If the Invoice

  • How do I remove "recognized" test?

    I need to re-OCR some texts that have a mix of oriental and western scripts. Acrobat only allows me to choose one language at a time, and too much is lost in the process. So I want to undo the Acrobat OCR from a PDF. How do I do this?   I found a web

  • Trying to burn a dvd from fce

    i tried the idvd forum but havent got any responses- since this forum has always been such a help i figured i'd try it- does anyone know how to free up disk space for encoding assets on idvd- apparently its a 'multiplexer' problem- or can someone fil

  • Slaes pricing using simulation version

    Hi experts, Is it possible to create sales pricing using simulaton version project ?