Hierarchical treeview structure in Reports

Hi,
I am working with an MNC, can anybody help me out by valuable guidelines in doing an hierarchical treeview structure in Reports.
Your early response would b helpful to me.
Bye
Pavan

HI
see this site you wil find lots of examples
http://www.sapdev.co.uk/reporting/alv/alvtree.htm
The ALV tree report produces uses OBJECT METHOD functionality in-order to produce a
tree structured ALV output.
The creation of an ALVtree report first requires the creation of a simple program to build the ALV
details such as the fieldcatalog and to call a screen which will be used to display the ALVTree.
The screen should be created with a 'custom control' where you wish the ALVtree report to appear.
For the following example it will have the name 'SCREEN_CONTAINER'.
<b>Creation of Main Program code, Data declaration and screen call</b>
*& Report  ZDEMO_ALVTREE                                               *
*& Example of a simple ALV Grid Report                                 *
*& The basic requirement for this demo is to display a number of       *
*& fields from the EKPO and EKKO table in a tree structure.            *
                         Amendment History                           *
REPORT  zdemo_alvgrid                 .
*Data Declaration
TABLES:     ekko.
TYPE-POOLS: slis.                                 "ALV Declarations
TYPES: BEGIN OF t_ekko,
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
  statu TYPE ekpo-statu,
  aedat TYPE ekpo-aedat,
  matnr TYPE ekpo-matnr,
  menge TYPE ekpo-menge,
  meins TYPE ekpo-meins,
  netpr TYPE ekpo-netpr,
  peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko     TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
      it_ekpo     TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
      it_emptytab TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
      wa_ekko     TYPE t_ekko,
      wa_ekpo     TYPE t_ekko.
DATA: ok_code like sy-ucomm,           "OK-Code
      save_ok like sy-ucomm.
*ALV data declarations
DATA: fieldcatalog  TYPE lvc_t_fcat WITH HEADER LINE.
DATA: gd_fieldcat   TYPE lvc_t_fcat,
      gd_tab_group  TYPE slis_t_sp_group_alv,
      gd_layout     TYPE slis_layout_alv.
*ALVtree data declarations
CLASS cl_gui_column_tree DEFINITION LOAD.
CLASS cl_gui_cfw DEFINITION LOAD.
DATA: gd_tree             TYPE REF TO cl_gui_alv_tree,
      gd_hierarchy_header TYPE treev_hhdr,
      gd_report_title     TYPE slis_t_listheader,
      gd_logo             TYPE sdydo_value,
      gd_variant          TYPE disvariant.
*Create container for alv-tree
DATA: l_tree_container_name(30) TYPE c,
      l_custom_container        TYPE REF TO cl_gui_custom_container.
*Includes
*INCLUDE ZDEMO_ALVTREEO01. "Screen PBO Modules
*INCLUDE ZDEMO_ALVTREEI01. "Screen PAI Modules
*INCLUDE ZDEMO_ALVTREEF01. "ABAP Subroutines(FORMS)
*Start-of-selection.
START-OF-SELECTION.
ALVtree setup data
    PERFORM data_retrieval.
    PERFORM build_fieldcatalog.
    PERFORM build_layout.
    PERFORM build_hierarchy_header CHANGING gd_hierarchy_header.
    PERFORM build_report_title USING gd_report_title gd_logo.
    PERFORM build_variant.
Display ALVtree report
  call screen 100.
*&      Form  DATA_RETRIEVAL
      Retrieve data into Internal tables
FORM data_retrieval.
  SELECT ebeln
   UP TO 10 ROWS
    FROM ekko
    INTO corresponding fields of TABLE it_ekko.
  loop at it_ekko into wa_ekko.
    SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
      FROM ekpo
      appending TABLE it_ekpo
     where ebeln eq wa_ekko-ebeln.
  endloop.
ENDFORM.                    " DATA_RETRIEVAL
*&      Form  BUILD_FIELDCATALOG
      Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
Please not there are a number of differences between the structure of
ALVtree fieldcatalogs and ALVgrid fieldcatalogs.
For example the field seltext_m is replace by scrtext_m in ALVtree.
  fieldcatalog-fieldname   = 'EBELN'.           "Field name in itab
  fieldcatalog-scrtext_m   = 'Purchase Order'.  "Column text
  fieldcatalog-col_pos     = 0.                 "Column position
  fieldcatalog-outputlen   = 15.                "Column width
  fieldcatalog-emphasize   = 'X'.               "Emphasize  (X or SPACE)
  fieldcatalog-key         = 'X'.               "Key Field? (X or SPACE)
fieldcatalog-do_sum      = 'X'.              "Sum Column?
fieldcatalog-no_zero     = 'X'.              "Don't display if zero
  APPEND fieldcatalog TO gd_fieldcat.
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'EBELP'.
  fieldcatalog-scrtext_m   = 'PO Iten'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 1.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'STATU'.
  fieldcatalog-scrtext_m   = 'Status'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 2.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'AEDAT'.
  fieldcatalog-scrtext_m   = 'Item change date'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 3.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'MATNR'.
  fieldcatalog-scrtext_m   = 'Material Number'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 4.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'MENGE'.
  fieldcatalog-scrtext_m   = 'PO quantity'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 5.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'MEINS'.
  fieldcatalog-scrtext_m   = 'Order Unit'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 6.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'NETPR'.
  fieldcatalog-scrtext_m   = 'Net Price'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 7.
  fieldcatalog-datatype     = 'CURR'.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
  fieldcatalog-fieldname   = 'PEINH'.
  fieldcatalog-scrtext_m   = 'Price Unit'.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-col_pos     = 8.
  APPEND fieldcatalog TO gd_fieldcat..
  CLEAR  fieldcatalog.
ENDFORM.                    " BUILD_FIELDCATALOG
*&      Form  BUILD_LAYOUT
      Build layout for ALV grid report
FORM build_layout.
  gd_layout-no_input          = 'X'.
  gd_layout-colwidth_optimize = 'X'.
  gd_layout-totals_text       = 'Totals'(201).
gd_layout-totals_only        = 'X'.
gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
                                        "click(press f2)
gd_layout-zebra             = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text       = 'helllllo'.
ENDFORM.                    " BUILD_LAYOUT
*&      Form  build_hierarchy_header
      build hierarchy-header-information
     -->P_L_HIERARCHY_HEADER  structure for hierarchy-header
FORM build_hierarchy_header CHANGING
                               p_hierarchy_header TYPE treev_hhdr.
  p_hierarchy_header-heading = 'Hierarchy Header'(013).
  p_hierarchy_header-tooltip = 'This is the Hierarchy Header !'(014).
  p_hierarchy_header-width = 30.
  p_hierarchy_header-width_pix = ''.
ENDFORM.                               " build_hierarchy_header
*&      Form  BUILD_REPORT_TITLE
      Build table for ALVtree header
<->  p1        Header details
<->  p2        Logo value
FORM build_report_title CHANGING
      pt_report_title  TYPE slis_t_listheader
      pa_logo             TYPE sdydo_value.
  DATA: ls_line TYPE slis_listheader,
        ld_date(10) TYPE c.
List Heading Line(TYPE H)
  CLEAR ls_line.
  ls_line-typ  = 'H'.
ls_line-key     "Not Used For This Type(H)
  ls_line-info = 'PO ALVTree Display'.
  APPEND ls_line TO pt_report_title.
