Help to create a Report Script

Hi everyone,
I'm trying to translate this calculation script line
@REMOVE( @CHILDREN("P&L"), @LIST(@UDA ("Accounts", "wo_CC"), @UDA ("Accounts", "wo_C2"), "AX70000", "C71110") )
by this Report script line :
<LINK (<CHILD ("P&L") AND NOT (<UDA ("Accounts", "wo_C2") OR <UDA ("Accounts", "wo_CC") OR <MEMBER("AX70000") OR <MEMBER("C71110")))
but it doesn't work ==> Report extract account with wo_C2 or wo_CC
What's wrong with my code ?
Thank you for your help.
Regards,
Yohan
Edited by: 780941 on Dec 14, 2011 1:01 PM

You could do a simple powershell script to query the network path and send an email on failures.
$test = Test-Path "\\server\folder"
If (!($test -eq $true)
{Send-MailMessage -To [email protected] -From [email protected] -Subject "Drive Test Failed" -Body "The test has failed" -SMTPServer yourserver.domain.com }
Create this as a scheduled task on the server that needs to query.
- Chris Ream -
**Remember, if you find a post that is helpful, or is the answer, please mark it appropriately.**

Similar Messages

  • Need Help in creating Unix Shell Script for database

    Would be appreciable if some one can help in creating unix shell script for the Oracle DB 10,11g.
    Here is the condition which i want to implement.
    1. Create shell script to create the database with 10GB TB SPACE and 3 groups of redo log file(Each 300MB).
    2. Increase size of redolog file.
    3. Load sample schema.
    4. dump the schema.
    5. Create empty db (Script should check if db already exists and drop it in this case).
    6. Create backup using rman.
    7. restore backup which you have backed up.

    This isn't much of a "code-sharing" site but a "knowledge-sharing" site.  Code posted me may be from a questioner who has a problem / issue / error with his code.   But we don't generally see people writing entire scripts as responses to such questions as yours.  There may be other sites where you can get coding done "for free".
    What you could do is to write some of the code and test it and, if and when it fails / errors, post it for members to make suggestions.
    But the expectation here is for you to write your own code.
    Hemant K Chitale

  • Can anyone help me create a relink script to simply open up the relink dialogue box?

    Can anyone help me create a relink script to simply open up the relink dialogue box?

    the "Relink" command uses the same dialog as the "Place" command, with the exception of having the "Replace" option checked...so, use Ctrl+Shift+P to bring up the Place dialog, select your new image then check the "Replace" check box.
    if checking "Replace" with the mouse slows you down, after selecting your image, press "tab" key 3 times to switch focus to it, then press space bar to check it, then ok to place.

  • Need help on creating a report after defining some criteria

    Hi everybody,
    I have been through some of the ebooks and got the idea of apex.
    To give an example what I would like to do is that I want to open two date picker fields and creating the report between the dates which were defined in the date pickers
    Those date picker field could be on the same page of report or they could be on another page. Once create button is pressed then the report between the defined dates should appear
    Any thoughts?
    Thanks from now

    Okay, two date pickers are date to and date from, logically date to must be equal or after date from, right?
    i defined a validation as pl/sql expressin saying that date to >= date from to the expression field
    there is no problem when I put a former date on date from and a latter date to date to.
    the problem occurs when I put same dates on the date pickers. An interesting point here is that when I put the same dates and click the submit button it gives an error BUT when I push again it works!
    it gives me the rows from the table of the date picker date. is there a problem about the caching and how can I solve it.
    Or, as you recommend you can show me an example on your workspace, that would be helpful as well

  • Need help in creating custom reports

    hello,
    I am using EM 10.2.0.2 on windows 32-bit.
    All EM components are installed on a single machine.
    Have installed AGENT 10.1.0.5 for managing targets which are on LINUX 2.1
    Please help me in getting the solution for the following queries:
    (a)I need to create a custom report regarding the CAPACITY MANAGEMENT .
    (b)I have some UDM defined but I am not able to use these UDM while creating custom report.
    (c)Also is there any possibility that we can use views other than REPOSITORY VIEWS. What I meant was : instead of using REPOSITORY VIEWS can we use the tables of the target instances.
    Thanks in advance.

    Same post
    Need help on repository views for creating custom capacity planning reports

  • Need Help in creating BPC Report

    Hi,
    I want to develop a BPC report as shown below .
    .........................2010.TOTAL... 2011.TOTAL......2011.Q1..... 2011.Q2......2011.Q3.......2011.Q4
    ............................ ACTUAL  ........PLAN..............PLAN....... .PLAN..........PLAN............PLAN
              REVENUE
                COGS
    (.......) have been used for only formatting the report in above format.           
    I am not very much trained in BPC . I have loaded the actual data for 2010 with the proper hierarchy and i am able to see it on the report but i am facing difficulty in below two things.
    1] I am not able to create a report where i can see the Actual of 2010 and i can enter the forecast for 2011.
    2] My 2010.TOTAL is not getting rolled up , I have used proper hierarchy in Time dimension and i have selected YTD as measure.
    Please help.

    Hi,
    I stumbled across SAP note 1506275 today which dieals with the issue, but unfortunately is not helpful at all. What SAP are saying is: replace the pipe with a comma. Well, this quite obviously gives a different result than the one you were aiming at with the pipe in the first place, but that's the official answer.
    Now, I'm wondering, has anyone successfully used the pipe, and in which service pack of BPC? MS or NW? I'm on 7.5 NW SP7 and the pipe casuses the error message mentioned in this post.
    Cheers
    Matthias

  • Help for creating a report in portal.

    Hi,
    I am trying to create a report in the portal for many users, but
    I only want the login user to see his owned data in the
    database. There is an attribute called user_ID in the table. May
    I use 'PORTAL30.wwctx_api.get_user' function to get the user_ID
    and pass it to the report to show (only) his data? If it is
    possible, how to do it? Appreciate for any suggestion!
    Dong

    Hi ,
    You can create a report and add it as a portlet and in the
    report You write yr query as ...select ..... from yr_table where
    user_name ='PORTAL30.wwctx_api.get_user' be sure to change
    PORTAL30 TO appropriate name of yours..get_user gives you the
    name of the logged in user ...You can also get his id
    similarly ..You can also have a look at the API
    http://www.orafaq.com/faqscrpt.htm/#GENPLSQL for more details..
    Vishnu

  • Need help to create CTC report in HR ABAP

    Hi guys,
    I am new to HR abap, and i need to create annal CTC report. Do you guys have ever work on such requirement plz post me some sample programs.
    Thanks in Advance...

    <h5>Dear Ramkhee,</h5>
    Well I have been working as ABAP-HR since long but no such requirement has came yet but still would like to much more detail what kind of thing you will need in that report.
    But you would need to know bit of ABAP-HR report programming specifically using LDB with Report & Fetching data from the LDB with GET event.
    Anyways for your ready reference:
    1.[ This is the basic Report that help you understand how to write ABAP HR Report|http://gauravpatwari.files.wordpress.com/2009/09/report-ymhcrobjonloan.pdf].
    2. Use this function module: RP_FILL_WAGE_TYPE_TABLE for fetching the wage types with amount from the IT0008.
    eg:-
    DATA: T_PPBWLA LIKE PBWLA OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE'
          EXPORTING
                 BEGDA = sy-datum -
                 ENDDA = sy-datum
                 INFTY = '0008'
                 PERNR = pernr
          TABLES
                 PPBWLA = T_PPBWLA.
    Here begda and endda you can put as per your logic.
    Accordingly you can program.
    <h5>Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com] </h5>
    Edited by: GauravPa on Mar 29, 2010 2:26 PM
    Edited by: GauravPa on Mar 29, 2010 2:29 PM

  • Pivot table problem. Please help me create this report

    Hi friends..I'm new to OBIEE. We can create the grand total column in pivot table. I need grand total as well as Grand average. How can I create a new column in pivot table that is same as grand total but calculates average.
    My table structure is like this.
    Facility......Date........totaldays
    A..........01/01/08......210
    B..........01/01/08......215
    C..........01/01/08......917
    A..........02/01/08......211
    B..........02/01/08......211
    C..........02/01/08......911
    A..........03/01/08......210
    B..........03/01/08......215
    C..........03/01/08......917
    I need the report like this..
    Facility.....01/01/08......02/01/08....03/01/08...Total....AVG
    A...............210.............211............210.....631......210.3
    B...............215.............211............215.....641.....213.6
    C...............917.............911............917.....2745....915
    For this report..I created pivot table but I'm not able to calculate the average..
    Can you please help..I'm new to OBIEE...
    Thanks in advance

    Please change your username....
    Here is what you need to do...
    1) In the Pivot Table View, click on the Measures column and select New Calculated Item.
    2) In the pop-up window complete as follows:
    Name: type "Total Average"
    Function: Select "Average" from the drop-down window.
    Click on the values in the right pane that you wish OBI to calculate the average for.
    3) Click "OK."
    You now have another column that is the average of the values in each row.

  • Issue with the supshare Report Script Command

    Hi All,
    I have created a report script to extract the Level0 data for the members of the accounts dimension and It does work fine and the performance is also good. However I have a challenge here. The shared members are repeating and therefore I used “<supshare” command in order to avoid the repetition. It does work, however there is an issue here.
    For eg, I am trying to retrieve the data as below and they are level0 members. The NetExpense is a “Level0” member and also a “shared member”, However the original “Net Expense” comes under Level3 and since I have used <Supshare and asked to retrieve only Lev0 accounts it is therefore ignoring the “Net Expenses” for all the Dept and product intersections. Hope I am clear and not confused? Is there anything i could change or add to retrieve the correct data.
    Would anyone be able to help me on this issue.
    <supshare “Lev0 Accounts”
    Data Retrieval Ex : DeptA  NetExpense No Product  1200
    Thanks

    Thanks Glen. I tried the below link statement. This is an example. My accounts dimension has 8 childern (A to H) out of which 4 are level 0 members ("B"to "E") and the remaining have so many members underneath. The member"H" is where my confusion starts, it has 4 children (Ex 1,2,3,4) and all are shared members. Here i need not worry about children 2 and 3 since they have no data. Children 4 is a level 0 and a shared member, however the Children 4 main location is also located at Level 0. Therefore when i use supshare this appears only once. one problem is solved.
    Now coming to Children 1, this is a Level 0 for parent "H", however this is also a child of "A" and this by itself has levels underneath. So this Sup share is not allowing me to retrieve the data Child 1 though it is level 0 and since it is shared member.
    This case how do i modify the report in such a way i get all level 0 data of my accounts and suppress shared members. Hope i have not condused...
    <ROW (Accounts)
    {ROWREPEAT}
    <LINK(<DESCENDANT ("A", "Lev0,Accounts"))
    "B", "C", "D", "E"
    <LINK(<DESCENDANT ("F", "Lev0,Accounts"))
    <LINK(<DESCENDANT ("G", "Lev0,Accounts"))
    <LINK(<DESCENDANT ("H", "Lev0,Accounts"))

  • Report script - including info which is not in Essbase

    <p>Hi all of you experts.</p><p> </p><p>Here is a challenge for me. Is it also a challenge for you...oris this just piece of cake??</p><p> </p><p>I need to produce a report script against Essbase, where some ofthe data does not exist in Essbase. I am aware that it may be thebest solution to extract from Essbase what is available, and addthe rest using a different tool. However, I have been tasked withtrying to create a report script tha can support the requirementsdepicted in the following table. The output needs to be in columnformat to be loaded into DB2. The output need to be a semicolonseparated text file.</p><p> </p><p>Questions:</p><p>1) How do I add a column with hardcoded text or no data (Ifpossible)</p><p>2) How do I add a column with an automatic incrementing no(probably need to hardcode)</p><p>3) How do I create at semicolon separated text file as output(if not jus hardcoding semicolon columns)</p><p>4) How do I read system data and time for timestamps</p><p>5) How do I force a specific date time format (as differentformats are required in different columns)</p><p>6) How do I force the decimal point to be (.) rather than (,)even though the Danish settings normally use (,)</p><p> </p><p>Is this at all a sensible thing to attempt to do, and is it atall possible?</p><p> </p><p><b>Dimension</b>                              <b>  Example</b>                        <b>Comments</b></p><p>Scenario                                    Actual                           Essbase Data</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Year                                  2006                      EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Periode                             1,2,3&hellip;12                EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">BUcode                             NYB                        Hardcodedtext</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Repno                               1,2,3,4,6&hellip;              Incrementalnumber</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Category                           abc                        EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Locationno                         1234                      EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Fondskode                        <span style=" font-family: MPlantin;">                                       </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Purpose                            <span style=" font-family: MPlantin;">                                       </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">BusinessArea                    <span style=" font-family: MPlantin;">                                        A</span>lwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Curreny code(local)          DKK                       Hardcodedtext (DKK)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Saldo in localcurr.             99999.99                Decimalpoint (.) not (,)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Delta (Localcurr)              0                            AlwaysZero</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Currencycode(forrign)       <span style=" font-family: MPlantin;">                                        </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Saldo in forrigncurr.          <spanstyle=" font-family: MPlantin;">                                        </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Delta in forrign curr.          <span style= " font-family: MPlantin;">                                       </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">ConcernAccType                <span style=" font-family: MPlantin;">                                      </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Month Ultimodate            2006.08.31              Hard coded &rdquo;Ultimo date&rdquo; for month (yyyy.mm.dd)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Report executiondate      2006.09.26              Date when report is run (yyyy-mm-dd)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Report Executiontime       2006.09.2612:05      Time when report is run(yyyy-mm-dd HH:MM)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Dummy                            <span style=" font-family: MPlantin;">;                                        Semicolon</span>as record separator</p><p> </p><p>Hope you guys can help me</p><p> </p><table><tr><td valign="top" width="192" style=" padding-left: 3.5pt; width: 144.0pt; padding-right: 3.5pt; padding-top: 0cm; padding-bottom: 0cm; height: 12.0pt;"><p style=" line-height: normal;" class="msonormal"> </p></td></tr></table><p> </p>

    Look under downloads, code samples, custom designed functions on this site or follow this link to <a target=_blank class=ftalternatingbarlinklarge href="http://dev.hyperion.com/download/code_library/custom_defined_functions_samples.cfm">Custom designed functions</a><BR><BR>It's worth checking out. The extract runs as a custom calc script.

  • Report Script issue

    Hi,
    Is it possible to create a Report Script that would export Period data (jan, feb, ... dec) condition being that the start period is a subvar. Eg. from &FcstMonth to Dec, where &FcstMonth is Aug.
    Regards
    Leo

    Hi Leo,
    I have a report script that is running with &FMonths set to "Aug" "Sep" "Oct" "Nov" "Dec"
    same should work on your side,
    Regards,
    Ahmet

  • Creating big reports in bi publisher

    hi,
    I am new to bipublisher and need help regarding creating big reports in bipublisher. reports with like 1 lakh and above rows. I am connect to target database using jdbc connection and from there I am query's the target table on another database using dblink. The table over dblink has more than 1 lakh rows.
    when i run the query in sqlplus prompt, I get the records almost within a second, it starts scrolling over my screen. However when I run it from bi-publisher, it shows processing for much time and then displays error as " error retriving data xml"
    Please help.

    Look at this recommendations if you are in BIP11g
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/technq_large.htm#BGBEAFFH
    The one below applies to BIP11g and BIP10g.
    Set to TRUE: Enable scalable feature of XSLT processor
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/set_report_props.htm#foprop
    This will help you run the report regardless the number of rows being returned.
    Though be warned it will consume most of your server resources.
    Thanks
    Jorge Anicama
    p.s. If this answers your questions then please mark the answer as "Correct" or "Helpful"

  • Create a report based on sample data!

    Hello all,
    I would like to get some helps for creating a report based on the following table data in the database:
    Class     |        Name                   |         Student
    =======================================
    1            |        Algebra               |             60
    1            |        Extra Algebra      |             20
    2            |        Calculus              |             80
    2            |        Extra Calculus     |             10
    3            |        Geometry            |             90
    What I expect to have the layout of report should be look like as below:
                               School Register Report
    ClassGroup     |         Name          |    Ontime register   |    Late register   
    =========================================================
    1                      |        Algebra        |             60              |           20            
    2                      |       Calculus        |             80              |           10           
    3                      |       Geometry      |             90              |                           
    Please tell it is possible to do it in Crystal Report? Please help with solution. Thanks in advance.

    Assumimg second type always starts with Extra then, create formula
    @Name
    If like 'Extra*' then mid(, 7,20) else
    Group on this formula
    @LateReg
    If like 'Extra*' then else 0
    @OnTimeReg
    If not( like 'Extra*') then else 0
    Add Maximum smmaries of these formula to @Name Group footer, suppress details and group header
    Ian

  • Report script hanging

    Hi Gurus,
    The issue is I created two report scripts one using Query designer and the other manually.
    I'm creating a report script to export current period data against ASO.
    I know the optimization basics against BSO.
    Placing last dim fisrt and all!!
    coming to the ASO......
    my Report script is hanging at the time of validation itself!!!
    it is showing when there are some errors in the report script.
    I don't see any thing but EAS hanging when i thought that they were no errors.
    the idea is to export the level0 data and relaod with #mi values to load new set of data for the current period.
    What are the steps to follow to optimize it in ASO.
    I know we need to increase agg chache, retrieval buffer, sort retrieval..!!
    what next!!
    I know we can also use slices to get rid of previous data (deleting old slice) and creating new one.
    but currently we are implementing this way!!
    suggestions please....
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 15, 2011 10:59 AM

    Hi Robb,
    I'm in ASO!! so calculations are not possible.
    here is one more question!!! may be I need to post it seperately. (but I don't want my questions unanswered :) )!!
    I tried to do level 0 export from ASO and it failed telling that the member combinations exceeded 2^64 (this is part of our cube!! want it in column format).
    As per my knowledge, the option I have are.
    1. chop the report script in to smaller report scripts and run it (may be I need to chop like 100 to 1000 times not sure!!)
    2. will MDX query effectively handles the situation (worth trying it)??
    3. is the CDF export meant for ASO?
    4. StarAnalytics (is this the better option) ??
    Pls suggest!!
    I will now start writing MDX!!....will all let you know!!
    BTW the hanging is because ...I forgot to use logical operator after LINK function... after fixing that the report got validated.
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 17, 2011 11:20 PM
    Edited by: Jithendra on Mar 18, 2011 11:16 AM

Maybe you are looking for