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

Similar Messages

  • Create a new "actual day variable" for 0CALDAY

    Hello,
    i want to create a new "actual day variable" for InfoObject 0Calday. The variable should have the same functions like 0DAT.
    How can I create this? Coding for CMOD?
    Thanks and regards,
    Heiko

    Hi,
    As I understand your question properly, You need a dynamic variable which will give the actual date i.e current date.
    create a variable for 0calday with single value processing type customer exit. reay for input deselect.
    in cmod
    When 'vARIABLE FOR CALDAY'.
    CLEAR L_S_RANGE.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    L_S_RANGE-LOW = SY-DATUM.
    APPEND L_S_RANGE TO E_T_RANGE.
    Regards,
    Ranganath.

  • Creating single executible with global variables

    I am trying to create an executible with global variables. I dynamically load the source file but when I run the indicator does not update unless I run both VI's together. Is the executible require different inputs during creation?

    Hello,
    It's not the fact that you are creating an executable that is causing the issue. What you are experiencing is expected behavior. Please see this KnowledgeBase" for some solutions.
    Nicholas C
    National Instruments
    Applications Engineering

  • HOW CAN I CREATE A GROUP WITH MY CONTACTS FOR TEXTING

    HOW CAN I CREATE A GROUP WITH MY CONTACTS FOR TEXTING

    Olga, this is not a default feature in iPhone. You need a 3rd party application. I have created a free one, Easy Group, for group texting and group emailing.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • GR with backflush not for reporting point logic with autom. GR option

    Dear Experts,
    While doing backflashing though MFBF we are getting following error
    "GR with backflush not for reporting point logic with autom. GR option"
    We have maintained 5 production version for this material while calling with first production version we are getting the error.
    Rate routing & BOM maintanied for the FERT material
    Thanks

    Did you check the BackFlash option are actuvated in the following places ?
    1. In the Rate routing, the backflush indicator is set in the component assignment.-CA22
    2. In the material master record, the backflush indicator has the characteristic "Always backflush".-MRP3
    3. In the material master record, the backflush indicator has the characteristic "Work center decides", the indicator being set in the work center.-CR21-Basic Data View .
    4.Goto-MM02-MRP4 View -Select the PV-Goto Details -Check particularly this production version REM Allowed or not
    5.You should use REM-Profile -0004/0003  where RP and Auto GR with RP at last Back Flashing Activated .
    6.Check Rate Routing Operation Control Key -Auto GR  with indicator Confirmation required
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:19 AM

  • 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

  • Unable to execute the substitution variable in calc scripts in essbase 11.1

    Unable to execute the substitution variable in calc scripts in essbase 11.1.3
    FIX(&CURRVERSION,COLA)
    Unit=units*Listprice;
    dataexport "file" "," "E:\NEW.TXT";
    ENDFIX
    Error: 1200471 Error parsing formula for FIX STATEMENT (line 1): expression expected before [)]
    This is error it throws when executing the calculation script
    I wonder whether its a problem with substitution variable i want to know wat went wrong inside the fix statement
    I have created substitution variable use maxl
    Installed the essbase in custom manner and standlone mode nt register with the shared services ,
    Is this problem with the custom installation of essbase
    Regards
    shenna

    If you remove the substitution variable and replace it with the actual value (whatever that is), does the code work? That will tell you if the issue is around the substitution variable or not.
    John -- First you race Glenn, then you race me -- and you always win. :)
    Regards,
    Cameron Lackpour

  • Variable in report script

    Is it possible to create create user defined variables in report script?

    You can't use an Essbase report script to set a substitution variable.
    You can set it in EAS or use MaxL (or Esscmd) to do so.
    See: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_variable.htm
    MaxL/Esscmd can be used to set a substitution variable and run a report script that references the variable.
    Regards,
    Cameron Lackpour

  • Working with TimeZone variables in UCCx script

    Hi Team
    I'm wondering if you guys could help me to find out the best way to work with TZ variables in UCCx script.
    Because of different countries customer has a branches, I need to setup different TimeZones for each country handled by the same centralized UCCx.
    In this post they use Java to work with TZ, however, but I prefer another way to work with TZ variables:
    https://supportforums.cisco.com/discussion/11851751/how-make-uccx-holiday-script-timezone-aware
    My idea is to work with Time Zone variables in the script, so what I did was to create different TZ variables and each one of the them assigned the proper timezone based on the country, so depending of the Trigger involved (DNIS), I can find witch country this call came from and give the right timezone.
    The problem I have is that at the time I want to add or subtract two variables of TZ, I got an error because of the syntax. I've been trying different options, but until now, no luck.
    Would you mind you guys who had been working on this let me know what is the right syntax to add or subtract TimeZone variables un UCCx?
    Thanking you in advance
    Martin

    Hi
    I've been working on TZ's recently... see this post:
    https://supportforums.cisco.com/discussion/12474756/how-check-daylight-saving-within-uccx-script
    My approach in the scripts was that basically I allow the department to set their opening hours in the timezone of their choice.
    They have a management web page served from CCX that accepts start/end times each day, and a timezone. That all gets stored in XML.
    In the script, based on that information I get the current time in whatever timezone is set, and compare that to the XML open/close times.
    Similarly for holidays, I get the current date/time in the holiday TZ and compare the holidays to that.
    Aaron

  • DIAdem create an user variable for Report

    Hi,
    I know that i can display in a DIAdem report some pre-defined DIAdem vairiable (such as CurrDate) using @@Variable@@. 
    I would like to create a DIAdem user variable (from a DIAdem script) to be used in DIAdem report.
    1) I have created a variable in my script
                      Dim myvariable
                      myvariable = "hello"
    2) I have run the scirpt
    3) I have put @@myvariable@@ in a Text
     But a error message appears : Variable is undefined : 'myvariable'
    How could a create a user varaible to be displayed in my report?
    Thank
    Solved!
    Go to Solution.

    Hi malexman,
    The other option is to create a global variable from a normal (non-user-command) VBScript.  There are several ways to do this, but the one we instruct new users to implement is the "GlobalDim" command, like this:
    GlobalDim "UserVariable"
    UserVariable = "hello"
    You will notice that after this short VBScript runs the "UserVariable" changes color to show that it has become a global variable-- at that point you can use it in REPORT (and everywhere else in DIAdem, thus the name "global" variable).
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to create a table with a variable

    Hi everyone!
    I have a procedure which receives a table name as a parameter and need to create a table using that name
    For example:
    PROCEDURE REFRESH_REPORTS (table_name varchar2) IS
    BEGIN
    table_name_REPORT := table_name;
    execute immediate 'create table table_name_REPORT .....
    But I don't get this working. I am just adding this procedure as a part of a package which is used for web/online reports.
    Could someone guide me on how I could create this table?
    I was getting errors like invalid table name and I even tried to use a variable which stores the entire sql statement and concatenated with the table name's variable but still that was not working.
    Thank You so much in advance.
    Nithya
    Edited by: user645399 on Jan 20, 2010 9:42 PM

    user645399 wrote:
    Thank You so much for the valuable feedback.
    My agency requires some reports to be generated at a certain interval, after a certain type of batch load. A few different types of reports will be generated and usually we have scripts which we run to generate the necessary tables and extract the reports from there. We retain the tables for verification purpose as it stores some valuable status of some customers and so on, which we will not be able to generate again easily. The table will have around 50,000 - 100,000 records averagely. Sometimes more.
    I am automating the process now as per client's request.
    So, I thought of using the same script to automate it in the web. For table name we usually changed them manually.
    Now, when the user runs, he or she have to give them table name/ report name.
    I thought of concatinating the sysdate and report name but what if there is a problem and the user runs it for a second time?
    Unless I have a separate part of the coding to take care of this issue.
    Please advice if there is an alternative.
    Thank You Very Much.
    Cheers!
    NithyaSo why is it necessary to create a table just to create a report?
    You really, really need to rethink this entire process from the beginning, not just try to shoehorn in something from a current, astoundingly bad, design.

  • Need to Create a Last 12 Months Variable for Custom Dimension

    Hi everybody
    Once again, I need your good help for an issue I'm facing. In one of our Cube, we have some Date Dimension sthat we've created ourselves (a ZCXXXXX dimension). For one Dimension, Ii need to create a variable that is giving me, automaticaly, the Last 12 Months excluding Current Month (same as the 0CML12LM provided by SAP) without any manual entry done by the user via the Variable Entry Screen.
    I don't want to use offset because I don't want to allow any Manual intervention for my users because it is a report start via RRI.
    Please let me know if you are aware on how to do this!
    Thanks
    Eric L.

    Hi Arun
    My problem is that my report is counting Incident per supplier per Month.  We have a Key Figure that is doing the Total of incident with a Vendor Variable.  So, for a given supplier, if there is no incident for the Incident Month, it won't display in the Result Page.  Also, My report is dynamic so I'can not fix a Structure.  On the other hand, I never used Strucutre, so I'm not really aware on how using this and if it will answer my need.
    If you can give me more details, maybe I'll be able if a Structure is my solution.
    Regards
    Eric L.

  • Pb to setup replicated partition with substitution variables

    Dear all,
    I have the following problem with the replicated partition by using the substitution variables :
    I would like to create a replicated partition using 3 substitution variables: &CurrPeriod, &CurrWeek, &CurrYear. The goal of this is to be able to copy data from application SourceApp to TargetApp every week, by changing the subst variables.
    The script I have created is :
    login useradmin identified by password on EssbServer
    alter application SourceApp load database SourceDb
    alter application TargetApp load database TargetDb
    create or replace replicated partition SourceApp.SourceDb
    Area ' "Account1", &CurrPeriod, &CurrWeek, &CurrYear, "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' SourceArea
    to TargetApp.TargetDb at EssbServer  as useradmin identified by password
    Area ' "Account1",    "M_N",     "S_N",     "FY1" , "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' TargetArea
    +     mapped TargetArea ("&CurrYear") to ("FY1")+
    +     mapped TargetArea ("&CurrWeek") to ("S_N")+
    +     mapped TargetArea ("&CurrPeriod") to ("M_N")+
    +     update allow;+
    refresh replicated partition SourceApp .SourceDb to TargetApp .TargetDb at EssbServer all data ;
    The issue is that this is not working. I don’t see any data when launching the Maxl script even if the script syntax is validated by essbase. The very strange thing is that when I replace the substitution variable by members, this script works fine, I see my data in the target cube. For example if I replace the subst variables by
    Area ' "Account1", “Month1”, “Week1”, “Year1”, "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' SourceArea
    to TargetApp.TargetDb at EssbServer  as useradmin identified by password
    Area ' "Account1",    "M_N",     "S_N",     "FY1" , "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' TargetArea
    +     mapped TargetArea (“Year1”) to ("FY1")+
    +     mapped TargetArea (“Week1”) to ("S_N")+
    +     mapped TargetArea (“Month1”) to ("M_N")+
    So my conclusion is that there is something wrong with the syntax of the substitution variable in my mapping.
    Your help on this would be very appreciated .

    Hi,
    I have the answer from Oracle support :
    Hello,
    This is a known bug.
    BUG 7418041
    This has been documented as a known issue in Essbase Release 9.3.1.3 with the following description: "Partitioning. Using substitution variables in replicated partition mappings incorrectly prevents data from replicating. [7418041]"
    Currently the development team are working on a fix, but we don't have a release date yet.
    The suggested workarounds are to use member names (which you have confirmed work) or use a Transparent partition in place of a replicated partition.

  • 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

  • SQL data Load rule with Substitution variable

    Hi,
    I have a data load rule with MySQL as a data source. I have requirement where user does not want to see Current day data in cube and they keep changing days not to be loaded.
    I have setup the substitution variable SUBv as '2009-11-04' and have scripts to update it daily.
    Data Load rule in where condition contains
    brand = 'HP' and region = 'east' and date <> &SUBv
    Now, above where condition does not work for date <> &SUBv but if I set substitution variable SUBv as "brand = 'HP' and region = 'east' and date <> '2009-11-04' " and set load rule where condition with just &SUBv it would just work fine. I dont know whats wrong in 1st place.
    I dont want to create multiple where condition in substitution variable (Don't we have limit on them?). I have 40+ load rules which might use this SUBv substitution variable if I find a way to define it so that it work as "brand = 'HP' and region = 'east' and date <> &SUBv"
    Thanks,
    Vikram

    I did some research and came to know when using substitution variable in Load rule need to keep substitution variable first in string..
    It worked out magically.

Maybe you are looking for

  • Error while executing Crystal report in client computers

    I got this error message -2147206460 Crystal Reports Activex Designer invalid directory. any idea guys how can i fix this. I tried using Crystal Report viewer in the server and its working perfectly. thanks

  • How do I remove empty space combo box

    My promblem is that I have empty space between selected option and the other option Below are code i used to build this combo box .This combo box display list of possible user of the system and selected option show to the currrent user of the system.

  • How to create CAPEX report?

    Dear experts, What are the steps involved in creating a CAPEX report? Which datasources do we use to extract the data from R/3? Many thanks.

  • How to implement fully interchangeable parts?

    In the scenario we have the next sequence takes place: 1) There is a PO with 10 items of material A 2) In GR material B is entered (also 10 items) instead of A, and material B should be fully interchangeable with A (the relation is like this A<->B )

  • Problem with video capture with Blackmagic Intensity Pro card

    I have just installed a blackmagic Intensity Pro card to download analogue VCR tapes to DVD. I have set all the input parameters to the Blackmagic card in both Premiere and the input routine for the card. I am using the breakout cable for NTSC input