Report script command to get all Level 0 members of a given member

Hi,
Is there any Report script command to get all Level 0 members of a given member (Parent)? (very similar to @RELATIVE (mbrName, 0) in Calc Scripts).
<DIMBOTTOM gives all the level 0 members in the dimension.
There is a command called
<LEAVES mbrName
This works only for ASO.
Is there anything similar for BSO?
Appreciate your thoughts.
Thanks,
Ethan.
Edited by: user11397030 on Dec 15, 2009 11:50 AM
Edited by: user11397030 on Dec 15, 2009 11:51 AM

from my blog on report scripts at
http://glennschwartzbergs-essbase-blog.blogspot.com/2008_07_01_archive.html
Third, there is a command to stay away from, its DimBottom. [edited] Like @CURRMBR in calc scripts, DimBottom is one of those commands that is very slow. If you use Query designer to create a report, it uses a better way. It uses the link command. In sample.basic to get all level 0 products it uses
<Link ((<LEV("Product", 0)) AND ( <DESC("Product")))

Similar Messages

  • HOW DO I GET ALL LEVEL 0 MEMBER AND ITS PARENT IN A REPORT SCRIPT

    I want to create a report script that generate a list of all level 0 members and its parent for a particular dimension. I created the following report script that generate a list of level 0 members.
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    //The purpose of this script is to list
    //the Lvl0 descendants of the Account dimension
    { DECIMAL 2
    WIDTH 31 0
    SUPBRACKET
    SUPCOMMA
    SUPHEADING
    NOINDENTGEN
    SUPFEED
    ROWREPEAT }
    <SUPSHARE
    <ROW (Account)
    Lev0,Account
    !

    Hi Kris,
    I want to produce a report like this for all level 0 member
    For example --> database name; parent member; child member
    if it is not possible, can I produce a report for members at various level but with the level idenntifier.
    For example --> Account
    Level 3 100
    Level 2 100-10
    Level 1 100-10-20
    Level 0 100-10-20-1
    Level 0 100-10-20-2
    actual report row --> Level 1 100-10; 100-10-20
    Level 0 100-10-20; 100-10-20-1
    Level 0 100-10-20; 100-10-20-2

  • 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 command equivalent for @relative calculation command

    HI ,
    We have a calculation script which has a fix statement like below :
         FIX( Grade, "w/o LO", "Line Options", AtLaunch, @DESCENDANTS("470.92"), @DESCENDANTS("Price Item"), @RELATIVE("Total Region", 0) )
    We are trying to make a reportscript which gives us the format of the set of database being calculated.
    So we are tranforming the above calc script commands into equivalent report script commands. We are struck with the @Relative command.
    Can somebody tell us what is the equivalent report script command for @Relative calculation script function.
    Regards
    OKU

    There's no direct analogue, but you can use the <LINK command along with <DESCENDANTS and <LEV to get pretty close. See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/rwriter/link.htm
    JExport (if pre 9.3) or DATAEXPORT (if 9.3 or greater) may also be options and will in fact allow @RELATIVE to be used.
    Regards,
    Cameron Lackpour

  • Function to get all Level members in essbase

    Hi All,
    Could any one please tell me what is the function to get all Level Members in Essbase.

    Hi IMD,
    It sounds like you are looking for the @LEVMBRS function. It has two parameters, a dimension and the level number. You should also review the @RELATIVE function.
    For much more in-depth information review the Technical Reference and Database Admin Guides which are part of the 11.1 docs.
    Essbase 11.1 docs - http://download.oracle.com/docs/cd/E12825_01/nav/portal_3.htm
    Database Admin Guide - http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag.pdf
    Technical Reference - http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/frameset.htm?launch.htm
    Chapter 22 in the Database Admin Guide covers use of Formuals
    See the Member Set Functions of the Tech Ref
    http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/frameset.htm?func_memsettype.htm
    Regards,
    -John

  • Report Script - How to get the total on the any number of rows selected

    Hi,<BR>I am using Essase and report script for the reporting purpose. In this i would like to know how to get the sum of all the rows selected. I know we can use the calculate row, but it has to be done with print row to display the newly created row. But i am using alphablox where this print row is not working. Is there any other alternative is there to get the sum of any number of rows, and displaying them??<BR>Please help me.<BR><BR>Regards<BR>R.Prasanna

    Pls check the structure and index.
    EMP_ID NUMBER(9) NOT NULL,
    EMP_CD           NUMBER(3),
    EMP_NO VARCHAR2(250 BYTE) NOT NULL,
    FROM_EFF_DT DATE NOT NULL,
    TO_EFF_DT DATE,
    CREATE INDEX IDX_EMP_NO ON EMP
    (EMP_NO)
    NOLOGGING
    TABLESPACE INDEXES
    PCTFREE 20
    INITRANS 10
    MAXTRANS 255
    STORAGE (
    INITIAL 56K
    NEXT 1784K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    FREELISTS 4
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    NOPARALLEL;

  • Report script execution is getting failed

    Hi ,
    We are facing one strange issue while executing the Essbase report script. I am new to the report script and I am not getting how to resolve the issue.
    When we are changing the year in code from FY13 to FY14 the script is getting failed however the same script is successfully generating the report if we keep year as FY13 in code.
    Could you please let me know where would be the problem , below is the part of the code form Report script.
    {MISSINGTEXT "0"}  // replace #Missing with 0
    <Link ((<LEV("Customer", "Lev0,Customer")) AND ( <IDESC("All Customers")))
    <Link ((<LEV("Product", "Lev0,Product")) AND ( <IDESC("All Products")))
    <Link ((<LEV("Period", "Lev0,Period")) AND ( <IDESC("YearTotal")))
    FY14

    Hi ,
    I am getting below error message.
    "Report Script execution Failed. Please see message panel for details " and in message panel It is not showing any details , just displaying Execute Report script Failed with date and time details.
    I also checked that FY14 do exist in the application and no duplicate FY14 member exist in the outline.
    Could you please suggest where would be the problem.

  • FBL3N  Report  -not able to get all the transaction code details

    Hello,
    when FBL3N report  ran for one the expenses account (time paid off  - project charges account) , only few  line items are displaying  the transaction code like CJ88 and CJ8G.
    can you please tell me why all the line items are not showing the transactions codes and is there any know situation when the T- codes are not displayed.
    What I need to do, to get all the T- codes in the report ?
    I really appreciate your help.
    Regards
    Radha

    I know it is a line item report and I was expecting to see the transaction code details in the report for every line item. But in I'm not able to see all  T- codes for all the line items
    Thanks
    Radha

  • BAPI to get  all levels of all hierarchies of all dimensions of a cube

    Hi Experts,
    Is there are way to get all properties of all levels of all hierarchies of all dimensions of a cube (InfoCube, ODSObject, QueryCube, InfoSet) in one BAPI call?
    Any useful answer will be rewarded with suitable points.
    Thanks,
    Rohan

    Hi
    Check the following Cube related BAPIS
    BAPI_CUBE_ACTIVATE
    BAPI_CUBE_CHANGE
    BAPI_CUBE_CREATE
    BAPI_CUBE_GETDETAIL
    BAPI_CUBE_GETLIST
    BAPI_INFOCUBE_READ_REMOTE_DATA
    BAPI_MDPROVIDER_GET_CUBES
    BAPI_MDPROVIDER_GET_STREAMCUBE
    UMK_BW_BAPI_CUBE_GETDETAIL
    Reward points for useful Answers
    Regards
    Anji

  • Getting all level 0 member in a outline

    what is the best way to get all the level 0 member in a outline
    Please advise

    ok so you're doing a one-off exercise to identify non-level 0 data and you have a lot of members.
    I would still probably just dump it into Excel and then load it to a database to compare against the data.
    What you can do in Excel is turn on 'Navigate without Data' which gets you the list of members without retrieving data (a LOT faster). In Smartview it is under the Data Options tab. (Zoom In Level is under the General tab but you probably knew that)
    An alternative is to use OLAP Underground Outline Extracter and use a method other than Parent Child format.

  • How to get all records of 0041 for a given PERNR

    I have to display Most Recent Hire and Original Hire date.
    So I am using this below code:
      0041 - Date Specifications
        rp_provide_from_last p0041 space pn-begda pn-endda.
        IF pnp-sw-found EQ '1'.
          MOVE: p0041-dat01 TO wa_final-dat01,
                p0041-dat03 TO wa_final-dat03,
                p0041-dat02 TO wa_final-dat02.
    But for few PERNRs we are having wrong data and below is the explanation from my functional guy:
    I figured out the above when I ran the report for all employees and noticed some dates were out of sequence.  The reason for the code change is because Payroll has to input NR in the P0041-DAR** field (used in payroll calculations to allow additional contributions to Savings Plans for employees who are near retirement) and it automatically places this future retirement date in P0041-DAT01.
    So if I see at PA0041 for a given few PERNRS, am having couple of records and the last record is for the retirement calculations and hence am getting wrong dates into my display. I need the first record for this kind.
    Thanks
    Kiran

    Hi,
    here is the piece of code using field symbols for accessing dates from pa0041....
      FIELD SYMBOLS
    FIELD-SYMBOLS:<f_dar01> TYPE ANY,
                            <f_dat01> TYPE ANY,
                             <f>       TYPE ANY.
    form read_pa0041 .
      DATA:    l_date               TYPE dardt,
               l_date_type          TYPE datar.
      CLEAR : v_data  ,
              v_date  ,
              v_days  .
      v_cnt = 1.
      DO 12 TIMES.
        CONCATENATE 'p0041-dar' v_cnt INTO v_data.
        CONDENSE v_data NO-GAPS.
        ASSIGN (v_data) TO <f_dar01>.
        IF <f_dar01> = 'U5'.
          CONCATENATE 'p0041-dat' v_cnt INTO v_data.
          CONDENSE v_data NO-GAPS.
          ASSIGN (v_data) TO <f_dat01>.
          v_date = <f_dat01>.
          EXIT.
        ENDIF.
        v_cnt = v_cnt + c_1.
      ENDDO.
    then you can use the date fetched in v_date  as per your requirement..
      IF NOT v_date IS INITIAL.
    I hope u will get some help
    Thanks & Regards
    Ashu SIngh

  • Cartesian Product - Report script

    Hi All,
    I am trying to export data for a specific scenario and version using report script.
    I am taking level 0 members of a specific dimension and it is throwing error as follows:
    "The Product of member counts across all dimensions in the query exceeds 2^64"
    I think the cartesian product is beyond the limit value.
    Is there any alternative method to export data of level 0 members for that dimension?
    or is there any command to select only few members from that dimension, so that I can make into two scripts and execute to export data.
    Thanks.
    Regards
    Rav

    "or is there any command to select only few members from that dimension,"
    Take a look at the member selection report script commands. If you have a hierarchies in your dimensions than you can use these to "break up"/more narrowly focus your report script

  • Display all levels in Cash Flow Report (FF7A)

    Hi all,
    I am new to FF7A and I would like to get all levels of my different grouping levels to appear on one screen. I can't figure how to do it.
    So far I can see BANKEN and PERSONEN and drilldown in each of them but can't get to see the details of both on one screen. This is required by my client as they want to export the cash flow report with all its details in Excel.
    Any idea?
    Regards,

    Hi ,
    Kindly check your configuration under grouping structure there whether while creating the grouping structure and mentioned grouping type at levle based and mentioned all the account ,then in the FF7A slect that particular groupingh structure then the report can be obtained at all level .

  • Report Script - Bottom Members

    Hello,I am trying to write a script which will only print out all bottom members of a dimension.I could not find any thing to do that.Can some one help me?Thank you!Bob

    You should also check out the LINK command to combine functions. For example using DIMBOT and DESC to return the level 0 members beneth a specific member.- Jay---------------------------Jay NishSenior Business Intelligence ConsultantClarity SystemsEmail: [email protected]: www.claritysystems.com

  • Report Script is Failing while Zooming in 55K+ member dimension

    Hi,
    we have a ASO cube and there is one dimension called PART NUMBER...which is having nearly 56,000 members...we wrote a report script to zoom in all the members under PART NUMBER along with other dimensions..
    the problem we are facing is when we execute the script by removing the line
    &lt;DIMBOTTOM "Part Number"; the report script is executing fine and the final result includes 5200 rows, but when we try to execute the report script with &lt;DIMBOTTOM "Part Number" , its getting failed.
    any idea why its happening? is any limit on the number of records which the report script can pull? or is it related to any memory issues? do we need to change any configuration file settings???
    Any help is much appreciated...
    Thanks,
    Sunil

    Thanks Doug for your valuable input.
    i tried with the options 2 and 3, but no joy :-(
    i am not very good in option 1, so can you pls help me to show how to do that? below is my script.
    //ESS_LOCALE English_UnitedStates.MS1252@Binary
    {SUPPAGEHEADING}
    {SUPCOLHEADING}
    {SUPZEROROWS}
    {SUPEMPTYROWS}
    { NOINDENTGEN }
    { SUPMISSINGROWS }
    {SUPFEED}
    {SUPHEADING}
    {SUPBRACKETS}
    {TABDELIMIT}
    {ROWREPEAT}
    {MISSINGTEXT "0"}
    {DECIMAL 2}
    <SUPSHARE
    <Col (Period,Year,Entity)
    <iDESCENDANTS "YTD"
    <iDESCENDANTS "2007"
    <iDESCENDANTS "L-200112"
    <ROW (Account,"Revenue Segment",Platform,Customer,"Part Number")
    <iDESCENDANTS "Total Revenue" ;
    <iDESCENDANTS "Total Cos";
    <iDESCENDANTS "Qty";
    <DIMBOTTOM "Revenue Segment";
    <DIMBOTTOM "Platform";
    <DIMBOTTOM "Customer";
    <DIMBOTTOM "Part Number";
    //Run
    !

Maybe you are looking for

  • Script Error in SE80 WDA Workbench WDYN Comp Layout

    Hello folks, I'm not sure whether to post this in the Basis Forum or somewhere completely different, but I'll try here first: We've got a strange occurence since today within TA SE80 when opening WebDynpro Components and Navigating into the Layout of

  • LSO Peformance Metrics

    We struggle to identify the best way to 1) Capture Metrics on LSO Usage, 2) LSO Performance, 3) LSO/Course generated errors and 4) Reserve Capacity or expect max capacity. We get very basic questions such as: 1) How many concurrent users are a) booki

  • Plant Connectivity Error failed to create ConnectivityAgentProxy

    Dear experts, I currently installed installed PCo on a XP Machine and after I change the network ID of the PC and the workgroup the agent instance is not able to start properly. I receive the following message: 10.10.2011 22:28:32,.,6,1016,TEST_OPC,E

  • Ethernet Atheros AR8132 / L is gone after .34-update

    The ethernet controller: 07:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0) was just not showing up anywhere after a update to .34 Has been working just fine until this update. Ifconfig was just

  • 4620 printer proxy server

    I have an HP 4620 officejet printer that is hooked up wirelessly but says I need a proxy server address to connect which I don't have. A little help?