Status Line(TYPE S)
  ld_date(2) = sy-datum+6(2).
  ld_date+2(1) = '/'.
  ld_date3(2) = sy-datum4(2).
  ld_date+5(1) = '/'.
  ld_date+6(4) = sy-datum(4).
  ls_line-typ  = 'S'.
  ls_line-key  = 'Date'.
  ls_line-info = ld_date.
  APPEND ls_line TO pt_report_title.
Action Line(TYPE A)
  CLEAR ls_line.
  ls_line-typ  = 'A'.
  CONCATENATE 'Report: ' sy-repid INTO ls_line-info  SEPARATED BY space.
  APPEND ls_line TO pt_report_title.
ENDFORM.
*&      Form  BUILD_VARIANT
      Build variant
form build_variant.
Set repid for storing variants
  gd_variant-report = sy-repid.
endform.                    " BUILD_VARIANT
<b>Creation of 'INCLUDES' to store ALVtree code</b>
Three includes need to be created in-order to store the ABAP code required for the ALVtree report.
Typically these will be one for the PBO modules, one for PAI modules and one for the subroutines(FORMs):
   *Includes
    include zdemo_alvtreeo01. "Screen PBO Modules
    include zdemo_alvtreei01. "Screen PAI Modules
    include zdemo_alvtreef01. "ABAP Subroutines(FORMS)
If you are using the code provide within the ALVtree section of this web site simply create the includes by
un-commenting the 'Includes' section within the code(see below) and double clicking on the name
i.e. 'zdemo_alvtreeo01'. Obviously these can be renamed.
*Includes
*include zdemo_alvtreeo01. "Screen PBO Modules
*include zdemo_alvtreei01. "Screen PAI Modules
*include zdemo_alvtreef01. "ABAP Subroutines(FORMS)
*Start-of-selection.
start-of-selection.
<b>Create Screen along with PBO and PAI modules for screen</b>
The next step is to create screen 100, to do this double click on the '100' within the call screen
command(Call screen 100.). Enter short description and select 'Normal' as screen type.
To create the PBO and PAI modules insert that code below into the screen's flow logic. Much of this code
should automatically have been inserted during screen creation but with the module lines commented out.
Simple remove the comments and double click the module name(STATUS_0100 and
USER_COMMAND_0100) in-order to create them, this will display the perform/module creation screen.
The MODULES are usually created within two includes one ending in 'O01' for PBO modules and
one ending in 'I01' for PAI modules(See code below).
Please note in order for these includes to be displayed on the creation screen they need to have be
created along with the following lines of code added to the main prog(see previous step):
                                 INCLUDE ZDEMO_ALVTREEO01. "Screen PBO Modules
                                 INCLUDE ZDEMO_ALVTREEI01. "Screen PAI Modules
Otherwise use the 'New Include' entry and SAP will add the necassary line for you.
Screen flow logic code
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
***INCLUDE Z......O01 .
*&      Module  STATUS_0100  OUTPUT
      PBO Module
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.                 " STATUS_0100  OUTPUT
***INCLUDE Z......I01 .
*&      Module  USER_COMMAND_0100  INPUT
      PAI Module
module user_command_0100 input.
endmodule.                 " USER_COMMAND_0100  INPUT
<b>Define OK CODE(SY-UCOMM) variable</b>
In order to define the OK CODE you must fist declare a variable of type SY-UCOM and then insert this
variable into the OK code declaration within the element list (see screen shot below). If you have used
the code contained on the iwebsite the ok code should already have been declared as OK_CODE.
          i.e. OK_CODE like sy-ucom.
Note: there is also a variable called SAVE_OK, it is good practice to store the returned ok code into
a work area as soon as you enter the PAI processing.
<b>Add screen control to PAI module(INCLUDE Z......I01)</b>
The following code adds simple screen control to the report and whenever the user presses the cancel,
exit or back icon they will exit from the report. It also processes the ALVtree user interactions within the
'others' case statement
   INCLUDE Z......I01                                                *
*&      Module  USER_COMMAND_0100  INPUT
      text
module user_command_0100 input.
  DATA return TYPE REF TO cl_gui_event.
  save_ok = ok_code.
  case ok_code.
    when 'BACK' or '%EX' or 'RW'.
    Exit program
      leave to screen 0.
  Process ALVtree user actions
    when others.
      call method cl_gui_cfw=>get_current_event_object
              receiving
                 event_object = return.
      call method cl_gui_cfw=>dispatch.
  endcase.
endmodule.                 " USER_COMMAND_0100  INPUT
<b>Create pf-status</b>
In order to created the pf-status for the screen you need to un-comment '*  SET PF-STATUS 'xxxxxxxx'
and give it a name.
               i.e.   SET PF-STATUS 'STATUS1'.
Step 1
Now double click on 'STATUS1' in-order  to create the pf-status. Enter short text, select status type as
'Online status' and click save.
Step2
You should now be presented with the status creation screen. Choose 'Adjust template' from the Extras menu
(4.6 onwards only).
Step 3
Now select 'List status' and click the green tick (see below).
Step 3
All the basic menu bars/buttons should now have been entered. Now click save then activate. The
pf-status has now been completed.
Once you have the main program code in place to call the screen which will display the
ALVtree, you now need to setup the actual ALVtree and populate it. As this is screen
based(dialog) the display coding will be performed within the PBO screen module.
Therefor you need to add the following processes to the PBO(STATUS_0100) module
of the screen.
<b>Create Custom control</b>
Via screen painter insert 'custom control' on to screen and give it the name 'SCREEN_CONTAINER'. This is
the possition the ALVtree will appear so align appropriately.
http://www.sapdev.co.uk/reporting/alv/alvtree/alvtree_basic.htm
see this site you wil find lots of examples
http://www.sapdev.co.uk/reporting/alv/alvtree.htm
<b>Reward if usefull</b>

