Report Script Help Needed

Hi,
I have not written one in years and am having trouble with a fairly simple one (I think). Was wondering if you could take a look. Anyways we have 11 dimensions which may make this impossible due to performance. I basically need a report script to perform a data extract. Data requirements for each dimension would be:
Scenario: Budget
Version: Final
CCCC: Tot_CCCC (Rollup)
SCCC: Tot_SCCC (Rollup)
Charge_Type: Charge_Type_Total (Rollup)
Resource: NU_RESC (Rollup)
SAU_CAU_Facility: Zero level members of "NU_Consolidated"
Account: Zero level members of "TOTCO_FERC"
Activity: Zero level members of "NU_Actv"
Years: Children of "YEARS"
Periods: Jan to Dec only
Report format would suppress the PAGE thus Budget and Final would not appear.
Was also hoping to somehow suppress CCCC, SCCC, Charge_Type and Resource(Not sure if possible).
Thus format would look something like this tab delimited:
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
SAU_CAU_Facility Account Activity Year 100 200 100 100 010 100 200 300 100 100 100 100
Here is what I have so far. I have not been able to get it to return any results even though I have loaded one row of fake data. Does anything jump out at you as to what I'm doing wrong? Appreciate any help you may have as I'm really stuck as it's been years since I have tried this.
//ESS_LOCALE English_UnitedStates.Latin1@Binary
// This report script extracts data from NUMaster
<SUPSHARE
{DECIMAL 4}
{NAMEWIDTH 25}
{SUPCOMMAS}
{SUPBRACKETS}
{SUPPAGEHEADING}
{NOINDENTGEN}
{SUPMISSINGROWS}
{SUPZEROROWS}
{TABDELIMIT}
{SUPFEED}
{ROWREPEAT}
<PAGE ("SCENARIO", "VERSION")
"BUDGET" "FINAL"
<COLUMN ("PERIOD")
"JAN"
"FEB"
"MAR"
"APR"
"MAY"
"JUN"
"JUL"
"AUG"
"SEP"
"OCT"
"NOV"
"DEC"
<ROW ("RESOURCE_LOCATION", "SCCC", "CCCC", "VERSION", "CHARGE_TYPE", "SCENARIO", "SAU_CAU_FACILITY", "ACCOUNT", "ACTIVITY", "YEARS")
<DIMBOTTOM "SAU_CAU_Facility"
<DIMBOTTOM "ACCOUNT"
<DIMBOTTOM "ACTIVITY"
<DIMBOTTOM "YEARS"
"TOT_CCCC"
"TOT_SCCC"
"CHARGE_TYPE_TOTAL"
"NU_RESC"
// Limits the members within the specified dimensions to the correct zero level members of the specified rollup
<LINK (<DESCENDANTS ("NU_CONSOLIDATED") AND <LEV("SAU_CAU_Facility",0))
<LINK (<DESCENDANTS ("TOTCO_FERC") AND <LEV("ACCOUNT",0))
<LINK (<DESCENDANTS ("NU_Actv") AND <LEV("ACTIVITY",0))
Thanks,
SAm

One thing that may help - it looks like you're using both <DIMBOTTOM and <LINK for three of your dimensions.
<DIMBOTTOM "SAU_CAU_Facility"
<DIMBOTTOM "ACCOUNT"
<DIMBOTTOM "ACTIVITY"
You should just need the <LINK and not the <DIMBOTTOM. <DIMBOTTOM's can really kill report script performance.
Whenever I do these, I try to start small, and then open the report script up to more and more members to see what's affecting performance. I'd start with one year, one facility, one activity, one account, etc. Then slowly add in the full member specifications you want.
Hope this helps,
- Jake