Similar Messages

  • Multiple Hierarchies display in BW report

    Hi All,
    I am having issue regarding multiple hierarchies display in BW report, not all levels are displayed, but i can see them in their respective hierarchy maintenance.
    i have a report like project definition hierarchy then WBS hierarchy then followed by Order info object into rows and then some KFs in colums.
    when i drill down project  definition hierarchy i coudn't able to see some middle nodes, but few at the bottom which have orders in next WBS hierarchies. and same as in WBS hierarchy i can see ony few WBS which have orders.
    But i want to display all project definition nodes and WBS hierarchy nodes. even though there are no ordes for WBS elements.
    there are no zero supressions neither in Hierarchy attributes nor in KF structures.
    what could be the problem, how can i resolve it. I have been searching in SDN but couldnt find suitable solutions. Please let me know the earliest.
    Thanks
    Robyn.

    Hi,
    The problem that you have explained generally comes because of two problems.
    1. If you do check for zero suppression
    2. You don't go for full expansion level of heirarchy.
    Any way you mentioned first case is not applicable for you, check for second case. Expand heirarchy upto maximum level. Your problem will be resolved.

  • SAP Netweaver Portal - Folder structure and report publishing strategy

    Hi gurus,
    I'm working on a project in which we are publishing BW reports in SAP Netweaver Portal (prior to this, we were using SAP Bex Browser) organizing it by Department (workset, 2nd lvl of navigation), Business Processes (workset, 3rd lvl of navigation) and "iview types" (transactions, queries, dashboards and so on). On 1st level we have a workset simply called "Reports".
    For each PFCG role we have on BW (ABAP Server), we created a portal role and defined which of the higher navigation tiers is visible to users (delta-linking the top level navigation worksets to the portal role and setting visible accordingly) and then we assigned Portal roles to the appropriated Group (PFCG role) so all users that have access to certain PFCG role can have access to the corresponding Portal role.
    For example:
    In BW (ABAP) we have a PFCG Role: Sales PMR Analysis - Administrator, which grants access to Sales Infoproviders, queries and data for PMR analysis. The user that have access to it, should be able to see:
    |Reports|
    |Sales Administration|
    v PMR Analysis
      > Web Queries
      > Transactions
      > Dashboards
      > Workbooks
    In Portal we create a workset that has: "Reports" and under it, all Departments (Sales Administration, Financial, Services, Human Resources and so on) set as "not visible". We create a Portal role called PMR Analysis and add the Report/Departments workset, set Sales Administration as visible and add worksets/folders named PMR Analysis, Web queries, Transactions, etc, and all the corresponding iviews under it.
    If we assign this new Portal role to the Group of the corresponding PFCG role, the user will see exactly as the example from above.
    Pros: The users have a clean view of the reports he/she has access.
    Cons: The users doesn't have a clear view of what is available in BW so he can request access. There might be some useful report lost in on of the hundreds of BW roles that he doesn't know it exist.
    One of the options would be to grant visibility to ALL departments, business processes and iviews in Portal and let PFCG security roles control user access, but that might be confusing to have an overwhelming amount of links, making it hard to find what the user needs, specially during first access. Not to mention possible security breaches.
    So, I'd like to know how other consultants are defining this kind of folder structure and report publishing strategy in Portal. Ideally we would like to be able to have:
    - Visibility of all existant reports even those that the user does not have acess (so he can learn that it exist and request access)
    - Clean view of reports, segmented by department and business processes.
    - Possibility to search for reports, even for those that the user does not have access.
    I'd appreciate if you guys can share your experience on this.
    Thanks in advance.
    Leandro

    Cons: The users doesn't have a clear view of what is available in BW so he can request access. There might be some useful report lost in on of the hundreds of BW roles that he doesn't know it exist
    This is not a refutation: your BW developers/consultants should be able to write reports, which points you in case of insufficent backend rights. EP is not designed to be familiar with ABAP security concept and cant take any influence at it.
    One of the options would be to grant visibility to ALL departments, business processes and iviews in Portal and let PFCG security roles control user access, but that might be confusing to have an overwhelming amount of links, making it hard to find what the user needs, specially during first access. Not to mention possible security breaches.
    Yes, bad idea.
    - Visibility of all existant reports even those that the user does not have acess (so he can learn that it exist and request access)
    As you already wrote on your own, this would be not good
    - Clean view of reports, segmented by department and business processes.
    - Possibility to search for reports, even for those that the user does not have access.
    This is not covered by SAP, if you wanna provide that, develop it on your own.
    cheers

  • What is the best way to explore a hierarchical folder structure?

    Hallo,
    I need to access and navigate a hierarchical folder structure hosted in a MS SQL Server database. In particular there is a root folder containing several folders. Each child-folder contains further nested folders or documents.
    For each item I need to retrieve the folder's (name, path, etc) and the documents (title, author, etc.) details that are retrievable from the DB fields. Afterwards I will use these data to create a semantic web ontology using Jena API.
    My question was about which is the best way to proceed.
    A collegue of mine suggested to use the "WITH" command of SQL Server to create and use a link list to navigate easily the structure, executing just one query rather than several (one for each level of the nested loops). However in this way the solution will work only with the SMQ Server database, while my goal is to achieve a more general solution.
    May someone help me?
    Thank you in advance,
    Francesco

    My goal is to create a documents library ontology achieving, from each element of the hierarchy (folder or document), some data (title, parent, etc.) and use them to "label" the ontology resources.
    I will use a little of both approches in the following way:
    1) I make just ONE query on folder table to get, from each folder, its path (eg. root/fold1/fold2/doc1.pdf), its ID and ParentID and ONE on the Documents table to get the containerID, title, etc.
    2) I create as many Folder objects as the retrieved records and an HashTable, where the KEY = Folder.ParentID value and the VALUE = Vector<Folder>. I add then each object to the Vector relative to the same ParentID. In this way I have an Vector containing all the folders child of the same parent folder and I do the same for an HashTable keeping the documents contained in a specific folder.
    3)I extract from the HashTable the root folder (whose ParentID is always "0" and whose ID is "1") than it is invoked the method appendChild() (see code)
         public static void appendChild(int ID, Resource RES)
              Vector<Folder> currFold = table.get(ID);
              for(int i=0; i<currFold.size(); i++)
                   //Extract the child and crate the relative resource
                   if(table.containsKey(currFold.getID()))
                        appendChild(currFold[i].getID(), Resource newRES);
    In this way I go in depth in the hirarchical structure using a "left most" procedure. I made a test and the output is correct. However, such an approch must be done for about 4 level depth folders (around 30 in total) containing also documents and creating the documents library of a Project. Then I must process around 20 project to achieve for all of them such a documents library representation.
    By the way, I do not have to mantein the HashTable content after I created the docs library ontology. Hence I use just one hashTable for ALL the projects and I flush it after I finish to do the loop for one project in order to save resources.
    My question is: is right my approach or might I improve it in some way?
    Thank you for every suggesion/comment.
    Francesco
    Edited by: paquito81 on May 27, 2008 8:15 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Structure of Report painter

    Hi ,
      Can anyone tell me what are the basics for report painter , structure of report painter , what is templates in Report painter and what is formatting in Report painter.
    Please help me by answering this elaborately.
    Regards,
    Joseph.

    Hi,
    use KE5B to make the FSV nodes available in Report painter reports. This function can be used to create/change sets based on FSV.
    Best regards, Christian

  • Treeview structure

    how to create treeview structure using java........like a hierarchy of folder stored in hard disk. does TreeMap class meets the objective..?

    I'm guessing you mean a graphical tree. TreeMap is a data structure, so not what you're after. What you want is a JTree

  • How to use JAAS/JAZN of 9iAS R2  for a typical Hierarchical Organization Structure

    If any one has used the out of the box or has modified and used the JAAS/JAZN implementation of App Server R2 for Authentication and Authorization of a typical Hierarchical Org Structure?
    Our Org Chart looks some thing like the one shown below;
    Every one in this Org chart will access the Application that will be deployed in the Oracle App Server and this Org chart DIT is already exists in Novell's eDirectory.
    We are planning to import this DIT structure to OID and make use of OID for JAAS/JAZN features of Oracle App Server; any clues on how to configure the default JAAS/JAZN of App server to make use of this DIT and control the access to the application?
    How do we go about assigning the roles to these users in this org and how to configure the App Server R2 to use this structure??? :)
    usa
    |
    | | | |
    EastZone CentralZone MountainZone PacificZone
    | | | |
    | | | | | | | |
    R1 R2 Region3 Region4 R5 R6 R7 R8
    | |
    | | | |
    users computers users computers
    | |
    | | | | | |
    cn=Smith cn=Ray cn=Molly cn=Mahone cn=Steve cn=Smith
    Thank you

    I am trying to attach an html version of the org chart, the earlier one did not show up correctly!!
    hope this one would show up better!!
    <html xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:w="urn:schemas-microsoft-com:office:word"
    xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <meta name=ProgId content=Word.Document>
    <meta name=Generator content="Microsoft Word 9">
    <meta name=Originator content="Microsoft Word 9">
    <link rel=File-List href="./usa_files/filelist.xml">
    <title> usa</title>
    <!--[if gte mso 9]><xml>
    <o:DocumentProperties>
    <o:Author>Covansys</o:Author>
    <o:LastAuthor>Covansys</o:LastAuthor>
    <o:Revision>1</o:Revision>
    <o:TotalTime>7</o:TotalTime>
    <o:Created>2002-08-15T16:03:00Z</o:Created>
    <o:LastSaved>2002-08-15T16:10:00Z</o:LastSaved>
    <o:Pages>1</o:Pages>
    <o:Company>Covansys</o:Company>
    <o:Lines>1</o:Lines>
    <o:Paragraphs>1</o:Paragraphs>
    <o:Version>9.4402</o:Version>
    </o:DocumentProperties>
    </xml><![endif]-->
    <style>
    <!--
    /* Font Definitions */
    @font-face
         {font-family:Courier;
         panose-1:0 0 0 0 0 0 0 0 0 0;
         mso-font-charset:0;
         mso-generic-font-family:modern;
         mso-font-format:other;
         mso-font-pitch:fixed;
         mso-font-signature:3 0 0 0 1 0;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
         {mso-style-parent:"";
         margin:0in;
         margin-bottom:.0001pt;
         mso-pagination:widow-orphan;
         font-size:12.0pt;
         font-family:"Times New Roman";
         mso-fareast-font-family:"Times New Roman";}
    @page Section1
         {size:8.5in 11.0in;
         margin:1.0in 1.25in 1.0in 1.25in;
         mso-header-margin:.5in;
         mso-footer-margin:.5in;
         mso-paper-source:0;}
    div.Section1
         {page:Section1;}
    -->
    </style>
    </head>
    <body lang=EN-US style='tab-interval:.5in'>
    <div class=Section1>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes">
    </span>usa<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes">
    </span>|<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes">
    </span>---------------------------------------------<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
    yes"> </span>|<span style="mso-spacerun: yes">
    </span>|<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>EastZone<span
    style="mso-spacerun: yes"> </span>CentralZone<span style="mso-spacerun:
    yes"> </span>MountainZone<span style="mso-spacerun: yes">
    </span>PacificZone<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
    yes"> </span>|<span style="mso-spacerun: yes">
    </span>|<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>-------<span
    style="mso-spacerun: yes"> </span>--------<span style="mso-spacerun:
    yes"> </span>-------<span style="mso-spacerun: yes">
    </span>--------<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<span style="mso-spacerun: yes">
    </span>|<span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<span style="mso-spacerun: yes">
    </span>|<span style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
    yes"> </span>|<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>R1<span
    style="mso-spacerun: yes"> </span>R2<span style="mso-spacerun: yes">
    </span>Region3<span style="mso-spacerun: yes"> </span>Region4<span
    style="mso-spacerun: yes"> </span>R5<span style="mso-spacerun: yes">
    </span>R6<span style="mso-spacerun: yes"> </span>R7<span
    style="mso-spacerun: yes"> </span>R8<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes">
    </span>|<span style="mso-spacerun: yes"> </span><span
    style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes">
    </span>----------<span style="mso-spacerun: yes">
    </span>----------<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
    yes"> </span>|<span style="mso-spacerun:
    yes"> </span>|<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>users<span
    style="mso-spacerun: yes"> </span>computers<span style="mso-spacerun:
    yes"> </span>users<span style="mso-spacerun: yes">
    </span>computers<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span><span style="mso-spacerun:
    yes"> </span>|<span style="mso-spacerun:
    yes"> </span><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes">
    </span>----------------------<span style="mso-spacerun: yes">
    </span>----------------------<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
    yes"> </span>|<span style="mso-spacerun: yes">
    </span>|<span style="mso-spacerun: yes"> </span>|<span
    style="mso-spacerun: yes"> </span>|<o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    <p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
    font-family:Courier'><span style="mso-spacerun: yes"> </span>cn=Smith<span
    style="mso-spacerun: yes"> </span>cn=Ray<span style="mso-spacerun: yes">
    </span>cn=Molly<span style="mso-spacerun: yes"> </span>cn=Mahone<span
    style="mso-spacerun: yes"> </span>cn=Steve<span style="mso-spacerun:
    yes"> </span>cn=Smith<o:p></o:p></span></p>
    </div>
    </body>
    </html>
    If any one has used the out of the box or has modified and used the JAAS/JAZN implementation of App Server R2 for Authentication and Authorization of a typical Hierarchical Org Structure?
    Our Org Chart looks some thing like the one shown below;
    Every one in this Org chart will access the Application that will be deployed in the Oracle App Server and this Org chart DIT is already exists in Novell's eDirectory.
    We are planning to import this DIT structure to OID and make use of OID for JAAS/JAZN features of Oracle App Server; any clues on how to configure the default JAAS/JAZN of App server to make use of this DIT and control the access to the application?
    How do we go about assigning the roles to these users in this org and how to configure the App Server R2 to use this structure??? :)

  • Represent hierarchical structure in graphical structure (by reports?)

    Hi
    I have a parent child relationship where I am using sys conect by path to represent the relationship. Can I display this relationship in graphical structure in Orace Reports?

    Why does Java follow the hierarchical structure i.e
    Object class is the root class which is extended by
    all classes by default..
    Can anybody tell the reason for this.It's for technical reasons. In this way any class and class hierarchy always have a known super-superclass namely Object. This means that API's can be written assuming this class only and they will then work with objects of any class. Examples of this are the Collections and Swing.

  • BW hierarchies issue with BOBJ Reporting tools

    Hi All,
    Brief about the requirement:
    Our client was using Mainframe and other tools for their reporting. Now as they have planned to go for SAP, purchased SAP BW 7 and SAP BOBJ XI 3.1 for warehouse and reporting purposes.
    Initial Road map planned for implementation was
    o     to use Crystal for operational and formatted reporting
    o     to use WebI for Ad hoc and interactive reporting
    o     to use Xcelsius for Dashboards
    Once we started analysing the requirements, we observed that client requires hierarchies extensively for reporting and they donu2019t want to compromise in that for reporting. At this situation we have explored the options and came to know from the SAP sites that BO got limitations in case of BW hierarchies. But we not able to articulate the what is the exact issue. Is it with only WebI or Crystal also?
    What we have articulated is we cannot report the hierarchies in BO in terms of nodes - > Sub nodes -> sub nodes instead we can do as fixed columns. Please add me if i am missing anything else.
    And also please let us know options. Options that we were thinking are Implement with BO XI 3.1 considering Advanced analysis tool then upgrade to BO XI 4.1.
    Please suggest us, what is the BW & BO hierarchy issue and right tools to use.
    Thanks & Regards,
    Bala

    Our client uses XI 3.2 but is experiencing issues with Hierarchical BEX queries returning blanks - the mdx is fine - just webi that seems to have a problem and I'm also trying to determine in exactly which instances this occurs.
    XI 4.x supposedly resolves mots issues but here again details are not known.
    I.e. hopefully someone can point to an info source that describes in more detail what issues are likely to occur re hierarchies and webi.

  • Performance issue with two unbanalnced hierarchies in a single report

    Hi All
    We are facing the performance issue with one of the report which houses two unbalanced hierarchies (having 18 levels) - skipped & ragged. Basically its a part of OBIAPPS financila analytics .
    The query is below :
    Could anyone let me know how to improve the performane. Any parameter that should be looked at while using unbalanced hierarchies.
    WITH SAWITH0
    AS ( SELECT SUM (T91707.OTHER_LOC_AMT) AS c1,
    MAX (T314768.HIER2_CODE) AS c2,
    MAX (T314768.HIER3_CODE) AS c3,
    MAX (T314768.HIER4_CODE) AS c4,
    MAX (T314768.HIER5_CODE) AS c5,
    MAX (T314768.HIER6_CODE) AS c6,
    MAX (T314768.HIER7_CODE) AS c7,
    MAX (T314768.HIER8_CODE) AS c8,
    MAX (T314768.HIER9_CODE) AS c9,
    MAX (T314768.HIER10_CODE) AS c10,
    MAX (T314768.HIER11_CODE) AS c11,
    MAX (T314768.HIER12_CODE) AS c12,
    MAX (T314768.HIER13_CODE) AS c13,
    MAX (T314768.HIER14_CODE) AS c14,
    MAX (T314768.HIER15_CODE) AS c15,
    MAX (T314768.HIER16_CODE) AS c16,
    MAX (T314768.HIER17_CODE) AS c17,
    MAX (T314768.HIER18_CODE) AS c18,
    MAX (T314768.HIER19_CODE) AS c19,
    MAX (T314768.HIER20_CODE) AS c20,
    T314768.HIER1_NAME AS c21,
    T314768.HIER1_CODE AS c22,
    T314914.HIER1_NAME AS c24,
    T314914.HIER10_NAME AS c25,
    T314914.HIER11_NAME AS c26,
    T314914.HIER12_NAME AS c27,
    T314914.HIER13_NAME AS c28,
    T314914.HIER14_NAME AS c29,
    T314914.HIER15_NAME AS c30,
    T314914.HIER16_NAME AS c31,
    T314914.HIER17_NAME AS c32,
    T314914.HIER18_NAME AS c33,
    T314914.HIER19_NAME AS c34,
    T314914.HIER2_NAME AS c35,
    T314914.HIER20_NAME AS c36,
    T314914.HIER3_NAME AS c37,
    T314914.HIER4_NAME AS c38,
    T314914.HIER5_NAME AS c39,
    T314914.HIER6_NAME AS c40,
    T314914.HIER7_NAME AS c41,
    T314914.HIER8_NAME AS c42,
    T314914.HIER9_NAME AS c43,
    T314914.HIER20_CODE AS c44,
    T314914.HIER1_CODE AS c45,
    T314914.HIER10_CODE AS c46,
    T314914.HIER11_CODE AS c47,
    T314914.HIER12_CODE AS c48,
    T314914.HIER13_CODE AS c49,
    T314914.HIER14_CODE AS c50,
    T314914.HIER15_CODE AS c51,
    T314914.HIER16_CODE AS c52,
    T314914.HIER17_CODE AS c53,
    T314914.HIER18_CODE AS c54,
    T314914.HIER19_CODE AS c55,
    T314914.HIER2_CODE AS c56,
    T314914.HIER3_CODE AS c57,
    T314914.HIER4_CODE AS c58,
    T314914.HIER5_CODE AS c59,
    T314914.HIER6_CODE AS c60,
    T314914.HIER7_CODE AS c61,
    T314914.HIER8_CODE AS c62,
    T314914.HIER9_CODE AS c63
    FROM W_HIERARCHY_D T314768 /* Dim_W_HIERARCHY_D_Segment11 */
    W_GL_SEGMENT_D T315677 /* Dim_W_GL_SEGMENT_D_Segment11 */
    W_HIERARCHY_D T314914 /* Dim_W_HIERARCHY_D_Segment13 */
    W_GL_SEGMENT_D T315731 /* Dim_W_GL_SEGMENT_D_Segment13 */
    W_GL_ACCOUNT_D T91397 /* Dim_W_GL_ACCOUNT_D */
    W_GL_OTHER_F T91707 /* Fact_W_GL_OTHER_F */
    WHERE ( T91397.ROW_WID = T91707.GL_ACCOUNT_WID
    AND T91397.ACCOUNT_SEG11_CODE = T315677.SEGMENT_VAL_CODE
    AND T91397.ACCOUNT_SEG13_CODE = T315731.SEGMENT_VAL_CODE
    AND T91397.ACCOUNT_SEG11_ATTRIB = T315677.SEGMENT_LOV_ID
    AND T91397.ACCOUNT_SEG13_ATTRIB = T315731.SEGMENT_LOV_ID
    AND T314768.HIER_CODE = T315677.SEGMENT_LOV_ID
    AND T314768.HIER_NAME = T315677.SEGMENT_LOV_NAME
    AND T314768.HIERARCHY_ID = T315677.SEGMENT_VAL_CODE
    AND T314914.HIER_CODE = T315731.SEGMENT_LOV_ID
    AND T314914.HIER_NAME = T315731.SEGMENT_LOV_NAME
    AND T314914.HIERARCHY_ID = T315731.SEGMENT_VAL_CODE
    AND T315677.SEGMENT_LOV_NAME =
    'Responsibility_Centre_Functional'
    AND T315677.SEGMENT_LOV_ID = 1000163
    AND T315731.SEGMENT_LOV_NAME = 'Account_Master'
    AND T315731.SEGMENT_LOV_ID = 1000165
    AND ( T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER11_CODE IS NULL)
    AND (T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER12_CODE IS NULL)
    AND ( T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER8_CODE IS NULL)
    AND ( T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER9_CODE IS NULL)
    AND ( T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER10_CODE IS NULL)
    AND ( T314914.HIER1_CODE IN ('ALL_LI')
    OR T314914.HIER2_CODE IN ('S000000001')
    OR T314914.HIER3_CODE IN ('S000005150')
    OR T314914.HIER4_CODE IN ('S000005151')
    OR T314914.HIER5_CODE IN ('S000005153')
    OR T314914.HIER6_CODE IN ('S000005154')
    OR T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022'))
    AND ( T314914.HIER2_CODE IN ('S000000001')
    OR T314914.HIER3_CODE IN ('S000005150')
    OR T314914.HIER4_CODE IN ('S000005151')
    OR T314914.HIER5_CODE IN ('S000005153')
    OR T314914.HIER6_CODE IN ('S000005154')
    OR T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER2_CODE IS NULL)
    AND ( T314914.HIER3_CODE IN ('S000005150')
    OR T314914.HIER4_CODE IN ('S000005151')
    OR T314914.HIER5_CODE IN ('S000005153')
    OR T314914.HIER6_CODE IN ('S000005154')
    OR T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER3_CODE IS NULL)
    AND ( T314914.HIER4_CODE IN ('S000005151')
    OR T314914.HIER5_CODE IN ('S000005153')
    OR T314914.HIER6_CODE IN ('S000005154')
    OR T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER4_CODE IS NULL)
    AND ( T314914.HIER5_CODE IN ('S000005153')
    OR T314914.HIER6_CODE IN ('S000005154')
    OR T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER5_CODE IS NULL)
    AND ( T314914.HIER6_CODE IN ('S000005154')
    OR T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER6_CODE IS NULL)
    AND ( T314914.HIER7_CODE IN ('S000005062')
    OR T314914.HIER8_CODE IN ('S000005160')
    OR T314914.HIER9_CODE IN ('S000000187')
    OR T314914.HIER10_CODE IN ('S526003000')
    OR T314914.HIER11_CODE IN ('S526002012')
    OR T314914.HIER12_CODE IN ('S000001022')
    OR T314914.HIER7_CODE IS NULL)
    AND T314768.HIER1_CODE IS NOT NULL
    AND T314914.HIER20_CODE IS NOT NULL
    AND T314914.HIER13_CODE IS NULL
    AND T314914.HIER14_CODE IS NULL
    AND T314914.HIER15_CODE IS NULL
    AND T314914.HIER16_CODE IS NULL
    AND T314914.HIER17_CODE IS NULL
    AND T314914.HIER18_CODE IS NULL
    AND T314914.HIER19_CODE IS NULL)
    GROUP BY T314768.HIER1_CODE,
    T314768.HIER1_NAME,
    T314914.HIER1_CODE,
    T314914.HIER1_NAME,
    T314914.HIER2_CODE,
    T314914.HIER2_NAME,
    T314914.HIER3_CODE,
    T314914.HIER3_NAME,
    T314914.HIER4_CODE,
    T314914.HIER4_NAME,
    T314914.HIER5_CODE,
    T314914.HIER5_NAME,
    T314914.HIER6_CODE,
    T314914.HIER6_NAME,
    T314914.HIER7_CODE,
    T314914.HIER7_NAME,
    T314914.HIER8_CODE,
    T314914.HIER8_NAME,
    T314914.HIER9_CODE,
    T314914.HIER9_NAME,
    T314914.HIER10_CODE,
    T314914.HIER10_NAME,
    T314914.HIER11_CODE,
    T314914.HIER11_NAME,
    T314914.HIER12_CODE,
    T314914.HIER12_NAME,
    T314914.HIER13_CODE,
    T314914.HIER13_NAME,
    T314914.HIER14_CODE,
    T314914.HIER14_NAME,
    T314914.HIER15_CODE,
    T314914.HIER15_NAME,
    T314914.HIER16_CODE,
    T314914.HIER16_NAME,
    T314914.HIER17_CODE,
    T314914.HIER17_NAME,
    T314914.HIER18_CODE,
    T314914.HIER18_NAME,
    T314914.HIER19_CODE,
    T314914.HIER19_NAME,
    T314914.HIER20_CODE,
    T314914.HIER20_NAME),
    SAWITH1
    AS (SELECT SUM (D1.c1) OVER () AS c1,
    MAX (D1.c2) OVER (PARTITION BY D1.c22) AS c2,
    MAX (D1.c3) OVER (PARTITION BY D1.c22) AS c3,
    MAX (D1.c4) OVER (PARTITION BY D1.c22) AS c4,
    MAX (D1.c5) OVER (PARTITION BY D1.c22) AS c5,
    MAX (D1.c6) OVER (PARTITION BY D1.c22) AS c6,
    MAX (D1.c7) OVER (PARTITION BY D1.c22) AS c7,
    MAX (D1.c8) OVER (PARTITION BY D1.c22) AS c8,
    MAX (D1.c9) OVER (PARTITION BY D1.c22) AS c9,
    MAX (D1.c10) OVER (PARTITION BY D1.c22) AS c10,
    MAX (D1.c11) OVER (PARTITION BY D1.c22) AS c11,
    MAX (D1.c12) OVER (PARTITION BY D1.c22) AS c12,
    MAX (D1.c13) OVER (PARTITION BY D1.c22) AS c13,
    MAX (D1.c14) OVER (PARTITION BY D1.c22) AS c14,
    MAX (D1.c15) OVER (PARTITION BY D1.c22) AS c15,
    MAX (D1.c16) OVER (PARTITION BY D1.c22) AS c16,
    MAX (D1.c17) OVER (PARTITION BY D1.c22) AS c17,
    MAX (D1.c18) OVER (PARTITION BY D1.c22) AS c18,
    MAX (D1.c19) OVER (PARTITION BY D1.c22) AS c19,
    MAX (D1.c20) OVER (PARTITION BY D1.c22) AS c20,
    D1.c21 AS c21,
    D1.c22 AS c22,
    SUM (
    D1.c1)
    OVER (
    PARTITION BY D1.c46,
    D1.c47,
    D1.c48,
    D1.c49,
    D1.c50,
    D1.c51,
    D1.c52,
    D1.c53,
    D1.c54,
    D1.c55,
    D1.c45,
    D1.c44,
    D1.c56,
    D1.c57,
    D1.c58,
    D1.c59,
    D1.c60,
    D1.c61,
    D1.c62,
    D1.c63,
    D1.c22)
    AS c23,
    D1.c24 AS c24,
    D1.c25 AS c25,
    D1.c26 AS c26,
    D1.c27 AS c27,
    D1.c28 AS c28,
    D1.c29 AS c29,
    D1.c30 AS c30,
    D1.c31 AS c31,
    D1.c32 AS c32,
    D1.c33 AS c33,
    D1.c34 AS c34,
    D1.c35 AS c35,
    D1.c36 AS c36,
    D1.c37 AS c37,
    D1.c38 AS c38,
    D1.c39 AS c39,
    D1.c40 AS c40,
    D1.c41 AS c41,
    D1.c42 AS c42,
    D1.c43 AS c43,
    D1.c44 AS c44,
    D1.c45 AS c45,
    D1.c46 AS c46,
    D1.c47 AS c47,
    D1.c48 AS c48,
    D1.c49 AS c49,
    D1.c50 AS c50,
    D1.c51 AS c51,
    D1.c52 AS c52,
    D1.c53 AS c53,
    D1.c54 AS c54,
    D1.c55 AS c55,
    D1.c56 AS c56,
    D1.c57 AS c57,
    D1.c58 AS c58,
    D1.c59 AS c59,
    D1.c60 AS c60,
    D1.c61 AS c61,
    D1.c62 AS c62,
    D1.c63 AS c63
    FROM SAWITH0 D1)
    SELECT DISTINCT
    38 AS c1,
    D1.c24 AS c2,
    D1.c25 AS c3,
    D1.c26 AS c4,
    D1.c27 AS c5,
    D1.c28 AS c6,
    D1.c29 AS c7,
    D1.c30 AS c8,
    D1.c31 AS c9,
    D1.c32 AS c10,
    D1.c33 AS c11,
    D1.c34 AS c12,
    D1.c35 AS c13,
    D1.c36 AS c14,
    D1.c37 AS c15,
    D1.c38 AS c16,
    D1.c39 AS c17,
    D1.c40 AS c18,
    D1.c41 AS c19,
    D1.c42 AS c20,
    D1.c43 AS c21,
    D1.c21 AS c22,
    NULL AS c23,
    NULL AS c24,
    NULL AS c25,
    NULL AS c26,
    NULL AS c27,
    NULL AS c28,
    NULL AS c29,
    NULL AS c30,
    NULL AS c31,
    NULL AS c32,
    NULL AS c33,
    NULL AS c34,
    NULL AS c35,
    NULL AS c36,
    NULL AS c37,
    NULL AS c38,
    NULL AS c39,
    NULL AS c40,
    NULL AS c41,
    D1.c44 AS c42,
    D1.c45 AS c43,
    D1.c46 AS c44,
    D1.c47 AS c45,
    D1.c48 AS c46,
    D1.c49 AS c47,
    D1.c50 AS c48,
    D1.c51 AS c49,
    D1.c52 AS c50,
    D1.c53 AS c51,
    D1.c54 AS c52,
    D1.c55 AS c53,
    D1.c56 AS c54,
    D1.c57 AS c55,
    D1.c58 AS c56,
    D1.c59 AS c57,
    D1.c60 AS c58,
    D1.c61 AS c59,
    D1.c62 AS c60,
    D1.c63 AS c61,
    NULL AS c62,
    D1.c22 AS c63,
    NULL AS c64,
    NULL AS c65,
    NULL AS c66,
    NULL AS c67,
    NULL AS c68,
    NULL AS c69,
    NULL AS c70,
    NULL AS c71,
    NULL AS c72,
    NULL AS c73,
    NULL AS c74,
    NULL AS c75,
    NULL AS c76,
    NULL AS c77,
    NULL AS c78,
    NULL AS c79,
    NULL AS c80,
    NULL AS c81,
    D1.c23 AS c82,
    CASE WHEN 1 = 1 THEN 1 ELSE 0 END AS c83,
    CASE
    WHEN D1.c2 IS NULL
    AND D1.c3 IS NULL
    AND D1.c4 IS NULL
    AND D1.c5 IS NULL
    AND D1.c6 IS NULL
    AND D1.c7 IS NULL
    AND D1.c8 IS NULL
    AND D1.c9 IS NULL
    AND D1.c10 IS NULL
    AND D1.c11 IS NULL
    AND D1.c12 IS NULL
    AND D1.c13 IS NULL
    AND D1.c14 IS NULL
    AND D1.c15 IS NULL
    AND D1.c16 IS NULL
    AND D1.c17 IS NULL
    AND D1.c18 IS NULL
    AND D1.c19 IS NULL
    AND D1.c20 IS NULL
    THEN
    1
    ELSE
    0
    END
    AS c84
    FROM SAWITH1 D1
    WHERE ( D1.c44 IS NOT NULL
    AND D1.c50 IS NULL
    AND D1.c49 IS NULL
    AND D1.c22 IS NOT NULL
    AND D1.c51 IS NULL
    AND D1.c52 IS NULL
    AND D1.c53 IS NULL
    AND D1.c54 IS NULL
    AND D1.c55 IS NULL)
    /* Formatted on 12/17/2012 7:49:44 PM (QP5 v5.139.911.3011) */
    WITH OBICOMMON0
    AS (SELECT T156337.ROW_WID AS c2,
    T156337.MCAL_PERIOD_WID AS c3,
    ROW_NUMBER ()
    OVER (PARTITION BY T156337.MCAL_PERIOD_WID
    ORDER BY T156337.MCAL_PERIOD_WID DESC)
    AS c4,
    T156337.MCAL_PERIOD_NAME AS c5,
    T156337.MCAL_PER_NAME_YEAR AS c6
    FROM W_MCAL_DAY_D T156337 /* Dim_W_MCAL_DAY_D_Fiscal_Day */
    WHERE (T156337.MCAL_CAL_NAME = 'Accounting')),
    SAWITH0
    AS (SELECT CASE
    WHEN CASE D1.c4 WHEN 1 THEN D1.c2 ELSE NULL END
    IS NOT NULL
    THEN
    RANK ()
    OVER (
    ORDER BY
    CASE D1.c4 WHEN 1 THEN D1.c2 ELSE NULL END ASC NULLS LAST)
    END
    AS c1,
    D1.c2 AS c2,
    D1.c3 AS c3
    FROM OBICOMMON0 D1),
    SAWITH1
    AS (SELECT DISTINCT
    MIN (D1.c1) OVER (PARTITION BY D1.c3) AS c1, D1.c2 AS c2
    FROM SAWITH0 D1),
    SAWITH2
    AS (SELECT CASE
    WHEN CASE D1.c4 WHEN 1 THEN D1.c2 ELSE NULL END
    IS NOT NULL
    THEN
    RANK ()
    OVER (
    ORDER BY
    CASE D1.c4 WHEN 1 THEN D1.c2 ELSE NULL END ASC NULLS LAST)
    END
    AS c1,
    D1.c3 AS c2,
    D1.c5 AS c3,
    D1.c6 AS c4
    FROM OBICOMMON0 D1),
    SAWITH3 AS (SELECT DISTINCT MIN (D1.c1) OVER (PARTITION BY D1.c2) AS c1,
    D1.c2 AS c2,
    D1.c3 AS c3,
    D1.c4 AS c4
    FROM SAWITH2 D1),
    SAWITH4
    AS ( SELECT SUM (T91707.TD_OTHER_REP_AMT) AS c1,
    T314914.HIER1_NAME AS c2,
    D2.c3 AS c3,
    T314914.HIER1_CODE AS c4,
    D2.c2 AS c5
    FROM W_HIERARCHY_D T314914 /* Dim_W_HIERARCHY_D_Segment13 */
    W_GL_SEGMENT_D T315731 /* Dim_W_GL_SEGMENT_D_Segment13 */
    W_GL_ACCOUNT_D T91397 /* Dim_W_GL_ACCOUNT_D */
    W_GL_OTHER_F T91707 /* Fact_W_GL_OTHER_F */
    SAWITH1 D4,
    SAWITH3 D2
    WHERE ( T314914.HIER_CODE = T315731.SEGMENT_LOV_ID
    AND T314914.HIER_NAME = T315731.SEGMENT_LOV_NAME
    AND T91397.ROW_WID = T91707.GL_ACCOUNT_WID
    AND T91707.ACCT_PERIOD_END_DT_WID = D4.c2
    AND T314914.HIERARCHY_ID = T315731.SEGMENT_VAL_CODE
    AND T91397.ACCOUNT_SEG13_CODE = T315731.SEGMENT_VAL_CODE
    AND T91397.ACCOUNT_SEG13_ATTRIB = T315731.SEGMENT_LOV_ID
    AND T315731.SEGMENT_LOV_NAME =
    'Account_Retail_Distribution'
    AND T315731.SEGMENT_LOV_ID = 1000165
    AND D2.c1 = D4.c1
    AND (D2.c4 IN ('2011', '2012')))
    GROUP BY T314914.HIER1_CODE,
    T314914.HIER1_NAME,
    D2.c2,
    D2.c3)
    SELECT D1.c1 AS c1,
    D1.c2 AS c2,
    D1.c3 AS c3,
    D1.c4 AS c4,
    D1.c5 AS c5,
    D1.c6 AS c6
    FROM ( SELECT DISTINCT 0 AS c1,
    D1.c2 AS c2,
    D1.c3 AS c3,
    D1.c4 AS c4,
    D1.c1 AS c5,
    D1.c5 AS c6
    FROM SAWITH4 D1
    ORDER BY c2 NULLS FIRST, c4 NULLS FIRST, c3) D1
    WHERE ROWNUM <= 65001

    Hello Gurus, Experts
    Any help/tips here ...

  • Hierarchies for New GL reporting

    Hi,
    what is the best way to create hierarchies so to visualize it in the correct way in New GL Reports created in FGI1.
    Thanx 1000.
    Diego

    For the GL view create a Financial Statement Version.
    For PCs and CC's either use the standard hierarchies, or groups.

  • Wanna learn to implement hierarchical data structure

    I want to learn the method of handling hierarchical data in Java
    For instance if there is some kind of data which contains 6 main nodes then every node contains 2 sub nodes and there are 4 nodes under the 3rd node where as the 5th one contains two more subnodes one under another.
    So how will that be implemented?
    Ofcourse it must be possible to implement it but how can I do the same if I do not know the depth and number of nodes and will get it during the runtime?
    I had attempted to do create some thing of this kind using Turbo C++ 3.5 but after two weeks of intensive programming I was left utterly confused with innumerable pointers and pointer to pointers and pointer to a pointer to a pointers and more. At last it was me who forgot which pointer was pointing to what.

    Well, just start by making a Node class. To allow Nodes to have children, make each Node have an array (or arraylist, vector, etc.) of other Nodes.
    for example:
    class Node{
      private ArrayList<Node> children;
    }Put whatever else you need in there.
    You can then traverse these through methods you write, to return child nodes. If you need the Nodes to have knowledge of their parents, add a Node parent; variable in your Node class.
    Essentially, keep things as simple as possible, and this will allow you to write cleaner code and also decide on the depth of the structure at runtime, like you describe.

  • Multiple hierarchies single dimension single report

    I am trying to add multiple hierarchies from a single dimension in a single report. To create the hierarchy in BI admin I followed the instructions found here
    Oracle BI EE 10.1.3.3/2 &amp;#8211; One Dimension &amp;#8211; Multiple Hierarchies &amp;laquo; Business Intelligence &am…
    and here
    https://forums.oracle.com/thread/2440305
    My Patient hierarchy looks like the this
    All Patients->Gender->Patient ID
    All Patients->Age Group->Patient ID
    When I drag and drop the second hierarchy in the Criteria Oracle BI Answers says the following "...you can only add one hierarchy per dimension to a report". I deduct that what I am trying to do is not possible!:-)
    Q1: Is this feature indeed not supported or am I doing something wrong?
    Q2: If this is not supported can someone explain why?
    Version Oracle Business Intelligence 11.1.1.6.0

    a) Reporting across levels of 2 hierarchies is not supported. As explained below, you cannot use OLAP to get aggregate values at cross combination of levels from hierarchies: H1 and H2.
    However if you wish to, you can report at the lowest level, Patient, common to both hierarchies and display the Age Group as well as Gender attributes corresponding to each patient. This becomes reporting at Patient/lowest level. You can of course use the capabilities of the reporting tool like obiee to use a Pivot object (say) and exclude Patient columns like Id, name etc. and get obiee to perform localized summaries within the reporting layer and get summarizations of interest. OBIEE Pivot measures allow for aggregation using Min, Max, Sum, Count, Running Sum etc. OLAP facilitates this solution but does not particularly help in the aggregation (since aggregation is now being done in obiee and not as per cube definition rules in olap aw). It acts as a source for information at the lowest level stored in the cube. Some performance degradation would result but it may be acceptable/manageable depending on the data volumes/report criteria.
    NOTE: For workaround/solution, use the regular fields, not hierarchical columns, from OBIEE presentation layer.
    b) Not supported: OLAP Cubes contain pre-calculated (or dynamically calculated) summaries at various level of each hierarchy. This aids in faster reporting performance. Allowing 2 hierarchies at the same time defeats this feature/goal. A cross combination of levels across different hierarchies requires a dynamic recalculation of the detail records to get the right values for, say, Age Group: 30-39 and Gender: Male. H1 summaries at AgeGroup level for Age Group: 30-39 cover all genders and cannot be split up into male/female w/o recalculation. Similarly H2 summaries at Gender level for Gender: Male cover all age groups. Splitting it up is not possible except via workaround/ solution explained in (a).
    Hope that helps.

  • Hierarchies and Structures

    Hi SDN Experts,
    I have a FS Item hierarchy in BCS and am using it build an Income Statement report via Query Designer.
    It is a large hierarchy with various nodes (revenues, expenses, etc.) with their sub-nodes (electricity, trading, fuel, etc.) and leaves (G/L accounts).
    I am using a structure to pull in the hierarchy values at different levels of account groupings.  I am unable to make the nodes expandable during execution in Analyzer unless I manually entered each of the G/L accounts under a node.
    Is there a way to configure the structure so that I don't have to essentially rebuild the hierarchy? (I need the structure to do calculated key figures and restrictions).
    Cheers,
    Mike

    Hi,
    Actually, what MIghty Mike proposed should work.
    Just a few clarifications. I suppose that your nodes (to be drilldowned) contain the sets of leaf-accounts as the restrictions. In this case drilldown by accounts (from the free chars) should show all accounts beneath nodes.
    In order to see under nodes only relevant leaf-accounts, tick Supress empty rows  flag in the property of the structure.
    Best regards,
    Eugene

  • Creating Structure for reports

    Dear Friends,
    I am working on a forecast report. I do have a selection for Data entrry month and the report needs to show the forecast of next 12 months (0calmonth) starting from data entry month. I know this can be done using a structure, but dont have any idea how to create and assign one. Could anyone help me for the same?
    Data entry month have similar characteristics as 0CALMONTH
    Thanks
    Oops

    HI,
    If Data entry month is similar to 0calmonth, check if you can find the variable that is used for data entry month under calmonth.
    1.If yes then in the filter section of the query add a interval restriction with this data entry month variable to data entry month variable + 11 for the info object 0calmonth.
    Then add this 0calmonth under the column section above the Keyfigure.
    2.If the the data entry month is not present under calmonth then create a customer exit variable for calmonth and in the customer exit read the data entry month value. Then use this new calmonth variable instead of data entry month variable and follow step 1.
    Hope this helps.
    Regards.
    Shafi.