Similar Messages

  • Report Script Help Needed - Data Extract

    Hi,
    I have a cube with 11 dims: Account, Period, Resource, Facility, SSSS, CCCC, Activity, Years, Version, Scenario, Charges
    I need a report script that will extract data for a certain year and scenario only. I have not written a report script in a long time and have the following thus far. However it's not extracting data that I know exists. Can anyone help? Thanks is advance. This runs but I just get a blank screen or file....
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    // This report script extracts data from cube
    "FY11"
    {DECIMAL 4}
    {NAMEWIDTH 25}
    {SUPCOMMAS}
    {SUPBRACKETS}
    {SUPPAGEHEADING}
    {NOINDENTGEN}
    {SUPMISSINGROWS}
    {SUPZEROROWS}
    {TABDELIMIT}
    {SUPFEED}
    {ROWREPEAT}
    "JAN"
    "FEB"
    "MAR"
    //"APR"
    //"MAY"
    //"JUN"
    //"JUL"
    //"AUG"
    //"SEP"
    //"OCT"
    //"NOV"
    //"DEC"
    "BUDGET"
    // This is the members of the CCCC dimension to extract
    // This is the members or the ACCOUNT dimension to extract
    !

    Hello -
    You can try/modify the code below and see if this works -
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    { SUPMISSINGROWS }
    { SUPZEROROWS }
    { SUPFEED, SUPBRACKETS, SUPCOMMAS }
    { NOINDENTGEN }
    { DECIMAL 4}
    { NAMEWIDTH 30 }
    { ROWREPEAT }
    { TABDELIMIT }
    {MISSINGTEXT "-" }
    <PAGE ("Scenario", "Resource", "Facility" ,"SSSS", "Activity", "Version", "Charges")
    "Budget"
    "Resource"
    "Facility"
    "SSSS"
    "Activity"
    "Version"
    "Charges"
    <COLUMN ("Year","Period")
    "FY11"
    "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
    <ROW ("Account", "CCCC")
    <LINK (<DESCENDANTS ("ACCOUNT") AND <LEV("ACCOUNT",0))
    <LINK (<DESCENDANTS ("RT9_CCCC") AND <LEV("CCCC",0))
    Here you may want to change teh combination in the Page dimensions for eg -
    I know for Scenario you want Budget
    But for Version should it be "Version" or may be "Working" Or "Final" or any other version dimension member ...?
    Same way modify the dimension memebres for other dimensions.
    Regards
    Edited by: Rosi on Aug 24, 2009 10:01 AM
    Edited by: Rosi on Aug 24, 2009 10:02 AM

  • REPORT CALCULATION HELP NEEDED!!!

    Hello
    I have a report where i need to do some calculation .
    I have 3 columns in my report Businesstype , Business Code & Fact . When i display the report i see the Business Code 1 - Business Code 5 in 5 rows . But sometimes the report contains Business Code 6 along with Business Code 1 - Business Code 5 then Business Code 6 needs to calculate SUM(Business Code 1-6) and display in one row .
    Could anybody please leave me any suggestions .

    Hi there,
    Create a table
    - On the first row create for each group to populate the data for Business Code [1-n] with a second column containing numeric values.
    - On the second row use the sum function using current-group() function for the value that you want to calculate the sum for.
    Hope this helps.
    Let me how you get on.
    cheers...

  • Essbase Report Script Help - Restrict

    Hi folks,
    Problem : We are building a cube to perform tier/stage based allocations.
    I have to generate a report script that displays balances of each cost center(row), for each tier (coloumn).
    but i have to restrict the data strictly to <0 or negetive balances for all coloumns
    I have used
    <RESTRICT (@DataCol(1) < 0 )
    to restrict for coloumn one, but when i tried to repeat this for coloumn 2, the script gives me a syntax error that i cant use restrict more than once. Is there a way around it
    Thank you in advance .

    restrict is limited to a single data column. It would not make sense to restrict on multiple columns. think about the implication if you could. what you might consider is have a total column and restrict on it.

  • Report Script Help

    Hello, I am trying to create 2 reports from one script file where the member name needed for one report is the child of the member name of the 2nd report. (See example below) Dim 1 A B Dim 2 X Y Dim 3 CR Tar How do I limit my query to retrieve a CR report limited to YA and a Tar report limited to XB without dbl counting?

    Thanks for replying. I am not sure if I explained correctly. I want a report where 2 members from one dimension matches 2 members from another dimension where one is a child of the other, without double counting. I was told that MATCH or Link may work, but I am unfamiliar with those terms. I tried the following, but I am getting an error.{LINK (<IChildren(CCR) AND <IChildren(VL))}

  • Reporting agent help needed

    Hi BW Gurus,
    i want to know the physical storage location of the  HTML file , when i schedule a WAD report by using REPORTING AGENT , i can see it in transaction RSRAPS , but i want to know the location where it is stored can any one help me in this .
    Regards,
    Abraham

    Hi
    Usually doc's are stored in the SAP directory on the server SAP is running on.
    It is usually
    USR\SAP\-SID- on a one of the drives (D, F etc).
    To get the technical name of the doc go to the doc in the Report Agent and right click on it, then goto the most right tab and you will find a logical and physical docs (that looks like so EF4DDB8E6B183B4D9797EE842C0EF0CC).
    The physical is the one you need.
    Reg's
    Edan

  • TCL script help needed on Nexus7000 !

    Does anyone know how to create a TCL script on Nexus7000 switch for following scenario ? Need urgent help here.. :-
    Here is what I am trying to do :-
    1. Whenever following log on "show log log" prints out :-
    testnexus7000 %PIXM-2-PIXM_SYSLOG_MESSAGE_TYPE_CRIT:
    2. Print out the output of show system internal pixm errors
    And look for following line :-
    [102] pixm_send_msg_mcast(1208): MTS Send to LC X failed >> where X is 0 based
    and this error can occur multiple times for different LCs too.
    4. Reload line card (s) X and syslog " task done"
    Regards
    Vijaya

    Hi,
    Vijaya I found same post on support cisco forums So people helped someone in same question !!!!!!
    Please read it ....
    https://supportforums.cisco.com/thread/2128886
    Yes plus if u can help me in ......Cisco ASA same security problem than that will be good for me .....I will contact u and will be great help for me if u help
    Hope that link help u .....
    Bye,

  • UCCX Conferencing in third call? Scripting help needed

    All,
    I've got a customer requirement where they want to be able to place a call into the contact centre, give the contact centre the digits to dial and have the contact centre place the call on their behalf.  I've got no trouble with that bit.
    The next requirement is that the call placed is recorded, even if the calls in are not from cisco phones (i.e. mobiles).  We have a redbox recorder that does the recording and in order for it to commence a recording session, it needs to see a setup message through CM to check that it's an extension that is to be recorded.
    For example, I use an IP phone that IS being monitored to make a call.  The Redbox sees the setup and will record the call flow.
    I use an IP phone that is NOT being monitored to make a call.  The Redbox sees the setup and will not record the call.
    In order to get calls recorded from the contact centre, I'm thinking of conferencing in a third phone that Redbox is set to record and have it auto answer on silent, but I can't figure out how to get the three calls conferenced together to keep the call flow recorded.
    Any thoughts on how to achieve this?  Or has anyone else out there used another method?
    All help greatly appreciated!
    LH
    #15331

    There is no mechanism within CCX that allows you to initiate a conference or join two contacts together. Your only options will be to transfer the triggerin
    g contact to another destination with a Call Redirect or Call Consult Transfer.  If you create a second contact and use a Place Call step, you can interact with both contacts in the script but never join them together.

  • Report creation - help needed urgent

    Hi all,
    My client is asking for certain information in terms of Area Budget, Amount spent at any point of time , breakup of expenditures among different activities which should be accessible to the sales team.
    I think i need to create a report for that. But i dont have much idea about the report.
    Please help me in this regard.
    If anyone has any other idea to how to approach this issue, please do let me know.
    Thanks in advance,
    Sourav

    Hi Sourav,
    Initially you should have clarity about the client's requirement. What are all the fields required in that report i.e., the output (shape of the report) required by the client. Then search for the availability of the standard report which is similar to your requirement and if required take the help of the ABAPer to make the report.Use Tcode SARP to look for the standard reports  provided by SAP. SAP has provided around 1600 standard reports.
    Thanks,
    Ravi

  • Serious, Pro level Illustrator Scripting help needed

    I need a pretty robust script and I am willing to pay for it. I am sorry if soliciting like that is a against forum rules, I will find out if my post gets, deleted/locked. I am just serious about this need for a script.
    I am not sure if this is possible in Illustrator, but I really hope so. I need a script that will read the information from the x,y position and width x height in the Transform Palette of any selected object (or objects would be even better), including all the the different reference point values, and then write discrete user selected info; based on a easy to use panel of check marks, radio buttons or whatever, to a text field a set number of pixel offset from the upper left corner of the object bounds.
    I would be happy to explain further if this is the correct place for this type of discussion.
    If this is not the right place, my humblest apologies but perhaps someone could turn me on to a better place?
    Thanks in advance for any help!

    This does not sound like a big task.
    Here is a script I use every day.
    displays the Width and Height below each selected Item or group.
    have a go and let me know if this is kinda what you are thinking.
    from there we can work out how you want everything displayed
    var doc = app.activeDocument;
    var sel = doc.selection;
    var TOmm = 2.83466796875;
    Dim(sel);
    function Dim(objs) {
        for (var i=objs.length-1;i>=0;i--) { // loop through your collection of objects
            var bounds = objs[i].visibleBounds; // Get visibal bounds, which are only visable bounds in some cases...
            var b1 = bounds[0] /TOmm;
            var b2 = bounds[1] /TOmm;
            var b3 = bounds[2] /TOmm;
            var b4 = bounds[3] /TOmm;
            var W = Math.abs(b3-b1).toFixed(1);
            var H = Math.abs(b4-b2).toFixed(1);
            var txt = doc.textFrames.add(); // Create the text frame
            txt.contents = "Size:  "+ H + " x " +W + " mm W";  // Adds contents to frame
            txt.position = [objs[i].left,objs[i].top - objs[i].height - 20]; // Positions the frame
    This example ignores clipping paths and measures everything, including what is clipped.

  • Custom Calculation Script Help Needed

    I need to make a script that Sums a column of fields based on whether or not information found in another column of fields is the same or specific text. Please see below screenshot of what I would like it to do.
    I would like a Sum of all Amounts that have the Code A...

    You can use this script as the custom calculation script of "SumOfA":
    var total = 0;
    for (var i=0; i<=2; i++) {
        if (this.getField("p1TC."+i).value=="Code A")
            total+=Number(this.getField("p1RecIn."+i).value);
    event.value = total;
    You can easily adjust it for the other field as well.

  • Scripting help needed... please

    Help,
    I know this is a fairly basic scripting question, but for some stupid reason I just can't seem to get it.
    I am creating a DVD that has 2 different menus.
    There are only one set of tracks, but 2 different menus. What I want is something that tells the track to return to menu 1 if it played from menu 1 or to go to menu 2 if it played from menu 2
    Help please.
    Thanks

    Hi
    I think this is what you are looking for: * Multiple Menus with GPRM based button jumps * (Thanks Hal!)
    Hope that helps !
      Alberto

  • Scripting Help Needed

    Hi,
    I have a requirement in SAP E-Sourcing as follows to achieve the functionality of hiding/displaying a field based on another field value selection.
    Based on my field value FIELDA, I need to display or hide FIELDB/FIELDC.
    1. FIELDA -- Value List (ValueA, ValueB, ValueC)
    2. FIELDB -- Text Field
    3. FIELDC -- Text Field
    So,my requirement is
    if (FIELDA = "ValueA")
    FIELDB = Hide
    FIELDC = Display
    else
    FIELDB = Display
    FIELDC = Hide
    Kindly direct me how to achieve this functionality using "Script Definition"
    Thanks,
    Prabhu

    Hi Prabhu,
    To achieve your requirement, you cannot write a script, as there is no API for dynamic UI.
    Your requirement is very much possible by Page Customization.
    Create page customization if already not existing for the object where you want to do this.
    In that add the field as below
    Field ID : technical name of the field which needs to be hidden (FieldB)
    Property : Hidden
    Value: Yes
    Dimension on parent : NO
    Dimension Field: Conditional Field (FieldA)
    Dimension Type : Value list Value (in ur case)
    Dimension Value: ValueA
    In this way you have to configure all possible combinations required.
    Hope you get this.
    Thanks,
    Vaibhav Modi

  • SAP script help needed ..... urgent !!!

    Hi friends,
    I`ve assigned the script name and driver program in NACE tcode for ME21N transaction.
    When I print preview from ME21N tcode and keep script debugging active it goes into debugging mode ...Here it shows script name same as what has been assigned in NACE but the contents which are being debugged are different than the actual script contents .. means the code which we can see while debugging the script are not matching with the code of the same named script in SE71.
    Can anybody help me out regarding this issue .. ?
    thanks .

    If your assignment is correct in NACE, and still if you face the problem.
    1. As we know that scripts are language dependents, so please check while debugging in header of the screen ie., beside to layout set name you will find the language.
    2. So, based on the language check your content.
    Thanks

  • OS X Login Script Help Needed

    I think I'm posting this in the correct location.
    Here's what I have. I'm trying to get past the issue with Adobe Reader not working under network accounts. The problem is that when a network user logs in and tries to launch Reader it crashes almost immediately. I've found that if I move the 9.0_ppc directory to the /Users/Shared directory of the local Mac and then create a symbolic link to it in the ~/Library/Application Support/Adobe/Acrobat directory that it works just fine under the network accounts. Problem is there are too many accounts to do this to feasibly.
    So what I'm trying to figure out how to do is create a login script that will apply to all users. This script should automatically delete the /Library/Application Support/Adobe/Acrobat/9.0_ppc directory and replace it with a symbolic link to the /Users/Shared/9.0_ppc directory.
    Seems like this should be a relatively easy task but has proven to be quite challenging.
    My server is running OS X Server 10.5.8 and my workstations are running 10.4.11

    The magic word you need:
    loginhook
    This is a place where you can attach a script as the user logs in. You are still the root user for the duration of the script, but immediately after the script ends you become the logging-in user.
    HT2420- Mac OS X: Creating a login hook
    One "famous" loginhook for moving user caches off the Server and onto the workstation's Hard drive is described in this mailing list item. If you lift it, note that there is a space missing in one line of code, but i think a later reader comments on that.
    Re: Network home folders slow-down (redirecting cache?)

Maybe you are looking for

  • My safari keeps crashing on my macbook?! HELP PLEASE

    Process:         Safari [141] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.1.5 (6534.55.3) Build Info:      WebBrowser-75345503~2 Code Type:       X86-64 (Native) Parent Process:

  • 2 New packages=BibleTime and Sword

    Hi, I just wanted to post a couple of scripts for BibleTime and Sword Heres Sword pkgname=sword pkgver=1.5.7a pkgrel=1 pkgdesc="SWORD libraries for Bible programs" url="http://www.kernel.org" backup=(etc/modules.conf) makedepends=('bash' 'mawk') depe

  • Flex and mobile development for webOS?

    Do the 'Hero' and 'Burrito' products provide the ability to implement Flex code for the webOS platform?  Or is the webOS platform not supported yet?  If Flex isn't ready for the webOS platform now, then I suppose I will need to use JavaScript and HTM

  • What is the need of Ajax?

    hi, I want to know about : what is Ajax and and it needs?

  • To Copy the file content to another file and to delete the orginal file.

    Hi , Can you pls let me know how i need to copy the contents of one file to other, For e.g   P_FL Consits of following records ( Assume that file need to created on application server)   This is standard header ( header record) name  school class adr