Maybe you are looking for

  • Can't see my Esnipe Program all though it has been added

    Another problem , geez this gets old with this latest version of Firefox as it is riddled with issues. Now I noticed that my add-on of Esnipe isn't showing up at the top of the page of Ebay. I deleted it out and tried to re-add it but to no avail. Th

  • Cannot be played on this ipod

    MoneyTalk OnDemand was not copied to the ipod because it cannot be played on this ipod. after downloading an mp3 (money talk on demand)to my play list, I am unable to drag it to my ipod. It plays fine with itunes on my computer, but will not transfer

  • EXC_BAD_ACCESS (SIGBUS) iTunes crash

    I have recently upgraded to Leopard 10.5.1 and also upgraded my itunes to 7.5 and it is crashing on application opening with an error report:- Exception Type: EXCBADACCESS (SIGBUS) Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000005 Crashed

  • MBP Freezing For Over A Year Now!!  HELP!!

    My 15" MacBook Pro freezes relentlessly. Even restarting by holding down the power button often does not assist. I have to do that several times before I finally get lucky and it works. Sometimes keyboard is not recognized. Sometimes mouse just goes

  • Lion Server and 3DS Max files

    Hi, We have just gone from using an Xserve running 10.4.11 with an attached Xraid, to a Mac Mini Server running 10.7.3 and an attached Promise Pegasus R6 12TB Thunderbolt raid. Everything is fine except one thing. The PC users running a mixture of Wi